From 72310869f02edce3d2b896659b45e2f882e05bbf Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 14 Mar 2014 05:46:14 -0400 Subject: nv50/ir/gk110: presin/preex2 take their source at bit 23 Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/nouveau/codegen') 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 54a06b56789..92fbf26647c 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -716,7 +716,7 @@ CodeEmitterGK110::emitShift(const Instruction *i) void CodeEmitterGK110::emitPreOp(const Instruction *i) { - emitForm_21(i, 0x248, -1); + emitForm_C(i, 0x248, 0x2); if (i->op == OP_PREEX2) code[1] |= 1 << 10; -- cgit v1.2.3