summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-06-19 13:54:35 -0700
committerIan Romanick <[email protected]>2014-09-12 16:51:51 -0700
commitd9df31cc6edf9a01d5093d40e0fcebb591693cd8 (patch)
tree10da005109f9122394c9792864c87cd66025158d
parentf009cb080e6e4f21af6266776d362628a20677fa (diff)
i965: Handle SYSTEM_VALUE_VERTEX_ID_ZERO_BASE
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit 9975792abd8be891bbe7245cb1d5c347dff65465)
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp
index 64c72fd4224..6a1c049e1f9 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp
@@ -155,6 +155,7 @@ vec4_vs_visitor::make_reg_for_system_value(ir_variable *ir)
switch (ir->data.location) {
case SYSTEM_VALUE_VERTEX_ID:
+ case SYSTEM_VALUE_VERTEX_ID_ZERO_BASE:
reg->writemask = WRITEMASK_X;
break;
case SYSTEM_VALUE_INSTANCE_ID: