how can be decided that a system (VGA + Driver) is supporting gl_PrimitiveID in fragment shader.
The official man says GLSL version 1.50 is needed(gl_PrimitiveID - OpenGL 4 Reference Pages), but it is not correct.
I can use with GLSL 1.40, on intel HD 3000 (OpenGL 3.1).
And the specification says that OpengGL 3.1 support gl_PrimitiveID(https://www.opengl.org/registry/doc/glspec31.20090528.pdf).
Can somebody help me out, how to decide this question, by knowing OpenGL/GLSL version and extensions of a system?