Quantcast
Channel: AMD Developer Forums: Message List
Viewing all articles
Browse latest Browse all 4104

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 4104

Trending Articles