<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Test failures on 32 bit Mesa compiled with GCC 7.x"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104971#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Test failures on 32 bit Mesa compiled with GCC 7.x"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104971">bug 104971</a>
              from <span class="vcard"><a class="email" href="mailto:currojerez@riseup.net" title="Francisco Jerez <currojerez@riseup.net>"> <span class="fn">Francisco Jerez</span></a>
</span></b>
        <pre>(In reply to Mark Janes from <a href="show_bug.cgi?id=104971#c6">comment #6</a>)
<span class="quote">> 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?</span >

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>