radv: cleanup tools related resources when destroying logical device

This was missing.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31986>
This commit is contained in:
Samuel Pitoiset
2024-11-05 15:53:11 +01:00
committed by Marge Bot
parent 27fef94851
commit 64774f9c19

View File

@@ -1376,6 +1376,8 @@ radv_DestroyDevice(VkDevice _device, const VkAllocationCallbacks *pAllocator)
radv_device_finish_perf_counter(device);
radv_device_finish_tools(device);
if (device->gfx_init)
radv_bo_destroy(device, NULL, device->gfx_init);