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

Ilia Mirkin imirkin at alum.mit.edu
Sun Feb 5 18:12:15 UTC 2017


Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 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),
-- 
2.10.2



More information about the Piglit mailing list