aboutsummaryrefslogblamecommitdiff
path: root/devel/electron23/files/patch-gpu_command__buffer_service_shared__image_gl__texture__image__backing__factory.cc
blob: bf3567c39e2a0173e15df6becd88399ff5ec9f2b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                               
--- gpu/command_buffer/service/shared_image/gl_texture_image_backing_factory.cc.orig	2023-02-01 18:43:20 UTC
+++ gpu/command_buffer/service/shared_image/gl_texture_image_backing_factory.cc
@@ -143,7 +143,7 @@ bool GLTextureImageBackingFactory::IsSupported(
   // Linux and ChromeOS support WebGPU/Compat on GL. All other platforms
   // do not support WebGPU on GL.
   if (usage & SHARED_IMAGE_USAGE_WEBGPU) {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
     if (use_webgpu_adapter_ != WebGPUAdapterName::kCompat) {
       return false;
     }