vk/device: Finish the scratch block pool on device destruction
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Jul 2015 00:51:14 +0000 (17:51 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Jul 2015 00:51:14 +0000 (17:51 -0700)
src/vulkan/anv_device.c

index 22abddc0cd6a9dd715badee807ae00d45226d7c4..886118d195467ff3fce560f3325306906c45602c 100644 (file)
@@ -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);