i965: Split the gen6 GS binding table to a separate table.
authorEric Anholt <eric@anholt.net>
Wed, 15 Feb 2012 22:15:14 +0000 (14:15 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 21 Feb 2012 19:54:14 +0000 (11:54 -0800)
commitf9c3ea32cd9b243050ee16f10d6eb9d9c8b3a8ea
treebc8d85b12d70377ce22fa3444e22e2cffec64120
parent07e00b3040d6da381595c65db5afe597f20d99fc
i965: Split the gen6 GS binding table to a separate table.

Improves VS state change microbenchmark performance by 7.08729% +/-
1.22289% (n=10) on gen7, because we don't upload the 64 dwords of
unused binding table any more.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/gen6_sol.c