[Piglit] [PATCH 2/3] util-gl: add ARB_ES3_compatibility internalformats support
Antia Puentes
apuentes at igalia.com
Tue May 8 12:34:27 UTC 2018
Reviewed-by: Antia Puentes <apuentes at igalia.com>
On 06/05/18 11:42, Alejandro PiƱeiro wrote:
> 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;
More information about the Piglit
mailing list