mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 13:30:12 +01:00
zink: reset batch states on destroy
these may otherwise have been in the reset queue and thus contain resource refs Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37379>
This commit is contained in:
parent
2330839641
commit
c85168160e
1 changed files with 2 additions and 0 deletions
|
|
@ -229,6 +229,8 @@ zink_batch_state_destroy(struct zink_screen *screen, struct zink_batch_state *bs
|
||||||
if (!bs)
|
if (!bs)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
reset_batch_state_internal(screen, bs);
|
||||||
|
|
||||||
util_queue_fence_destroy(&bs->flush_completed);
|
util_queue_fence_destroy(&bs->flush_completed);
|
||||||
|
|
||||||
cnd_destroy(&bs->usage.flush);
|
cnd_destroy(&bs->usage.flush);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue