<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Query INFO_LOG_LENGTH for empty info log should return 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97321">bug 97321</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 - Query INFO_LOG_LENGTH for empty info log should return 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97321#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Query INFO_LOG_LENGTH for empty info log should return 0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97321">bug 97321</a>
              from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
        <pre>commit ec4e71f75e9b8a1c427994efa32a61593e3172f9
Author: Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>
Date:   Wed Aug 17 10:37:45 2016 +0300

    mesa: fix empty program log length

    In case we have empty log (""), we should return 0. This fixes
    Khronos WebGL conformance test 'program-infolog'.

    From OpenGL ES 3.1 (and OpenGL 4.5 Core) spec:
       "If pname is INFO_LOG_LENGTH , the length of the info log, including
        a null terminator, is returned. If there is no info log, zero is
        returned."

    v2: apply same fix for get_shaderiv and _mesa_GetProgramPipelineiv (Ian)

    Signed-off-by: Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>
    Reviewed-by: Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>> (v1)
    Reviewed-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
    Reviewed-by: Nicolai Hähnle <<a href="mailto:nicolai.haehnle@amd.com">nicolai.haehnle@amd.com</a>>
    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Query INFO_LOG_LENGTH for empty info log should return 0"
   href="show_bug.cgi?id=97321">https://bugs.freedesktop.org/show_bug.cgi?id=97321</a>
    Cc: "13.0" <<a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</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>