i965: Move sampler state to state streaming.
authorEric Anholt <eric@anholt.net>
Fri, 22 Apr 2011 22:30:42 +0000 (15:30 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 29 Apr 2011 22:26:14 +0000 (15:26 -0700)
commit5c742ea1ee0cea031cb99651155d0c7521f42b4e
tree6d78835b77d83c17919644ed81fd3fb19636af2e
parent1a447749ed421db8eb6ba20012630785aef9bb12
i965: Move sampler state to state streaming.

Overall, across this series since the last set of numbers, gen6 3DMMES
taiji performance has dropped 0.8% +/- 0.3% (n=15), probably due to
the increased reissuing of state from some of the state objects that
otherwise never changed, and increased occurrence of the per-batch
overhead as we've increased how much we put in the batch BO without
increasing the batch BO's size.

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_state_cache.c
src/mesa/drivers/dri/i965/brw_state_dump.c
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vtbl.c
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/gen6_sampler_state.c