cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

burito
Journeyman III

OpenGL Bug Report: glGetIntegerv(GL_TEXTURE_FREE_MEMORY_ATI, &mem) causes crash

I'm trying to port my program at burito/voxel · GitHub to run on AMD GPU's.

GLint mem;

glGetIntegerv(GL_TEXTURE_FREE_MEMORY_ATI, &mem);

Causes a crash.

OS is Windows 7 SP1 64bit. Driver version is 14.6 beta 5/27/2014

This is on an AMD Radeon HD 7970.

I'm doing GL compute stuff on a very large 3D texture, and I can adjust the size of the texture, but I need to know the VRAM in advance so I can compile my shaders with the correct values.

0 Likes