mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
If a flush is not serialised due to not capturing, mark resource dirty
This commit is contained in:
@@ -548,6 +548,10 @@ VkResult WrappedVulkan::vkFlushMappedMemoryRanges(
|
||||
m_FrameCaptureRecord->AddChunk(scope.Get());
|
||||
GetResourceManager()->MarkResourceFrameReferenced(GetResID(pMemRanges[i].memory), eFrameRef_Write);
|
||||
}
|
||||
else
|
||||
{
|
||||
GetResourceManager()->MarkDirtyResource(memid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user