st/mesa: don't set vs.key.clamp_color if a shader doesn't write any colors
authorMarek Olšák <marek.olsak@amd.com>
Sun, 11 Jan 2015 17:38:03 +0000 (18:38 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 19 Jan 2015 19:15:27 +0000 (20:15 +0100)
commit5b01512df3328711968dea7240ae817721c79774
treecd8607a4a77203219030be47e38730c2b45f05c8
parentccc5b60b06269a5d847b7fe9ebe08dc61b4d2030
st/mesa: don't set vs.key.clamp_color if a shader doesn't write any colors

And update some comments.
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_mesa_to_tgsi.c