Re-enable compilation of GL backends in Chromium.

Tint's GLSL backend has achieved test parity with the SPIRV-Cross path
for dawn_end2end_tests on both Desktop and ES and we have switched
exclusively to Tint for GLSL generation. Since the SPIRV-Cross
dependency has been removed, there should no longer be any binary size
concerns with the use of these backends in Chrome.

This reverts commit 6ef39372f8.

Bug: dawn:580
Change-Id: I6bcd2ce90c86e77570b4323481870590c6bd1efa
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/80300
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
Stephen White 2022-02-15 22:16:29 +00:00 committed by Dawn LUCI CQ
parent 74f31e2b0e
commit 7c0afdf390
1 changed files with 3 additions and 3 deletions

View File

@ -58,13 +58,13 @@ declare_args() {
# Enables the compilation of Dawn's OpenGL backend # Enables the compilation of Dawn's OpenGL backend
# (best effort, non-conformant) # (best effort, non-conformant)
dawn_enable_desktop_gl = !build_with_chromium && (is_linux && !is_chromeos) dawn_enable_desktop_gl = is_linux && !is_chromeos
# Enables the compilation of Dawn's OpenGLES backend # Enables the compilation of Dawn's OpenGLES backend
# (WebGPU/Compat subset) # (WebGPU/Compat subset)
# Disables OpenGLES when compiling for UWP, since UWP only supports d3d # Disables OpenGLES when compiling for UWP, since UWP only supports d3d
dawn_enable_opengles = !build_with_chromium && ((is_linux && !is_chromeos) || dawn_enable_opengles =
(is_win && !dawn_is_winuwp)) (is_linux && !is_chromeos) || (is_win && !dawn_is_winuwp)
# Enables the compilation of Dawn's Vulkan backend # Enables the compilation of Dawn's Vulkan backend
# Disables vulkan when compiling for UWP, since UWP only supports d3d # Disables vulkan when compiling for UWP, since UWP only supports d3d