svga: fix starting index for system values
[mesa.git] / src / gallium / drivers / svga / svga_link.h
1
2 #ifndef SVGA_LINK_H
3 #define SVGA_LINK_H
4
5 #include "pipe/p_defines.h"
6
7 struct svga_context;
8
9 struct 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
16 void
17 svga_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 */