nvk: Drop vk_sync BO refs after push_submit
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:50 +0000 (20:11 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:55 +0000 (21:31 +0000)
commit7a86192d3a366fa1ed978088476eafc2a3411dbd
tree03e8d2e9608a61a549ecb24c6b831d6278acf9d1
parent4c485b0b6fa7fe0ab0cc10323e966943e3a2dbcd
nvk: Drop vk_sync BO refs after push_submit

Otherwise, all syncs are cumulative and, if the same command buffer is
submitted multiple times, it will sync on the union of all syncs it's
ever seen.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_device.c