This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
turnip: Clean up BO on vkDestroyQueryPool
turnip-occlusion-query
Brian Ho
6 years ago
parent
c1f2730b7d
commit
9227c4fe1f
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
src/freedreno/vulkan/tu_query.c
+ 4
- 0
src/freedreno/vulkan/tu_query.c
View File
@@ -130,6 +130,10 @@ tu_DestroyQueryPool(VkDevice _device,
if (!pool)
return;
if (pool->bo) {
tu_bo_finish(device, pool->bo);
free(pool->bo);
}
vk_free2(&device->alloc, pAllocator, pool);
}
Write
Preview
Loading…
Cancel
Save