mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user