From 9cb2d9ddfacfcf7fe3f91942d0ad147ccafd29cf Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 7 Aug 2015 15:21:10 -0600 Subject: svga: add new svga_link.[ch] files Signed-off-by: Brian Paul --- src/gallium/drivers/svga/svga_link.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/gallium/drivers/svga/svga_link.h (limited to 'src/gallium/drivers/svga/svga_link.h') diff --git a/src/gallium/drivers/svga/svga_link.h b/src/gallium/drivers/svga/svga_link.h new file mode 100644 index 00000000000..724c61194a2 --- /dev/null +++ b/src/gallium/drivers/svga/svga_link.h @@ -0,0 +1,20 @@ + +#ifndef SVGA_LINK_H +#define SVGA_LINK_H + +#include "pipe/p_defines.h" + +struct svga_context; + +struct shader_linkage +{ + unsigned num_inputs; + ubyte input_map[PIPE_MAX_SHADER_INPUTS]; +}; + +void +svga_link_shaders(const struct tgsi_shader_info *outshader_info, + const struct tgsi_shader_info *inshader_info, + struct shader_linkage *linkage); + +#endif /* SVGA_LINK_H */ -- cgit v1.2.3