<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - glProgramBinary violates spec"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=87516">bug 87516</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></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - glProgramBinary violates spec"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=87516#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - glProgramBinary violates spec"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=87516">bug 87516</a>
              from <span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span></b>
        <pre>Fixed by the following commits on Mesa master.  Once there is some feedback
from Khronos on the spec bug, I'll post some updates.

commit f591712efeb9a757379d1e89907e2147749aaf6c
Author: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
Date:   Sun Dec 21 12:06:23 2014 -0800

    mesa: Always generate GL_INVALID_OPERATION in _mesa_GetProgramBinary

    There are no binary formats supported, so what are you doing?  At least
    this gives the application developer some feedback about what's going
    on.  The spec gives no guidance about what to do in this scenario.

    Signed-off-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - glProgramBinary violates spec"
   href="show_bug.cgi?id=87516">https://bugs.freedesktop.org/show_bug.cgi?id=87516</a>
    Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
    Acked-by: Leight Bade <<a href="mailto:leith@mapbox.com">leith@mapbox.com</a>>

commit 4fd8b3012371a5795a0d272928266c6237e57466
Author: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
Date:   Sun Dec 21 12:03:57 2014 -0800

    mesa: Ensure that length is set to zero in _mesa_GetProgramBinary

    v2: Fix assignment of length.  Noticed by Julien Cristau.

    Signed-off-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - glProgramBinary violates spec"
   href="show_bug.cgi?id=87516">https://bugs.freedesktop.org/show_bug.cgi?id=87516</a>
    Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
    Acked-by: Leight Bade <<a href="mailto:leith@mapbox.com">leith@mapbox.com</a>>

commit 201b9c181825551559f6d995007de8ff12d1a54c
Author: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
Date:   Sun Dec 21 12:03:09 2014 -0800

    mesa: Add missing error checks in _mesa_ProgramBinary

    Signed-off-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - glProgramBinary violates spec"
   href="show_bug.cgi?id=87516">https://bugs.freedesktop.org/show_bug.cgi?id=87516</a>
    Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
    Acked-by: Leight Bade <<a href="mailto:leith@mapbox.com">leith@mapbox.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>