mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: mesa: Enable Vulkan drivers for Intel and Radeon.
* gnu/packages/gl.scm (mesa)[arguments]: Add "--with-vulkan-drivers=intel,radeon" to configure-flags for x86_64-linux. [synopsis]: Mention Vulkan. [description]: Mention Vulkan. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
e1454e0e5f
commit
6713e9cb7e
1 changed files with 12 additions and 5 deletions
|
@ -296,6 +296,13 @@ (define-public mesa
|
||||||
;; are stuck at OpenGL 2.1 instead of OpenGL 3.0+.
|
;; are stuck at OpenGL 2.1 instead of OpenGL 3.0+.
|
||||||
"--enable-texture-float"
|
"--enable-texture-float"
|
||||||
|
|
||||||
|
;; Enable Vulkan on x86-64.
|
||||||
|
,@(match (%current-system)
|
||||||
|
("x86_64-linux"
|
||||||
|
'("--with-vulkan-drivers=intel,radeon"))
|
||||||
|
(_
|
||||||
|
'("")))
|
||||||
|
|
||||||
;; Also enable the tests.
|
;; Also enable the tests.
|
||||||
"--enable-gallium-tests"
|
"--enable-gallium-tests"
|
||||||
|
|
||||||
|
@ -382,11 +389,11 @@ (define-public mesa
|
||||||
(delete-duplicates inodes))
|
(delete-duplicates inodes))
|
||||||
#t))))))
|
#t))))))
|
||||||
(home-page "https://mesa3d.org/")
|
(home-page "https://mesa3d.org/")
|
||||||
(synopsis "OpenGL implementation")
|
(synopsis "OpenGL and Vulkan implementations")
|
||||||
(description "Mesa is a free implementation of the OpenGL specification -
|
(description "Mesa is a free implementation of the OpenGL and Vulkan
|
||||||
a system for rendering interactive 3D graphics. A variety of device drivers
|
specifications - systems for rendering interactive 3D graphics. A variety of
|
||||||
allows Mesa to be used in many different environments ranging from software
|
device drivers allows Mesa to be used in many different environments ranging
|
||||||
emulation to complete hardware acceleration for modern GPUs.")
|
from software emulation to complete hardware acceleration for modern GPUs.")
|
||||||
(license license:x11)))
|
(license license:x11)))
|
||||||
|
|
||||||
(define-public mesa-headers
|
(define-public mesa-headers
|
||||||
|
|
Loading…
Reference in a new issue