mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-02-22 12:47:14 +01:00
Vulkan: destroy occlusion query pool
This commit is contained in:
parent
ec91b6c883
commit
0866c4746b
@ -199,6 +199,7 @@ VKFUNC_DEVICE(vkCmdEndTransformFeedbackEXT);
|
|||||||
|
|
||||||
// query
|
// query
|
||||||
VKFUNC_DEVICE(vkCreateQueryPool);
|
VKFUNC_DEVICE(vkCreateQueryPool);
|
||||||
|
VKFUNC_DEVICE(vkDestroyQueryPool);
|
||||||
VKFUNC_DEVICE(vkCmdResetQueryPool);
|
VKFUNC_DEVICE(vkCmdResetQueryPool);
|
||||||
VKFUNC_DEVICE(vkCmdBeginQuery);
|
VKFUNC_DEVICE(vkCmdBeginQuery);
|
||||||
VKFUNC_DEVICE(vkCmdEndQuery);
|
VKFUNC_DEVICE(vkCmdEndQuery);
|
||||||
|
@ -648,6 +648,9 @@ VulkanRenderer::~VulkanRenderer()
|
|||||||
}
|
}
|
||||||
m_backbufferBlitPipelineCache = {};
|
m_backbufferBlitPipelineCache = {};
|
||||||
|
|
||||||
|
if(m_occlusionQueries.queryPool != VK_NULL_HANDLE)
|
||||||
|
vkDestroyQueryPool(m_logicalDevice, m_occlusionQueries.queryPool, nullptr);
|
||||||
|
|
||||||
vkDestroyDescriptorSetLayout(m_logicalDevice, m_swapchainDescriptorSetLayout, nullptr);
|
vkDestroyDescriptorSetLayout(m_logicalDevice, m_swapchainDescriptorSetLayout, nullptr);
|
||||||
|
|
||||||
// shut down imgui
|
// shut down imgui
|
||||||
|
Loading…
x
Reference in New Issue
Block a user