diff options
author | Brian Paul <[email protected]> | 2015-08-07 15:21:10 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-09-02 09:05:23 -0600 |
commit | 9cb2d9ddfacfcf7fe3f91942d0ad147ccafd29cf (patch) | |
tree | aa539600bc901c0e7c2ce27d7f436d6eceddf57b /src/gallium/drivers/svga/svga_link.h | |
parent | 53d07910c3a3be496f5c789b708a82d2022ecd5b (diff) |
svga: add new svga_link.[ch] files
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_link.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_link.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 */ |