Commit d18c048a by Yuly Novikov Committed by Commit Bot

Remove Nexus 5X Vulkan test suppressions.

SimpleStateChangeTest.DrawArraysThenDrawElements TextureUploadFormatTest.All VertexAttributeTest.UnsignedByteNormalized VertexAttributeTest.ByteNormalized EXTMultisampleCompatibilityTest.DrawAlphaOneAndResolve was skipped on all Android for unspecified reason in https://chromium-review.googlesource.com/c/angle/angle/+/451877 seems to be passing now. Make some suppressions OpenGL ES specific: MultisampleCompatibilityTest.DrawCoverageAndResolve RobustResourceInitTest.TexImageThenSubImage RobustResourceInitTest.ReadingPartiallyInitializedTexture RobustResourceInitTestES3.MultisampledDepthInitializedCorrectly RobustResourceInitTest.MaskedDepthClear RobustResourceInitTestES3.MaskedDepthClearBuffer RobustResourceInitTest.MaskedStencilClear RobustResourceInitTestES3.MaskedStencilClearBuffer TransformFeedbackTest.OffsetResetOnBeginTransformFeedback Bug: angleproject:3262 Bug: angleproject:3124, angleproject:2657, angleproject:2797 Change-Id: I3ed7a3f0ebbb4598bff75e2b3bd8b3b0630779f8 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1572484Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
parent f02a767d
...@@ -227,9 +227,6 @@ TEST_P(EXTMultisampleCompatibilityTest, DrawAlphaOneAndResolve) ...@@ -227,9 +227,6 @@ TEST_P(EXTMultisampleCompatibilityTest, DrawAlphaOneAndResolve)
if (!isApplicable()) if (!isApplicable())
return; return;
// TODO: Figure out why this fails on Android.
ANGLE_SKIP_TEST_IF(IsAndroid());
// SAMPLE_ALPHA_TO_ONE is specified to transform alpha values of // SAMPLE_ALPHA_TO_ONE is specified to transform alpha values of
// covered samples to 1.0. In order to detect it, we use non-1.0 // covered samples to 1.0. In order to detect it, we use non-1.0
// alpha. // alpha.
...@@ -379,7 +376,7 @@ TEST_P(MultisampleCompatibilityTest, DrawCoverageAndResolve) ...@@ -379,7 +376,7 @@ TEST_P(MultisampleCompatibilityTest, DrawCoverageAndResolve)
return; return;
// TODO: Figure out why this fails on Android. // TODO: Figure out why this fails on Android.
ANGLE_SKIP_TEST_IF(IsAndroid()); ANGLE_SKIP_TEST_IF(IsAndroid() && IsOpenGLES());
ANGLE_GL_PROGRAM(drawRed, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); ANGLE_GL_PROGRAM(drawRed, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red());
......
...@@ -563,7 +563,7 @@ TEST_P(RobustResourceInitTest, TexImageThenSubImage) ...@@ -563,7 +563,7 @@ TEST_P(RobustResourceInitTest, TexImageThenSubImage)
ANGLE_SKIP_TEST_IF(!hasGLExtension()); ANGLE_SKIP_TEST_IF(!hasGLExtension());
// http://anglebug.com/2407, but only fails on Nexus devices // http://anglebug.com/2407, but only fails on Nexus devices
ANGLE_SKIP_TEST_IF(IsNexus5X() || IsNexus6P()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
// Put some data into the texture // Put some data into the texture
...@@ -736,7 +736,7 @@ TEST_P(RobustResourceInitTest, ReadingPartiallyInitializedTexture) ...@@ -736,7 +736,7 @@ TEST_P(RobustResourceInitTest, ReadingPartiallyInitializedTexture)
ANGLE_SKIP_TEST_IF(!hasGLExtension()); ANGLE_SKIP_TEST_IF(!hasGLExtension());
// http://anglebug.com/2407, but only fails on Nexus devices // http://anglebug.com/2407, but only fails on Nexus devices
ANGLE_SKIP_TEST_IF(IsNexus5X() || IsNexus6P()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
GLTexture tex; GLTexture tex;
setupTexture(&tex); setupTexture(&tex);
...@@ -866,7 +866,7 @@ TEST_P(RobustResourceInitTestES3, MultisampledDepthInitializedCorrectly) ...@@ -866,7 +866,7 @@ TEST_P(RobustResourceInitTestES3, MultisampledDepthInitializedCorrectly)
ANGLE_SKIP_TEST_IF(!hasGLExtension()); ANGLE_SKIP_TEST_IF(!hasGLExtension());
// http://anglebug.com/2407 // http://anglebug.com/2407
ANGLE_SKIP_TEST_IF(IsAndroid()); ANGLE_SKIP_TEST_IF(IsAndroid() && IsOpenGLES());
ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red());
...@@ -1301,7 +1301,7 @@ TEST_P(RobustResourceInitTest, MaskedDepthClear) ...@@ -1301,7 +1301,7 @@ TEST_P(RobustResourceInitTest, MaskedDepthClear)
ANGLE_SKIP_TEST_IF(!hasGLExtension()); ANGLE_SKIP_TEST_IF(!hasGLExtension());
// http://anglebug.com/2407 // http://anglebug.com/2407
ANGLE_SKIP_TEST_IF(IsAndroid()); ANGLE_SKIP_TEST_IF(IsAndroid() && IsOpenGLES());
auto clearFunc = [](float depth) { auto clearFunc = [](float depth) {
glClearColor(0.0f, 0.0f, 0.0f, 1.0f); glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
...@@ -1318,7 +1318,7 @@ TEST_P(RobustResourceInitTestES3, MaskedDepthClearBuffer) ...@@ -1318,7 +1318,7 @@ TEST_P(RobustResourceInitTestES3, MaskedDepthClearBuffer)
ANGLE_SKIP_TEST_IF(!hasGLExtension()); ANGLE_SKIP_TEST_IF(!hasGLExtension());
// http://anglebug.com/2407 // http://anglebug.com/2407
ANGLE_SKIP_TEST_IF(IsAndroid()); ANGLE_SKIP_TEST_IF(IsAndroid() && IsOpenGLES());
auto clearFunc = [](float depth) { auto clearFunc = [](float depth) {
glClearColor(0.0f, 0.0f, 0.0f, 1.0f); glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
...@@ -1377,7 +1377,7 @@ TEST_P(RobustResourceInitTest, MaskedStencilClear) ...@@ -1377,7 +1377,7 @@ TEST_P(RobustResourceInitTest, MaskedStencilClear)
ANGLE_SKIP_TEST_IF(IsD3D11_FL93()); ANGLE_SKIP_TEST_IF(IsD3D11_FL93());
// http://anglebug.com/2407, but only fails on Nexus devices // http://anglebug.com/2407, but only fails on Nexus devices
ANGLE_SKIP_TEST_IF(IsNexus5X() || IsNexus6P()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
auto clearFunc = [](GLint clearValue) { auto clearFunc = [](GLint clearValue) {
glClearColor(0.0f, 0.0f, 0.0f, 1.0f); glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
...@@ -1399,7 +1399,7 @@ TEST_P(RobustResourceInitTestES3, MaskedStencilClearBuffer) ...@@ -1399,7 +1399,7 @@ TEST_P(RobustResourceInitTestES3, MaskedStencilClearBuffer)
ANGLE_SKIP_TEST_IF(IsLinux() && IsOpenGL()); ANGLE_SKIP_TEST_IF(IsLinux() && IsOpenGL());
// http://anglebug.com/2407, but only fails on Nexus devices // http://anglebug.com/2407, but only fails on Nexus devices
ANGLE_SKIP_TEST_IF(IsNexus5X() || IsNexus6P()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
auto clearFunc = [](GLint clearValue) { auto clearFunc = [](GLint clearValue) {
glClearColor(0.0f, 0.0f, 0.0f, 1.0f); glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
......
...@@ -1381,9 +1381,6 @@ void SimpleStateChangeTest::simpleDrawWithColor(const GLColor &color) ...@@ -1381,9 +1381,6 @@ void SimpleStateChangeTest::simpleDrawWithColor(const GLColor &color)
// frame. // frame.
TEST_P(SimpleStateChangeTest, DrawArraysThenDrawElements) TEST_P(SimpleStateChangeTest, DrawArraysThenDrawElements)
{ {
// http://anglebug.com/3124: Flaky on Nexus5X.
ANGLE_SKIP_TEST_IF(IsAndroid() && IsVulkan());
ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Blue()); ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Blue());
glUseProgram(program); glUseProgram(program);
......
...@@ -2750,8 +2750,8 @@ TEST_P(SamplerInStructTest, SamplerInStruct) ...@@ -2750,8 +2750,8 @@ TEST_P(SamplerInStructTest, SamplerInStruct)
// Use a sampler in a uniform struct that's passed as a function parameter. // Use a sampler in a uniform struct that's passed as a function parameter.
TEST_P(SamplerInStructAsFunctionParameterTest, SamplerInStructAsFunctionParameter) TEST_P(SamplerInStructAsFunctionParameterTest, SamplerInStructAsFunctionParameter)
{ {
// TODO(ynovikov): re-enable once root cause of http://anglebug.com/1427 is fixed // Fails on Nexus 5X due to a driver bug. http://anglebug.com/1427
ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsAdreno() && IsOpenGLES()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
runSamplerInStructTest(); runSamplerInStructTest();
} }
...@@ -2760,8 +2760,8 @@ TEST_P(SamplerInStructAsFunctionParameterTest, SamplerInStructAsFunctionParamete ...@@ -2760,8 +2760,8 @@ TEST_P(SamplerInStructAsFunctionParameterTest, SamplerInStructAsFunctionParamete
// parameter. // parameter.
TEST_P(SamplerInStructArrayAsFunctionParameterTest, SamplerInStructArrayAsFunctionParameter) TEST_P(SamplerInStructArrayAsFunctionParameterTest, SamplerInStructArrayAsFunctionParameter)
{ {
// TODO(ynovikov): re-enable once root cause of http://anglebug.com/1427 is fixed // Fails on Nexus 5X due to a driver bug. http://anglebug.com/1427
ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsAdreno() && IsOpenGLES()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
runSamplerInStructTest(); runSamplerInStructTest();
} }
...@@ -2770,8 +2770,8 @@ TEST_P(SamplerInStructArrayAsFunctionParameterTest, SamplerInStructArrayAsFuncti ...@@ -2770,8 +2770,8 @@ TEST_P(SamplerInStructArrayAsFunctionParameterTest, SamplerInStructArrayAsFuncti
// parameter. // parameter.
TEST_P(SamplerInNestedStructAsFunctionParameterTest, SamplerInNestedStructAsFunctionParameter) TEST_P(SamplerInNestedStructAsFunctionParameterTest, SamplerInNestedStructAsFunctionParameter)
{ {
// TODO(ynovikov): re-enable once root cause of http://anglebug.com/1427 is fixed // Fails on Nexus 5X due to a driver bug. http://anglebug.com/1427
ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsAdreno() && IsOpenGLES()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
runSamplerInStructTest(); runSamplerInStructTest();
} }
...@@ -3734,8 +3734,8 @@ TEST_P(Texture2DNorm16TestES3, TextureNorm16Test) ...@@ -3734,8 +3734,8 @@ TEST_P(Texture2DNorm16TestES3, TextureNorm16Test)
// GLES 3.0.4 section 3.8.3. // GLES 3.0.4 section 3.8.3.
TEST_P(Texture2DTestES3, UnpackSkipImages2D) TEST_P(Texture2DTestES3, UnpackSkipImages2D)
{ {
// TODO(ynovikov): re-enable once root cause of http://anglebug.com/1429 is fixed // Crashes on Nexus 5X due to a driver bug. http://anglebug.com/1429
ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsAdreno() && IsOpenGLES()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
glBindTexture(GL_TEXTURE_2D, mTexture2D); glBindTexture(GL_TEXTURE_2D, mTexture2D);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
......
...@@ -305,9 +305,6 @@ std::string EnumStr(const GLenum v) ...@@ -305,9 +305,6 @@ std::string EnumStr(const GLenum v)
// Test all internalFormat/unpackFormat/unpackType combinations from ES3.0. // Test all internalFormat/unpackFormat/unpackType combinations from ES3.0.
TEST_P(TextureUploadFormatTest, All) TEST_P(TextureUploadFormatTest, All)
{ {
// TODO(lucferron): Diagnose and fix http://anglebug.com/2657
ANGLE_SKIP_TEST_IF(IsVulkan() && IsAndroid());
ANGLE_SKIP_TEST_IF(IsD3D9() || IsD3D11_FL93()); ANGLE_SKIP_TEST_IF(IsD3D9() || IsD3D11_FL93());
constexpr char kVertShaderES2[] = R"( constexpr char kVertShaderES2[] = R"(
......
...@@ -915,7 +915,7 @@ TEST_P(TransformFeedbackTest, OffsetResetOnBeginTransformFeedback) ...@@ -915,7 +915,7 @@ TEST_P(TransformFeedbackTest, OffsetResetOnBeginTransformFeedback)
{ {
ANGLE_SKIP_TEST_IF(IsOSX() && IsAMD()); ANGLE_SKIP_TEST_IF(IsOSX() && IsAMD());
ANGLE_SKIP_TEST_IF(IsNexus5X() || IsNexus6P()); ANGLE_SKIP_TEST_IF((IsNexus5X() || IsNexus6P()) && IsOpenGLES());
constexpr char kVS[] = constexpr char kVS[] =
"#version 300 es\n" "#version 300 es\n"
......
...@@ -325,9 +325,6 @@ TEST_P(VertexAttributeTest, UnsignedByteUnnormalized) ...@@ -325,9 +325,6 @@ TEST_P(VertexAttributeTest, UnsignedByteUnnormalized)
TEST_P(VertexAttributeTest, UnsignedByteNormalized) TEST_P(VertexAttributeTest, UnsignedByteNormalized)
{ {
// TODO: Support this test on Vulkan. http://anglebug.com/2797
ANGLE_SKIP_TEST_IF(IsAndroid() && IsVulkan());
std::array<GLubyte, kVertexCount> inputData = { std::array<GLubyte, kVertexCount> inputData = {
{0, 1, 2, 3, 4, 5, 6, 7, 125, 126, 127, 128, 129, 250, 251, 252, 253, 254, 255}}; {0, 1, 2, 3, 4, 5, 6, 7, 125, 126, 127, 128, 129, 250, 251, 252, 253, 254, 255}};
std::array<GLfloat, kVertexCount> expectedData; std::array<GLfloat, kVertexCount> expectedData;
...@@ -357,9 +354,6 @@ TEST_P(VertexAttributeTest, ByteUnnormalized) ...@@ -357,9 +354,6 @@ TEST_P(VertexAttributeTest, ByteUnnormalized)
TEST_P(VertexAttributeTest, ByteNormalized) TEST_P(VertexAttributeTest, ByteNormalized)
{ {
// TODO: Support this test on Vulkan. http://anglebug.com/2797
ANGLE_SKIP_TEST_IF(IsAndroid() && IsVulkan());
std::array<GLbyte, kVertexCount> inputData = { std::array<GLbyte, kVertexCount> inputData = {
{0, 1, 2, 3, 4, -1, -2, -3, -4, 125, 126, 127, -128, -127, -126}}; {0, 1, 2, 3, 4, -1, -2, -3, -4, 125, 126, 127, -128, -127, -126}};
std::array<GLfloat, kVertexCount> expectedData; std::array<GLfloat, kVertexCount> expectedData;
......
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