From 37adeda1ffe6bac79df6961a7dab68d6842f7dfe Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 11 Jan 2021 20:57:26 -0500 Subject: [PATCH] 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 Reviewed-by: Eric Anholt Part-of: --- .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 d475bb3..e6bd7bc 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 -- 2.7.4