st/nine: Fix shade mode flat
authorPatrick Rudolph <siro@das-labor.org>
Sat, 12 Dec 2015 09:22:12 +0000 (10:22 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commit495727af6b6568e152703d8e3e518ee56ec64106
tree2c21d34e9f3420f4a3834f5728bd9dd689d30839
parentfa887ba65b58c17c4a452c864f632c2a529a6f64
st/nine: Fix shade mode flat

Shade mode flat is only working if pixelshaders have interpolate
set to TGSI_INTERPOLATE_COLOR on color inputs.

Fixes failing WINE tests visual.c test_shademode().

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_ff.c
src/gallium/state_trackers/nine/nine_shader.c