diff options
author | Matt Turner <mattst88@gmail.com> | 2016-04-12 18:25:15 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2016-04-14 14:48:58 -0700 |
commit | 5fae1a7ca4d92ec6aa9ab968a3f15d10a67fbb1d (patch) | |
tree | 13627efd2933504616912c165b02c118f04db798 | |
parent | 3ea6930a8e093b24b51a5d955523c06d30b8f336 (diff) |
arb_gpu_shader5: Test ldexp(0.0f, non-zero-exp).
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
-rw-r--r-- | tests/spec/arb_gpu_shader5/execution/built-in-functions/fs-ldexp.shader_test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/spec/arb_gpu_shader5/execution/built-in-functions/fs-ldexp.shader_test b/tests/spec/arb_gpu_shader5/execution/built-in-functions/fs-ldexp.shader_test index 0b07b2bb8..785eee571 100644 --- a/tests/spec/arb_gpu_shader5/execution/built-in-functions/fs-ldexp.shader_test +++ b/tests/spec/arb_gpu_shader5/execution/built-in-functions/fs-ldexp.shader_test @@ -47,6 +47,13 @@ uniform ivec4 given_exponent 0 0 0 0 draw arrays GL_TRIANGLE_FAN 0 4 probe all rgba 0.0 1.0 0.0 1.0 +# Basic tests with x = 0. +uniform vec4 expected_float 0.0 0.0 0.0 0.0 +uniform vec4 given_float 0.0 0.0 0.0 0.0 +uniform ivec4 given_exponent 1 100 -1 -100 +draw arrays GL_TRIANGLE_FAN 0 4 +probe all rgba 0.0 1.0 0.0 1.0 + # Basic tests. uniform vec4 expected_float 0.49 1.0 25.0 100 uniform vec4 given_float 0.98 0.5 0.78125 0.78125 |