<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [HSW Bisected]Piglit spec/ARB_vertex_type_2_10_10_10_rev/draw-vertices-2101010 fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59150">bug 59150</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [HSW Bisected]Piglit spec/ARB_vertex_type_2_10_10_10_rev/draw-vertices-2101010 fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59150#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [HSW Bisected]Piglit spec/ARB_vertex_type_2_10_10_10_rev/draw-vertices-2101010 fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59150">bug 59150</a>
              from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
        <pre>Fixed by piglit commit:

commit 35daaa1695ea01eb85bc02f9be9b6ebd1a7113a1
Author: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Date:   Mon Dec 25 21:10:16 2017 -0800

    draw-vertices-2101010: Accept either SNORM conversion formula.

    OpenGL defines two equations for converting from signed-normalized
    to floating point data.  These are:

        f = (2c + 1)/(2^b - 1)                (equation 2.2)
        f = max{c/2^(b-1) - 1), -1.0}         (equation 2.3)

    ARB_vertex_type_2_10_10_10_rev specifies equation 2.2 is to be used.

    However, OpenGL 4.2 switched to use equation 2.3 in all scenarios.
    This matched an earlier OpenGL ES 3.0 decision to only have one formula,
    as well as a DirectX decision to change to equation 2.3.  Some hardware
    also only supports equation 2.3.  So, basically no one can rely on
    equation 2.2 happening, and some people do rely on 2.3.

    This patch continues to require equation 2.3 for GL 4.2+, but relaxes
    the test to allow either behavior for earlier GL versions.

    See the following discussion for more details:
    <a href="https://lists.freedesktop.org/archives/mesa-dev/2013-August/042680.html">https://lists.freedesktop.org/archives/mesa-dev/2013-August/042680.html</a>

    This makes this test pass on i965 with Haswell and later.

    Reviewed-by: Roland Scheidegger <<a href="mailto:sroland@vmware.com">sroland@vmware.com</a>></pre>
        </div>
      </p>


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

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