nv50/ir/tgsi: fix srcMask for TXP with SHADOW1D

(cherry picked from commit d310e29302)
This commit is contained in:
Christoph Bumiller 2012-10-24 20:33:02 +02:00 committed by Maarten Lankhorst
parent 51ba1c1ae1
commit 49150fd43c

View file

@ -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: