mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-20 22:41:36 +00:00
Handle off-by-one errors when replaying final parts of a subpass
This commit is contained in:
@@ -993,7 +993,7 @@ bool WrappedVulkan::Serialise_vkEndCommandBuffer(SerialiserType &ser, VkCommandB
|
||||
|
||||
rdcarray<rdcpair<ResourceId, ImageRegionState> > imgbarriers;
|
||||
|
||||
for(sub = m_RenderState.subpass; sub < numSubpasses - 1; sub++)
|
||||
for(sub = m_RenderState.subpass + 1; sub < numSubpasses; sub++)
|
||||
{
|
||||
ObjDisp(commandBuffer)->CmdNextSubpass(Unwrap(commandBuffer), VK_SUBPASS_CONTENTS_INLINE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user