[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




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 public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------