diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 97a71563b8a..6b72a79a914 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1833,11 +1833,13 @@ void anv_DestroyDevice( const VkAllocationCallbacks* pAllocator) { ANV_FROM_HANDLE(anv_device, device, _device); - struct anv_physical_device *physical_device = &device->instance->physicalDevice; + struct anv_physical_device *physical_device; if (!device) return; + physical_device = &device->instance->physicalDevice; + anv_device_finish_blorp(device); anv_pipeline_cache_finish(&device->default_pipeline_cache); |