aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_state_upload.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-02-15 14:15:14 -0800
committerEric Anholt <[email protected]>2012-02-21 11:54:14 -0800
commitf9c3ea32cd9b243050ee16f10d6eb9d9c8b3a8ea (patch)
treebc8d85b12d70377ce22fa3444e22e2cffec64120 /src/mesa/drivers/dri/i965/brw_state_upload.c
parent07e00b3040d6da381595c65db5afe597f20d99fc (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_upload.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_upload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 28e4d26209e..3f5c03d8f90 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -148,6 +148,7 @@ static const struct brw_tracked_state *gen6_atoms[] =
&brw_texture_surfaces,
&gen6_sol_surface,
&brw_vs_binding_table,
+ &gen6_gs_binding_table,
&brw_binding_table,
&brw_samplers,