st/mesa: fix default interpolation for colors.
authorDave Airlie <airlied@redhat.com>
Fri, 6 Jan 2012 13:31:07 +0000 (13:31 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 7 Jan 2012 08:30:23 +0000 (08:30 +0000)
commite1ff84371c0e8c58297611f95ec1e2cb5d5acaa4
tree104ac8998abed643ef74b82da1e2722c32d76080
parentbe21ded2aef97b134379dd92b67e5e206720c1b1
st/mesa: fix default interpolation for colors.

Brian mentioned that mesa-demos/reflect was broken on softpipe,
by my previous commit. The problem was were blindly translating none
to perspective, when color/pntc at least need it linear.

this is the final version that fixes the reflect regression.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_program.c