Cross Reference: run-shader-db.sh
xref: /xsrc/external/mit/MesaLib/dist/.gitlab-ci/run-shader-db.sh
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/MesaLib/dist/.gitlab-ci/
17ec681f3Smrgset -e
27ec681f3Smrgset -v
37ec681f3Smrg
47ec681f3SmrgARTIFACTSDIR=`pwd`/shader-db
57ec681f3Smrgmkdir -p $ARTIFACTSDIR
67ec681f3Smrgexport DRM_SHIM_DEBUG=true
77ec681f3Smrg
87ec681f3SmrgLIBDIR=`pwd`/install/lib
97ec681f3Smrgexport LD_LIBRARY_PATH=$LIBDIR
107ec681f3Smrg
117ec681f3Smrgcd /usr/local/shader-db
127ec681f3Smrg
137ec681f3Smrgfor driver in freedreno intel v3d; do
147ec681f3Smrg    echo "Running drm-shim for $driver"
157ec681f3Smrg    env LD_PRELOAD=$LIBDIR/lib${driver}_noop_drm_shim.so \
167ec681f3Smrg        ./run -j${FDO_CI_CONCURRENT:-4} ./shaders \
177ec681f3Smrg            > $ARTIFACTSDIR/${driver}-shader-db.txt
187ec681f3Smrgdone
19

Indexes created Sat Nov 29 09:09:30 GMT 2025