Khronos public bugtracker – Bug 853
Contradicting/misleading documentation in glAttachShader and glUseProgram in ES 2.0
Last modified: 2013-06-19 15:21:30 PDT
The manpages for glAttachShader and glUseProgram for OpenGL ES 2.0 appear to contradict eachother:
glAttachShader (http://www.khronos.org/opengles/sdk/docs/man/xhtml/glAttachShader.xml) says
"Multiple shader objects of the same type may not be attached to a single program object."
However, glUseProgram (http://www.khronos.org/opengles/sdk/docs/man/xhtml/glUseProgram.xml) says
"A program object will contain executables that will run on the vertex and fragment processors if it contains one or more shader objects of type GL_VERTEX_SHADER and one or more shader objects of type GL_FRAGMENT_SHADER that have all been successfully compiled and linked."
Reassign to man page author.
Reassign OpenGL ES bugs in the public Bugzilla to the ES WG Chair so
they'll get more attention.
Woops, sorry. This was correctly assigned to Graham and then got
caught in a batch reassign of other ES bugs. Restoring.