I am trying to port a geometry shader back into an OpenGL 2.1 (GLSL 1.2) vertex shader. After having replaced all code the compiler complained about, it gave me another error:
Too many vertex shader texture samplers
So I queried GL for the allowed maximum and this what I got:
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0 GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB: 0
This probably means that there are no textures allowed in the vertex shader.
Is this only a limitation of my hardware/driver or is it required by OpenGL2.1/GLSL1.2?