[Piglit] [PATCH] arb_gpu_shader_int64: add testing of unsigned div/mod

Nicolai Hähnle nhaehnle at gmail.com
Mon Feb 6 16:35:49 UTC 2017


On 05.02.2017 19:12, Ilia Mirkin wrote:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

> ---
>  generated_tests/builtin_function.py | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/generated_tests/builtin_function.py b/generated_tests/builtin_function.py
> index 9467ca3..663d9d8 100644
> --- a/generated_tests/builtin_function.py
> +++ b/generated_tests/builtin_function.py
> @@ -1598,13 +1598,13 @@ def _make_vector_or_matrix_test_vectors(test_suite_dict):
>        template='({0} * {1})',
>        extension="ARB_gpu_shader_int64")
>      f('op-div', 2, 150, _divide, match_simple_binop,
> -      [int64s+int64vecs,
> -       int64s+int64vecs],
> +      [int64s+int64vecs+uint64s+uint64vecs,
> +       int64s+int64vecs+uint64s+uint64vecs],
>        template='({0} / {1})',
>        extension="ARB_gpu_shader_int64")
>      f('op-mod', 2, 150, _modulus, match_simple_binop,
> -      [int64s+int64vecs,
> -       int64s+int64vecs],
> +      [int64s+int64vecs+uint64s+uint64vecs,
> +       int64s+int64vecs+uint64s+uint64vecs],
>        template='({0} % {1})',
>        extension="ARB_gpu_shader_int64")
>      f('op-gt', 2, 150, lambda x, y: x > y, match_args(0, 1),
>


More information about the Piglit mailing list