copy_image test: do not require compressed formats on CM_ARRAY
authorSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 5 Apr 2017 10:05:52 +0000 (12:05 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 7 Apr 2017 16:03:56 +0000 (12:03 -0400)
Spec:
"An INVALID_OPERATION error is generated by TexImage3D if internalformat
is one of the EAC, ETC2, or RGTC compressed formats and either border is non-zero,
or target is not TEXTURE_2D_ARRAY."

Affects:
GL44-CTS.copy_image.incompatible_formats_compression

Components: OpenGL

VK-GL-CTS issue: 352

Change-Id: I77cbc09c2383d7d055776e1665f25b8c6051ee7d

external/openglcts/modules/gl/gl4cCopyImageTests.cpp

index 1358c56..7ce3e58 100644 (file)
@@ -5103,7 +5103,7 @@ IncompatibleFormatsCompressionTest::IncompatibleFormatsCompressionTest(deqp::Con
 
                /* Skip 1D targets, not supported */
                if ((GL_TEXTURE_1D == tex_target) || (GL_TEXTURE_1D_ARRAY == tex_target) || (GL_TEXTURE_3D == tex_target) ||
-                       (GL_TEXTURE_RECTANGLE == tex_target) || (GL_RENDERBUFFER == tex_target))
+                       (GL_TEXTURE_RECTANGLE == tex_target) || (GL_RENDERBUFFER == tex_target) || (GL_TEXTURE_CUBE_MAP_ARRAY == tex_target))
                {
                        continue;
                }