[Piglit] [PATCH] arb_shader_precision: set tolerance for div/assign-div
Ilia Mirkin
imirkin at alum.mit.edu
Mon Feb 2 06:04:29 PST 2015
This makes the relevant tests pass on nvc0.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
generated_tests/gen_shader_precision_tests.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/generated_tests/gen_shader_precision_tests.py b/generated_tests/gen_shader_precision_tests.py
index b4664ea..0d24a80 100644
--- a/generated_tests/gen_shader_precision_tests.py
+++ b/generated_tests/gen_shader_precision_tests.py
@@ -58,7 +58,10 @@ tolerances = {'pow': 16.0,
'log': 3.0,
'log2': 3.0,
'sqrt': 3.0,
- 'inversesqrt': 2.0}
+ 'inversesqrt': 2.0,
+ 'op-div': 2.5,
+ 'op-assign-div': 2.5,
+ }
trig_builtins = ('sin', 'cos', 'tan',
'asin', 'acos', 'atan',
--
2.0.5
More information about the Piglit
mailing list