<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#c3">Comment # 3</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 Clayton Craft from <a href="show_bug.cgi?id=104971#c2">comment #2</a>)
<span class="quote">> I found one specific test case in piglit that fails (from
> piglit.spec.arb_shading_language_packing.execution.built-in-functions.const-
> packunorm2x16):

>     actual = packUnorm2x16(vec2(1e+256, 0.9));
>     
>     if (true
>         && actual != 3865509887u
>         ) {
>          vert_color = red;
>     }</span >

That confirms my suspicion that this is really a bug of the piglit test.  The
0.9 floating point value is exactly mid-way between the 0xe665 and 0xe666 unorm
constants, so the test's expectations that it will give 0xe666 are unwarranted.

The easiest solution for this is likely to be to add some checks to the python
generator to avoid testing conversions that have an ambiguous 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>