mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-14 09:45:47 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user