Clear indirect copies list after it's been processed at the end of an RP

This commit is contained in:
baldurk
2018-11-20 10:42:59 +00:00
parent b7a276195e
commit 3ff8c0cdb4
@@ -1307,6 +1307,8 @@ bool WrappedVulkan::Serialise_vkCmdEndRenderPass(SerialiserType &ser, VkCommandB
m_BakedCmdBufferInfo[m_LastCmdBufferID].indirectCopies)
ExecuteIndirectReadback(commandBuffer, indirectcopy);
m_BakedCmdBufferInfo[m_LastCmdBufferID].indirectCopies.clear();
std::vector<VkImageMemoryBarrier> imgBarriers = GetImplicitRenderPassBarriers(~0U);
ResourceId cmd = GetResID(commandBuffer);