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

@ -3,3 +3,5 @@
[WebGL test #0: [unexpected link status\] Declaring both gl_FragColor and gl_FragData invariant should succeed.]
expected: FAIL
[WebGL test #0: [unexpected link status\] (expected: true) Declaring both gl_FragColor and gl_FragData invariant should succeed.]
expected: FAIL

View file

@ -66,3 +66,51 @@
[WebGL test #20: [unexpected link status\] shaders with varying array of vec4 with one more than the maximum number of elements accessing last element should fail]
expected:
if os == "mac": FAIL
[WebGL test #2: [unexpected link status\] (expected: false) shaders with varying array of float with one more than the maximum number of elements accessing last element should fail]
expected: FAIL
[WebGL test #3: [unexpected link status\] (expected: false) shaders with varying array of float with one more than the maximum number of elements accessing first element should fail]
expected: FAIL
[WebGL test #4: [unexpected link status\] (expected: false) shaders with one more than the maximum number of varyings of float should fail]
expected: FAIL
[WebGL test #8: [unexpected link status\] (expected: false) shaders with varying array of vec2 with one more than the maximum number of elements accessing last element should fail]
expected: FAIL
[WebGL test #9: [unexpected link status\] (expected: false) shaders with varying array of vec2 with one more than the maximum number of elements accessing first element should fail]
expected: FAIL
[WebGL test #10: [unexpected link status\] (expected: false) shaders with one more than the maximum number of varyings of vec2 should fail]
expected: FAIL
[WebGL test #14: [unexpected link status\] (expected: false) shaders with varying array of vec3 with one more than the maximum number of elements accessing last element should fail]
expected: FAIL
[WebGL test #15: [unexpected link status\] (expected: false) shaders with varying array of vec3 with one more than the maximum number of elements accessing first element should fail]
expected: FAIL
[WebGL test #16: [unexpected link status\] (expected: false) shaders with one more than the maximum number of varyings of vec3 should fail]
expected: FAIL
[WebGL test #22: [unexpected link status\] (expected: false) shaders with one more than the maximum number of varyings of vec4 should fail]
expected: FAIL
[WebGL test #26: [unexpected link status\] (expected: false) shaders with varying array of mat2 with one more than the maximum number of elements accessing last element should fail]
expected: FAIL
[WebGL test #27: [unexpected link status\] (expected: false) shaders with varying array of mat2 with one more than the maximum number of elements accessing first element should fail]
expected: FAIL
[WebGL test #28: [unexpected link status\] (expected: false) shaders with one more than the maximum number of varyings of mat2 should fail]
expected: FAIL
[WebGL test #32: [unexpected link status\] (expected: false) shaders with varying array of mat3 with one more than the maximum number of elements accessing last element should fail]
expected: FAIL
[WebGL test #33: [unexpected link status\] (expected: false) shaders with varying array of mat3 with one more than the maximum number of elements accessing first element should fail]
expected: FAIL
[WebGL test #34: [unexpected link status\] (expected: false) shaders with one more than the maximum number of varyings of mat3 should fail]
expected: FAIL

View file

@ -1,5 +0,0 @@
[shader-with-define-line-continuation.frag.html]
bug: https://github.com/servo/servo/issues/20601
[WebGL test #0: [unexpected link status\] fragment shader that uses line continuation macro should fail]
expected: FAIL

View file

@ -9,3 +9,11 @@
[WebGL test #2: [unexpected link status\] mismatching precision for structure uniforms causes link error (as expected)]
expected: FAIL
[WebGL test #0: [unexpected link status\] (expected: false) mismatching precision for uniforms causes link error (as expected)]
expected: FAIL
[WebGL test #1: [unexpected link status\] (expected: false) mismatching precision for int uniforms with default precision causes link error (as expected)]
expected: FAIL
[WebGL test #2: [unexpected link status\] (expected: false) mismatching precision for structure uniforms causes link error (as expected)]
expected: FAIL

View file

@ -21,3 +21,11 @@
expected:
if os == "mac": FAIL
[WebGL test #9: [unexpected link status\] (expected: false) vertex shader with variant gl_Position and fragment shader with invariant gl_FragCoord must fail]
expected: FAIL
[WebGL test #12: [unexpected link status\] (expected: false) vertex shader with variant gl_PointSize and fragment shader with invariant gl_PointCoord must fail]
expected: FAIL
[WebGL test #16: [unexpected link status\] (expected: true) vertex shader with variant varying and fragment shader with invariant (global setting) varying must succeed]
expected: FAIL

View file

@ -0,0 +1,3 @@
[shaders-with-name-conflicts.html]
[WebGL test #0: [unexpected link status\] (expected: true) using the same name for a vertex shader attribute and fragment shader uniform should succeed]
expected: FAIL

View file

@ -3,3 +3,5 @@
[WebGL test #5: [unexpected link status\] Structures must have the same type definitions (including precision) to be considered the same type.]
expected: FAIL
[WebGL test #5: [unexpected link status\] (expected: false) Structures must have the same type definitions (including precision) to be considered the same type.]
expected: FAIL

View file

@ -0,0 +1,144 @@
[glsl-function-texture2dprojlod.html]
[WebGL test #51: sampling with lod = 0 divider = 1 should be red\nat (0, 0) expected: 255,0,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #52: sampling with lod = 1 divider = 1 should be green\nat (0, 0) expected: 0,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #53: sampling with lod = 2 divider = 1 should be blue\nat (0, 0) expected: 0,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #54: sampling with lod = 3 divider = 1 should be yellow\nat (0, 0) expected: 255,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #55: sampling with lod = 4 divider = 1 should be magenta\nat (0, 0) expected: 255,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #56: sampling with lod = 5 divider = 1 should be cyan\nat (0, 0) expected: 0,255,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #57: sampling with lod = 6 divider = 1 should be pink\nat (0, 0) expected: 255,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #58: sampling with lod = 7 divider = 1 should be gray\nat (0, 0) expected: 128,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #59: sampling with lod = 0 divider = 2 should be red\nat (0, 0) expected: 255,0,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #60: sampling with lod = 1 divider = 2 should be green\nat (0, 0) expected: 0,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #61: sampling with lod = 2 divider = 2 should be blue\nat (0, 0) expected: 0,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #62: sampling with lod = 3 divider = 2 should be yellow\nat (0, 0) expected: 255,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #63: sampling with lod = 4 divider = 2 should be magenta\nat (0, 0) expected: 255,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #64: sampling with lod = 5 divider = 2 should be cyan\nat (0, 0) expected: 0,255,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #65: sampling with lod = 6 divider = 2 should be pink\nat (0, 0) expected: 255,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #66: sampling with lod = 7 divider = 2 should be gray\nat (0, 0) expected: 128,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #67: sampling with lod = 0 divider = 3 should be red\nat (0, 0) expected: 255,0,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #68: sampling with lod = 1 divider = 3 should be green\nat (0, 0) expected: 0,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #69: sampling with lod = 2 divider = 3 should be blue\nat (0, 0) expected: 0,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #70: sampling with lod = 3 divider = 3 should be yellow\nat (0, 0) expected: 255,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #71: sampling with lod = 4 divider = 3 should be magenta\nat (0, 0) expected: 255,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #72: sampling with lod = 5 divider = 3 should be cyan\nat (0, 0) expected: 0,255,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #73: sampling with lod = 6 divider = 3 should be pink\nat (0, 0) expected: 255,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #74: sampling with lod = 7 divider = 3 should be gray\nat (0, 0) expected: 128,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #75: sampling with lod = 0 divider = 1 should be red\nat (0, 0) expected: 255,0,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #76: sampling with lod = 1 divider = 1 should be green\nat (0, 0) expected: 0,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #77: sampling with lod = 2 divider = 1 should be blue\nat (0, 0) expected: 0,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #78: sampling with lod = 3 divider = 1 should be yellow\nat (0, 0) expected: 255,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #79: sampling with lod = 4 divider = 1 should be magenta\nat (0, 0) expected: 255,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #80: sampling with lod = 5 divider = 1 should be cyan\nat (0, 0) expected: 0,255,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #81: sampling with lod = 6 divider = 1 should be pink\nat (0, 0) expected: 255,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #82: sampling with lod = 7 divider = 1 should be gray\nat (0, 0) expected: 128,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #83: sampling with lod = 0 divider = 2 should be red\nat (0, 0) expected: 255,0,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #84: sampling with lod = 1 divider = 2 should be green\nat (0, 0) expected: 0,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #85: sampling with lod = 2 divider = 2 should be blue\nat (0, 0) expected: 0,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #86: sampling with lod = 3 divider = 2 should be yellow\nat (0, 0) expected: 255,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #87: sampling with lod = 4 divider = 2 should be magenta\nat (0, 0) expected: 255,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #88: sampling with lod = 5 divider = 2 should be cyan\nat (0, 0) expected: 0,255,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #89: sampling with lod = 6 divider = 2 should be pink\nat (0, 0) expected: 255,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #90: sampling with lod = 7 divider = 2 should be gray\nat (0, 0) expected: 128,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #91: sampling with lod = 0 divider = 3 should be red\nat (0, 0) expected: 255,0,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #92: sampling with lod = 1 divider = 3 should be green\nat (0, 0) expected: 0,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #93: sampling with lod = 2 divider = 3 should be blue\nat (0, 0) expected: 0,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #94: sampling with lod = 3 divider = 3 should be yellow\nat (0, 0) expected: 255,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #95: sampling with lod = 4 divider = 3 should be magenta\nat (0, 0) expected: 255,0,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #96: sampling with lod = 5 divider = 3 should be cyan\nat (0, 0) expected: 0,255,255,255 was 0,0,0,255]
expected: FAIL
[WebGL test #97: sampling with lod = 6 divider = 3 should be pink\nat (0, 0) expected: 255,128,128,255 was 0,0,0,255]
expected: FAIL
[WebGL test #98: sampling with lod = 7 divider = 3 should be gray\nat (0, 0) expected: 128,128,128,255 was 0,0,0,255]
expected: FAIL