From: Ilia Mirkin Date: Fri, 27 Mar 2015 22:38:24 +0000 (-0400) Subject: nv50/ir/gk110: fix offset flag position for TXD opcode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58030a8f99d94d6c1bab02ef113d93c6c2636216;p=mesa.git nv50/ir/gk110: fix offset flag position for TXD opcode Cc: "10.4 10.5" Signed-off-by: Ilia Mirkin --- 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; } }