svga: rework the FS white fragments code
authorBrian Paul <brianp@vmware.com>
Fri, 21 Jul 2017 15:38:10 +0000 (09:38 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 25 Jul 2017 21:40:23 +0000 (15:40 -0600)
commit71d3b69b239c2e2eb8b154229c5defc013b7c7b5
tree98b87410844a2dad0a526e4b41765eeff657fc54
parent1ab8901d6fa03b907e4d6c0ee4291340bee72a9a
svga: rework the FS white fragments code

When we forcibly write white to FS outputs (for XOR mode emulation)
we were using a temp register.  But that's not really necessary.
This also fixes the case of writing white to multiple color buffers.

Subsequent changes will build on this.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_state_fs.c
src/gallium/drivers/svga/svga_tgsi_vgpu10.c