From b67102b1940ec4ce1da7eacdb4a171b7f3c44ba7 Mon Sep 17 00:00:00 2001 From: Sergey Ulanov Date: Tue, 24 Sep 2019 13:32:51 -0700 Subject: [PATCH] Disable swiftshader on Fuchsia SwiftShader is not needed on Fuchsia because the platform is expected to provide Vulkan on all devices. Bug: fuchsia:37278 Change-Id: I96d49f51dbe473bd032ec966137f35d2df9b6884 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1822863 Reviewed-by: Michael Spang Reviewed-by: Jamie Madill Commit-Queue: Jamie Madill --- BUILD.gn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 3ff8b7cce..722cb4f5c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -31,7 +31,9 @@ declare_args() { angle_build_all = !angle_is_winuwp # Currently SwiftShader's Vulkan front-end doesn't build on Android. - angle_swiftshader = !is_android + # SwiftShader is not needed on Fuchsia because Vulkan is supported on all + # devices that run Fuchsia. + angle_swiftshader = !is_android && !is_fuchsia } if (!build_with_chromium && angle_build_all) {