summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
blob: 0c10f6fd150b9ae7012d2bdd16afc2a405006b56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig	2022-02-28 16:54:41 UTC
+++ gpu/command_buffer/service/webgpu_decoder_impl.cc
@@ -1010,7 +1010,7 @@ error::Error WebGPUDecoderImpl::HandleRequestAdapter(
   }
 
   if (gr_context_type_ != GrContextType::kVulkan) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
     SendAdapterProperties(request_adapter_serial, -1, nullptr,
                           "WebGPU on Linux requires command-line flag "
                           "--enable-features=Vulkan,UseSkiaRenderer");