summary refs log tree commit diff
path: root/gnu/packages/gl.scm
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2023-12-18 18:49:40 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2023-12-18 18:49:40 -0500
commitebd3b3e9020f978e65f7be7f4eb0ffff9bbca31f (patch)
tree586393314b316e9b7833c8e97071f5fa95ef7281 /gnu/packages/gl.scm
parentd55a4431f3d2b2d61a5b505a8cbbb4cbbd7a8090 (diff)
downloadguix-ebd3b3e9020f978e65f7be7f4eb0ffff9bbca31f.tar.gz
gnu: mesa: Enable zink support.
* gnu/packages/gl.scm (mesa)[arguments]: Add zink to gallium-drivers in
configure-flags.

Change-Id: I1fc7e38a8307b589a7c48bc0b923fccd9ffcd8b8
Diffstat (limited to 'gnu/packages/gl.scm')
-rw-r--r--gnu/packages/gl.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index b8827de85e..8c5e61dfd2 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -324,16 +324,16 @@ also known as DXTn or DXTC) for Mesa.")
              ((target-aarch64?)
               ;; TODO: Fix svga driver for non-Intel architectures.
               '("-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?)
               ;; Freedreno FTBFS when built on a 64-bit machine.
               '("-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?))
-              '("-Dgallium-drivers=nouveau,r300,r600,radeonsi,swrast,virgl"))
+              '("-Dgallium-drivers=nouveau,r300,r600,radeonsi,swrast,virgl,zink"))
              (else
               '("-Dgallium-drivers=crocus,iris,nouveau,r300,r600,radeonsi,\
-svga,swrast,virgl")))
+svga,swrast,virgl,zink")))
          ;; Enable various optional features.  TODO: opencl requires libclc,
          ;; omx requires libomxil-bellagio
          "-Dplatforms=x11,wayland"