Commit a0bc2589 by Yuly Novikov Committed by Commit Bot

Skip tests failing on Ozone.

MipmapTest.DefineValidExtraLevelAndUseItLater MipmapTest.GenerateMipmapAfterModifyingBaseLevel MipmapTest.GenerateMipmapAfterSingleLevelDraw MipmapTest.GenerateMipmapFromInitDataThenRender MipmapTest.GenerateMipmapFromRenderedImage MipmapTest.MipMapGenerationD3D9Bug MipmapTest.MipmapsForTexture3DOES MipmapTest.RenderOntoLevelZeroAfterGenerateMipmap MipmapTest.TextureCubeGeneralLevelZero MipmapTest.TextureCubeRenderToLevelZero MultisampleTest.AlphaToSampleCoverage MultisampleTest.ContentPresevedAfterInterruption MultisampleTest.Line MultisampleTest.Point MultisampleTest.Triangle Texture3DTestES2.CopySubImageAlpha Texture3DTestES2.CopySubImageLuminance Texture3DTestES2.CopySubImageRGBA Texture3DTestES2.Luminance Texture3DTestES2.RGBA Bug: angleproject:5725, angleproject:5727, angleproject:5728 Change-Id: Ibe7d7e44e01ce430e381edd0c83c3e24069b35aa Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2738718Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
parent 9fc51e82
...@@ -750,6 +750,9 @@ TEST_P(MipmapTestES3, GenerateMipmapLongNPOTTexture) ...@@ -750,6 +750,9 @@ TEST_P(MipmapTestES3, GenerateMipmapLongNPOTTexture)
// the 'normal' texture are copied during conversion. // the 'normal' texture are copied during conversion.
TEST_P(MipmapTest, GenerateMipmapFromInitDataThenRender) TEST_P(MipmapTest, GenerateMipmapFromInitDataThenRender)
{ {
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
// Pass in initial data so the texture is blue. // Pass in initial data so the texture is blue.
glBindTexture(GL_TEXTURE_2D, mTexture2D); glBindTexture(GL_TEXTURE_2D, mTexture2D);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB,
...@@ -803,6 +806,9 @@ TEST_P(MipmapTest, GenerateMipmapFromInitDataThenRender) ...@@ -803,6 +806,9 @@ TEST_P(MipmapTest, GenerateMipmapFromInitDataThenRender)
// Test that generating mipmap after the image is already created for a single level works. // Test that generating mipmap after the image is already created for a single level works.
TEST_P(MipmapTest, GenerateMipmapAfterSingleLevelDraw) TEST_P(MipmapTest, GenerateMipmapAfterSingleLevelDraw)
{ {
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
uint32_t width = getWindowWidth(); uint32_t width = getWindowWidth();
uint32_t height = getWindowHeight(); uint32_t height = getWindowHeight();
...@@ -832,6 +838,9 @@ TEST_P(MipmapTest, GenerateMipmapAfterSingleLevelDraw) ...@@ -832,6 +838,9 @@ TEST_P(MipmapTest, GenerateMipmapAfterSingleLevelDraw)
// Test that generating mipmaps, then modifying the base level and generating mipmaps again works. // Test that generating mipmaps, then modifying the base level and generating mipmaps again works.
TEST_P(MipmapTest, GenerateMipmapAfterModifyingBaseLevel) TEST_P(MipmapTest, GenerateMipmapAfterModifyingBaseLevel)
{ {
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
uint32_t width = getWindowWidth(); uint32_t width = getWindowWidth();
uint32_t height = getWindowHeight(); uint32_t height = getWindowHeight();
...@@ -873,6 +882,9 @@ TEST_P(MipmapTest, GenerateMipmapAfterModifyingBaseLevel) ...@@ -873,6 +882,9 @@ TEST_P(MipmapTest, GenerateMipmapAfterModifyingBaseLevel)
// copied into the mipped texture before the mipmaps are generated. // copied into the mipped texture before the mipmaps are generated.
TEST_P(MipmapTest, GenerateMipmapFromRenderedImage) TEST_P(MipmapTest, GenerateMipmapFromRenderedImage)
{ {
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
glBindTexture(GL_TEXTURE_2D, mTexture2D); glBindTexture(GL_TEXTURE_2D, mTexture2D);
// Clear the texture to blue. // Clear the texture to blue.
clearTextureLevel0(GL_TEXTURE_2D, mTexture2D, 0.0f, 0.0f, 1.0f, 1.0f); clearTextureLevel0(GL_TEXTURE_2D, mTexture2D, 0.0f, 0.0f, 1.0f, 1.0f);
...@@ -904,6 +916,8 @@ TEST_P(MipmapTest, RenderOntoLevelZeroAfterGenerateMipmap) ...@@ -904,6 +916,8 @@ TEST_P(MipmapTest, RenderOntoLevelZeroAfterGenerateMipmap)
{ {
// TODO(geofflang): Figure out why this is broken on AMD OpenGL // TODO(geofflang): Figure out why this is broken on AMD OpenGL
ANGLE_SKIP_TEST_IF(IsAMD() && IsOpenGL()); ANGLE_SKIP_TEST_IF(IsAMD() && IsOpenGL());
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
glBindTexture(GL_TEXTURE_2D, mTexture2D); glBindTexture(GL_TEXTURE_2D, mTexture2D);
...@@ -971,6 +985,9 @@ TEST_P(MipmapTest, RenderOntoLevelZeroAfterGenerateMipmap) ...@@ -971,6 +985,9 @@ TEST_P(MipmapTest, RenderOntoLevelZeroAfterGenerateMipmap)
// already uploaded before. The test expects that mip to be usable. // already uploaded before. The test expects that mip to be usable.
TEST_P(MipmapTest, DefineValidExtraLevelAndUseItLater) TEST_P(MipmapTest, DefineValidExtraLevelAndUseItLater)
{ {
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
glBindTexture(GL_TEXTURE_2D, mTexture2D); glBindTexture(GL_TEXTURE_2D, mTexture2D);
GLubyte *levels[] = {mLevelZeroBlueInitData.data(), mLevelOneGreenInitData.data(), GLubyte *levels[] = {mLevelZeroBlueInitData.data(), mLevelOneGreenInitData.data(),
...@@ -1048,6 +1065,9 @@ TEST_P(MipmapTest, MipMapGenerationD3D9Bug) ...@@ -1048,6 +1065,9 @@ TEST_P(MipmapTest, MipMapGenerationD3D9Bug)
!IsGLExtensionEnabled("GL_OES_rgb8_rgba8") || !IsGLExtensionEnabled("GL_OES_rgb8_rgba8") ||
!IsGLExtensionEnabled("GL_ANGLE_texture_usage")); !IsGLExtensionEnabled("GL_ANGLE_texture_usage"));
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
const GLColor mip0Color[4] = { const GLColor mip0Color[4] = {
GLColor::red, GLColor::red,
GLColor::green, GLColor::green,
...@@ -1076,12 +1096,12 @@ TEST_P(MipmapTest, TextureCubeGeneralLevelZero) ...@@ -1076,12 +1096,12 @@ TEST_P(MipmapTest, TextureCubeGeneralLevelZero)
{ {
// http://anglebug.com/3145 // http://anglebug.com/3145
ANGLE_SKIP_TEST_IF(IsFuchsia() && IsIntel() && IsVulkan()); ANGLE_SKIP_TEST_IF(IsFuchsia() && IsIntel() && IsVulkan());
// http://anglebug.com/2822 // http://anglebug.com/2822
ANGLE_SKIP_TEST_IF(IsWindows() && IsIntel() && IsVulkan()); ANGLE_SKIP_TEST_IF(IsWindows() && IsIntel() && IsVulkan());
// http://issuetracker.google.com/159666631 // http://issuetracker.google.com/159666631
ANGLE_SKIP_TEST_IF(isSwiftshader()); ANGLE_SKIP_TEST_IF(isSwiftshader());
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
glBindTexture(GL_TEXTURE_CUBE_MAP, mTextureCube); glBindTexture(GL_TEXTURE_CUBE_MAP, mTextureCube);
...@@ -1124,9 +1144,10 @@ TEST_P(MipmapTest, TextureCubeRenderToLevelZero) ...@@ -1124,9 +1144,10 @@ TEST_P(MipmapTest, TextureCubeRenderToLevelZero)
{ {
// http://anglebug.com/3145 // http://anglebug.com/3145
ANGLE_SKIP_TEST_IF(IsFuchsia() && IsIntel() && IsVulkan()); ANGLE_SKIP_TEST_IF(IsFuchsia() && IsIntel() && IsVulkan());
// http://anglebug.com/2822 // http://anglebug.com/2822
ANGLE_SKIP_TEST_IF(IsWindows() && IsIntel() && IsVulkan()); ANGLE_SKIP_TEST_IF(IsWindows() && IsIntel() && IsVulkan());
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
glBindTexture(GL_TEXTURE_CUBE_MAP, mTextureCube); glBindTexture(GL_TEXTURE_CUBE_MAP, mTextureCube);
...@@ -1156,6 +1177,8 @@ TEST_P(MipmapTest, MipmapsForTexture3DOES) ...@@ -1156,6 +1177,8 @@ TEST_P(MipmapTest, MipmapsForTexture3DOES)
// http://anglebug.com/4927 // http://anglebug.com/4927
ANGLE_SKIP_TEST_IF((IsPixel2() || IsNexus5X()) && IsOpenGLES()); ANGLE_SKIP_TEST_IF((IsPixel2() || IsNexus5X()) && IsOpenGLES());
// http://anglebug.com/5725
ANGLE_SKIP_TEST_IF(IsOzone());
int px = getWindowWidth() / 2; int px = getWindowWidth() / 2;
int py = getWindowHeight() / 2; int py = getWindowHeight() / 2;
......
...@@ -174,6 +174,8 @@ TEST_P(MultisampleTest, Point) ...@@ -174,6 +174,8 @@ TEST_P(MultisampleTest, Point)
ANGLE_SKIP_TEST_IF(!mMultisampledConfigExists); ANGLE_SKIP_TEST_IF(!mMultisampledConfigExists);
// http://anglebug.com/3470 // http://anglebug.com/3470
ANGLE_SKIP_TEST_IF(IsAndroid() && IsNVIDIAShield() && IsOpenGLES()); ANGLE_SKIP_TEST_IF(IsAndroid() && IsNVIDIAShield() && IsOpenGLES());
// http://anglebug.com/5727
ANGLE_SKIP_TEST_IF(IsOzone());
constexpr char kPointsVS[] = R"(precision highp float; constexpr char kPointsVS[] = R"(precision highp float;
attribute vec4 a_position; attribute vec4 a_position;
...@@ -232,6 +234,8 @@ TEST_P(MultisampleTest, Line) ...@@ -232,6 +234,8 @@ TEST_P(MultisampleTest, Line)
{ {
ANGLE_SKIP_TEST_IF(!mMultisampledConfigExists); ANGLE_SKIP_TEST_IF(!mMultisampledConfigExists);
ANGLE_SKIP_TEST_IF(IsARM64() && IsWindows() && IsD3D()); ANGLE_SKIP_TEST_IF(IsARM64() && IsWindows() && IsD3D());
// http://anglebug.com/5727
ANGLE_SKIP_TEST_IF(IsOzone());
ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red());
glUseProgram(program); glUseProgram(program);
...@@ -279,6 +283,8 @@ TEST_P(MultisampleTest, Triangle) ...@@ -279,6 +283,8 @@ TEST_P(MultisampleTest, Triangle)
ANGLE_SKIP_TEST_IF(!mMultisampledConfigExists); ANGLE_SKIP_TEST_IF(!mMultisampledConfigExists);
// http://anglebug.com/3470 // http://anglebug.com/3470
ANGLE_SKIP_TEST_IF(IsAndroid() && IsNVIDIAShield() && IsOpenGLES()); ANGLE_SKIP_TEST_IF(IsAndroid() && IsNVIDIAShield() && IsOpenGLES());
// http://anglebug.com/5727
ANGLE_SKIP_TEST_IF(IsOzone());
ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red());
glUseProgram(program); glUseProgram(program);
...@@ -321,9 +327,10 @@ TEST_P(MultisampleTest, ContentPresevedAfterInterruption) ...@@ -321,9 +327,10 @@ TEST_P(MultisampleTest, ContentPresevedAfterInterruption)
ANGLE_SKIP_TEST_IF(!IsGLExtensionEnabled("GL_OES_rgb8_rgba8")); ANGLE_SKIP_TEST_IF(!IsGLExtensionEnabled("GL_OES_rgb8_rgba8"));
// http://anglebug.com/3470 // http://anglebug.com/3470
ANGLE_SKIP_TEST_IF(IsAndroid() && IsNVIDIAShield() && IsOpenGLES()); ANGLE_SKIP_TEST_IF(IsAndroid() && IsNVIDIAShield() && IsOpenGLES());
// http://anglebug.com/4609 // http://anglebug.com/4609
ANGLE_SKIP_TEST_IF(IsD3D11()); ANGLE_SKIP_TEST_IF(IsD3D11());
// http://anglebug.com/5727
ANGLE_SKIP_TEST_IF(IsOzone());
ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red());
glUseProgram(program); glUseProgram(program);
...@@ -402,6 +409,8 @@ TEST_P(MultisampleTest, AlphaToSampleCoverage) ...@@ -402,6 +409,8 @@ TEST_P(MultisampleTest, AlphaToSampleCoverage)
ANGLE_SKIP_TEST_IF(!mMultisampledConfigExists); ANGLE_SKIP_TEST_IF(!mMultisampledConfigExists);
// http://anglebug.com/5087 // http://anglebug.com/5087
ANGLE_SKIP_TEST_IF(IsMetal()); ANGLE_SKIP_TEST_IF(IsMetal());
// http://anglebug.com/5727
ANGLE_SKIP_TEST_IF(IsOzone());
constexpr char kFS[] = constexpr char kFS[] =
"precision highp float;\n" "precision highp float;\n"
......
...@@ -2992,6 +2992,10 @@ TEST_P(Texture2DTest, NPOTSubImageParameters) ...@@ -2992,6 +2992,10 @@ TEST_P(Texture2DTest, NPOTSubImageParameters)
TEST_P(Texture3DTestES2, RGBA) TEST_P(Texture3DTestES2, RGBA)
{ {
ANGLE_SKIP_TEST_IF(!hasTexture3DExt()); ANGLE_SKIP_TEST_IF(!hasTexture3DExt());
// http://anglebug.com/5728
ANGLE_SKIP_TEST_IF(IsOzone());
glActiveTexture(GL_TEXTURE0); glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_3D, mTexture3D); glBindTexture(GL_TEXTURE_3D, mTexture3D);
std::vector<GLColor> texDataGreen(2u * 2u * 2u, GLColor::green); std::vector<GLColor> texDataGreen(2u * 2u * 2u, GLColor::green);
...@@ -3014,6 +3018,10 @@ TEST_P(Texture3DTestES2, RGBA) ...@@ -3014,6 +3018,10 @@ TEST_P(Texture3DTestES2, RGBA)
TEST_P(Texture3DTestES2, Luminance) TEST_P(Texture3DTestES2, Luminance)
{ {
ANGLE_SKIP_TEST_IF(!hasTexture3DExt()); ANGLE_SKIP_TEST_IF(!hasTexture3DExt());
// http://anglebug.com/5728
ANGLE_SKIP_TEST_IF(IsOzone());
glActiveTexture(GL_TEXTURE0); glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_3D, mTexture3D); glBindTexture(GL_TEXTURE_3D, mTexture3D);
std::vector<GLubyte> texData(2u * 2u * 2u, 125); std::vector<GLubyte> texData(2u * 2u * 2u, 125);
...@@ -3035,6 +3043,9 @@ TEST_P(Texture3DTestES2, CopySubImageRGBA) ...@@ -3035,6 +3043,9 @@ TEST_P(Texture3DTestES2, CopySubImageRGBA)
{ {
ANGLE_SKIP_TEST_IF(!hasTexture3DExt()); ANGLE_SKIP_TEST_IF(!hasTexture3DExt());
// http://anglebug.com/5728
ANGLE_SKIP_TEST_IF(IsOzone());
glClearColor(0, 0, 1, 1); glClearColor(0, 0, 1, 1);
glClear(GL_COLOR_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT);
...@@ -3069,6 +3080,9 @@ TEST_P(Texture3DTestES2, CopySubImageLuminance) ...@@ -3069,6 +3080,9 @@ TEST_P(Texture3DTestES2, CopySubImageLuminance)
{ {
ANGLE_SKIP_TEST_IF(!hasTexture3DExt()); ANGLE_SKIP_TEST_IF(!hasTexture3DExt());
// http://anglebug.com/5728
ANGLE_SKIP_TEST_IF(IsOzone());
glClearColor(1, 0, 0, 1); glClearColor(1, 0, 0, 1);
glClear(GL_COLOR_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT);
...@@ -3102,6 +3116,9 @@ TEST_P(Texture3DTestES2, CopySubImageAlpha) ...@@ -3102,6 +3116,9 @@ TEST_P(Texture3DTestES2, CopySubImageAlpha)
{ {
ANGLE_SKIP_TEST_IF(!hasTexture3DExt()); ANGLE_SKIP_TEST_IF(!hasTexture3DExt());
// http://anglebug.com/5728
ANGLE_SKIP_TEST_IF(IsOzone());
glClearColor(1, 0, 0, 0.5); glClearColor(1, 0, 0, 0.5);
glClear(GL_COLOR_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT);
......
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