diff options
author | Boyan Ding <[email protected]> | 2017-03-31 10:33:05 +0800 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-04-09 13:03:13 -0400 |
commit | e2e2c69927558e190140fa45e5a67858c9309376 (patch) | |
tree | 4e3c2a0f8d63a790ed5d0ffbcce2eda4786ba1f0 /src | |
parent | 6e907812f889d34d2840feda1c3e5d182a56e1ba (diff) |
gm107/ir: Emit SV_CLOCK system value
Signed-off-by: Boyan Ding <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp index 6903132efa7..c3c0dcd9fc1 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp @@ -269,6 +269,7 @@ CodeEmitterGM107::emitSYS(int pos, const Value *val) case SV_INVOCATION_INFO: id = 0x1d; break; case SV_TID : id = 0x21 + val->reg.data.sv.index; break; case SV_CTAID : id = 0x25 + val->reg.data.sv.index; break; + case SV_CLOCK : id = 0x50 + val->reg.data.sv.index; break; default: assert(!"invalid system value"); id = 0; |