Check for astc_sliced_3d extension in negative API tests
authorGraeme Leese <gleese@broadcom.com>
Thu, 21 Jan 2021 13:55:22 +0000 (13:55 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 28 Jan 2021 18:47:36 +0000 (18:47 +0000)
commit7cba7113c40f2ff03573c8c2c90661b2249e04fa
treeadccefca612afa78781a4ff5a33fb0eb980158b4
parent4362b5291f8c3cb4cc01cc3d29814d61a7a8b1fc
Check for astc_sliced_3d extension in negative API tests

The ASTC sliced_3d extension allows support of 3D ASTC textures using 2D
blocks (interpreted as XxYx1 blocks of the 3D texture). That makes
passing the 2D ASTC format enums with a texture target of TEXTURE_3D
legal, so update the negative API tests to allow that case.

Components: OpenGL
VK-GL-CTS issue: 2741
Affects: dEQP-GLES3.functional.negative_api.texture.compressedteximage3d_invalid_astc_target
         dEQP-GLES3.functional.negative_api.texture.texstorage3d_invalid_astc_target

Change-Id: Ifd3c54d2819d11c3e771ad4a98682e266c27da41
(cherry picked from commit 6c72e55e2343f0b448c0707d0ae6b51f2baa3e61)
modules/gles3/functional/es3fNegativeTextureApiTests.cpp