[Public WebGL] Why does the set of pname arguments for which the behavior of getProgramParameter is defined not match GL ES?

Boris Zbarsky [email protected]
Tue Apr 17 19:43:47 PDT 2012


The spec defines the behavior of getProgramParameter for the following 
pnames: DELETE_STATUS, LINK_STATUS, VALIDATE_STATUS, ATTACHED_SHADERS, 
ACTIVE_ATTRIBUTES, ACTIVE_UNIFORMS

GL ES section 6.1.8 defines non-error-generating behavior of 
GetProgramiv for the following pnames: DELETE_STATUS, LINK_STATUS, 
VALIDATE_STATUS, INFO_LOG_LENGTH, ATTACHED_SHADERS, ACTIVE_ATTRIBUTES, 
ACTIVE_ATTRIBUTE_MAX_LENGTH, ACTIVE_UNIFORMS, ACTIVE_UNIFORM_MAX_LENGTH.

At first glance, Gecko allows passing all 9 of the pname values defined 
in GL ES (plus some CURRENT_PROGRAM value that's not in ES at all as far 
as I can tell and should clearly go away).  Is the WebGL spec intending 
to disallow passing INFO_LOG_LENGTH, ACTIVE_ATTRIBUTE_MAX_LENGTH, and 
ACTIVE_UNIFORM_MAX_LENGTH?  If so, it might need to explicitly say so 
somewhere....

-Boris

-----------------------------------------------------------
You are currently subscribed to [email protected]
To unsubscribe, send an email to [email protected] with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------





More information about the public_webgl mailing list