diff options
Diffstat (limited to '.gitlab-ci/tracie')
-rwxr-xr-x | .gitlab-ci/tracie/renderdoc_dump_images.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci/tracie/renderdoc_dump_images.py b/.gitlab-ci/tracie/renderdoc_dump_images.py index f1252c11f25..689ee2d0a87 100755 --- a/.gitlab-ci/tracie/renderdoc_dump_images.py +++ b/.gitlab-ci/tracie/renderdoc_dump_images.py @@ -83,8 +83,8 @@ def loadCapture(filename): return (cap, controller) def renderdoc_dump_images(filename, eventIds, outputDir): - rd.InitGlobalEnv(rd.GlobalEnvironment(), []) - cap,controller = loadCapture(filename); + rd.InitialiseReplay(rd.GlobalEnvironment(), []) + cap, controller = loadCapture(filename); tracefile = Path(filename).name @@ -97,6 +97,8 @@ def renderdoc_dump_images(filename, eventIds, outputDir): controller.Shutdown() cap.Shutdown() + rd.ShutdownReplay() + if __name__ == "__main__": if len(sys.argv) < 3: raise RuntimeError("Usage: renderdoc_dump_images.py <trace> <outputdir> [<draw-id>...]") |