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>
This commit is contained in:
Jerome Glisse
2010-07-28 19:59:38 -04:00
parent 6f0f6c6459
commit 35e044ab56
3 changed files with 7 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ struct r600_shader_io {
unsigned name;
unsigned gpr;
int sid;
unsigned interpolate;
};
struct r600_shader {