mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
Merge #22578: mesa: add enableRadv ? false
There's no hash change in default settings.
This commit is contained in:
commit
4bf9f8afc3
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
, llvmPackages, libffi, libomxil-bellagio, libva
|
||||
, libelf, libvdpau, python2
|
||||
, grsecEnabled ? false
|
||||
, enableRadv ? false
|
||||
, enableTextureFloats ? false # Texture floats are patented, see docs/patents.txt
|
||||
}:
|
||||
|
||||
|
@ -73,7 +74,7 @@ stdenv.mkDerivation {
|
|||
] else [
|
||||
"--with-gallium-drivers=svga,i915,ilo,r300,r600,radeonsi,nouveau,swrast"
|
||||
"--with-dri-drivers=i915,i965,nouveau,radeon,r200,swrast"
|
||||
"--with-vulkan-drivers=intel"
|
||||
("--with-vulkan-drivers=intel" + optionalString enableRadv ",radeon")
|
||||
]) ++ [
|
||||
(enableFeature enableTextureFloats "texture-float")
|
||||
(enableFeature grsecEnabled "glx-rts")
|
||||
|
|
Loading…
Reference in a new issue