[Piglit] [PATCH 1/5] khr_compressed_astc-miptree-array requires GL_ARB_ES3_compatibility

Nanley Chery nanleychery at gmail.com
Mon Jul 18 22:07:05 UTC 2016


On Thu, Jul 07, 2016 at 04:28:09PM -0700, Anuj Phogat wrote:

Why does it require this extension?

- Nanley

> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
>  .../khr_texture_compression_astc/khr_compressed_astc-miptree-array.c   | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
> index e332bad..199924c 100644
> --- a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
> +++ b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
> @@ -263,6 +263,9 @@ piglit_init(int argc, char **argv)
>  
>  	piglit_require_extension("GL_KHR_texture_compression_astc_ldr");
>  
> +	if (!piglit_is_gles())
> +		piglit_require_extension("GL_ARB_ES3_compatibility");
> +
>  	glClearColor(0.9098, 0.8314, 0.7843, 1.0);
>  	glViewport(0, 0, piglit_width, piglit_height);
>  
> -- 
> 2.5.5
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list