Mesa (master): gk110/ir: fix ISAD emission with register args

Ilia Mirkin imirkin at kemper.freedesktop.org
Fri Jun 6 23:57:43 UTC 2014


Module: Mesa
Branch: master
Commit: ed1b9e5721f6c7a74e042eadb31fc5dcb2fc3552
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed1b9e5721f6c7a74e042eadb31fc5dcb2fc3552

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Jun  6 19:52:49 2014 -0400

gk110/ir: fix ISAD emission with register args

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: "10.2" <mesa-stable at lists.freedesktop.org>

---

 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 0941603..9a8c4b9 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
@@ -633,7 +633,7 @@ CodeEmitterGK110::emitISAD(const Instruction *i)
 {
    assert(i->dType == TYPE_S32 || i->dType == TYPE_U32);
 
-   emitForm_21(i, 0x1fc, 0xb74);
+   emitForm_21(i, 0x1f4, 0xb74);
 
    if (i->dType == TYPE_S32)
       code[1] |= 1 << 19;




More information about the mesa-commit mailing list