i965: Compute required barycentric interp modes once at FS compile time.
authorEric Anholt <eric@anholt.net>
Wed, 15 Feb 2012 05:48:43 +0000 (21:48 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 21 Feb 2012 19:54:06 +0000 (11:54 -0800)
commit71d71d5e891570e8516c65471939a2ebdc07282a
treed373c0690b4ee1ebfb46390608b8c0e855c662c1
parentf0cecd43d6b6d3f5def3fd43b9c95baaf3be9b16
i965: Compute required barycentric interp modes once at FS compile time.

Improves VS state change microbenchmark performance 1.78817% +/-
0.556878% (n=25).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/gen6_wm_state.c
src/mesa/drivers/dri/i965/gen7_wm_state.c