AnsweredAssumed Answered

AMD Catalyst 13.6 Beta 2 - Bug with glTexStorage2D and glTexSubImage2D

Question asked by mark.chatfield on Jun 24, 2013
Latest reply on Jun 25, 2013 by mark.chatfield

I've got an issue with glTexStorage2D and glTexSubImage2D on the latest beta Catalyst drivers (13.6 Beta 2).

 

The project is available from AMDBug2.zip - Google Drive.

 

Basically the following code to allocate and fill a texture fails:

 

glTexStorage2D(GL_TEXTURE_2D, 1, GL_RGBA8, 32, 32);

glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 32, 32, GL_RGBA, GL_UNSIGNED_BYTE, data);

 

This code works on the Catalyst 13.4 drivers, as well as the latest stable NVIDIA and Intel drivers.

 

It seems if I change the level parameter at all (in either of the calls) everything works as expected.

 

This comes from a very cut down example of a section of code used for generating mipmaps.

Outcomes