[Piglit] [PATCH 01/10] arb_shader_atomic_counters: fix KHR_no_error support for buffer binding test

Samuel Pitoiset samuel.pitoiset at gmail.com
Wed Jul 5 14:52:51 UTC 2017


For the series:

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

On 07/05/2017 07:23 AM, Timothy Arceri wrote:
> ---
>   tests/spec/arb_shader_atomic_counters/buffer-binding.c | 10 ++++++----
>   1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/spec/arb_shader_atomic_counters/buffer-binding.c b/tests/spec/arb_shader_atomic_counters/buffer-binding.c
> index 7eeaae9..de4e9d1 100644
> --- a/tests/spec/arb_shader_atomic_counters/buffer-binding.c
> +++ b/tests/spec/arb_shader_atomic_counters/buffer-binding.c
> @@ -141,10 +141,12 @@ piglit_init(int argc, char **argv)
>                                   "implementation limit",
>                                   run_test_bind_at, ls.bindings - 1);
>   
> -        atomic_counters_subtest(&status, GL_NONE,
> -                                "Atomic buffer binding above the "
> -                                "implementation limit",
> -                                !run_test_bind_at, ls.bindings);
> +        if (!piglit_khr_no_error) {
> +                atomic_counters_subtest(&status, GL_NONE,
> +                                        "Atomic buffer binding above the "
> +                                        "implementation limit",
> +                                        !run_test_bind_at, ls.bindings);
> +        }
>   
>           atomic_counters_subtest(&status, GL_NONE,
>                                   "Atomic buffer range binding",
> 


More information about the Piglit mailing list