diff options
author | Ilia Mirkin <[email protected]> | 2015-03-27 18:38:24 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-03-27 19:02:19 -0400 |
commit | 58030a8f99d94d6c1bab02ef113d93c6c2636216 (patch) | |
tree | bd56f92cb5065f2cde78d5b122b19324aa70c4d9 /src/gallium/drivers/nouveau | |
parent | 49b86007aa2bb599ada6cdbed7ff56246917f12e (diff) |
nv50/ir/gk110: fix offset flag position for TXD opcode
Cc: "10.4 10.5" <[email protected]>
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |