i965: fix for flat shading on Sandybridge
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 6 Dec 2010 01:33:18 +0000 (09:33 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 6 Dec 2010 01:42:28 +0000 (09:42 +0800)
commit08be8d64509f60d2cc80112f5b94f43e06e94ff2
tree3b3fe60bb4a18254c4f83254684d1f42137ca673
parent44094356149d9a63c197e15f9db344ef2f651d86
i965: fix for flat shading on Sandybridge

use constant interpolation instead of linear interpolation for
attributes COL0,COL1 if GL_FLAT is used. This fixes mesa demo bounce.
src/mesa/drivers/dri/i965/gen6_sf_state.c