You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function ScissorArrayvOES() added by OES_viewport_array is missing this entry in its error section/listing:
"An INVALID_VALUE error is generated if is negative."
This should probably be added to make it consistent with ViewportArrayvOES() and DepthRangeArrayfvOES(). Also, this error message as used to describe ViewportArrayvOES() has an unnecessary '>' character at the end.
The text was updated successfully, but these errors were encountered:
It's been noted that in section 2.3 - Command Execution (OpenGL ES 3.2 Specification), there is a general error called out for all negative values provided to sizei parameters:
If a negative number is provided where an argument of type sizei or
sizeiptr is specified, an INVALID_VALUE error is generated.
So technically the error is there, it's just not called out. We're raising a bug internally to try to resolve this inconsistency.
Although it took a while, we did address the missing sizei < 0 error (which was quite widespread) in the core specs. While it would be nice to eventually do this in the separate extension documents, it's a huge amount of tedious work of limited benefit; if you were to propose a PR matching the error in the GL 4.6 spec in this specific case (or as many cases in different extensions as you had energy for), we are open to it, otherwise it isn't going to happen anytime soon.
The function ScissorArrayvOES() added by OES_viewport_array is missing this entry in its error section/listing:
"An INVALID_VALUE error is generated if is negative."
This should probably be added to make it consistent with ViewportArrayvOES() and DepthRangeArrayfvOES(). Also, this error message as used to describe ViewportArrayvOES() has an unnecessary '>' character at the end.
The text was updated successfully, but these errors were encountered: