<div dir="ltr">both are<br><br>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 13, 2016 at 12:07 PM, Matt Turner <span dir="ltr"><<a href="mailto:mattst88@gmail.com" target="_blank">mattst88@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unfortunately, the GLSL spec says that exponent values outside of [-126,<br>
128] are undefined or may be flushed to zero.<br>
---<br>
.../execution/built-in-functions/fs-ldexp.shader_test | 10 ----------<br>
1 file changed, 10 deletions(-)<br>
<br>
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<br>
index 785eee5..989c1da 100644<br>
--- a/tests/spec/arb_gpu_shader5/execution/built-in-functions/fs-ldexp.shader_test<br>
+++ b/tests/spec/arb_gpu_shader5/execution/built-in-functions/fs-ldexp.shader_test<br>
@@ -82,14 +82,4 @@ uniform ivec4 given_exponent -127 -127 -127 -127<br>
draw arrays GL_TRIANGLE_FAN 0 4<br>
probe all rgba 0.0 1.0 0.0 1.0<br>
<br>
-uniform vec4 expected_float 0.0 -0.0 0.0 -0.0<br>
-uniform vec4 given_float 1.1754944e-38 -1.1754944e-38 3.40282347e38 -3.40282347e38<br>
-# For the FLT_MAX case -255 comes from (-127 + -127 + -1).<br>
-# ldexp(FLT_MAX, -127) = 0x1.fffffep+0 (1.999999881)<br>
-# ldexp(FLT_MAX, -127 - 127) = 0x1p-126 (epsilon above FLT_MIN)<br>
-# ldexp(FLT_MAX, -127 - 127 - 1) = 0.0<br>
-uniform ivec4 given_exponent -1 -1 -255 -255<br>
-draw arrays GL_TRIANGLE_FAN 0 4<br>
-probe all rgba 0.0 1.0 0.0 1.0<br>
-<br>
# Overflow is undefined according to the GLSL spec, so nothing to test.<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.3<br>
<br>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/piglit" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</font></span></blockquote></div><br></div>