tgsi: fix incorrect usage_mask for shadow tex instructions
authorBrian Paul <brianp@vmware.com>
Wed, 15 Sep 2010 19:56:00 +0000 (13:56 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 15 Sep 2010 19:56:02 +0000 (13:56 -0600)
commit95254bbd2ddf0c6207a642604cc218ac9d711501
tree50bf8389bf129496b508479f871ba7a3cbadb325
parent68cfc8e996fc33ec680c4153e862dcc762e760fc
tgsi: fix incorrect usage_mask for shadow tex instructions

The shadow versions of the texture targets use an extra component
(Z) to express distance from light source to the fragment.
Fixes the shadowtex demo with llvmpipe.
src/gallium/auxiliary/tgsi/tgsi_util.c