nv50/ir/gk110: presin/preex2 take their source at bit 23
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 14 Mar 2014 09:46:14 +0000 (05:46 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 18 Mar 2014 09:56:54 +0000 (05:56 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp

index 54a06b567892f4f7d61266d0064bf8fb7dac2c64..92fbf26647ce9144d1a2e79066a0b17f2dd621ea 100644 (file)
@@ -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;