[Bug 104971] Test failures on 32 bit Mesa compiled with GCC 7.x

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 9 21:37:25 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104971

--- Comment #7 from Francisco Jerez <currojerez at riseup.net> ---
(In reply to Mark Janes from comment #6)
> The first failures I saw were:
>     actual = packUnorm2x16(vec2(0.89999998, -1e+256));
> 
>     if (true
>         && actual != 58982u
>        ) {
>         vert_color = red;
>     }
> 
>     actual = packUnorm2x16(vec2(-1e+256, 0.89999998));
> 
>     if (true
>         && actual != 3865444352u
>        ) {
>         vert_color = red;
>     }
> 
> 
> are those examples of the same test issue?

Yeah, they look bogus in the same way.  The test only accepts 0xe666 as valid
encoding even though when doing the scaling with full x87 precision you'll get
a result around 0xe665.7f, which is actually slightly closer to 0xe665, so it
ends up being rounded down by the GLSL front-end which the test doesn't allow
as valid result.

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


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