Mesa (master): ci: include nouveau in shader-db runs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 13 03:52:50 UTC 2021


Module: Mesa
Branch: master
Commit: 37adeda1ffe6bac79df6961a7dab68d6842f7dfe
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37adeda1ffe6bac79df6961a7dab68d6842f7dfe

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon Jan 11 20:57:26 2021 -0500

ci: include nouveau in shader-db runs

This should include coverage of the whole pipeline including the nouveau
codegen compiler across the "interesting" chips which should generate
sufficiently different code.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8432>

---

 .gitlab-ci/run-shader-db.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci/run-shader-db.sh b/.gitlab-ci/run-shader-db.sh
index d475bb3c76e..e6bd7bc481c 100755
--- a/.gitlab-ci/run-shader-db.sh
+++ b/.gitlab-ci/run-shader-db.sh
@@ -16,3 +16,12 @@ for driver in freedreno intel v3d; do
         ./run -j${FDO_CI_CONCURRENT:-4} ./shaders \
             > $ARTIFACTSDIR/${driver}-shader-db.txt
 done
+
+# Run shader-db over a number of supported chipsets for nouveau
+for chipset in 40 a3 c0 e4 f0 134; do
+    echo "Running drm-shim for nouveau - $chipset"
+    env LD_PRELOAD=$LIBDIR/libnouveau_noop_drm_shim.so \
+        NOUVEAU_CHIPSET=${chipset} \
+        ./run -j${FDO_CI_CONCURRENT:-4} ./shaders \
+            > $ARTIFACTSDIR/nouveau-${chipset}-shader-db.txt
+done



More information about the mesa-commit mailing list