1
2#ifndef SVGA_LINK_H
3#define SVGA_LINK_H
4
5#include "pipe/p_defines.h"
6
7struct svga_context;
8
9struct shader_linkage
10{
11   unsigned num_inputs;
12   unsigned input_map_max;  /* highest index of mapped inputs */
13   ubyte input_map[PIPE_MAX_SHADER_INPUTS];
14};
15
16void
17svga_link_shaders(const struct tgsi_shader_info *outshader_info,
18                  const struct tgsi_shader_info *inshader_info,
19                  struct shader_linkage *linkage);
20
21#endif /* SVGA_LINK_H */
22