Add VertexArrayObject support for WebGL2

The implementation was already in place for OpenGL ES.
My approach with this patch is to add support for WebGL2 by
sharing the implementation between the WebGL2 and GLES.
This commit is contained in:
Istvan Miklos 2020-03-05 15:51:18 +01:00 committed by Josh Matthews
parent 4b1bb895a3
commit 1b4a3d8987
20 changed files with 815 additions and 371 deletions

View file

@ -1,8 +1,8 @@
[attrib-location-length-limits.html]
[WebGL test #1: getError expected: NO_ERROR. Was INVALID_VALUE : ]
[WebGL test #2: attrib location was -1, should not be]
expected: FAIL
[WebGL test #2: attrib location was -1, should not be]
[WebGL test #1: getError expected: NO_ERROR. Was INVALID_VALUE : ]
expected: FAIL
[WebGL test #3: getError expected: NO_ERROR. Was INVALID_VALUE : ]