diff options
author | Ilia Mirkin <[email protected]> | 2014-07-14 20:20:03 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-24 08:26:41 -0400 |
commit | fc3d5fe01d120e9559e45223379e8285ae62b7b8 (patch) | |
tree | 24aad41376c0537e3b544e7a0117a0faebcac233 /src/gallium/drivers/nouveau | |
parent | 9c4959d0df524cf81395de59f15a4a1b19073aed (diff) |
gk110/ir: emit load constant subop
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp index 75b3da2697f..23a6ac7528d 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -1478,6 +1478,7 @@ CodeEmitterGK110::emitLOAD(const Instruction *i) offset &= 0xffff; code[0] = 0x00000002; code[1] = 0x7c800000 | (i->src(0).get()->reg.fileIndex << 7); + code[1] |= i->subOp << 15; break; default: assert(!"invalid memory file"); |