diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-02-02 09:02:47 -0500 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-02-03 23:16:52 -0500 |
commit | 72d404a3cfd8739641f284ebcdb0c2b511628303 (patch) | |
tree | 198bf1b8499620698c015a2d4d38cfbce14bd2fd | |
parent | 897b549c0f793385d49f8227e2fe28109a8be74e (diff) |
arb_shader_precision: set tolerance for div/assign-div
This makes the relevant tests pass on nvc0.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
-rw-r--r-- | generated_tests/gen_shader_precision_tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generated_tests/gen_shader_precision_tests.py b/generated_tests/gen_shader_precision_tests.py index b4664eafe..0d24a80b4 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', |