i965: interpolate colors with perspective correction by default
authorBrian Paul <brianp@vmware.com>
Fri, 12 Jun 2009 22:21:20 +0000 (16:21 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 12 Jun 2009 22:21:20 +0000 (16:21 -0600)
commit18af7c384cf663533f210d95d074c244d4214f29
tree19bebbe3ff280eebfd68f7fadeb3aa77b3841a68
parent05f0d90962147ad61050bbcde42775a3422e68a5
i965: interpolate colors with perspective correction by default

...rather than with linear interpolation.  Modern hardware should use
perspective-corrected interpolation for colors (as for texcoords).
glHint(GL_PERSPECTIVE_CORRECTION_HINT, mode) can be used to get
linear interpolation if mode = GL_FASTEST.
src/mesa/drivers/dri/i965/brw_sf.c
src/mesa/drivers/dri/i965/brw_sf.h
src/mesa/drivers/dri/i965/brw_sf_emit.c
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_fp.c