In OpenGL Superbible 5th and 6th editions (maybe others too), at the Uniform Buffer Objects part, it says this:
There is fixed maximum number of
uniform blocks that can be used by a single program, and a maximum number that can
be used in any given shader stage. You can find these limits by calling glGetIntegerv
with the GL_MAX_UNIFORM_BUFFERS parameter (for the total per program) and either
GL_MAX_VERTEX_UNIFORM_BUFFERS, GL_MAX_GEOMETRY_UNIFORM_BUFFERS, or GL_MAX_
FRAGMENT_UNIFORM_BUFFERS for the vertex, geometry, and fragment shader limits, respec-
tively.
I cannot seem to find these macro definitions anywhere in the “GL/” headers, nor in the Khronos documentations, nor in any search engines.
Is this some deprecated thing, or an editorial error that survived multiple editions of the book, or am I missing something (less?) obvious detail while trying to find it?