aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h
index 4b3103ff1b6..7ec4ad8e793 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.h
+++ b/src/mesa/drivers/dri/i965/brw_vs.h
@@ -45,11 +45,21 @@ struct brw_vs_prog_key {
* Number of channels of the vertex attribute that need GL_FIXED rescaling
*/
uint8_t gl_fixed_input_size[VERT_ATTRIB_MAX];
+
+ /**
+ * Number of user clip planes (or clip distances) that are active.
+ */
GLuint nr_userclip:4;
+
+ /**
+ * True if the shader uses gl_ClipDistance, regardless of whether any clip
+ * flags are enabled.
+ */
+ GLuint uses_clip_distance:1;
+
GLuint copy_edgeflag:1;
GLuint point_coord_replace:8;
GLuint clamp_vertex_color:1;
- GLuint uses_clip_distance:1;
};