<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_NEW "
   title="NEW --- - [IVB/HSW] ogl-samples: gl-320-texture-integer assertion fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76399">bug 76399</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;">CC</td>
           <td>
                
           </td>
           <td>anuj.phogat@gmail.com, kenneth@whitecape.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Summary</td>
           <td>[IVB/HSW] ogl-samples: gl-320-texture-integer core dumped
           </td>
           <td>[IVB/HSW] ogl-samples: gl-320-texture-integer assertion fails
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [IVB/HSW] ogl-samples: gl-320-texture-integer assertion fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76399#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [IVB/HSW] ogl-samples: gl-320-texture-integer assertion fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76399">bug 76399</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>The program calls glGenerateMipmaps on a RGBA8UI texture, which Anuj disallowed
in:

commit c0a78d7d7b51e125d143e693fdfc78b90f2d68cf
Author: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>>
Date:   Fri Nov 2 10:47:33 2012 -0700

    mesa: Generate invalid operation in glGenerateMipMap for integer textures

    Khronos has reached a conclusion and disallowed following texture formats
in
    glGenerateMipMap():
     (a) ASTC textures
     (b) integer internal formats (e.g., RGBA8UI, RG16I)
     (c) textures with stencil formats (e.g., STENCIL_INDEX8)
     (d) textures with packed depth/stencil formats (e.g, DEPTH24_STENCIL8)

    <a href="https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9471">https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9471</a>

    Note: This is a candidate for stable branches.
    Signed-off-by: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>>
    Reviewed-by: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>>

After that, the program asserts that there is no error...and dies.

Reading the Khronos bug, it sounds like the final resolution was to do what
Anuj implemented.  However, I see zero text to that effect in the OpenGL 4.3 or
even 4.4 specs.  It sounds like they instead adopted a "it ought to work"
resolution.

Reverting Anuj's commit fixes this demo.  Ian, do you think we should clarify
with Khronos, or how would you like to proceed?</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>