[Piglit] [PATCH 2/3] glslparsertest: Add support for GLSL ES 3.0 via GL_ARB_ES3_compatibility

Chad Versace chad.versace at linux.intel.com
Tue Nov 20 12:29:41 PST 2012


On 11/16/2012 04:08 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
>  tests/glslparsertest/glslparsertest.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/glslparsertest/glslparsertest.c b/tests/glslparsertest/glslparsertest.c
> index 4620b4e..14a7a13 100644
> --- a/tests/glslparsertest/glslparsertest.c
> +++ b/tests/glslparsertest/glslparsertest.c
> @@ -353,6 +353,8 @@ piglit_init(int argc, char**argv)
>  
>  	if (requested_version == 100) {
>  		piglit_require_extension("GL_ARB_ES2_compatibility");
> +	} else if (requested_version == 300) {
> +		piglit_require_extension("GL_ARB_ES3_compatibility");
>  	} else if (glsl_version < requested_version) {
>  		fprintf(stderr,
>  			"GLSL version is %u.%u, but requested version %u.%u is required\n",
> 


Reviewed-by: Chad Versace <chad.versace at linux.intel.com>


More information about the Piglit mailing list