mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 18:47:55 +00:00
mesa: enable SPIR-V support for Clover
This commit is contained in:
parent
17af0cdc15
commit
96978011e6
@ -141,7 +141,11 @@ self = stdenv.mkDerivation {
|
||||
# Enable RT for Intel hardware
|
||||
"-Dintel-clc=enabled"
|
||||
] ++ lib.optionals enableOpenCL [
|
||||
"-Dgallium-opencl=icd" # Enable the gallium OpenCL frontend
|
||||
# Clover, old OpenCL frontend
|
||||
"-Dgallium-opencl=icd"
|
||||
"-Dopencl-spirv=true"
|
||||
|
||||
# Rusticl, new OpenCL frontend
|
||||
"-Dgallium-rusticl=true" "-Drust_std=2021"
|
||||
"-Dclang-libdir=${llvmPackages.clang-unwrapped.lib}/lib"
|
||||
] ++ lib.optional enablePatentEncumberedCodecs
|
||||
|
Loading…
Reference in New Issue
Block a user