diff options
author | Matt Turner <mattst88@gmail.com> | 2014-07-05 18:06:47 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-07-06 18:22:26 -0700 |
commit | abc9d2b7a608137742dfa45b2aaa6d4bdbafd842 (patch) | |
tree | 5afb0d616cdde5410a02fdcda6c2a96d742629e2 | |
parent | 6ee950e1db4a34d71b64ea81b5229a1ba691feb7 (diff) |
glean/glsl1: Delete duplicated fp precision tests.
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
-rw-r--r-- | tests/all.py | 2 | ||||
-rw-r--r-- | tests/glean/tglsl1.cpp | 35 |
2 files changed, 0 insertions, 37 deletions
diff --git a/tests/all.py b/tests/all.py index 539ef23fd..f1a20bad6 100644 --- a/tests/all.py +++ b/tests/all.py @@ -168,8 +168,6 @@ glean_glsl_tests = [ 'chained assignment', 'assignment operators', 'cross() function, in-place', - 'precision exp2', - 'precision log2', 'discard statement (1)', 'discard statement (2)', 'discard statement in for loop', diff --git a/tests/glean/tglsl1.cpp b/tests/glean/tglsl1.cpp index 7a661c8a2..bf0268b76 100644 --- a/tests/glean/tglsl1.cpp +++ b/tests/glean/tglsl1.cpp @@ -416,41 +416,6 @@ static const ShaderProgram Programs[] = { FLAG_NONE }, - // Floating Point Precision ========================================== - { - "precision exp2", - NO_VERTEX_SHADER, - "uniform vec4 uniform1; \n" - "void main() { \n" - " vec4 vals = vec4(-0.999992, -0.988281, -0.535149, -0.496090); \n" - " vals *= uniform1.xxxx; // multply by one \n" - " vec4 actual = exp2(vals); \n" - " vec4 expected = vec4(0.500003, 0.504078, 0.690087, 0.709026); \n" - " vec4 error = abs((actual - expected) / expected); \n" - " gl_FragColor = vec4(lessThan(error, vec4(1e-04))); \n" - "} \n", - { 1.0, 1.0, 1.0, 1.0 }, - DONT_CARE_Z, - FLAG_NONE - }, - - { - "precision log2", - NO_VERTEX_SHADER, - "uniform vec4 uniform1; \n" - "void main() { \n" - " vec4 vals = vec4(0.125096, 0.250265, 0.500301, 2.001205); \n" - " vals *= uniform1.xxxx; // multiply by one \n" - " vec4 actual = log2(vals); \n" - " vec4 expected = vec4(-2.998889, -1.998471, -0.999131, 1.000869); \n" - " vec4 error = abs(actual - expected); \n" - " gl_FragColor = vec4(lessThan(error, vec4(1e-05))); \n" - "} \n", - { 1.0, 1.0, 1.0, 1.0 }, - DONT_CARE_Z, - FLAG_NONE - }, - // Flow Control ====================================================== { "discard statement (1)", |