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