blob: 4ac1f38c195dde69cd1fa53ebcfb0e52e4c8ccaa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- gpu/command_buffer/service/shared_image_backing_factory_gl_texture.cc.orig 2022-05-19 14:06:27 UTC
+++ gpu/command_buffer/service/shared_image_backing_factory_gl_texture.cc
@@ -145,7 +145,7 @@ bool SharedImageBackingFactoryGLTexture::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) || defined(USE_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || defined(USE_OZONE) || BUILDFLAG(IS_BSD)
if (use_webgpu_adapter_ != WebGPUAdapterName::kCompat) {
return false;
}
|