gitlab-ci: Enable freedreno shader-db runs.
authorEric Anholt <eric@anholt.net>
Thu, 25 Jul 2019 22:46:51 +0000 (15:46 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 29 Jul 2019 19:52:39 +0000 (12:52 -0700)
Now that helgrind is less upset and I've completed many successful
full shader-db runs, we should be able to enable freedreno shader-db
runs for Mesa checkins on the tiny public shader-db.

Reviewed-by: Rob Clark <robdclark@gmail.com>
.gitlab-ci/run-shader-db.sh

index 70a434c51c641e7cdb43db72f51b2a0ee3c5e794..a6093e5d57bf910946d257c242218c2e509110fe 100755 (executable)
@@ -10,6 +10,8 @@ export LIBGL_DRIVERS_PATH=$LIBDIR/dri
 
 cd /usr/local/shader-db
 
-env LD_PRELOAD=$LIBDIR/libv3d_noop_drm_shim.so \
-    ./run -j 4 ./shaders \
-        > $ARTIFACTSDIR/v3d-shader-db.txt
+for driver in freedreno v3d; do
+    env LD_PRELOAD=$LIBDIR/lib${driver}_noop_drm_shim.so \
+        ./run -j 4 ./shaders \
+            > $ARTIFACTSDIR/${driver}-shader-db.txt
+done