gnu: mesa: Enable svga driver on all architectures.

* gnu/packages/gl.scm (mesa)[arguments]: Adjust configure-flags so that
the svga gallium-driver is enabled on all architectures.

Change-Id: I0a604f1f8e4dac511c273149b95bf9b270e8e1fe
This commit is contained in:
Efraim Flashner 2024-04-07 14:24:37 +03:00
parent 14b256f10e
commit b1b22cab72
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -353,12 +353,11 @@ (define-public mesa
#:configure-flags
#~(list
#$@(cond
;; TODO: Enable svga driver for non-Intel architectures.
((or (target-aarch64?) (target-arm32?))
'("-Dgallium-drivers=etnaviv,freedreno,kmsro,lima,nouveau,\
panfrost,r300,r600,svga,swrast,tegra,v3d,vc4,virgl,zink"))
((or (target-ppc64le?) (target-ppc32?) (target-riscv64?))
'("-Dgallium-drivers=nouveau,r300,r600,radeonsi,swrast,virgl,zink"))
'("-Dgallium-drivers=nouveau,r300,r600,radeonsi,svga,swrast,virgl,zink"))
(else
'("-Dgallium-drivers=crocus,iris,nouveau,r300,r600,radeonsi,\
svga,swrast,virgl,zink")))