summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-03-14 05:46:14 -0400
committerIlia Mirkin <[email protected]>2014-03-18 05:56:54 -0400
commit72310869f02edce3d2b896659b45e2f882e05bbf (patch)
treee7a0a7ec600ebb8cf866cd6633e9d31e43f9a585 /src/gallium/drivers/nouveau
parent48a9ba63f5c9751052e472f8d7fb195ce874199d (diff)
nv50/ir/gk110: presin/preex2 take their source at bit 23
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.cpp2
1 files changed, 1 insertions, 1 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 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;