mesa: Actually build more Vulkan drivers on aarch64-linux
If `auto` exists, the entire list of Vulkan drivers is replaced
so our additions aren't honored:
<ef168a57b9/meson.build (L258-277)
>
Co-authored-by: K900 <me@0upti.me>
This commit is contained in:
parent
1d0b9702fc
commit
fa9f9f8361
@ -8,7 +8,7 @@
|
||||
, vulkan-loader, glslang
|
||||
, galliumDrivers ? ["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" ]
|
||||
, vulkanDrivers ? if (stdenv.isLinux && stdenv.isAarch64) then [ "swrast" "broadcom" "freedreno" "panfrost" ] else [ "auto" ]
|
||||
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
|
||||
, vulkanLayers ? lib.optionals (!stdenv.isDarwin) [ "device-select" "overlay" ] # No Vulkan support on Darwin
|
||||
, OpenGL, Xplugin
|
||||
|
Loading…
Reference in New Issue
Block a user