• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1set -e
2set -v
3
4ARTIFACTSDIR=`pwd`/shader-db
5mkdir -p $ARTIFACTSDIR
6export DRM_SHIM_DEBUG=true
7
8LIBDIR=`pwd`/install/lib
9export LD_LIBRARY_PATH=$LIBDIR
10
11cd /usr/local/shader-db
12
13for driver in freedreno intel v3d; do
14    echo "Running drm-shim for $driver"
15    env LD_PRELOAD=$LIBDIR/lib${driver}_noop_drm_shim.so \
16        ./run -j${FDO_CI_CONCURRENT:-4} ./shaders \
17            > $ARTIFACTSDIR/${driver}-shader-db.txt
18done
19