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

Author: Ilia Mirkin <[email protected]>
Date:   Fri Mar 27 18:38:24 2015 -0400

nv50/ir/gk110: fix offset flag position for TXD opcode

Cc: "10.4 10.5" <[email protected]>
Signed-off-by: Ilia Mirkin <[email protected]>

---

 src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp |    1 +
 1 file changed, 1 insertion(+)

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 674be69..34cb06a 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
@@ -1184,6 +1184,7 @@ CodeEmitterGK110::emitTEX(const TexInstruction *i)
    if (i->tex.useOffsets == 1) {
       switch (i->op) {
       case OP_TXF: code[1] |= 0x200; break;
+      case OP_TXD: code[1] |= 0x00400000; break;
       default: code[1] |= 0x800; break;
       }
    }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to