mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 04:41:07 +00:00
Mark fence used for queue submission as read
This commit is contained in:
@@ -365,6 +365,9 @@ VkResult WrappedVulkan::vkQueueSubmit(
|
||||
|
||||
// ref the parent command buffer by itself, this will pull in the cmd buffer pool
|
||||
GetResourceManager()->MarkResourceFrameReferenced(record->GetResourceID(), eFrameRef_Read);
|
||||
|
||||
if(fence != VK_NULL_HANDLE)
|
||||
GetResourceManager()->MarkResourceFrameReferenced(GetResID(fence), eFrameRef_Read);
|
||||
|
||||
m_CmdBufferRecords.push_back(record->bakedCommands);
|
||||
record->bakedCommands->AddRef();
|
||||
|
||||
Reference in New Issue
Block a user