This bug was discovered using the latest version of Catalyst drivers for Windows. OpenGL version string: 4.3.12614 Core Profile Forward-Compatible/Debug Context 13.250.18.0. Here is a link to some code to reproduce the error: https://gist.github.com/anonymous/7837036
The code snippet which is producing the bug:
GLuint texture = 0;
glGenTextures(1, &texture);
glTextureStorage2DEXT(texture, GL_TEXTURE_2D, 10, GL_RGBA8, 512, 512);
glTextureSubImage2DEXT(texture, GL_TEXTURE_2D, 0, 0, 0, 512, 512, GL_RGBA, GL_UNSIGNED_BYTE, image_buffer);
glGenerateTextureMipmapEXT(texture, GL_TEXTURE_2D);
No errors are captured by glGetError or ARB_debug_output/KHR_debug. Despite this, all mip levels above zero remain blank.
All of the following code snippets while similar do not reproduce this bug: http://pastebin.com/mh73NzyA
Excuse me, why has the status of this been changed to "Assumed Answered?" I can assure you that it has not been answered.
Hi,
I'm not sure how the status of this got changed. We're looking into this but don't have a definite answer at this point. I'll update the thread when we have something more concrete.
Thanks,
Graham
1UP.
Stop messing up guys.