nv50/ir/gk110: fix offset flag position for TXD opcode
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 27 Mar 2015 22:38:24 +0000 (18:38 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 27 Mar 2015 23:02:19 +0000 (19:02 -0400)
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp

index 674be692f8b9476b8625d64ba7ad0e5d1302fd89..34cb06a878669aee995b6183a92161665ea1a33f 100644 (file)
@@ -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;
       }
    }