[Piglit] [PATCH 2/3] util-gl: add ARB_ES3_compatibility internalformats support
Alejandro PiƱeiro
apinheiro at igalia.com
Sun May 6 09:42:56 UTC 2018
Values based on mesa format_info.h values.
---
tests/util/piglit-util-gl.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c
index 3a41a5eb0..2443be03e 100644
--- a/tests/util/piglit-util-gl.c
+++ b/tests/util/piglit-util-gl.c
@@ -410,6 +410,12 @@ piglit_get_compressed_block_size(GLenum format,
case GL_COMPRESSED_SIGNED_RED_RGTC1:
case GL_COMPRESSED_LUMINANCE_LATC1_EXT:
case GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT:
+ case GL_COMPRESSED_RGB8_ETC2:
+ case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:
+ case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:
+ case GL_COMPRESSED_R11_EAC:
+ case GL_COMPRESSED_SIGNED_R11_EAC:
+ case GL_COMPRESSED_SRGB8_ETC2:
*bw = *bh = 4;
*bytes = 8;
return true;
@@ -426,6 +432,10 @@ piglit_get_compressed_block_size(GLenum format,
case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM:
case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT:
case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT:
+ case GL_COMPRESSED_RGBA8_ETC2_EAC:
+ case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:
+ case GL_COMPRESSED_RG11_EAC:
+ case GL_COMPRESSED_SIGNED_RG11_EAC:
*bw = *bh = 4;
*bytes = 16;
return true;
--
2.14.1
More information about the Piglit
mailing list