google-chrome: add vulkan support

This commit is contained in:
Julien Langlois 2021-03-12 12:50:36 -05:00 committed by Michael Weiss
parent ed0d586941
commit 2fad2f2d68
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -42,6 +42,9 @@
# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder)
, libvaSupport ? true, libva
# For Vulkan support (--enable-features=Vulkan)
, vulkanSupport ? true, vulkan-loader
}:
with lib;
@ -67,6 +70,7 @@ let
libxkbcommon wayland
] ++ optional pulseSupport libpulseaudio
++ optional libvaSupport libva
++ optional vulkanSupport vulkan-loader
++ [ gtk3 ];
suffix = if channel != "stable" then "-" + channel else "";