Reland "Remove SPIRV_METAL references from .gn and tests"

The backend was removed but the references were not.

Update ShaderBinaryTest to properly skip tests if shader binaries are
unsupported in the current ANGLE backend.

Forcibly re-enable building of the Vulkan backend on macOS to keep
ANGLE's SwiftShader backend working.

Fixed: angleproject:6081
Change-Id: I5e6e47d5fe05b0dd6ec150b6db9fe5d75e580173
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4594582
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
This commit is contained in:
Kimmo Kinnunen
2023-01-31 11:51:41 +02:00
committed by Angle LUCI CQ
parent 53b5d25f05
commit 16841d6256
4 changed files with 16 additions and 21 deletions

View File

@@ -153,9 +153,6 @@ declare_args() {
# Frame capture code is enabled by default if rapidjson is available.
angle_has_frame_capture = angle_has_rapidjson
# By default, include the SPIR-V based MSL translator (in addition to the direct translator)
angle_enable_msl_through_spirv = is_mac
}
declare_args() {
@@ -181,7 +178,7 @@ declare_args() {
((is_win && !angle_is_winuwp) ||
((is_linux || is_chromeos) &&
(angle_use_x11 || angle_use_wayland || angle_use_vulkan_display)) ||
is_android || is_fuchsia || is_ggp || angle_enable_msl_through_spirv)
is_android || is_fuchsia || is_ggp || is_mac)
# When set to true, ANGLE will not use VK_KHR_surface and VK_KHR_swapchain
# extensions. Content can be rendered only off-screen.