r600g: switch btw flat/linear interpolation
authorJerome Glisse <jglisse@redhat.com>
Wed, 28 Jul 2010 23:59:38 +0000 (19:59 -0400)
committerJerome Glisse <jglisse@redhat.com>
Wed, 28 Jul 2010 23:59:38 +0000 (19:59 -0400)
commit35e044ab562b65aa53f9d9d7b5885e6a887774bb
tree7609cc9e28fff347ec110a5c1f642fe9ccf0079e
parent6f0f6c64596b7bbbfa96e8af6715565e37efa91e
r600g: switch btw flat/linear interpolation

I am not sure how to properly handle flat shading regarding
non color parameter to fragment shader. It seems we should
still interpolate non color using linear interpolation and
flat shade only apply to color.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h
src/gallium/drivers/r600/r600_state.c