[Piglit] [PATCH] arb_program_interface_query: fix resource-query test errors

Timothy Arceri t_arceri at yahoo.com.au
Fri Sep 4 07:25:00 PDT 2015


On Fri, 2015-09-04 at 14:06 +0300, Tapani Pälli wrote:
> Some of the subtests have compute shaders that utilize imageStore
> functionality, require both extensions to be supported.
> 
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>

Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>

> ---
>  tests/spec/arb_program_interface_query/resource-query.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/spec/arb_program_interface_query/resource-query.c
> b/tests/spec/arb_program_interface_query/resource-query.c
> index c131891..000174e 100755
> --- a/tests/spec/arb_program_interface_query/resource-query.c
> +++ b/tests/spec/arb_program_interface_query/resource-query.c
> @@ -654,7 +654,7 @@ check_extensions(const struct subtest_t st)
>  	if ((st.programInterface == GL_COMPUTE_SUBROUTINE ||
>  	     st.programInterface == GL_COMPUTE_SUBROUTINE_UNIFORM ||
>  	     st.cs_text) &&
> -	     !piglit_is_extension_supported("GL_ARB_compute_shader") &&
> +	     !piglit_is_extension_supported("GL_ARB_compute_shader") ||
>  	    
>  !piglit_is_extension_supported("GL_ARB_shader_image_load_store")) {
>  		 return false;
>  	 }


More information about the Piglit mailing list