r600g: Why all this fiddling with tgsi_helper_copy?
authorChristian König <deathsimple@vodafone.de>
Sun, 12 Dec 2010 14:13:39 +0000 (15:13 +0100)
committerChristian König <deathsimple@vodafone.de>
Tue, 11 Jan 2011 23:40:55 +0000 (00:40 +0100)
commit7be5455796facbe35cf1f1bdbefa83759b2e3b58
tree6e9c1e866880a0e2ea7e1572e8fa5d043b4fbe5c
parentcc0f604241ee7b536f4c9867573024b8673b0998
r600g: Why all this fiddling with tgsi_helper_copy?

tgsi_helper_copy is used on several occasions to copy a temporary result
into the real destination register to emulate writemasks for OP3 and
reduction operations. According to R600 ISA that's unnecessary.

This patch fixes this use for MAD, CMP and DP4.
src/gallium/drivers/r600/r600_shader.c