cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

frax
Journeyman III

GL_MAX_TEXTURE_UNITS

linux driver reports differ from spec

I recently purchased an ATI Radeon HD 5770 GPU. On AMD's website the specs page says that it is supposed to have 40 Texture units. But when I perform the following query in my opengl application:

glGetIntegerv( GL_MAX_TEXTURE_UNITS, &maxtextureunits);

it returns 8 texture units.

Is this an issue with the OpenGL driver on Linux, or have I simply misunderstood the specification? Unfortunately I don't have a windows operating system to compare the results with.

I'm using the Catalyst-9.12 driver, my kernel version is linux-2.6.31,
my processor architecture is amd64, and my linux distribution is gentoo.

Best regards, frax

0 Likes
2 Replies
nou
Exemplar

yes you misunderstood spec. 8 is correct value. it say how much texture you can bind. 40 texture units say that there is 40 units which fetch texel from memory and perform filtration. more texture units faster texturing.

0 Likes
frax
Journeyman III

Ok, thank you for clearing that up for me.

Regards, frax

0 Likes