mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 15:31:18 +12:00
Vulkan: destroy occlusion query pool
This commit is contained in:
parent
ec91b6c883
commit
0866c4746b
2 changed files with 4 additions and 0 deletions
|
@ -199,6 +199,7 @@ VKFUNC_DEVICE(vkCmdEndTransformFeedbackEXT);
|
|||
|
||||
// query
|
||||
VKFUNC_DEVICE(vkCreateQueryPool);
|
||||
VKFUNC_DEVICE(vkDestroyQueryPool);
|
||||
VKFUNC_DEVICE(vkCmdResetQueryPool);
|
||||
VKFUNC_DEVICE(vkCmdBeginQuery);
|
||||
VKFUNC_DEVICE(vkCmdEndQuery);
|
||||
|
|
|
@ -648,6 +648,9 @@ VulkanRenderer::~VulkanRenderer()
|
|||
}
|
||||
m_backbufferBlitPipelineCache = {};
|
||||
|
||||
if(m_occlusionQueries.queryPool != VK_NULL_HANDLE)
|
||||
vkDestroyQueryPool(m_logicalDevice, m_occlusionQueries.queryPool, nullptr);
|
||||
|
||||
vkDestroyDescriptorSetLayout(m_logicalDevice, m_swapchainDescriptorSetLayout, nullptr);
|
||||
|
||||
// shut down imgui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue