diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program_cache.c b/src/mesa/drivers/dri/i965/brw_program_cache.c index 9266273b5da..14c356db321 100644 --- a/src/mesa/drivers/dri/i965/brw_program_cache.c +++ b/src/mesa/drivers/dri/i965/brw_program_cache.c @@ -460,6 +460,7 @@ brw_program_cache_check_size(struct brw_context *brw) perf_debug("Exceeded state cache size limit. Clearing the set " "of compiled programs, which will trigger recompiles\n"); brw_clear_cache(brw, &brw->cache); + brw_cache_new_bo(&brw->cache, brw->cache.bo->size); } } |