From: Ilia Mirkin Date: Tue, 15 Jul 2014 00:20:03 +0000 (-0400) Subject: gk110/ir: emit load constant subop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc3d5fe01d120e9559e45223379e8285ae62b7b8;p=mesa.git gk110/ir: emit load constant subop Signed-off-by: Ilia Mirkin --- 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");