diff options
author | Ilia Mirkin <[email protected]> | 2017-08-16 00:33:34 -0400 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-08-19 02:57:19 +0100 |
commit | 81b5a6a85ba49ae83ef490624bce27eeff12a947 (patch) | |
tree | 3a710dc220edbba7adb1b1a236696c0392def8d7 | |
parent | 5795e42116ddb85e1c0f094ed4645e8c1ab2f10a (diff) |
nv50/ir: fix TXQ srcMask
src0.x is always read for the LOD, irrespective of which outputs are
read.
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
(cherry picked from commit 934511d1f3a8e2e9b0091d725c87a22a51233141)
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp index 8d9c0774cfb..b98015a6389 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp @@ -345,6 +345,8 @@ unsigned int Instruction::srcMask(unsigned int s) const } } return mask; + case TGSI_OPCODE_TXQ: + return 1; case TGSI_OPCODE_XPD: { unsigned int x = 0; |