These formats only supports 2D images.
Affects:
KHR-GLES2.texture_3d.compressed_texture.negative_compressed_tex_image
KHR-GLES2.texture_3d.compressed_texture.negative_compressed_tex_sub_image
Components: OpenGL
VK-GL-CTS issue: 1163
Change-Id: I806dccfdbb2969b51c0ee9a1010c04107154733a
(cherry picked from commit
a0b8363a7837546c73e4d30a6c6d37da21ea8645)
formatsSet.clear();
for (int formatNdx = 0; formatNdx < tcu::COMPRESSEDTEXFORMAT_LAST; formatNdx++)
{
- // ETC2/EAC texture compression algorithm supports only two-dimensional images
+ // ETC2/EAC/BC (also known as DXT) texture compression algorithm
+ // supports only two-dimensional images
tcu::CompressedTexFormat format = static_cast<tcu::CompressedTexFormat>(formatNdx);
- if (tcu::isEtcFormat(format))
+ if (tcu::isEtcFormat(format) || tcu::isBcFormat(format))
continue;
int glFormat = glu::getGLFormat(format);