summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
blob: e1768508b31d0c45874a73b96fe18df58af9c872 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig	2022-08-31 12:19:35 UTC
+++ gpu/command_buffer/service/webgpu_decoder_impl.cc
@@ -1065,7 +1065,7 @@ void WebGPUDecoderImpl::RequestAdapterImpl(
 
   if (gr_context_type_ != GrContextType::kVulkan &&
       use_webgpu_adapter_ != WebGPUAdapterName::kCompat) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
     callback(WGPURequestAdapterStatus_Unavailable, nullptr,
              "WebGPU on Linux requires command-line flag "
              "--enable-features=Vulkan",