From 2fad2f2d68890dedf0f7d52667e344b5780977d8 Mon Sep 17 00:00:00 2001 From: Julien Langlois Date: Fri, 12 Mar 2021 12:50:36 -0500 Subject: [PATCH] google-chrome: add vulkan support --- .../networking/browsers/google-chrome/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/browsers/google-chrome/default.nix b/pkgs/applications/networking/browsers/google-chrome/default.nix index bc5922222aba..b208ebf2ab03 100644 --- a/pkgs/applications/networking/browsers/google-chrome/default.nix +++ b/pkgs/applications/networking/browsers/google-chrome/default.nix @@ -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 "";