google-chrome: add vulkan support
This commit is contained in:
parent
ed0d586941
commit
2fad2f2d68
1 changed files with 4 additions and 0 deletions
|
@ -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 "";
|
||||
|
|
Loading…
Reference in a new issue