From 7bf1b814b0216c9793c353fdee3bf295ef9603f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mika=20Isoj=C3=A4rvi?= Date: Thu, 31 Mar 2016 13:43:52 -0700 Subject: [PATCH] Use ETC2 format instead of ASTC format in negative texture tests Bug: 27946727 Change-Id: I1269c354cbec4bb1574b484aaecc42571bb41832 --- modules/gles31/functional/es31fNegativeTextureApiTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gles31/functional/es31fNegativeTextureApiTests.cpp b/modules/gles31/functional/es31fNegativeTextureApiTests.cpp index 6bd58e6..ebfd4a8 100644 --- a/modules/gles31/functional/es31fNegativeTextureApiTests.cpp +++ b/modules/gles31/functional/es31fNegativeTextureApiTests.cpp @@ -3385,7 +3385,7 @@ void compressedteximage3d_invalid_width_height (NegativeTestContext& ctx) const int imageSize = divRoundUp(width, 4) * divRoundUp(height, 4) * depth * blockSize; std::vector data (imageSize); ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_TEXTURE_CUBE_MAP_ARRAY and width and height are not equal."); - ctx.glCompressedTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, 0, GL_COMPRESSED_RGBA_ASTC_4x4, width, height, depth, 0, imageSize, &data[0]); + ctx.glCompressedTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, 0, GL_COMPRESSED_RGB8_ETC2, width, height, depth, 0, imageSize, &data[0]); ctx.expectError(GL_INVALID_VALUE); ctx.endSection(); } -- 2.7.4