diff options
Diffstat (limited to 'src/tests/gl_tests/RobustResourceInitTest.cpp')
-rw-r--r-- | src/tests/gl_tests/RobustResourceInitTest.cpp | 57 |
1 files changed, 19 insertions, 38 deletions
diff --git a/src/tests/gl_tests/RobustResourceInitTest.cpp b/src/tests/gl_tests/RobustResourceInitTest.cpp index f38a0f99f4..e07ae173d1 100644 --- a/src/tests/gl_tests/RobustResourceInitTest.cpp +++ b/src/tests/gl_tests/RobustResourceInitTest.cpp @@ -470,7 +470,7 @@ TEST_P(RobustResourceInitTestES3, D3D11RecoverFromStorageBug) ANGLE_SKIP_TEST_IF(!hasGLExtension()); ANGLE_SKIP_TEST_IF(!IsGLExtensionEnabled("GL_EXT_texture_compression_dxt1")); - // http://anglebug.com/5770 + // http://anglebug.com/42264306 // Vulkan uses incorrect copy sizes when redefining/zero initializing NPOT compressed textures. ANGLE_SKIP_TEST_IF(IsVulkan()); @@ -692,7 +692,7 @@ TEST_P(RobustResourceInitTest, TexImageThenSubImage) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/2407, but only fails on Nexus devices + // http://anglebug.com/42261117, but only fails on Nexus devices ANGLE_SKIP_TEST_IF(IsNexus5X() && IsOpenGLES()); // Put some data into the texture @@ -906,7 +906,7 @@ TEST_P(RobustResourceInitTest, ReadingPartiallyInitializedTexture) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/2407, but only fails on Nexus devices + // http://anglebug.com/42261117, but only fails on Nexus devices ANGLE_SKIP_TEST_IF(IsNexus5X() && IsOpenGLES()); GLTexture tex; @@ -1035,9 +1035,9 @@ TEST_P(RobustResourceInitTestES3, MultisampledDepthInitializedCorrectly) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/2407 + // http://anglebug.com/42261117 ANGLE_SKIP_TEST_IF(IsAndroid() && IsOpenGLES()); - // http://anglebug.com/5398 + // http://anglebug.com/42263936 ANGLE_SKIP_TEST_IF(IsAMD() && IsD3D11()); ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); @@ -1211,9 +1211,9 @@ void RobustResourceInitTestES3::testIntegerTextureInit(const char *samplerType, TEST_P(RobustResourceInitTestES3, TextureInit_UIntRGB8) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/5398 + // http://anglebug.com/42263936 ANGLE_SKIP_TEST_IF(IsAMD() && IsD3D11()); - // TODO(anglebug.com/5491) iOS doesn't like to read this format as UNSIGNED_BYTE. + // TODO(anglebug.com/42264029) iOS doesn't like to read this format as UNSIGNED_BYTE. ANGLE_SKIP_TEST_IF(IsIOS() && IsOpenGLES()); testIntegerTextureInit<uint8_t>("u", GL_RGBA8UI, GL_RGB8UI, GL_UNSIGNED_BYTE); @@ -1228,9 +1228,9 @@ TEST_P(RobustResourceInitTestES3, TextureInit_UIntRGB32) TEST_P(RobustResourceInitTestES3, TextureInit_IntRGB8) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/5398 + // http://anglebug.com/42263936 ANGLE_SKIP_TEST_IF(IsAMD() && IsD3D11()); - // TODO(stianglebug.com/5491) iOS doesn't like to read this format as BYTE. + // TODO(stianglebug.com/42264029) iOS doesn't like to read this format as BYTE. ANGLE_SKIP_TEST_IF(IsIOS() && IsOpenGLES()); testIntegerTextureInit<int8_t>("i", GL_RGBA8I, GL_RGB8I, GL_BYTE); @@ -1581,9 +1581,9 @@ TEST_P(RobustResourceInitTest, MaskedDepthClear) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/2407 + // http://anglebug.com/42261117 ANGLE_SKIP_TEST_IF(IsAndroid() && IsOpenGLES()); - // http://anglebug.com/5398 + // http://anglebug.com/42263936 ANGLE_SKIP_TEST_IF(IsAMD() && IsD3D11()); auto clearFunc = [](float depth) { @@ -1600,9 +1600,9 @@ TEST_P(RobustResourceInitTestES3, MaskedDepthClearBuffer) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/2407 + // http://anglebug.com/42261117 ANGLE_SKIP_TEST_IF(IsAndroid() && IsOpenGLES()); - // http://anglebug.com/5398 + // http://anglebug.com/42263936 ANGLE_SKIP_TEST_IF(IsAMD() && IsD3D11()); auto clearFunc = [](float depth) { @@ -1661,7 +1661,7 @@ TEST_P(RobustResourceInitTest, MaskedStencilClear) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/2407, but only fails on Nexus devices + // http://anglebug.com/42261117, but only fails on Nexus devices ANGLE_SKIP_TEST_IF(IsNexus5X() && IsOpenGLES()); auto clearFunc = [](GLint clearValue) { @@ -1678,12 +1678,12 @@ TEST_P(RobustResourceInitTestES3, MaskedStencilClearBuffer) { ANGLE_SKIP_TEST_IF(!hasGLExtension()); - // http://anglebug.com/2408 + // http://anglebug.com/42261118 ANGLE_SKIP_TEST_IF(IsMac() && IsOpenGL() && (IsIntel() || IsNVIDIA())); ANGLE_SKIP_TEST_IF(IsLinux() && IsOpenGL()); - // http://anglebug.com/2407, but only fails on Nexus devices + // http://anglebug.com/42261117, but only fails on Nexus devices ANGLE_SKIP_TEST_IF(IsNexus5X() && IsOpenGLES()); auto clearFunc = [](GLint clearValue) { @@ -2235,25 +2235,6 @@ TEST_P(RobustResourceInitTestES31, Multisample2DTextureArray) } } -// Tests that using an out of bounds draw offset with a dynamic array succeeds. -TEST_P(RobustResourceInitTest, DynamicVertexArrayOffsetOutOfBounds) -{ - ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); - glUseProgram(program); - - GLint posLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); - ASSERT_NE(-1, posLoc); - - glEnableVertexAttribArray(posLoc); - GLBuffer buf; - glBindBuffer(GL_ARRAY_BUFFER, buf); - glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, reinterpret_cast<const void *>(500)); - glBufferData(GL_ARRAY_BUFFER, 100, nullptr, GL_DYNAMIC_DRAW); - glDrawArrays(GL_TRIANGLES, 0, 3); - - // Either no error or invalid operation is okay. -} - // Test to cover a bug that the multisampled depth attachment of a framebuffer are not successfully // initialized before it is used as the read framebuffer in blitFramebuffer. // Referenced from the following WebGL CTS: @@ -2263,7 +2244,7 @@ TEST_P(RobustResourceInitTestES3, InitializeMultisampledDepthRenderbufferAfterCo ANGLE_SKIP_TEST_IF(!hasGLExtension()); ANGLE_SKIP_TEST_IF(!EnsureGLExtensionEnabled("GL_CHROMIUM_copy_texture")); - // http://anglebug.com/5398 + // http://anglebug.com/42263936 ANGLE_SKIP_TEST_IF(IsAMD() && IsD3D11()); // Call glCopyTextureCHROMIUM to set destTexture as the color attachment of the internal @@ -2493,10 +2474,10 @@ TEST_P(RobustResourceInitTestES3, BlitDepthStencilAfterClearBuffer) { ANGLE_SKIP_TEST_IF(!hasRobustSurfaceInit()); - // http://anglebug.com/5301 + // http://anglebug.com/42263848 ANGLE_SKIP_TEST_IF(IsAndroid() && IsOpenGLES()); - // http://anglebug.com/5300 + // http://anglebug.com/42263847 ANGLE_SKIP_TEST_IF(IsD3D11()); constexpr GLsizei kSize = 16; |