aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_link.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/svga/svga_link.h')
-rw-r--r--src/gallium/drivers/svga/svga_link.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_link.h b/src/gallium/drivers/svga/svga_link.h
index 8d3517ea28a..c48be279651 100644
--- a/src/gallium/drivers/svga/svga_link.h
+++ b/src/gallium/drivers/svga/svga_link.h
@@ -8,10 +8,15 @@ struct svga_context;
struct shader_linkage
{
- unsigned num_inputs;
+ unsigned num_inputs; /* number of inputs in the current shader */
unsigned position_index; /* position register index */
unsigned input_map_max; /* highest index of mapped inputs */
ubyte input_map[PIPE_MAX_SHADER_INPUTS];
+
+ struct {
+ unsigned num_outputs;
+ ubyte output_map[PIPE_MAX_SHADER_OUTPUTS];
+ } prevShader;
};
void