aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/tracie
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2020-03-11 08:54:22 +0100
committerTomeu Vizoso <[email protected]>2020-03-17 07:12:36 +0100
commit2ca662fb61269e3e3d36f8aab5939bc9dce14b4a (patch)
tree09c0568dc1bb9a83fa60c2904906f8f552b129ca /.gitlab-ci/tracie
parentac1dbd5ef81fe9bd389e38f22da32d940c1d9e02 (diff)
gitlab-ci: Update renderdoc
Get closer to upstream to avoid accumulating changes. Signed-off-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4000>
Diffstat (limited to '.gitlab-ci/tracie')
-rwxr-xr-x.gitlab-ci/tracie/renderdoc_dump_images.py6
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>...]")