Khronos Public Bugzilla
Bug 853 - Contradicting/misleading documentation in glAttachShader and glUseProgram in ES 2.0
Contradicting/misleading documentation in glAttachShader and glUseProgram in ...
Status: ASSIGNED
Product: OpenGL-ES
Classification: Unclassified
Component: Man Pages & Other Documentation
2.0
All All
: P3 normal
: ---
Assigned To: Graham Sellers
OpenGL ES Work Group email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-17 16:49 PDT by Jonathan Ringstad
Modified: 2013-06-19 15:21 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Ringstad 2013-04-17 16:49:34 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."
Comment 1 Jon Leech 2013-06-19 15:18:00 PDT
Reassign to man page author.
Comment 2 Jon Leech 2013-06-19 15:20:45 PDT
Reassign OpenGL ES bugs in the public Bugzilla to the ES WG Chair so
they'll get more attention.
Comment 3 Jon Leech 2013-06-19 15:21:30 PDT
Woops, sorry. This was correctly assigned to Graham and then got
caught in a batch reassign of other ES bugs. Restoring.