mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
i965: Handle SYSTEM_VALUE_VERTEX_ID_ZERO_BASE
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
26e949b26e
commit
9975792abd
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue