google-chrome: add vulkan support
This commit is contained in:
@@ -42,6 +42,9 @@
|
|||||||
|
|
||||||
# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder)
|
# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder)
|
||||||
, libvaSupport ? true, libva
|
, libvaSupport ? true, libva
|
||||||
|
|
||||||
|
# For Vulkan support (--enable-features=Vulkan)
|
||||||
|
, vulkanSupport ? true, vulkan-loader
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@@ -67,6 +70,7 @@ let
|
|||||||
libxkbcommon wayland
|
libxkbcommon wayland
|
||||||
] ++ optional pulseSupport libpulseaudio
|
] ++ optional pulseSupport libpulseaudio
|
||||||
++ optional libvaSupport libva
|
++ optional libvaSupport libva
|
||||||
|
++ optional vulkanSupport vulkan-loader
|
||||||
++ [ gtk3 ];
|
++ [ gtk3 ];
|
||||||
|
|
||||||
suffix = if channel != "stable" then "-" + channel else "";
|
suffix = if channel != "stable" then "-" + channel else "";
|
||||||
|
|||||||
Reference in New Issue
Block a user