mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-14 18:46:48 +00:00
Ensure we unwrap pNext chain on replay in vkQueueSubmit
This commit is contained in:
@@ -396,6 +396,10 @@ bool WrappedVulkan::Serialise_vkQueueSubmit(SerialiserType &ser, VkQueue queue,
|
||||
|
||||
VkSubmitInfo rerecordedSubmit = submitInfo;
|
||||
|
||||
byte *tempMem = GetTempMemory(GetNextPatchSize(rerecordedSubmit.pNext));
|
||||
|
||||
UnwrapNextChain(m_State, "VkSubmitInfo", tempMem, (VkGenericStruct *)&rerecordedSubmit);
|
||||
|
||||
rerecordedSubmit.commandBufferCount = (uint32_t)rerecordedCmds.size();
|
||||
rerecordedSubmit.pCommandBuffers = &rerecordedCmds[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user