From: Ian Romanick Date: Thu, 19 Jun 2014 20:54:35 +0000 (-0700) Subject: i965: Handle SYSTEM_VALUE_VERTEX_ID_ZERO_BASE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9975792abd8be891bbe7245cb1d5c347dff65465;p=mesa.git i965: Handle SYSTEM_VALUE_VERTEX_ID_ZERO_BASE Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- 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: