From 58030a8f99d94d6c1bab02ef113d93c6c2636216 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 27 Mar 2015 18:38:24 -0400 Subject: [PATCH] nv50/ir/gk110: fix offset flag position for TXD opcode Cc: "10.4 10.5" Signed-off-by: Ilia Mirkin --- 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 674be692f8b..34cb06a8786 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; } } -- 2.30.2