blob: 26e4dcd259d5dab58959bb436181e2ec716ba2ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2024-05-21 18:07:39 UTC
+++ third_party/blink/renderer/modules/webgpu/gpu_queue.cc
@@ -806,7 +806,7 @@ bool GPUQueue::CopyFromCanvasSourceImage(
// on linux platform.
// TODO(crbug.com/1424119): using a webgpu mailbox texture on the OpenGLES
// backend is failing for unknown reasons.
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool forceReadback = true;
#elif BUILDFLAG(IS_ANDROID)
// TODO(crbug.com/dawn/1969): Some Android devices don't fail to copy from
|