PostDraw callback change the commands signature used in ExecuteIndirect

The same scenario as HandlePrecallback() modifying the command signature
This commit is contained in:
Jake Turner committed 2026-05-20 10:16:30 +01:00
1 parent 715fce0b5d
commit b6925a64fb
1 file changed
+3
@@ -4454,6 +4454,9 @@ bool WrappedID3D12GraphicsCommandList::Serialise_ExecuteIndirect(
{
if(eventId && m_Cmd->m_ActionCallback->PostDraw(eventId, list))
{
// Allow the callback to recreate the command signature i.e. to match the root signature
pCommandSignature = m_Cmd->m_IndirectData.commandSig;
Unwrap(list)->ExecuteIndirect(Unwrap(pCommandSignature), 1, argBuffer, argOffset,
NULL, 0);
m_Cmd->m_ActionCallback->PostRedraw(eventId, list);