[Mesa-stable] [PATCH 2/2] nv50/ir: fix TXQ srcMask
Ilia Mirkin
imirkin at alum.mit.edu
Wed Aug 16 04:38:35 UTC 2017
src0.x is always read for the LOD, irrespective of which outputs are
read.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
---
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 2 ++
1 file changed, 2 insertions(+)
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 24f4b57ce8f..045a2274623 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
@@ -361,6 +361,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;
--
2.13.0
More information about the mesa-stable
mailing list