diff options
author | Eric Anholt <[email protected]> | 2012-02-15 14:15:14 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-02-21 11:54:14 -0800 |
commit | f9c3ea32cd9b243050ee16f10d6eb9d9c8b3a8ea (patch) | |
tree | bc8d85b12d70377ce22fa3444e22e2cffec64120 /src/mesa/drivers/dri/i965/brw_misc_state.c | |
parent | 07e00b3040d6da381595c65db5afe597f20d99fc (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_misc_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_misc_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c index 7bc7e1c1025..c86755de659 100644 --- a/src/mesa/drivers/dri/i965/brw_misc_state.c +++ b/src/mesa/drivers/dri/i965/brw_misc_state.c @@ -116,7 +116,7 @@ static void upload_gen6_binding_table_pointers(struct brw_context *brw) GEN6_BINDING_TABLE_MODIFY_PS | (4 - 2)); OUT_BATCH(brw->vs.bind_bo_offset); /* vs */ - OUT_BATCH(brw->bind.bo_offset); /* gs */ + OUT_BATCH(brw->gs.bind_bo_offset); /* gs */ OUT_BATCH(brw->bind.bo_offset); /* wm/ps */ ADVANCE_BATCH(); } |