1 # shellcheck shell=bash
3 # https://docs.mesa3d.org/envvars.html
4 export LIBGL_ALWAYS_SOFTWARE
=true
5 export LIBGL_DRIVERS_PATH
=@drivers@
/lib
/dri
7 # https://github.com/NVIDIA/libglvnd/blob/master/src/EGL/icd_enumeration.md
8 export __EGL_VENDOR_LIBRARY_FILENAMES
=@drivers@
/share
/glvnd
/egl_vendor.d
/50_mesa.json
10 # https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderInterfaceArchitecture.md
11 # glob because the filenames contain an architecture suffix
12 # echo is needed to force-expand the glob
13 VK_DRIVER_FILES
="$(echo @drivers@/share/vulkan/icd.d/lvp_icd.*.json)"
14 export VK_DRIVER_FILES