mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 23:07:37 +00:00
mesa: enable RT on Intel hardware
This commit is contained in:
parent
07e13abffc
commit
17af0cdc15
@ -137,6 +137,9 @@ self = stdenv.mkDerivation {
|
||||
"-Dgbm-backends-path=${libglvnd.driverLink}/lib/gbm:${placeholder "out"}/lib/gbm"
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
"-Dglvnd=true"
|
||||
|
||||
# Enable RT for Intel hardware
|
||||
"-Dintel-clc=enabled"
|
||||
] ++ lib.optionals enableOpenCL [
|
||||
"-Dgallium-opencl=icd" # Enable the gallium OpenCL frontend
|
||||
"-Dgallium-rusticl=true" "-Drust_std=2021"
|
||||
@ -164,7 +167,7 @@ self = stdenv.mkDerivation {
|
||||
nativeBuildInputs = [
|
||||
meson pkg-config ninja
|
||||
intltool bison flex file
|
||||
python3Packages.python python3Packages.Mako
|
||||
python3Packages.python python3Packages.Mako python3Packages.ply
|
||||
jdupes glslang
|
||||
] ++ lib.optionals (lib.elem "wayland" eglPlatforms) [
|
||||
wayland-scanner
|
||||
|
Loading…
Reference in New Issue
Block a user