Add initial support for VertexAttribI4*, VertexAttribIPointer

Adds initial support for the WebGL2 `VertexAttribI4i`, `VertexAttribI4iv`, `VertexAttribI4ui`, `VertexAttribI4uiv` and `VertexAttribIPointer` calls.
This commit is contained in:
Istvan 2020-03-27 15:56:19 +01:00 committed by Josh Matthews
parent 5a26190fc9
commit 62f00df79d
17 changed files with 290 additions and 53 deletions

View file

@ -1,5 +1,13 @@
[gl-vertex-attrib-i-render.html]
expected: ERROR
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
[WebGL test #1: Attribute of vertexAttribI4ui was not set correctly]
expected: FAIL
[WebGL test #2: Attribute of vertexAttribI4iv was not set correctly]
expected: FAIL
[WebGL test #0: Attribute of vertexAttribI4i was not set correctly]
expected: FAIL
[WebGL test #3: Attribute of vertexAttribI4uiv was not set correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[gl-vertex-attrib.html]
expected: ERROR
[WebGL test #61: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,5 +0,0 @@
[gl-vertexattribipointer-offsets.html]
expected: ERROR
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,5 +0,0 @@
[gl-vertexattribipointer.html]
expected: ERROR
[WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,5 +1,7 @@
[get-buffer-sub-data-validity.html]
expected: ERROR
[Overall test]
expected: NOTRUN
[WebGL test #17: areArraysEqual(dest, srcData) should be true. Was false.]
expected: FAIL
[WebGL test #16: getError expected: NO_ERROR. Was INVALID_OPERATION : after evaluating: gl.getBufferSubData(gl.COPY_WRITE_BUFFER, 0, dest)]
expected: FAIL

View file

@ -1,5 +1,16 @@
[attrib-type-match.html]
expected: ERROR
[WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
[WebGL test #78: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #80: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #82: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #63: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #61: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL

View file

@ -11,3 +11,9 @@
[WebGL test #18: should be 0,255,0,255\nat (1, 0) expected: 0,255,0,255 was 0,0,255,255]
expected: FAIL
[WebGL test #27: getError expected: NO_ERROR. Was INVALID_OPERATION : after drawing]
expected: FAIL
[WebGL test #58: getError expected: NO_ERROR. Was INVALID_OPERATION : after drawing]
expected: FAIL

View file

@ -1,5 +1,5 @@
[gl-object-get-calls.html]
expected: ERROR
expected: TIMEOUT
[WebGL test #257: getError expected: NO_ERROR. Was INVALID_OPERATION : ]
expected: FAIL

View file

@ -0,0 +1,13 @@
[vertex-array-object.html]
[WebGL test #30: getError expected: NO_ERROR. Was INVALID_OPERATION : Draw call should not fail.]
expected: FAIL
[WebGL test #28: getError expected: NO_ERROR. Was INVALID_OPERATION : Draw call should not fail.]
expected: FAIL
[WebGL test #29: getError expected: NO_ERROR. Was INVALID_OPERATION : Draw call should not fail.]
expected: FAIL
[WebGL test #33: getError expected: NO_ERROR. Was INVALID_OPERATION : there should be no errors]
expected: FAIL