Mesa (master): nv50/ir/gk110: presin/preex2 take their source at bit 23
Ilia Mirkin
imirkin at kemper.freedesktop.org
Tue Mar 18 09:58:23 UTC 2014
Module: Mesa
Branch: master
Commit: 72310869f02edce3d2b896659b45e2f882e05bbf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72310869f02edce3d2b896659b45e2f882e05bbf
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri Mar 14 05:46:14 2014 -0400
nv50/ir/gk110: presin/preex2 take their source at bit 23
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 54a06b5..92fbf26 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;
More information about the mesa-commit
mailing list