diff options
author | Eric Anholt <[email protected]> | 2014-05-06 16:37:05 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-10-24 23:17:14 -0700 |
commit | 08599f668c5d991ab19376a19cb2e14e5245db95 (patch) | |
tree | d1b915c451aaf4488968275ebfbc4d74d79214c9 /src/mesa/drivers/dri/i965/brw_context.c | |
parent | b0e0c26f0214739108dbf0d6ae9596caf13287ee (diff) |
i965: Skip recalculating URB allocations if the entry size didn't change.
We only get here if the VS/GS compiled programs change, but we can even
skip it if the VS/GS size didn't change.
Affects cairo runtime on glamor by -1.26471% +/- 0.674335% (n=234)
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 8b3f45b68d8..e1a994a6dde 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -814,7 +814,7 @@ brwCreateContext(gl_api api, brw->max_gtt_map_object_size = gtt_size / 4; if (brw->gen == 6) - brw->urb.gen6_gs_previously_active = false; + brw->urb.gs_present = false; brw->prim_restart.in_progress = false; brw->prim_restart.enable_cut_index = false; |