gallium: add PIPE_SHADER_CAP_GLSL_16BIT_TEMPS for LowerPrecisionTemporaries
[mesa.git] / src / gallium / drivers / svga / svga_link.h
index c21686eef59aae59b9f342a8c57bbd0f5db5b3ad..c48be279651eb576528930e1a3d6a01be577a22f 100644 (file)
@@ -8,9 +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