mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 05:20:37 +02:00
gm107/ir: add lane/vertex count sysvals
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
89e0b08794
commit
9143940da2
1 changed files with 2 additions and 0 deletions
|
|
@ -240,6 +240,8 @@ CodeEmitterGM107::emitSYS(int pos, const Value *val)
|
|||
int id = val ? val->reg.data.id : -1;
|
||||
|
||||
switch (id) {
|
||||
case SV_LANEID : id = 0x00; break;
|
||||
case SV_VERTEX_COUNT : id = 0x10; break;
|
||||
case SV_INVOCATION_ID : id = 0x11; break;
|
||||
case SV_INVOCATION_INFO: id = 0x1d; break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue