[Piglit] [PATCH] arb_shader_image_load_store/compiler: Add memoryBarrier() tests

Francisco Jerez currojerez at riseup.net
Tue Sep 15 08:13:09 PDT 2015


Samuel Iglesias Gonsalvez <siglesias at igalia.com> writes:

> Signed-off-by: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
> ---
>  generated_tests/gen_shader_image_load_store_tests.py | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/generated_tests/gen_shader_image_load_store_tests.py b/generated_tests/gen_shader_image_load_store_tests.py
> index 00c4f27..296cae3 100644
> --- a/generated_tests/gen_shader_image_load_store_tests.py
> +++ b/generated_tests/gen_shader_image_load_store_tests.py
> @@ -819,3 +819,11 @@ gen('builtin-qualifier-mismatch-writeonly', """\
>      }
>  """, product(image_load_builtin + image_atomic_builtins,
>               image_types[:1], shader_stages))
> +
> +gen('memory-barrier', """\

Maybe call this builtin-memory-barrier for consistency with the other
built-in function compiler tests.  With that fixed:

Reviewed-by: Francisco Jerez <currojerez at riseup.net>

> +    ${header('pass')}
> +    void main()
> +    {
> +        memoryBarrier();
> +    }
> +""", shader_stages)
> -- 
> 2.1.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150915/820f40fe/attachment.sig>


More information about the Piglit mailing list