radeonsi: remove special handling of TGSI_INTERPOLATE_COLOR in shader codegen
authorMarek Olšák <marek.olsak@amd.com>
Sun, 4 Jan 2015 19:09:51 +0000 (20:09 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jan 2015 11:06:43 +0000 (12:06 +0100)
commit13de9475fc237dd000bb0ef1d7784b86bee54b39
tree6de0f83886d36d598340e53d93d77d19d53c3a10
parente3d4bdd6a854591a54733b7b68035f1a30baeafe
radeonsi: remove special handling of TGSI_INTERPOLATE_COLOR in shader codegen

It doesn't do anything useful. And colors are floating-point, so we can use
fs.interp, remove "flatshade" from the shader key, and rely on the FLAT_SHADE
state only (in the next patch).

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_shader.c