summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/chromium.scm9
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