mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Re-order object shutdown to workaround MoltenVK bug
This commit is contained in:
@@ -2567,14 +2567,14 @@ void VulkanReplay::FetchVSOut(uint32_t eventId)
|
||||
// replay doesn't handle destroying children of pooled objects so we do it explicitly anyway.
|
||||
m_pDriver->vkFreeDescriptorSets(dev, descpool, (uint32_t)descSets.size(), descSets.data());
|
||||
|
||||
// delete pipeline layout
|
||||
m_pDriver->vkDestroyPipelineLayout(dev, pipeLayout, NULL);
|
||||
|
||||
m_pDriver->vkDestroyDescriptorPool(dev, descpool, NULL);
|
||||
|
||||
for(VkDescriptorSetLayout layout : setLayouts)
|
||||
m_pDriver->vkDestroyDescriptorSetLayout(dev, layout, NULL);
|
||||
|
||||
// delete pipeline layout
|
||||
m_pDriver->vkDestroyPipelineLayout(dev, pipeLayout, NULL);
|
||||
|
||||
// delete pipeline
|
||||
m_pDriver->vkDestroyPipeline(dev, pipe, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user