Ensure when using action callbacks that sub-EIs are selected correctly

This commit is contained in:
baldurk
2025-08-19 16:05:42 +01:00
parent 99202434f4
commit 0423ca4870
@@ -4247,6 +4247,14 @@ bool WrappedID3D12GraphicsCommandList::Serialise_ExecuteIndirect(
countToReplay = RDCMIN(countToReplay, maxCommands);
if(m_Cmd->m_FirstEventID > 1)
{
const uint32_t argidx = (curEID - baseEventID - 1);
const uint32_t execidx = argidx / comSig->sig.arguments.count();
argOffset += comSig->sig.ByteStride * execidx;
}
for(uint32_t i = 0; i < countToReplay; i++)
{
ActionFlags drawType =