diff options
author | Paul Berry <[email protected]> | 2011-10-21 07:56:08 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-10-27 15:32:00 -0700 |
commit | f8386a29f07c6a41c4afb99fc3ecd9f18e9151e8 (patch) | |
tree | 93dfbdf111370557a2679b133b371a9aa746a784 /src/mesa/drivers/windows/gdi | |
parent | e04bdeae82797dbdcf6f544a997a4626fdfd4aee (diff) |
i965/fs: use determine_interpolation_mode().
This patch changes how fs_visitor::emit_general_interpolation()
decides what kind of interpolation to do. Previously, it used the
shade model to determine how to interpolate colors, and used smooth
interpolation on everything else. Now it uses
ir_variable::determine_interpolation_mode(), so that it respects GLSL
1.30 interpolation qualifiers.
Fixes piglit tests interpolation-flat-*-smooth-{distance,fixed,vertex}
and interpolation-flat-other-flat-{distance,fixed,vertex}.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/windows/gdi')
0 files changed, 0 insertions, 0 deletions