Merge pull request #200356 from K900/aarch64-vulkan

mesa: build more Vulkan drivers on aarch64-linux
This commit is contained in:
K900 2022-11-11 01:43:15 +03:00 committed by GitHub
commit f2073b84c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,8 @@
, libglvnd, libunwind
, vulkan-loader, glslang
, galliumDrivers ? ["auto"]
, vulkanDrivers ? ["auto"]
# upstream Mesa defaults to only enabling swrast (aka lavapipe) on aarch64 for some reason, so force building the others
, vulkanDrivers ? [ "auto" ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ "broadcom" "freedreno" "panfrost" ]
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
, vulkanLayers ? lib.optionals (!stdenv.isDarwin) [ "device-select" "overlay" ] # No Vulkan support on Darwin
, OpenGL, Xplugin