Texture memory usage bug in gDEBugger

Discussion created by smistad on Aug 10, 2011
Latest reply on Jun 5, 2012 by mpfeuti


I have been using gDEBugger a while now, and it seems to me that it sometimes reports wrong size for textures both for OpenGL and OpenCL.

For instance just now I have a texture of dimensions 8192x8192 with GL_RGBA32F, by my calculations it should be more than: 8192*8192*4*4 = 1073741824 bytes = 1 048 576 KB, because there are 12 mimap levels in addition, but gDEBugger reports that it uses 349 526 KB, much lower than the size of the upper level. Is this a bug or is there some magic compression going on here? If it is, will it be fixed any time soon?

Also.. the bug seems to be only on very large 2D and 3D textures. Maybe there is a overflow in the calculations, forgot to use long int maybe?