aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
blob: d747ac3ce46f085ea04b3721d27433e65f96f633 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig	2023-07-16 15:47:57 UTC
+++ gpu/command_buffer/service/webgpu_decoder_impl.cc
@@ -1245,7 +1245,7 @@ void WebGPUDecoderImpl::RequestAdapterImpl(
 
   if (gr_context_type_ != GrContextType::kVulkan &&
       use_webgpu_adapter_ != WebGPUAdapterName::kOpenGLES) {
-#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",