diff options
author | Marius Bakke <marius@gnu.org> | 2021-12-15 18:24:17 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-12-16 22:21:12 +0100 |
commit | fdd71babc73a3e5706f6d0c7aed579971109cf3e (patch) | |
tree | ae1f2f7e84da173c089d6a5fb64341b07bf1c87a /gnu | |
parent | 745d6cb7d30814ae27da66a845cf0872bfdebbdd (diff) |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/chromium.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm index 1a9a35e283..263f46a18c 100644 --- a/gnu/packages/chromium.scm +++ b/gnu/packages/chromium.scm @@ -669,6 +669,10 @@ (("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 @@ "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 @@ ("udev" ,eudev) ("valgrind" ,valgrind) ("vulkan-headers" ,vulkan-headers) + ("vulkan-loader" ,vulkan-loader) ("wayland" ,wayland) ("xdg-utils" ,xdg-utils))) (native-search-paths |