Set command buffer info under recorded command buffer IDs

This commit is contained in:
baldurk
2017-09-11 17:53:29 +01:00
parent 80ec87fdd2
commit eaec6b501e
@@ -575,6 +575,9 @@ 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;
}
// add one-time submit flag as this partial cmd buffer will only be submitted once