aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-01-14 03:01:23 +0000
committerDave Airlie <airlied@redhat.com>2013-01-15 07:50:25 +0000
commit4d6352e76d3dcd77f5a26c3605d8cb740e4158bc (patch)
tree59a5c3d61f642585690f913045cc9f83a396b443
parent65ee16c6d13a28e6d7c91cb67fe2b7e01f459e59 (diff)
downloadpiglit-4d6352e76d3dcd77f5a26c3605d8cb740e4158bc.tar.gz
generated_tests: generate determinant tests for GLSL 1.50
This generates tests via the numpy stuff for determinant built-in found in GLSL 1.50. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
-rw-r--r--generated_tests/builtin_function.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/generated_tests/builtin_function.py b/generated_tests/builtin_function.py
index d433865a..259bb688 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)