mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-10 22:31:32 +00:00
Extend python helper functions for D3D12 indirect action names
This commit is contained in:
1 parent
4d57e74c9d
commit
6df99e4d94
1 file changed
+3
@@ -1203,6 +1203,9 @@ class TestCase:
|
||||
# Action: *Indirect(1) => <3,2> should have Indirect sub-command({ 3,2 }) as previous event
|
||||
if "Indirect(1) => <" in actionName:
|
||||
event = action.events[-2]
|
||||
# Action: [x] argY: Indirect*(<3,3>) : should have event Indirect*({ 3,3 }) as its event
|
||||
if re.match(r"\[[0-9]+\] arg[0-9]+: Indirect.*\(", actionName):
|
||||
event = action.events[-1]
|
||||
|
||||
if event is not None:
|
||||
chunkIndex = event.chunkIndex
|
||||
|
||||
Reference in new issue
Block a user