Add initial support for WebGL2 uniform buffer functions

Adds initial support for the following WebGL2 calls:

- bindBufferBase
- bindBufferRange
- getUniformIndices
- getUniformBlockIndex
- getActiveUniforms
- getActiveUniformBlockParameter
- getActiveUniformBlockName
- uniformBlockBinding

See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.16
This commit is contained in:
Mátyás Mustoha 2019-11-25 11:09:24 +01:00
parent f8c957dc1b
commit da94f8d0e7
33 changed files with 891 additions and 228 deletions

View file

@ -8,16 +8,10 @@
[WebGL test #28: Property either does not exist or is not a function: uniformMatrix3x4fv]
expected: FAIL
[WebGL test #58: Property either does not exist or is not a function: getActiveUniformBlockName]
expected: FAIL
[WebGL test #49: Property either does not exist or is not a function: pauseTransformFeedback]
expected: FAIL
[WebGL test #33: Property either does not exist or is not a function: vertexAttribI4uiv]
expected: FAIL
[WebGL test #63: Property either does not exist or is not a function: bindVertexArray]
[WebGL test #45: Property either does not exist or is not a function: bindVertexArray]
expected: FAIL
[WebGL test #2: Property either does not exist or is not a function: framebufferTextureLayer]
@ -26,18 +20,12 @@
[WebGL test #15: Property either does not exist or is not a function: getFragDataLocation]
expected: FAIL
[WebGL test #60: Property either does not exist or is not a function: createVertexArray]
[WebGL test #43: 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: invalidateFramebuffer]
expected: FAIL
[WebGL test #45: Property either does not exist or is not a function: beginTransformFeedback]
expected: FAIL
[WebGL test #56: Property either does not exist or is not a function: getUniformBlockIndex]
expected: FAIL
[WebGL test #7: Property either does not exist or is not a function: renderbufferStorageMultisample]
expected: FAIL
@ -47,54 +35,30 @@
[WebGL test #21: Property either does not exist or is not a function: uniform2uiv]
expected: FAIL
[WebGL test #46: Property either does not exist or is not a function: endTransformFeedback]
expected: FAIL
[WebGL test #1: Property either does not exist or is not a function: blitFramebuffer]
expected: FAIL
[WebGL test #55: Property either does not exist or is not a function: getActiveUniforms]
[WebGL test #42: Property either does not exist or is not a function: createVertexArray]
expected: FAIL
[WebGL test #11: Property either does not exist or is not a function: texSubImage3D]
expected: FAIL
[WebGL test #48: Property either does not exist or is not a function: getTransformFeedbackVarying]
[WebGL test #41: Property either does not exist or is not a function: getIndexedParameter]
expected: FAIL
[WebGL test #40: Property either does not exist or is not a function: clearBufferfi]
expected: FAIL
[WebGL test #44: Property either does not exist or is not a function: bindTransformFeedback]
expected: FAIL
[WebGL test #50: Property either does not exist or is not a function: resumeTransformFeedback]
expected: FAIL
[WebGL test #25: Property either does not exist or is not a function: uniformMatrix3x2fv]
expected: FAIL
[WebGL test #3: Property either does not exist or is not a function: getInternalformatParameter]
expected: FAIL
[WebGL test #57: Property either does not exist or is not a function: getActiveUniformBlockParameter]
expected: FAIL
[WebGL test #53: Property either does not exist or is not a function: getIndexedParameter]
expected: FAIL
[WebGL test #61: Property either does not exist or is not a function: deleteVertexArray]
expected: FAIL
[WebGL test #13: Property either does not exist or is not a function: compressedTexImage3D]
expected: FAIL
[WebGL test #51: Property either does not exist or is not a function: bindBufferBase]
expected: FAIL
[WebGL test #54: Property either does not exist or is not a function: getUniformIndices]
expected: FAIL
[WebGL test #27: Property either does not exist or is not a function: uniformMatrix4x2fv]
expected: FAIL
@ -107,18 +71,12 @@
[WebGL test #12: Property either does not exist or is not a function: copyTexSubImage3D]
expected: FAIL
[WebGL test #52: Property either does not exist or is not a function: bindBufferRange]
expected: FAIL
[WebGL test #8: Property either does not exist or is not a function: texImage3D]
expected: FAIL
[WebGL test #18: Property either does not exist or is not a function: uniform3ui]
expected: FAIL
[WebGL test #41: Property either does not exist or is not a function: createTransformFeedback]
expected: FAIL
[WebGL test #0: Property either does not exist or is not a function: isContextLost]
expected: FAIL
@ -128,9 +86,6 @@
[WebGL test #19: Property either does not exist or is not a function: uniform4ui]
expected: FAIL
[WebGL test #47: Property either does not exist or is not a function: transformFeedbackVaryings]
expected: FAIL
[WebGL test #24: Property either does not exist or is not a function: uniformMatrix2x3fv]
expected: FAIL
@ -143,10 +98,7 @@
[WebGL test #17: Property either does not exist or is not a function: uniform2ui]
expected: FAIL
[WebGL test #43: Property either does not exist or is not a function: isTransformFeedback]
expected: FAIL
[WebGL test #59: Property either does not exist or is not a function: uniformBlockBinding]
[WebGL test #44: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #31: Property either does not exist or is not a function: vertexAttribI4iv]
@ -179,54 +131,9 @@
[WebGL test #14: Property either does not exist or is not a function: compressedTexSubImage3D]
expected: FAIL
[WebGL test #62: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #37: Property either does not exist or is not a function: clearBufferiv]
expected: FAIL
[WebGL test #20: Property either does not exist or is not a function: uniform1uiv]
expected: FAIL
[WebGL test #42: Property either does not exist or is not a function: deleteTransformFeedback]
expected: FAIL
[WebGL test #41: Property either does not exist or is not a function: bindBufferBase]
expected: FAIL
[WebGL test #51: Property either does not exist or is not a function: deleteVertexArray]
expected: FAIL
[WebGL test #50: Property either does not exist or is not a function: createVertexArray]
expected: FAIL
[WebGL test #42: Property either does not exist or is not a function: bindBufferRange]
expected: FAIL
[WebGL test #53: Property either does not exist or is not a function: bindVertexArray]
expected: FAIL
[WebGL test #48: Property either does not exist or is not a function: getActiveUniformBlockName]
expected: FAIL
[WebGL test #52: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #46: Property either does not exist or is not a function: getUniformBlockIndex]
expected: FAIL
[WebGL test #49: Property either does not exist or is not a function: uniformBlockBinding]
expected: FAIL
[WebGL test #44: Property either does not exist or is not a function: getUniformIndices]
expected: FAIL
[WebGL test #47: Property either does not exist or is not a function: getActiveUniformBlockParameter]
expected: FAIL
[WebGL test #43: Property either does not exist or is not a function: getIndexedParameter]
expected: FAIL
[WebGL test #45: Property either does not exist or is not a function: getActiveUniforms]
expected: FAIL