mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +00:00
PostDraw callback change the commands signature used in ExecuteIndirect
The same scenario as HandlePrecallback() modifying the command signature
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user