svga: implement 'white_fragments' option for VGPU10 fragment shaders
authorBrian Paul <brianp@vmware.com>
Tue, 3 Nov 2015 21:34:15 +0000 (14:34 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 4 Nov 2015 18:51:41 +0000 (11:51 -0700)
commitd31481e70ab0da293d4c3010815f643f161b7168
treea3d99c1a1d6a6ab28a662df70b7072a4cb0c8526
parent149ac1fe43a87ee4219f9979dcce2de7964c31a9
svga: implement 'white_fragments' option for VGPU10 fragment shaders

When we emulate XOR logicop mode with blend-subtract, we need to ensure
that the fragment shader always emits white.  We had this implemented
for VGPU9, but not VGPU10.

VMware bug 1545492.

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