<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [swrast] piglit glx-shader-sharing regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94437">bug 94437</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>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>chemecse@gmail.com, t_arceri@yahoo.com.au
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [swrast] piglit glx-shader-sharing regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94437#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [swrast] piglit glx-shader-sharing regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94437">bug 94437</a>
              from <span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span></b>
        <pre>commit e25c24c6389e5dbbb7ebf59c302659e5d6417ed4
Author: Lars Hamre <<a href="mailto:chemecse@gmail.com">chemecse@gmail.com</a>>
Date:   Fri Apr 8 10:06:23 2016 -0400

    glsl: handle unsigned int wraparound in link_shaders()

    v2: change check_explicit_uniform_locations() to return an
        unsigned 0 (Timothy Arceri)

    We were storing the int result of check_explicit_uniform_locations()
    in num_explicit_uniform_locs as an unsigned int which caused it to
    be 4294967295 when a -1 was returned.

    This in turn would cause the following error during linking:
    error: count of uniform locations > MAX_UNIFORM_LOCATIONS(4294967295 >
98304)

    Results from running piglit tests/all with this patch
    and when ARB_explicit_uniform_location disabled:

    changes:     178
    fixes:       176
    regressions: 2

    The two regressions are for the following tests:
    glean@glsl1-matrix column check (1)
    glean@glsl1-matrix column check (2)
    which regress from FAIL to CRASH.

    The regressions are acceptable because the tests are currently failing due
to
    the aforementioned linker error.

    Signed-off-by: Lars Hamre <<a href="mailto:chemecse@gmail.com">chemecse@gmail.com</a>>
    Reviewed-by: Timothy Arceri <<a href="mailto:timothy.arceri@collabora.com">timothy.arceri@collabora.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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>