summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-07-22 17:51:14 -0700
committerJason Ekstrand <[email protected]>2015-07-22 17:51:14 -0700
commit3460e6cb2f8b4424e2b776518a6ad0fc190ecd73 (patch)
treefc175ee0d2ad461b98e73549b32cdf98d1695641 /src/vulkan/anv_device.c
parent867f6cb90c7d3ccd79d5eb0c67537a83ae964dd2 (diff)
vk/device: Finish the scratch block pool on device destruction
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r--src/vulkan/anv_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c
index 22abddc0cd6..886118d1954 100644
--- a/src/vulkan/anv_device.c
+++ b/src/vulkan/anv_device.c
@@ -630,6 +630,7 @@ VkResult anv_DestroyDevice(
anv_block_pool_finish(&device->dynamic_state_block_pool);
anv_block_pool_finish(&device->instruction_block_pool);
anv_block_pool_finish(&device->surface_state_block_pool);
+ anv_block_pool_finish(&device->scratch_block_pool);
close(device->fd);