From: Ilia Mirkin Date: Fri, 14 Mar 2014 09:46:14 +0000 (-0400) Subject: nv50/ir/gk110: presin/preex2 take their source at bit 23 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72310869f02edce3d2b896659b45e2f882e05bbf;p=mesa.git nv50/ir/gk110: presin/preex2 take their source at bit 23 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 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;