mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-06 06:41:05 +00:00
Set command buffer info for all re-recorded commands, including partials
This commit is contained in:
@@ -575,11 +575,11 @@ bool WrappedVulkan::Serialise_vkBeginCommandBuffer(Serialiser *localSerialiser,
|
||||
// there's no issue with clashes here.
|
||||
m_RerecordCmds[bakeId] = cmd;
|
||||
m_RerecordCmds[cmdId] = cmd;
|
||||
|
||||
m_BakedCmdBufferInfo[GetResID(cmd)].level = allocInfo.level;
|
||||
m_BakedCmdBufferInfo[GetResID(cmd)].beginFlags = info.flags;
|
||||
}
|
||||
|
||||
m_BakedCmdBufferInfo[GetResID(cmd)].level = allocInfo.level;
|
||||
m_BakedCmdBufferInfo[GetResID(cmd)].beginFlags = info.flags;
|
||||
|
||||
// add one-time submit flag as this partial cmd buffer will only be submitted once
|
||||
info.flags |= VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user