[Bug 89645] dEQP-GLES3: modf does not produce correct results with infinities

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 13 19:35:18 UTC 2017


Matt Turner <mattst88 at gmail.com> changed:

           What    |Removed                     |Added
                 CC|itoral at igalia.com           |
             Status|NEW                         |RESOLVED
                URL|                            |https://cvs.khronos.org/bug
                   |                            |zilla/show_bug.cgi?id=13907
         Resolution|---                         |WONTFIX
           Assignee|idr at freedesktop.org         |intel-3d-bugs at lists.freedes
                   |                            |ktop.org

--- Comment #2 from Matt Turner <mattst88 at gmail.com> ---
These tests were changed to accept a NaN return value in:

commit 4fdcdd50d72a1317dbab9f75738e5bb9ccd30634
Author: Pyry Haulos <phaulos at google.com>
Date:   Tue May 5 12:31:13 2015 -0700

    Relax builtin precision tests, fix issue in div rounding

     * sin(), cos() and derived: Use |x| * 2^-10 for mediump inputs outside
    of range [-pi,pi].

     * asin(), acos(), and atan(): Use 4096 ULP for highp (from OpenCL's
    fast relaxed math).

     * modf(): allow any value, including NaN, as fractional if Inf support
    is not mandated for the precision (lowp and mediump).

     * atan(y, x): allow any value if y or x is Inf and no Inf support is
    mandated for the precision.

     * div (and derived): allow rounding of -/+inf to -/+maxval when both
    inputs are ordinary and denominator is not 0 (legal in RTZ mode).

    Bug: 20453754
    Bug: 18323265
    Change-Id: I8e2fad8909e29993e961d66a175963071ea2e5a8

There's also a Khronos bug discussing the issue in $URL. Conclusion is "Allow
NaN or zero. State that NaN preferred."

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170213/5c0622f9/attachment.html>

More information about the intel-3d-bugs mailing list