mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: ungoogled-chromium: Improve Vulkan support.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Add absolute reference to libvulkan.so.1. Install SwiftShader support files. [inputs]: Add VULKAN-LOADER.
This commit is contained in:
parent
745d6cb7d3
commit
fdd71babc7
1 changed files with 9 additions and 0 deletions
|
@ -669,6 +669,10 @@ (define-public ungoogled-chromium
|
|||
(("libudev\\.so\\.1")
|
||||
(string-append udev "/lib/libudev.so.1")))
|
||||
|
||||
(substitute* "third_party/dawn/src/dawn_native/vulkan/BackendVk.cpp"
|
||||
(("libvulkan\\.so\\.1")
|
||||
(search-input-file inputs "/lib/libvulkan.so.1")))
|
||||
|
||||
(substitute*
|
||||
'("ui/ozone/platform/x11/gl_ozone_glx.cc"
|
||||
"ui/ozone/common/egl_util.cc"
|
||||
|
@ -766,6 +770,10 @@ (define-public ungoogled-chromium
|
|||
"resources.pak"
|
||||
"v8_context_snapshot.bin"
|
||||
|
||||
;; Swiftshader ICD.
|
||||
"libvk_swiftshader.so"
|
||||
"vk_swiftshader_icd.json"
|
||||
|
||||
;; Chromium ships its own libGL
|
||||
;; implementation called ANGLE.
|
||||
"libEGL.so" "libGLESv2.so"))
|
||||
|
@ -894,6 +902,7 @@ (define-public ungoogled-chromium
|
|||
("udev" ,eudev)
|
||||
("valgrind" ,valgrind)
|
||||
("vulkan-headers" ,vulkan-headers)
|
||||
("vulkan-loader" ,vulkan-loader)
|
||||
("wayland" ,wayland)
|
||||
("xdg-utils" ,xdg-utils)))
|
||||
(native-search-paths
|
||||
|
|
Loading…
Reference in a new issue