PDA

View Full Version : SAMPLER_2D type for glGetActiveUniform on geforce?



valoh
05-21-2004, 02:40 AM
on a Geforce Quadro FX3000 with driver version 56.72 and the glsl registry hack, glGetActiveUniform returns following values for samplers:

sampler1D - type: 0x8B5D
sampler2D - type: 0x8B5E
sampler3D - type: 0x8B5F
samplerCube - type: 0x8B60

According to the arb spec it should be GL_INT. So I guess this is also a nvidia "improvement" to standard glsl.
I have read that sampler type tags will be added to the official arb spec. When will that happen, and will it be the same tags as nvidia currently use?
And after reading the Tom\'s GLSL new demo (http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=11;t=000140) thread it's still not quite clear to me how to enforce strict glsl compatibility. Where do I get nvemulate, or are there other possibilites (registry? preprocessor defines?) to enforce glsl compatibility?

And last but not least: when will nvidia officially support glsl in their drivers?

Corrail
05-21-2004, 04:03 AM
There will be a GLSL update where some minor changes will be done to the specification. One of them will be seperate sampler definitions for uniforms so that these functions don't return GL_INT. So I think the 56.72 driver has already included that.

AFIAK NVemulate is available to registered developers only.

I think nVidia will officially support GLSL with their ForceWare 60 series drivers. But I don't know when they will come out.

valoh
05-21-2004, 04:48 AM
Originally posted by Corrail:
There will be a GLSL update where some minor changes will be done to the specification. One of them will be seperate sampler definitions for uniforms so that these functions don't return GL_INT. So I think the 56.72 driver has already included that.
Yeah I know, but I was interested in some hard facts about when and what exactly will be changed ;)

Tom Nuydens
05-21-2004, 05:22 AM
IIRC version 61.12 exposes GLSL support without using NVemulate.

-- Tom

Corrail
05-21-2004, 05:40 AM
Originally posted by valoh:
Yeah I know, but I was interested in some hard facts about when and what exactly will be changed ;) I don't know! I'm impatiently waiting for any documents or news too! ;)



IIRC version 61.12 exposes GLSL support without using NVemulate.
Yes, you are correct. But I don't know if the 61.12 driver will be available for non-developer.