From 5c1971272cd4f18fb4bbde7b050cae84ebd32316 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 27 Sep 2023 15:13:41 +0100 Subject: [PATCH] Make sure to account for missing draws even with MaxCount==1 * If we don't account for an execute with MaxCount==1 and actual count 0 then our EID tracking gets mismatched. --- renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp b/renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp index 906a88524..d29376f8a 100644 --- a/renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp +++ b/renderdoc/driver/d3d12/d3d12_command_list_wrap.cpp @@ -3968,7 +3968,6 @@ bool WrappedID3D12GraphicsCommandList::Serialise_ExecuteIndirect( uint32_t baseEventID = it->eventId; - if(count > 1) { // get the number of draws by looking at how many children the parent action has. const rdcarray &children = m_pDevice->GetAction(it->eventId)->children;