summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2012-10-24 20:33:02 +0200
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2012-10-24 20:47:38 +0200
commitd310e29302fb409c0c23442c2b1d1a6c044dd6f0 (patch)
tree5cafc80d53045087549ca6153ea76b63234f1c3c
parentbe1c5f44988fd3d4e2a4f1437a8367f3bd073161 (diff)
nv50/ir/tgsi: fix srcMask for TXP with SHADOW1D
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp
index 071674b8066..e73c8047877 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp
@@ -257,7 +257,7 @@ unsigned int Instruction::srcMask(unsigned int s) const
mask &= 0x9;
break;
case TGSI_TEXTURE_SHADOW1D:
- mask &= 0x5;
+ mask &= 0xd;
break;
case TGSI_TEXTURE_1D_ARRAY:
case TGSI_TEXTURE_2D: