radeonsi: Change default behaviour for undefined COLOR0
authorAxel Davy <axel.davy@ens.fr>
Sat, 19 Mar 2016 18:57:00 +0000 (19:57 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 18 May 2016 21:37:14 +0000 (23:37 +0200)
commitfc3533c088d61888f5eae8e11fff2e1120d21777
treed5bebb7478b3059f380b72290b93c83d64bdcfca
parenta221f40dbb0d63f6b5478a25742ef3e0a3317a59
radeonsi: Change default behaviour for undefined COLOR0

d3d 9 needs COLOR0 to be 1.0 on all channels when
undefined. 0.0 for the others is fine.
GL behaviour is undefined.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c