mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
zink: use a fence for pipeline cache update jobs
otherwise there's nothing to wait on cc: mesa-stable Acked-by: Emma Anholt <emma@anholt.net> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15226>
This commit is contained in:
parent
cbd9a91f64
commit
382798ddbd
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ zink_screen_update_pipeline_cache(struct zink_screen *screen, struct zink_progra
|
|||
if (!screen->disk_cache)
|
||||
return;
|
||||
|
||||
util_queue_add_job(&screen->cache_put_thread, pg, NULL, cache_put_job, NULL, 0);
|
||||
util_queue_add_job(&screen->cache_put_thread, pg, &pg->cache_fence, cache_put_job, NULL, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue