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:
@@ -29,6 +29,7 @@ struct r600_shader_io {
|
||||
unsigned name;
|
||||
unsigned gpr;
|
||||
int sid;
|
||||
unsigned interpolate;
|
||||
};
|
||||
|
||||
struct r600_shader {
|
||||
|
Reference in New Issue
Block a user