Update webgl conformance tests (#33121)

* Update python -> python3 for helper script.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Update webgl conformance testsuite patches.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Import WebGL conformance testsuite for August 19, 2024.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Update expected results.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Track the commit used for webgl conformance test import.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2024-11-03 23:27:29 -05:00 committed by GitHub
parent e64831d68a
commit 5d1d3d6b5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4060 changed files with 100141 additions and 90094 deletions

View file

@ -2,7 +2,6 @@
bug: https://github.com/servo/servo/issues/20599 https://github.com/servo/servo/issues/25990
expected:
if os == "mac": CRASH
[WebGL test #32: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 0, gl.UNSIGNED_BYTE, 0, 1)]
expected: FAIL
@ -30,3 +29,23 @@
[WebGL test #174: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 10000)]
expected: FAIL
[WebGL test #162: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 1)]
expected: FAIL
[WebGL test #165: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 1)]
expected: FAIL
[WebGL test #167: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 2)]
expected: FAIL
[WebGL test #169: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 4)]
expected: FAIL
[WebGL test #170: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 10000)]
expected: FAIL
[WebGL test #172: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 3)]
expected: FAIL
[WebGL test #174: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 5)]
expected: FAIL

View file

@ -0,0 +1,45 @@
[ext-color-buffer-half-float.html]
[WebGL test #19: getError expected: NO_ERROR. Was INVALID_OPERATION : readPixels from floating-point framebuffer should succeed]
expected: FAIL
[WebGL test #20: readPixels of float-type data from floating-point framebuffer failed: expected [1000, 1000, 1000, 1000\], got [0, 0, 0, 0\]]
expected: FAIL
[WebGL test #26: getError expected: NO_ERROR. Was INVALID_OPERATION : readPixels from floating-point framebuffer should succeed]
expected: FAIL
[WebGL test #27: readPixels of float-type data from floating-point framebuffer failed: expected [1000, 1000, 1000, 1\], got [0, 0, 0, 0\]]
expected: FAIL
[WebGL test #39: getError expected: NO_ERROR. Was INVALID_OPERATION : readPixels from floating-point framebuffer should succeed]
expected: FAIL
[WebGL test #40: readPixels of float-type data from floating-point framebuffer failed: expected [1000, 1000, 1000, 1000\], got [0, 0, 0, 0\]]
expected: FAIL
[WebGL test #46: getError expected: NO_ERROR. Was INVALID_OPERATION : readPixels from floating-point framebuffer should succeed]
expected: FAIL
[WebGL test #47: readPixels of float-type data from floating-point framebuffer failed: expected [1000, 1000, 1000, 1\], got [0, 0, 0, 0\]]
expected: FAIL
[WebGL test #94: gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, ext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) should be 35863 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #95: gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, ext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) should be 5126 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #96: getError expected: NO_ERROR. Was INVALID_ENUM : No errors after valid renderbuffer attachment queries.]
expected: FAIL
[WebGL test #99: getError expected: INVALID_OPERATION. Was INVALID_ENUM : Component type query is not allowed for combined depth-stencil attachments.]
expected: FAIL
[WebGL test #100: gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, ext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) should be 35863 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #101: gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, ext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) should be 5126 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #102: getError expected: NO_ERROR. Was INVALID_ENUM : No errors after valid texture attachment queries.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[ext-float-blend.html]
[WebGL test #2: getError expected: INVALID_OPERATION. Was NO_ERROR : Float32 blending is not allowed ]
expected: FAIL
[WebGL test #4: getError expected: INVALID_OPERATION. Was NO_ERROR : Float32 blending is not allowed ]
expected: FAIL

View file

@ -0,0 +1,48 @@
[oes-texture-float.html]
[WebGL test #75: getError expected: NO_ERROR. Was INVALID_OPERATION : readPixels should return NO_ERROR when reading FLOAT data.]
expected: FAIL
[WebGL test #77: Green channel should be 0.25 for FLOAT readPixels. Received: 0]
expected: FAIL
[WebGL test #78: Blue channel should be 0.5 for FLOAT readPixels. Received: 0]
expected: FAIL
[WebGL test #79: Alpha channel should be 0.75 for FLOAT readPixels. Received: 0]
expected: FAIL
[WebGL test #84: getError expected: NO_ERROR. Was INVALID_OPERATION : readPixels should return NO_ERROR when reading FLOAT data.]
expected: FAIL
[WebGL test #86: Green channel should be 0.25 for FLOAT readPixels. Received: 0]
expected: FAIL
[WebGL test #87: Blue channel should be 0.5 for FLOAT readPixels. Received: 0]
expected: FAIL
[WebGL test #88: Alpha channel should be 1 for FLOAT readPixels. Received: 0]
expected: FAIL
[WebGL test #94: gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, ext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) should be 35863 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #95: gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, ext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) should be 5126 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #96: getError expected: NO_ERROR. Was INVALID_ENUM : No errors after valid renderbuffer attachment queries.]
expected: FAIL
[WebGL test #99: getError expected: INVALID_OPERATION. Was INVALID_ENUM : Component type query is not allowed for combined depth-stencil attachments.]
expected: FAIL
[WebGL test #100: gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, ext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) should be 35863 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #101: gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, ext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT) should be 5126 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #102: getError expected: NO_ERROR. Was INVALID_ENUM : No errors after valid texture attachment queries.]
expected: FAIL
[WebGL test #105: getError expected: INVALID_OPERATION. Was NO_ERROR : Float32 blending is not allowed ]
expected: FAIL

View file

@ -0,0 +1,24 @@
[oes-vertex-array-object.html]
[WebGL test #64: References from unbound VAOs don't keep Position buffer alive.]
expected: FAIL
[WebGL test #65: References from unbound VAOs don't keep Color buffer alive]
expected: FAIL
[WebGL test #67: References from unbound VAOs don't keep Position buffer alive.]
expected: FAIL
[WebGL test #68: References from unbound VAOs don't keep Color buffer alive]
expected: FAIL
[WebGL test #70: References from unbound VAOs don't keep Position buffer alive.]
expected: FAIL
[WebGL test #71: References from unbound VAOs don't keep Color buffer alive]
expected: FAIL
[WebGL test #73: References from unbound VAOs don't keep Position buffer alive.]
expected: FAIL
[WebGL test #74: References from unbound VAOs don't keep Color buffer alive]
expected: FAIL

View file

@ -0,0 +1,24 @@
[s3tc-and-rgtc.html]
[WebGL test #49: getError expected: INVALID_OPERATION. Was NO_ERROR : invalid dimensions for level > 0]
expected: FAIL
[WebGL test #51: getError expected: INVALID_OPERATION. Was NO_ERROR : invalid dimensions for level > 0]
expected: FAIL
[WebGL test #148: getError expected: INVALID_OPERATION. Was NO_ERROR : invalid dimensions for level > 0]
expected: FAIL
[WebGL test #150: getError expected: INVALID_OPERATION. Was NO_ERROR : invalid dimensions for level > 0]
expected: FAIL
[WebGL test #247: getError expected: INVALID_OPERATION. Was NO_ERROR : invalid dimensions for level > 0]
expected: FAIL
[WebGL test #249: getError expected: INVALID_OPERATION. Was NO_ERROR : invalid dimensions for level > 0]
expected: FAIL
[WebGL test #346: getError expected: INVALID_OPERATION. Was NO_ERROR : invalid dimensions for level > 0]
expected: FAIL
[WebGL test #348: getError expected: INVALID_OPERATION. Was NO_ERROR : invalid dimensions for level > 0]
expected: FAIL

View file

@ -0,0 +1,81 @@
[webgl-blend-func-extended.html]
[WebGL test #4: getError expected: INVALID_ENUM. Was NO_ERROR : SRC_ALPHA_SATURATE not accepted as blendFunc dfactor]
expected: FAIL
[WebGL test #5: getError expected: INVALID_ENUM. Was NO_ERROR : SRC_ALPHA_SATURATE not accepted as blendFuncSeparate dstRGB]
expected: FAIL
[WebGL test #6: getError expected: INVALID_ENUM. Was NO_ERROR : SRC_ALPHA_SATURATE not accepted as blendFuncSeparate dstAlpha]
expected: FAIL
[WebGL test #8: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_COLOR_WEBGL not accepted as blendFunc sfactor]
expected: FAIL
[WebGL test #9: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_COLOR_WEBGL not accepted as blendFunc dfactor]
expected: FAIL
[WebGL test #10: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_COLOR_WEBGL not accepted as blendFuncSeparate srcRGB]
expected: FAIL
[WebGL test #11: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_COLOR_WEBGL not accepted as blendFuncSeparate dstRGB]
expected: FAIL
[WebGL test #12: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_COLOR_WEBGL not accepted as blendFuncSeparate srcAlpha]
expected: FAIL
[WebGL test #13: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_COLOR_WEBGL not accepted as blendFuncSeparate dstAlpha]
expected: FAIL
[WebGL test #15: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_ALPHA_WEBGL not accepted as blendFunc sfactor]
expected: FAIL
[WebGL test #16: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_ALPHA_WEBGL not accepted as blendFunc dfactor]
expected: FAIL
[WebGL test #17: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_ALPHA_WEBGL not accepted as blendFuncSeparate srcRGB]
expected: FAIL
[WebGL test #18: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_ALPHA_WEBGL not accepted as blendFuncSeparate dstRGB]
expected: FAIL
[WebGL test #19: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_ALPHA_WEBGL not accepted as blendFuncSeparate srcAlpha]
expected: FAIL
[WebGL test #20: getError expected: INVALID_ENUM. Was NO_ERROR : SRC1_ALPHA_WEBGL not accepted as blendFuncSeparate dstAlpha]
expected: FAIL
[WebGL test #22: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_COLOR_WEBGL not accepted as blendFunc sfactor]
expected: FAIL
[WebGL test #23: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_COLOR_WEBGL not accepted as blendFunc dfactor]
expected: FAIL
[WebGL test #24: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_COLOR_WEBGL not accepted as blendFuncSeparate srcRGB]
expected: FAIL
[WebGL test #25: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_COLOR_WEBGL not accepted as blendFuncSeparate dstRGB]
expected: FAIL
[WebGL test #26: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_COLOR_WEBGL not accepted as blendFuncSeparate srcAlpha]
expected: FAIL
[WebGL test #27: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_COLOR_WEBGL not accepted as blendFuncSeparate dstAlpha]
expected: FAIL
[WebGL test #29: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_ALPHA_WEBGL not accepted as blendFunc sfactor]
expected: FAIL
[WebGL test #30: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_ALPHA_WEBGL not accepted as blendFunc dfactor]
expected: FAIL
[WebGL test #31: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_ALPHA_WEBGL not accepted as blendFuncSeparate srcRGB]
expected: FAIL
[WebGL test #32: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_ALPHA_WEBGL not accepted as blendFuncSeparate dstRGB]
expected: FAIL
[WebGL test #33: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_ALPHA_WEBGL not accepted as blendFuncSeparate srcAlpha]
expected: FAIL
[WebGL test #34: getError expected: INVALID_ENUM. Was NO_ERROR : ONE_MINUS_SRC1_ALPHA_WEBGL not accepted as blendFuncSeparate dstAlpha]
expected: FAIL