mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 20:31:02 +00:00
Serialise multiple flushes, not just the first
* typo - copied from unmap condition where we don't serialise anything on unmap if there was a flush
This commit is contained in:
@@ -340,7 +340,7 @@ VkResult WrappedVulkan::vkFlushMappedMemoryRanges(
|
||||
auto it = m_MemoryInfo.find(GetResID(pMemRanges[i].mem));
|
||||
it->second.mapFlushed = true;
|
||||
|
||||
if(ret == VK_SUCCESS && m_State >= WRITING_CAPFRAME && !it->second.mapFlushed)
|
||||
if(ret == VK_SUCCESS && m_State >= WRITING_CAPFRAME)
|
||||
{
|
||||
SCOPED_SERIALISE_CONTEXT(FLUSH_MEM);
|
||||
Serialise_vkFlushMappedMemoryRanges(device, 1, pMemRanges+i);
|
||||
|
||||
Reference in New Issue
Block a user