vk/device: Finish the scratch block pool on device destruction

This commit is contained in:
Jason Ekstrand 2015-07-22 17:51:14 -07:00
parent 867f6cb90c
commit 3460e6cb2f

View 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);