[Piglit] [PATCH 4/4] generated_tests: generate determinant tests for GLSL 1.50
Dave Airlie
airlied at gmail.com
Sun Jan 13 19:15:25 PST 2013
From: Dave Airlie <airlied at redhat.com>
This generates tests via the numpy stuff for determinant built-in
found in GLSL 1.50.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
generated_tests/builtin_function.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/generated_tests/builtin_function.py b/generated_tests/builtin_function.py
index d433865..259bb68 100644
--- a/generated_tests/builtin_function.py
+++ b/generated_tests/builtin_function.py
@@ -1189,6 +1189,8 @@ def _make_vector_or_matrix_test_vectors(test_suite_dict):
f('inverse', 1, 140, np.linalg.inv, None, [squaremats])
+ f('determinant', 1, 150, np.linalg.det, None, [squaremats])
+
_make_vector_or_matrix_test_vectors(test_suite)
--
1.8.1
More information about the Piglit
mailing list