Commit 44c75073 by Michael Spang Committed by Commit Bot

Fuchsia: Disable GLES3 testing on Fuchsia ARM

The vulkan driver is missing required extensions so these tests are all failing. Bug: angleproject:4352 Change-Id: Id1af7c40798d8844fbf832c6066260fe3a8bfeda Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2023911 Commit-Queue: Michael Spang <spang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent e28883de
......@@ -246,6 +246,11 @@ bool IsAMD()
return HasSystemVendorID(kVendorID_AMD);
}
bool IsARM()
{
return HasSystemVendorID(kVendorID_ARM);
}
bool IsNVIDIA()
{
#if defined(ANGLE_PLATFORM_ANDROID)
......@@ -363,6 +368,11 @@ bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters
return false;
}
// ES 3 configs do not work properly on Fuchsia ARM.
// TODO(anglebug.com/4352): Investigate missing features.
if (param.majorVersion > 2 && IsARM())
return false;
// Currently we only support the Vulkan back-end on Fuchsia.
return (param.getRenderer() == EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE);
}
......
......@@ -37,10 +37,11 @@ bool IsPixel2();
bool IsPixel2XL();
bool IsNVIDIAShield();
// Desktop devices.
// GPU vendors.
bool IsIntel();
bool IsAMD();
bool IsNVIDIA();
bool IsARM();
inline bool IsASan()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment