r600d: fix some bugs added reworking literal handling
authorChristian König <deathsimple@vodafone.de>
Sun, 16 Jan 2011 00:45:06 +0000 (01:45 +0100)
committerChristian König <deathsimple@vodafone.de>
Sun, 16 Jan 2011 02:30:25 +0000 (03:30 +0100)
commitac6334145ec8eef42505cdd727aed7fae0831e12
tree218f963b39c2cd5cbc29b28e771521ddd8a9e337
parent3bee900a720685a96b39ce25307197512e457b6e
r600d: fix some bugs added reworking literal handling

If a literal slot isn't used it should be set
to 0 instead of an uninitialized value. Also the
channels for pre R700 trig functions were incorrect.
And most important literals were not counted against ndw,
resulting in an invalid force_add_cf detection.
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_shader.c