Drop incorrect framebuffer texture subtests.
authorKenneth Graunke <kenneth.w.graunke@intel.com>
Fri, 20 Jan 2017 18:30:10 +0000 (18:30 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Fri, 20 Jan 2017 18:30:10 +0000 (18:30 +0000)
am: 625d685874

Change-Id: I7b1cab296c2a61ed3e05ae52dd21fd62bc6d3c8a

modules/gles31/functional/es31fNegativeBufferApiTests.cpp

index d2bb14f..8ca4a9b 100644 (file)
@@ -1658,18 +1658,6 @@ void framebuffer_texture_layer (NegativeTestContext& ctx)
                ctx.glBindTexture                               (GL_TEXTURE_BUFFER, texBuffer);
                ctx.expectError                                 (GL_NO_ERROR);
 
-               ctx.beginSection("GL_INVALID_VALUE is generated if texture is a 2D multisample array texture and layer not 0.");
-               ctx.glFramebufferTextureLayer   (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DMSArray, 0, -1);
-               ctx.expectError                                 (GL_INVALID_VALUE);
-               ctx.glFramebufferTextureLayer   (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DMSArray, 0, 1);
-               ctx.expectError                                 (GL_INVALID_VALUE);
-               ctx.endSection();
-
-               ctx.beginSection("GL_INVALID_VALUE is generated if texture is a cube map array texture and layer is larger than the value of MAX_CUBE_MAP_TEXTURE_SIZE-1 minus one.");
-               ctx.glFramebufferTextureLayer   (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texCube, 0, maxCubeTexSize);
-               ctx.expectError                                 (GL_INVALID_VALUE);
-               ctx.endSection();
-
                ctx.beginSection("GL_INVALID_OPERATION is generated if texture is the name of a buffer texture.");
                ctx.glFramebufferTextureLayer   (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texBuffer, 0, 0);
                ctx.expectError                                 (GL_INVALID_OPERATION);