Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14611>
device->ws->ctx_destroy(device->hw_ctx[i]);
}
+ mtx_destroy(&device->overallocation_mutex);
+
vk_device_finish(&device->vk);
vk_free(&device->vk.alloc, device);
return result;
device->ws->ctx_destroy(device->hw_ctx[i]);
}
+ mtx_destroy(&device->overallocation_mutex);
+
radv_device_finish_meta(device);
VkPipelineCache pc = radv_pipeline_cache_to_handle(device->mem_cache);