i965: Split BRW_NEW_BINDING_TABLE dirty bit into one per stage.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Feb 2011 21:30:02 +0000 (13:30 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 May 2011 06:32:59 +0000 (23:32 -0700)
commite0e2c045965f7bd4becae3dce8394f8455184e0d
tree99e623618d8191b14002a3d907d5ab508d3de90c
parentbac10b58de69108bdb2cc3358733e2648ab7c5d2
i965: Split BRW_NEW_BINDING_TABLE dirty bit into one per stage.

Ivybridge can update each stage's binding table pointer independently,
so we want separate dirty bits.  Previous generations can simply
subscribe to all three dirty bits and emit as usual.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vs_surface_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c