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

@ -0,0 +1,24 @@
[compressed-tex-image.html]
[WebGL test #33: gl.compressedTexImage2D(gl.TEXTURE_2D, 0, ext.COMPRESSED_RGBA_S3TC_DXT5_EXT, 4,4, 0, 16, 0) threw exception TypeError: Value is not an object.]
expected: FAIL
[WebGL test #34: gl.compressedTexImage2D(gl.TEXTURE_2D, 0, ext.COMPRESSED_RGBA_S3TC_DXT5_EXT, 4,4, 0, 16, 1) threw exception TypeError: Value is not an object.]
expected: FAIL
[WebGL test #35: gl.compressedTexImage2D(gl.TEXTURE_2D, 0, ext.COMPRESSED_RGBA_S3TC_DXT5_EXT, 4,4, 0, 16, 16) threw exception TypeError: Value is not an object.]
expected: FAIL
[WebGL test #36: gl.compressedTexImage2D(gl.TEXTURE_2D, 0, ext.COMPRESSED_RGBA_S3TC_DXT5_EXT, 4,4, 0, 16, 17) threw exception TypeError: Value is not an object.]
expected: FAIL
[WebGL test #37: gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0,0, 4,4, ext.COMPRESSED_RGBA_S3TC_DXT5_EXT, 16, 0) threw exception TypeError: Value is not an object.]
expected: FAIL
[WebGL test #38: gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0,0, 4,4, ext.COMPRESSED_RGBA_S3TC_DXT5_EXT, 16, 1) threw exception TypeError: Value is not an object.]
expected: FAIL
[WebGL test #39: gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0,0, 4,4, ext.COMPRESSED_RGBA_S3TC_DXT5_EXT, 16, 16) threw exception TypeError: Value is not an object.]
expected: FAIL
[WebGL test #40: gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0,0, 4,4, ext.COMPRESSED_RGBA_S3TC_DXT5_EXT, 16, 17) threw exception TypeError: Value is not an object.]
expected: FAIL

View file

@ -203,3 +203,119 @@
[WebGL test #114: getError expected: INVALID_ENUM. Was INVALID_OPERATION : copyTexImage2D should fail for bad internalformat DEPTH24_STENCIL8]
expected: FAIL
[WebGL test #22: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat RGBA=>R8]
expected: FAIL
[WebGL test #24: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat RGBA8=>R8]
expected: FAIL
[WebGL test #26: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat RGBA=>RG8]
expected: FAIL
[WebGL test #28: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat RGBA8=>RG8]
expected: FAIL
[WebGL test #30: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat RGBA=>RGB8]
expected: FAIL
[WebGL test #32: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat RGBA8=>RGB8]
expected: FAIL
[WebGL test #34: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat RGBA=>RGBA8]
expected: FAIL
[WebGL test #36: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat RGBA8=>RGBA8]
expected: FAIL
[WebGL test #46: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat SRGB8_ALPHA8=>SRGB8]
expected: FAIL
[WebGL test #48: getError expected: NO_ERROR. Was INVALID_OPERATION : copyTexImage2D should succeed for good internalformat SRGB8_ALPHA8=>SRGB8_ALPHA8]
expected: FAIL
[WebGL test #50: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should succeed for good internalformat RGBA32I=>R32I]
expected: FAIL
[WebGL test #52: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should succeed for good internalformat RGBA32I=>RG32I]
expected: FAIL
[WebGL test #54: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should succeed for good internalformat RGBA32I=>RGB32I]
expected: FAIL
[WebGL test #56: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should succeed for good internalformat RGBA32I=>RGBA32I]
expected: FAIL
[WebGL test #58: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=>R8I]
expected: FAIL
[WebGL test #60: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=>R16I]
expected: FAIL
[WebGL test #62: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=>RG8I]
expected: FAIL
[WebGL test #64: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=>RG16I]
expected: FAIL
[WebGL test #66: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=>RGB8I]
expected: FAIL
[WebGL test #68: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=>RGB16I]
expected: FAIL
[WebGL test #70: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=>RGBA8I]
expected: FAIL
[WebGL test #72: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32I=>RGBA16I]
expected: FAIL
[WebGL test #74: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should succeed for good internalformat RGBA32UI=>R32UI]
expected: FAIL
[WebGL test #76: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should succeed for good internalformat RGBA32UI=>RG32UI]
expected: FAIL
[WebGL test #78: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should succeed for good internalformat RGBA32UI=>RGB32UI]
expected: FAIL
[WebGL test #80: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should succeed for good internalformat RGBA32UI=>RGBA32UI]
expected: FAIL
[WebGL test #82: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>R8UI]
expected: FAIL
[WebGL test #84: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>R16UI]
expected: FAIL
[WebGL test #86: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>RG8UI]
expected: FAIL
[WebGL test #87: checkFramebufferStatus expects [FRAMEBUFFER_COMPLETE\], was FRAMEBUFFER_INCOMPLETE_ATTACHMENT]
expected: FAIL
[WebGL test #88: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>RG16UI]
expected: FAIL
[WebGL test #89: checkFramebufferStatus expects [FRAMEBUFFER_COMPLETE\], was FRAMEBUFFER_INCOMPLETE_ATTACHMENT]
expected: FAIL
[WebGL test #90: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>RGB10_A2UI]
expected: FAIL
[WebGL test #91: checkFramebufferStatus expects [FRAMEBUFFER_COMPLETE\], was FRAMEBUFFER_INCOMPLETE_ATTACHMENT]
expected: FAIL
[WebGL test #92: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>RGB8UI]
expected: FAIL
[WebGL test #93: checkFramebufferStatus expects [FRAMEBUFFER_COMPLETE\], was FRAMEBUFFER_INCOMPLETE_ATTACHMENT]
expected: FAIL
[WebGL test #94: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>RGB16UI]
expected: FAIL
[WebGL test #96: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>RGBA8UI]
expected: FAIL
[WebGL test #98: getError expected: INVALID_OPERATION. Was INVALID_FRAMEBUFFER_OPERATION : copyTexImage2D should fail for good internalformat with unmatched component sizes RGBA32UI=>RGBA16UI]
expected: FAIL

View file

@ -0,0 +1,6 @@
[generate-mipmap-with-large-base-level.html]
[WebGL test #1: getError expected: NO_ERROR. Was INVALID_ENUM : ]
expected: FAIL
[WebGL test #3: getError expected: NO_ERROR. Was INVALID_ENUM : ]
expected: FAIL

File diff suppressed because it is too large Load diff

View file

@ -2,3 +2,6 @@
expected: ERROR
[WebGL test #2: Unable to fetch WebGL rendering context for Canvas]
expected: FAIL
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,2 @@
[tex-image-10bpc.html]
expected: CRASH

View file

@ -17,3 +17,5 @@
[WebGL test #4: getError expected: INVALID_OPERATION. Was NO_ERROR : TexImage2D taking LUMINANCE/LUMINANCE/FLOAT]
expected: FAIL
[WebGL test #6: getError expected one of: INVALID_VALUE or INVALID_OPERATION. Was INVALID_ENUM : TexImage2D taking 0x822a/RED/UNSIGNED_SHORT]
expected: FAIL

View file

@ -30,3 +30,8 @@
[WebGL test #4: getError expected: NO_ERROR. Was INVALID_ENUM : texParameter(TEXTURE_BASE_LEVEL) should succeed]
expected: FAIL
[WebGL test #9: filling partial levels: should draw with [0, 0, 255, 255\]\nat (0, 0) expected: 0,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #11: generateMipmap with partial levels: should draw with [255, 0, 0, 255\]\nat (0, 0) expected: 255,0,0,255 was 0,0,0,255]
expected: FAIL

View file

@ -0,0 +1,24 @@
[tex-storage-compressed-formats.html]
[WebGL test #3: getError expected: INVALID_OPERATION. Was INVALID_ENUM : texStorage3D(TEXTURE_3D) should fail for 0x83f0]
expected: FAIL
[WebGL test #4: getError expected: NO_ERROR. Was INVALID_ENUM : texStorage3D(TEXTURE_2D_ARRAY) should succeed for 0x83f0]
expected: FAIL
[WebGL test #7: getError expected: INVALID_OPERATION. Was INVALID_ENUM : texStorage3D(TEXTURE_3D) should fail for 0x83f1]
expected: FAIL
[WebGL test #8: getError expected: NO_ERROR. Was INVALID_ENUM : texStorage3D(TEXTURE_2D_ARRAY) should succeed for 0x83f1]
expected: FAIL
[WebGL test #11: getError expected: INVALID_OPERATION. Was INVALID_ENUM : texStorage3D(TEXTURE_3D) should fail for 0x83f2]
expected: FAIL
[WebGL test #12: getError expected: NO_ERROR. Was INVALID_ENUM : texStorage3D(TEXTURE_2D_ARRAY) should succeed for 0x83f2]
expected: FAIL
[WebGL test #15: getError expected: INVALID_OPERATION. Was INVALID_ENUM : texStorage3D(TEXTURE_3D) should fail for 0x83f3]
expected: FAIL
[WebGL test #16: getError expected: NO_ERROR. Was INVALID_ENUM : texStorage3D(TEXTURE_2D_ARRAY) should succeed for 0x83f3]
expected: FAIL