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?
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?