--- .../execution/built-in-functions/fs-ldexp.shader_test | 7 +++++++ 1 file changed, 7 insertions(+)
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 0b07b2b..785eee5 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 -- 2.7.3 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
