Commit b4cb63a5 by Jamie Madill Committed by Commit Bot

Handle trace prerequisites.

real_gangster_crime: external images avakin_life: external images hill_climb_racing: skip on Adreno Bug: angleproject:5822 Bug: angleproject:5823 Change-Id: I7c6a27eab72ba69464748928c93dda57fa8094f4 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2809653 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
parent bd82de95
...@@ -309,6 +309,15 @@ TracePerfTest::TracePerfTest() ...@@ -309,6 +309,15 @@ TracePerfTest::TracePerfTest()
{ {
// Linux+Nvidia doesn't support GL_KHR_texture_compression_astc_ldr (possibly others also) // Linux+Nvidia doesn't support GL_KHR_texture_compression_astc_ldr (possibly others also)
addExtensionPrerequisite("GL_KHR_texture_compression_astc_ldr"); addExtensionPrerequisite("GL_KHR_texture_compression_astc_ldr");
// Intel doesn't support external images.
addExtensionPrerequisite("GL_OES_EGL_image_external");
// Failing on Linux Intel due to invalid enum. http://anglebug.com/5822
if (IsLinux() && IsIntel() && param.driver != GLESDriverType::AngleEGL)
{
mSkipTest = true;
}
} }
if (param.testID == RestrictedTraceID::asphalt_8) if (param.testID == RestrictedTraceID::asphalt_8)
...@@ -495,6 +504,20 @@ TracePerfTest::TracePerfTest() ...@@ -495,6 +504,20 @@ TracePerfTest::TracePerfTest()
} }
} }
// Adreno gives a driver error with empty/small draw calls. http://anglebug.com/5823
if (param.testID == RestrictedTraceID::hill_climb_racing)
{
if (IsAndroid() && IsPixel2() && param.driver == GLESDriverType::SystemEGL)
{
mSkipTest = true;
}
}
if (param.testID == RestrictedTraceID::avakin_life)
{
addExtensionPrerequisite("GL_OES_EGL_image_external");
}
// We already swap in TracePerfTest::drawBenchmark, no need to swap again in the harness. // We already swap in TracePerfTest::drawBenchmark, no need to swap again in the harness.
disableTestHarnessSwap(); disableTestHarnessSwap();
......
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