Add support for WebGL2 clear buffer operations

Adds support for the following WebGL2 methods:

- `clearBufferfv`
- `clearBufferiv`
- `clearBufferuiv`
- `clearBufferfi`

See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.11
This commit is contained in:
Mátyás Mustoha 2020-02-18 12:13:59 +01:00
parent 92f5b36f49
commit 8701d45715
10 changed files with 217 additions and 127 deletions

View file

@ -1,91 +1,4 @@
[methods-2.html]
[WebGL test #11: Property either does not exist or is not a function: compressedTexSubImage3D]
expected: FAIL
[WebGL test #8: Property either does not exist or is not a function: texSubImage3D]
expected: FAIL
[WebGL test #28: Property either does not exist or is not a function: bindVertexArray]
expected: FAIL
[WebGL test #14: Property either does not exist or is not a function: vertexAttribI4iv]
expected: FAIL
[WebGL test #23: Property either does not exist or is not a function: clearBufferfi]
expected: FAIL
[WebGL test #15: Property either does not exist or is not a function: vertexAttribI4ui]
expected: FAIL
[WebGL test #27: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #20: Property either does not exist or is not a function: clearBufferiv]
expected: FAIL
[WebGL test #22: Property either does not exist or is not a function: clearBufferfv]
expected: FAIL
[WebGL test #6: Property either does not exist or is not a function: texStorage2D]
expected: FAIL
[WebGL test #1: Property either does not exist or is not a function: blitFramebuffer]
expected: FAIL
[WebGL test #13: Property either does not exist or is not a function: vertexAttribI4i]
expected: FAIL
[WebGL test #5: Property either does not exist or is not a function: texImage3D]
expected: FAIL
[WebGL test #21: Property either does not exist or is not a function: clearBufferuiv]
expected: FAIL
[WebGL test #26: Property either does not exist or is not a function: deleteVertexArray]
expected: FAIL
[WebGL test #4: Property either does not exist or is not a function: renderbufferStorageMultisample]
expected: FAIL
[WebGL test #19: Property either does not exist or is not a function: drawBuffers]
expected: FAIL
[WebGL test #10: Property either does not exist or is not a function: compressedTexImage3D]
expected: FAIL
[WebGL test #7: Property either does not exist or is not a function: texStorage3D]
expected: FAIL
[WebGL test #16: Property either does not exist or is not a function: vertexAttribI4uiv]
expected: FAIL
[WebGL test #18: Property either does not exist or is not a function: drawRangeElements]
expected: FAIL
[WebGL test #9: Property either does not exist or is not a function: copyTexSubImage3D]
expected: FAIL
[WebGL test #0: Property either does not exist or is not a function: isContextLost]
expected: FAIL
[WebGL test #17: Property either does not exist or is not a function: vertexAttribIPointer]
expected: FAIL
[WebGL test #24: Property either does not exist or is not a function: getIndexedParameter]
expected: FAIL
[WebGL test #2: Property either does not exist or is not a function: getInternalformatParameter]
expected: FAIL
[WebGL test #25: Property either does not exist or is not a function: createVertexArray]
expected: FAIL
[WebGL test #3: Property either does not exist or is not a function: readBuffer]
expected: FAIL
[WebGL test #12: Property either does not exist or is not a function: getFragDataLocation]
expected: FAIL
[WebGL test #16: Property either does not exist or is not a function: vertexAttribI4i]
expected: FAIL
@ -107,16 +20,13 @@
[WebGL test #4: Property either does not exist or is not a function: invalidateFramebuffer]
expected: FAIL
[WebGL test #30: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #7: Property either does not exist or is not a function: renderbufferStorageMultisample]
expected: FAIL
[WebGL test #10: Property either does not exist or is not a function: texStorage3D]
expected: FAIL
[WebGL test #29: Property either does not exist or is not a function: deleteVertexArray]
[WebGL test #1: Property either does not exist or is not a function: blitFramebuffer]
expected: FAIL
[WebGL test #11: Property either does not exist or is not a function: texSubImage3D]
@ -125,19 +35,22 @@
[WebGL test #20: Property either does not exist or is not a function: vertexAttribIPointer]
expected: FAIL
[WebGL test #27: Property either does not exist or is not a function: getIndexedParameter]
[WebGL test #25: Property either does not exist or is not a function: deleteVertexArray]
expected: FAIL
[WebGL test #23: Property either does not exist or is not a function: getIndexedParameter]
expected: FAIL
[WebGL test #26: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #3: Property either does not exist or is not a function: getInternalformatParameter]
expected: FAIL
[WebGL test #23: Property either does not exist or is not a function: clearBufferiv]
expected: FAIL
[WebGL test #21: Property either does not exist or is not a function: drawRangeElements]
expected: FAIL
[WebGL test #26: Property either does not exist or is not a function: clearBufferfi]
[WebGL test #27: Property either does not exist or is not a function: bindVertexArray]
expected: FAIL
[WebGL test #13: Property either does not exist or is not a function: compressedTexImage3D]
@ -152,18 +65,15 @@
[WebGL test #8: Property either does not exist or is not a function: texImage3D]
expected: FAIL
[WebGL test #28: Property either does not exist or is not a function: createVertexArray]
expected: FAIL
[WebGL test #25: Property either does not exist or is not a function: clearBufferfv]
expected: FAIL
[WebGL test #24: Property either does not exist or is not a function: clearBufferuiv]
[WebGL test #0: Property either does not exist or is not a function: isContextLost]
expected: FAIL
[WebGL test #9: Property either does not exist or is not a function: texStorage2D]
expected: FAIL
[WebGL test #24: Property either does not exist or is not a function: createVertexArray]
expected: FAIL
[WebGL test #6: Property either does not exist or is not a function: readBuffer]
expected: FAIL
@ -173,6 +83,3 @@
[WebGL test #14: Property either does not exist or is not a function: compressedTexSubImage3D]
expected: FAIL
[WebGL test #31: Property either does not exist or is not a function: bindVertexArray]
expected: FAIL