<div dir="ltr">Brian,<div><br></div><div>Today I came across this unread email from you. I missed it somehow. I'm not sure if this information is still relevant but here is what I have found:</div><div><br></div><div>Testing GL_INVALID_OPERATION for integer and depth/stencil texture formats is based on a mesa commit:</div>
<div><a href=" http://lists.freedesktop.org/archives/mesa-commit/2012-November/040045.html"> http://lists.freedesktop.org/archives/mesa-commit/2012-November/040045.html</a><br><div class="gmail_extra"><br>This commit points to a Khronos bug#9471. It seems like Khronos had reached a conclusion on the bug page but they never updated the spec. Also, status of the bug still says 'Assigned', not 'Resolved'. I'll ask for the clarification from Khronos. </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Sorry for the delayed response.</div><div class="gmail_extra"><br></div><div class="gmail_extra">- Anuj<br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 10:03 AM, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Anuj,<br>
<br>
Your genmipmap-errors test checks if glGenerateMipmaps raises GL_INVALID_OPERATION for integer and depth/stencil texture formats.<br>
<br>
Can you tell me which version of the GL spec or extension describes this?<br>
<br>
genmipmap-errors fails with NVIDIA's OpenGL 4.2 since it does not raise any errors for glGenerateMipmaps(integer texture).<br>
<br>
I'm wondering if that error check was lifted in some version of GL.<br>
<br>
The man page at <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenerateMipmap.xml" target="_blank">http://www.opengl.org/sdk/<u></u>docs/man/xhtml/<u></u>glGenerateMipmap.xml</a> doesn't say that integer textures should raise an error.<br>
<br>
I seem to remember some ARB discussion about the validity of integer mipmap generation but I don't remember the outcome.<span class=""><font color="#888888"><br>
<br>
-Brian<br>
</font></span></blockquote></div><br></div></div></div>