mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-26 00:29:00 +00:00
If a flush is not serialised due to not capturing, mark resource dirty
This commit is contained in:
1 parent
52e90a08e9
commit
ae557c5bb3
1 file changed
+4
@@ -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