mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
nvk: add missing finish calls
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
24641ecce4
commit
6725804efb
2 changed files with 2 additions and 0 deletions
|
|
@ -51,5 +51,6 @@ nvk_DestroyDevice(VkDevice _device, const VkAllocationCallbacks *pAllocator)
|
|||
if (!device)
|
||||
return;
|
||||
|
||||
vk_device_finish(&device->vk);
|
||||
vk_free(&device->vk.alloc, device);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -222,6 +222,7 @@ void
|
|||
nvk_physical_device_destroy(struct nvk_physical_device *device)
|
||||
{
|
||||
nouveau_ws_device_destroy(device->dev);
|
||||
vk_physical_device_finish(&device->vk);
|
||||
vk_free(&device->instance->vk.alloc, device);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue