nv50: set dst.z,w to 0,1 in SCS and XPD
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 23 May 2009 10:22:30 +0000 (12:22 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 28 May 2009 06:06:17 +0000 (16:06 +1000)
commit4a7cf8f66ff5d7e15ae7f8f5542f27bc72c68709
tree9622dc77ed03b647167928ed6462e049423dc7d4
parent229992d2812581ffae24d69a5a983d2c8441f720
nv50: set dst.z,w to 0,1 in SCS and XPD

According to tgsi-instruction-set.txt, if they are written, z and w
should be set to 0 and 1 respectively in SCS, and w to 1.0 in XPD.
src/gallium/drivers/nv50/nv50_program.c