summary refs log tree commit diff
path: root/pkgs/development/libraries/mesa
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-03-05 10:53:44 +0100
committerJörg Thalheim <joerg@thalheim.io>2023-03-06 09:34:30 +0100
commit6ea505ee4ea6a148132f7b4fd93f8d36aa1b25b0 (patch)
treecb1e417af277d21ffcd1810850f76afaba1e541a /pkgs/development/libraries/mesa
parent794f34657e066a5e8cc4bb34491fee02240c6ac4 (diff)
downloadnixpkgs-6ea505ee4ea6a148132f7b4fd93f8d36aa1b25b0.tar
nixpkgs-6ea505ee4ea6a148132f7b4fd93f8d36aa1b25b0.tar.gz
nixpkgs-6ea505ee4ea6a148132f7b4fd93f8d36aa1b25b0.tar.bz2
nixpkgs-6ea505ee4ea6a148132f7b4fd93f8d36aa1b25b0.tar.lz
nixpkgs-6ea505ee4ea6a148132f7b4fd93f8d36aa1b25b0.tar.xz
nixpkgs-6ea505ee4ea6a148132f7b4fd93f8d36aa1b25b0.tar.zst
nixpkgs-6ea505ee4ea6a148132f7b4fd93f8d36aa1b25b0.zip
mesa: enable vulkan intel drivers on 32bit
Diffstat (limited to 'pkgs/development/libraries/mesa')
-rw-r--r--pkgs/development/libraries/mesa/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index 480c2d8c858..c0252eb9233 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -51,9 +51,9 @@
       "imagination-experimental" # PowerVR Rogue (currently N/A)
       "panfrost" # ARM Mali Midgard and up (T/G series)
     ]
-    ++ lib.optionals stdenv.isx86_64 [
-      "intel" # Intel (aka ANV), could work on non-x86_64 with PCIe cards, but doesn't build as of 22.3.4
-      "intel_hasvk" # Intel Haswell/Broadwell, experimental, x86_64 only
+    ++ lib.optionals stdenv.hostPlatform.isx86 [
+      "intel" # Intel (aka ANV), could work on non-x86 with PCIe cards, but doesn't build
+      "intel_hasvk" # Intel Haswell/Broadwell, "legacy" Vulkan driver (https://www.phoronix.com/news/Intel-HasVK-Drop-Dead-Code)
     ]
   else [ "auto" ]
 , eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]