gitlab-ci: Update renderdoc
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 11 Mar 2020 07:54:22 +0000 (08:54 +0100)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 17 Mar 2020 06:12:36 +0000 (07:12 +0100)
Get closer to upstream to avoid accumulating changes.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4000>

.gitlab-ci.yml
.gitlab-ci/build-renderdoc.sh
.gitlab-ci/tracie/renderdoc_dump_images.py

index f45e6d42d43d1b8e5ec2eb9e65437bb4a226e1ab..55c39cce466bc6a844d778c1d0a8df43a19152e3 100644 (file)
@@ -120,7 +120,7 @@ x86_build:
     - .debian@container-ifnot-exists
     - .container
   variables:
-    DEBIAN_TAG: &x86_build "2020-03-11"
+    DEBIAN_TAG: &x86_build "2020-03-13"
 
 .use-x86_build:
   variables:
@@ -133,7 +133,7 @@ x86_build:
 x86_test-gl:
   extends: x86_build
   variables:
-    DEBIAN_TAG: &x86_test-gl "2020-03-11"
+    DEBIAN_TAG: &x86_test-gl "2020-03-13"
 
 # Debian 10 based x86 test image for VK
 x86_test-vk:
@@ -161,7 +161,7 @@ arm_build:
     - .debian@container-ifnot-exists@arm64v8
     - .container
   variables:
-    DEBIAN_TAG: &arm_build "2020-03-09"
+    DEBIAN_TAG: &arm_build "2020-03-13"
 
 .use-arm_build:
   variables:
index 31c8c014b8ae4888c9395a9dac4a5ae720f150f4..640386b4422449b10a415e949613b3ef9f96d714 100644 (file)
@@ -2,7 +2,7 @@
 
 set -ex
 
-RENDERDOC_VERSION=6653316a62f6168b3e45040358cb77612dcffcb8
+RENDERDOC_VERSION=da02e88201dc3b64316fc33ce6ff69cc729689aa
 
 git clone https://github.com/baldurk/renderdoc.git --single-branch --no-checkout /renderdoc
 pushd /renderdoc
index f1252c11f256c1be624f70bfcae6a6dc59fc089a..689ee2d0a87e0f87f64f70d4eb39507569906dde 100755 (executable)
@@ -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>...]")