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

This commit is contained in:
Christoph Bumiller 2012-10-24 20:33:02 +02:00
parent be1c5f4498
commit d310e29302
1 changed files with 1 additions and 1 deletions

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: