i965: Add a new state flag BRW_NEW_NR_SURFACES instead of CACHE_NEW_SURFACE
authorEric Anholt <eric@anholt.net>
Fri, 28 Nov 2008 20:43:10 +0000 (12:43 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 29 Nov 2008 01:09:46 +0000 (17:09 -0800)
commite476acb1051ae1a7e5e2be35a89488a8e5b07ff4
tree90d554081353f621b25611098a421bffb82b1c51
parent8e5639577c03ccd75bb421e494638fbb5a3e7dcd
i965: Add a new state flag BRW_NEW_NR_SURFACES instead of CACHE_NEW_SURFACE

The CACHE_NEW_SURFACE bit always gets spammed since we get many different
surface BOs per state emit, but the only consumer of it wanted to just know
how many surfaces were enabled.
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c