Enhance CTS for missing VAO bindings
Closed this issue · 0 comments
lexaknyazev commented
From WebGL 1.0, Section 6.2:
If a vertex attribute is enabled as an array via
enableVertexAttribArray
but no buffer is bound to that attribute (generally viabindBuffer
andvertexAttribPointer
), then draw commands (drawArrays
ordrawElements
) will generate anINVALID_OPERATION
error.
The CTS should check that all draw commands enforce this condition: drawArrays
, drawElements
, drawArraysInstancedANGLE
, drawElementsInstancedANGLE
, drawArraysInstanced
, drawElementsInstanced
, drawRangeElements
, multiDraw*
.