Implement instanced WebGL drawing calls (part of #20791)

This commit is contained in:
Anthony Ramine 2018-03-20 10:11:46 +01:00
parent 0aefffc5bf
commit 4e6eea221a
12 changed files with 432 additions and 125 deletions

View file

@ -0,0 +1,26 @@
[angle-instanced-arrays-out-of-bounds.html]
bug: https://github.com/servo/servo/issues/20599
[WebGL test #175: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 1)]
expected: FAIL
[WebGL test #178: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 1)]
expected: FAIL
[WebGL test #180: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 2)]
expected: FAIL
[WebGL test #182: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 4)]
expected: FAIL
[WebGL test #183: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 10000)]
expected: FAIL
[WebGL test #184: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 0x7fffffff)]
expected: FAIL
[WebGL test #186: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 3)]
expected: FAIL
[WebGL test #188: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 5)]
expected: FAIL

View file

@ -113,159 +113,150 @@
[WebGL test #37: Property either does not exist or is not a function: vertexAttribIPointer]
expected: FAIL
[WebGL test #38: Property either does not exist or is not a function: vertexAttribDivisor]
[WebGL test #38: Property either does not exist or is not a function: drawRangeElements]
expected: FAIL
[WebGL test #39: Property either does not exist or is not a function: drawArraysInstanced]
[WebGL test #39: Property either does not exist or is not a function: drawBuffers]
expected: FAIL
[WebGL test #40: Property either does not exist or is not a function: drawElementsInstanced]
[WebGL test #40: Property either does not exist or is not a function: clearBufferiv]
expected: FAIL
[WebGL test #41: Property either does not exist or is not a function: drawRangeElements]
[WebGL test #41: Property either does not exist or is not a function: clearBufferuiv]
expected: FAIL
[WebGL test #42: Property either does not exist or is not a function: drawBuffers]
[WebGL test #42: Property either does not exist or is not a function: clearBufferfv]
expected: FAIL
[WebGL test #43: Property either does not exist or is not a function: clearBufferiv]
[WebGL test #43: 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: clearBufferuiv]
[WebGL test #44: Property either does not exist or is not a function: createQuery]
expected: FAIL
[WebGL test #45: Property either does not exist or is not a function: clearBufferfv]
[WebGL test #45: Property either does not exist or is not a function: deleteQuery]
expected: FAIL
[WebGL test #46: Property either does not exist or is not a function: clearBufferfi]
[WebGL test #46: Property either does not exist or is not a function: isQuery]
expected: FAIL
[WebGL test #47: Property either does not exist or is not a function: createQuery]
[WebGL test #47: Property either does not exist or is not a function: beginQuery]
expected: FAIL
[WebGL test #48: Property either does not exist or is not a function: deleteQuery]
[WebGL test #48: Property either does not exist or is not a function: endQuery]
expected: FAIL
[WebGL test #49: Property either does not exist or is not a function: isQuery]
[WebGL test #49: Property either does not exist or is not a function: getQuery]
expected: FAIL
[WebGL test #50: Property either does not exist or is not a function: beginQuery]
[WebGL test #50: Property either does not exist or is not a function: getQueryParameter]
expected: FAIL
[WebGL test #51: Property either does not exist or is not a function: endQuery]
[WebGL test #51: Property either does not exist or is not a function: createSampler]
expected: FAIL
[WebGL test #52: Property either does not exist or is not a function: getQuery]
[WebGL test #52: Property either does not exist or is not a function: deleteSampler]
expected: FAIL
[WebGL test #53: Property either does not exist or is not a function: getQueryParameter]
[WebGL test #53: Property either does not exist or is not a function: isSampler]
expected: FAIL
[WebGL test #54: Property either does not exist or is not a function: createSampler]
[WebGL test #54: Property either does not exist or is not a function: bindSampler]
expected: FAIL
[WebGL test #55: Property either does not exist or is not a function: deleteSampler]
[WebGL test #55: Property either does not exist or is not a function: samplerParameteri]
expected: FAIL
[WebGL test #56: Property either does not exist or is not a function: isSampler]
[WebGL test #56: Property either does not exist or is not a function: samplerParameterf]
expected: FAIL
[WebGL test #57: Property either does not exist or is not a function: bindSampler]
[WebGL test #57: Property either does not exist or is not a function: getSamplerParameter]
expected: FAIL
[WebGL test #58: Property either does not exist or is not a function: samplerParameteri]
[WebGL test #58: Property either does not exist or is not a function: fenceSync]
expected: FAIL
[WebGL test #59: Property either does not exist or is not a function: samplerParameterf]
[WebGL test #59: Property either does not exist or is not a function: isSync]
expected: FAIL
[WebGL test #60: Property either does not exist or is not a function: getSamplerParameter]
[WebGL test #60: Property either does not exist or is not a function: deleteSync]
expected: FAIL
[WebGL test #61: Property either does not exist or is not a function: fenceSync]
[WebGL test #61: Property either does not exist or is not a function: clientWaitSync]
expected: FAIL
[WebGL test #62: Property either does not exist or is not a function: isSync]
[WebGL test #62: Property either does not exist or is not a function: waitSync]
expected: FAIL
[WebGL test #63: Property either does not exist or is not a function: deleteSync]
[WebGL test #63: Property either does not exist or is not a function: getSyncParameter]
expected: FAIL
[WebGL test #64: Property either does not exist or is not a function: clientWaitSync]
[WebGL test #64: Property either does not exist or is not a function: createTransformFeedback]
expected: FAIL
[WebGL test #65: Property either does not exist or is not a function: waitSync]
[WebGL test #65: Property either does not exist or is not a function: deleteTransformFeedback]
expected: FAIL
[WebGL test #66: Property either does not exist or is not a function: getSyncParameter]
[WebGL test #66: Property either does not exist or is not a function: isTransformFeedback]
expected: FAIL
[WebGL test #67: Property either does not exist or is not a function: createTransformFeedback]
[WebGL test #67: Property either does not exist or is not a function: bindTransformFeedback]
expected: FAIL
[WebGL test #68: Property either does not exist or is not a function: deleteTransformFeedback]
[WebGL test #68: Property either does not exist or is not a function: beginTransformFeedback]
expected: FAIL
[WebGL test #69: Property either does not exist or is not a function: isTransformFeedback]
[WebGL test #69: Property either does not exist or is not a function: endTransformFeedback]
expected: FAIL
[WebGL test #70: Property either does not exist or is not a function: bindTransformFeedback]
[WebGL test #70: Property either does not exist or is not a function: transformFeedbackVaryings]
expected: FAIL
[WebGL test #71: Property either does not exist or is not a function: beginTransformFeedback]
[WebGL test #71: Property either does not exist or is not a function: getTransformFeedbackVarying]
expected: FAIL
[WebGL test #72: Property either does not exist or is not a function: endTransformFeedback]
[WebGL test #72: Property either does not exist or is not a function: pauseTransformFeedback]
expected: FAIL
[WebGL test #73: Property either does not exist or is not a function: transformFeedbackVaryings]
[WebGL test #73: Property either does not exist or is not a function: resumeTransformFeedback]
expected: FAIL
[WebGL test #74: Property either does not exist or is not a function: getTransformFeedbackVarying]
[WebGL test #74: Property either does not exist or is not a function: bindBufferBase]
expected: FAIL
[WebGL test #75: Property either does not exist or is not a function: pauseTransformFeedback]
[WebGL test #75: Property either does not exist or is not a function: bindBufferRange]
expected: FAIL
[WebGL test #76: Property either does not exist or is not a function: resumeTransformFeedback]
[WebGL test #76: Property either does not exist or is not a function: getIndexedParameter]
expected: FAIL
[WebGL test #77: Property either does not exist or is not a function: bindBufferBase]
[WebGL test #77: Property either does not exist or is not a function: getUniformIndices]
expected: FAIL
[WebGL test #78: Property either does not exist or is not a function: bindBufferRange]
[WebGL test #78: Property either does not exist or is not a function: getActiveUniforms]
expected: FAIL
[WebGL test #79: Property either does not exist or is not a function: getIndexedParameter]
[WebGL test #79: Property either does not exist or is not a function: getUniformBlockIndex]
expected: FAIL
[WebGL test #80: Property either does not exist or is not a function: getUniformIndices]
[WebGL test #80: Property either does not exist or is not a function: getActiveUniformBlockParameter]
expected: FAIL
[WebGL test #81: Property either does not exist or is not a function: getActiveUniforms]
[WebGL test #81: Property either does not exist or is not a function: getActiveUniformBlockName]
expected: FAIL
[WebGL test #82: Property either does not exist or is not a function: getUniformBlockIndex]
[WebGL test #82: Property either does not exist or is not a function: uniformBlockBinding]
expected: FAIL
[WebGL test #83: Property either does not exist or is not a function: getActiveUniformBlockParameter]
[WebGL test #83: Property either does not exist or is not a function: createVertexArray]
expected: FAIL
[WebGL test #84: Property either does not exist or is not a function: getActiveUniformBlockName]
[WebGL test #84: Property either does not exist or is not a function: deleteVertexArray]
expected: FAIL
[WebGL test #85: Property either does not exist or is not a function: uniformBlockBinding]
[WebGL test #85: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #86: Property either does not exist or is not a function: createVertexArray]
expected: FAIL
[WebGL test #87: Property either does not exist or is not a function: deleteVertexArray]
expected: FAIL
[WebGL test #88: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #89: Property either does not exist or is not a function: bindVertexArray]
[WebGL test #86: Property either does not exist or is not a function: bindVertexArray]
expected: FAIL

View file

@ -1,53 +0,0 @@
[instanced-arrays.html]
expected: ERROR
[WebGL test #2: Default divisor of vertex attribute 0 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #3: Default divisor of vertex attribute 1 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #4: Default divisor of vertex attribute 2 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #5: Default divisor of vertex attribute 3 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #6: Default divisor of vertex attribute 4 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #7: Default divisor of vertex attribute 5 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #8: Default divisor of vertex attribute 6 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #9: Default divisor of vertex attribute 7 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #10: Default divisor of vertex attribute 8 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #11: Default divisor of vertex attribute 9 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #12: Default divisor of vertex attribute 10 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #13: Default divisor of vertex attribute 11 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #14: Default divisor of vertex attribute 12 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #15: Default divisor of vertex attribute 13 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #16: Default divisor of vertex attribute 14 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #17: Default divisor of vertex attribute 15 should be: 0, returned value was: null]
expected: FAIL
[WebGL test #18: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL