D3D12_Execute_Indirect: skip checking all overlays inside the large EI

Inside the large EI draw with a count of 256: only check a few EIDs at the start and end of that EI.
Reduces the test time and the EIDs being skipped are not exercising different code paths during replay.
This commit is contained in:
Jake Turner
2026-09-09 15:17:00 +01:00
parent 3fbf0d871c
commit 0c69b86d7c
@@ -389,8 +389,15 @@ class D3D12_Execute_Indirect(rdtest.TestCase):
out.Display()
out.Shutdown()
largeEIMarker = self.find_action("MaxCount: 1024 CountBuf: 256")
skipEIDmin = largeEIMarker.eventId + 10
largeEIAction = self.find_action("ExecuteIndirect", largeEIMarker.eventId);
skipEIDmax = largeEIAction.eventId + len(largeEIAction.children) - 10
with rdtest.log.auto_section('Checking All Overlays'):
for eid in range(self.get_first_action().eventId, self.get_last_action().eventId + 1):
if eid >= skipEIDmin and eid <= skipEIDmax:
continue
self.controller.SetFrameEvent(eid, False)
pipe = self.controller.GetPipelineState()
if len(pipe.GetOutputTargets()) == 0: