When iterating over the active uniforms in a program (via glGetActiveUniformARB ) I find that the uniform samplers for 1D,2D and 3D textures have unique unknown type identifiers.
Specificialy the type should be one of GL_FLOAT,GL_INT,GL_BOOL etc… but the values that are returned are:
0x8B5D = sampler 1D?
0x8B5E = sampler 2D
0x8B5F = sampler 3D
(possibly others for CUBE and RECT?)
Now since the last identifier names in the spec list are:
GL_FLOAT_MAT2_ARB = 0x8B5A,
GL_FLOAT_MAT3_ARB = 0x8B5B,
GL_FLOAT_MAT4_ARB = 0x8B5C,
These come directly after so it is not just a random value.
So, has the spec been updated so that samplers have their own types (not seen on the web) or is this a driver bug? (Using Nvidia 5200 with leaked 61.12 drivers)