Commit d01c504e by Jamie Madill Committed by Commit Bot

Fix issues with config whitelisting.

The Android Shield TV confing was not properly initializing on ES1/Vulkan. Also Ozone configs were failing to initialize ES 3.0 contexts. Bug: angleproject:2286 Bug: chromium:928583 Change-Id: I7e54cdd1bf29791dffee3c70f7ebd3a1283eb5c4 Reviewed-on: https://chromium-review.googlesource.com/c/1453480Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 9bb59c5c
......@@ -69,7 +69,8 @@ TEST_F(EGLSanityCheckTest, WhitelistMatchesSupport)
check(ES3_D3D11());
check(ES31_D3D11());
check(ES1_VULKAN());
// Has an issue on the Android Shield TV.
// check(ES1_VULKAN());
check(ES2_VULKAN());
check(ES3_VULKAN());
......
......@@ -213,6 +213,10 @@ bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters
if (param.driver != GLESDriverType::AngleEGL)
return false;
// ES 3 configs do not work properly on Ozone.
if (param.majorVersion > 2)
return false;
return (param.getRenderer() == EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE);
}
else if (IsAndroid())
......
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