i965: Remove linear_color for GL_PERSPECTIVE_CORRECTION_HINT.
authorEric Anholt <eric@anholt.net>
Thu, 19 May 2011 15:48:42 +0000 (08:48 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 May 2011 17:07:38 +0000 (10:07 -0700)
commitf147599ef4b0d14c25a7e0d3f9f1c9b0229bb6fc
tree38041ac862ffd96cd8c64fb9b735d1e2f2d18f91
parentc095335fa54498ec54e4587b5f84ad6afd8f1857
i965: Remove linear_color for GL_PERSPECTIVE_CORRECTION_HINT.

From the GL 2.1 spec:

   "Required perspective-correct interpolation for all fragment
    attributes except depth in sections 3.4.1 and 3.5.1, effectively
    making GL PERSPECTIVE CORRECT HINT a no-op."

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
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