mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Only put memory binds into frame capture record if they're not the first
This commit is contained in:
@@ -422,7 +422,7 @@ VkResult WrappedVulkan::vkBindBufferMemory(
|
||||
chunk = scope.Get();
|
||||
}
|
||||
|
||||
if(m_State == WRITING_CAPFRAME)
|
||||
if(m_State == WRITING_CAPFRAME && record->GetMemoryRecord())
|
||||
{
|
||||
m_FrameCaptureRecord->AddChunk(chunk);
|
||||
|
||||
@@ -485,7 +485,7 @@ VkResult WrappedVulkan::vkBindImageMemory(
|
||||
chunk = scope.Get();
|
||||
}
|
||||
|
||||
if(m_State == WRITING_CAPFRAME)
|
||||
if(m_State == WRITING_CAPFRAME && record->GetMemoryRecord())
|
||||
{
|
||||
m_FrameCaptureRecord->AddChunk(chunk);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user