Ensure push constant command buffer is always registered

* We still want to have a ResourceId for a command buffer to reflect push
  constants - it doesn't matter which command buffer it is currently. If push
  constants are present, but never pushed, we should still reflect it.
This commit is contained in:
baldurk
2024-06-25 17:18:57 +01:00
parent 0943d8882f
commit 1ec36140bf
@@ -1190,6 +1190,8 @@ bool WrappedVulkan::Serialise_vkBeginCommandBuffer(SerialiserType &ser, VkComman
GetCmdRenderState().xfbcounters.clear();
GetCmdRenderState().conditionalRendering.buffer = ResourceId();
m_PushCommandBuffer = m_LastCmdBufferID;
rerecord = true;
}
else if(submit->beginEvent <= m_LastEventID)