i965/gen6: Stream the WM push constants.
authorEric Anholt <eric@anholt.net>
Fri, 22 Apr 2011 02:03:18 +0000 (19:03 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 29 Apr 2011 22:25:30 +0000 (15:25 -0700)
commit90c70123b830bead0ac622df94f2809ac056af95
treeb81f57e262039ea8df633c437fbea02b695716a2
parent530de3a2f5f6c1f1a6ec7a5f781d90f7229cab2a
i965/gen6: Stream the WM push constants.

Improves 3DMMES taiji demo performance by 5.1% +/- 1.9% (n=15), by
reducing CPU time spent thrashing around those tiny little constant BOs.

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