gnu: mesa: Enable zink support.

* gnu/packages/gl.scm (mesa)[arguments]: Add zink to gallium-drivers in
configure-flags.

Change-Id: I1fc7e38a8307b589a7c48bc0b923fccd9ffcd8b8
This commit is contained in:
John Kehayias 2023-12-18 18:49:40 -05:00
parent d55a4431f3
commit ebd3b3e902
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -324,16 +324,16 @@ also known as DXTn or DXTC) for Mesa.")
((target-aarch64?) ((target-aarch64?)
;; TODO: Fix svga driver for non-Intel architectures. ;; TODO: Fix svga driver for non-Intel architectures.
'("-Dgallium-drivers=etnaviv,freedreno,kmsro,lima,nouveau,\ '("-Dgallium-drivers=etnaviv,freedreno,kmsro,lima,nouveau,\
panfrost,r300,r600,swrast,tegra,v3d,vc4,virgl")) panfrost,r300,r600,swrast,tegra,v3d,vc4,virgl,zink"))
((target-arm32?) ((target-arm32?)
;; Freedreno FTBFS when built on a 64-bit machine. ;; Freedreno FTBFS when built on a 64-bit machine.
'("-Dgallium-drivers=etnaviv,kmsro,lima,nouveau,panfrost,\ '("-Dgallium-drivers=etnaviv,kmsro,lima,nouveau,panfrost,\
r300,r600,swrast,tegra,v3d,vc4,virgl")) r300,r600,swrast,tegra,v3d,vc4,virgl,zink"))
((or (target-ppc64le?) (target-ppc32?) (target-riscv64?)) ((or (target-ppc64le?) (target-ppc32?) (target-riscv64?))
'("-Dgallium-drivers=nouveau,r300,r600,radeonsi,swrast,virgl")) '("-Dgallium-drivers=nouveau,r300,r600,radeonsi,swrast,virgl,zink"))
(else (else
'("-Dgallium-drivers=crocus,iris,nouveau,r300,r600,radeonsi,\ '("-Dgallium-drivers=crocus,iris,nouveau,r300,r600,radeonsi,\
svga,swrast,virgl"))) svga,swrast,virgl,zink")))
;; Enable various optional features. TODO: opencl requires libclc, ;; Enable various optional features. TODO: opencl requires libclc,
;; omx requires libomxil-bellagio ;; omx requires libomxil-bellagio
"-Dplatforms=x11,wayland" "-Dplatforms=x11,wayland"