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>
Sun, 12 Dec 2010 14:37:14 +0000 (15:37 +0100)
commitd5295552f532a1e03b06ff497529f6c4b5ff84c6
tree7dc695e029169060ca8f755d6fb922bcaa07935c
parentad643bfc12de13f78b86de15a9d44a91ffa93ce9
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