Enable the glsl webgl tests.

This commit is contained in:
Josh Matthews 2017-03-31 18:46:05 -04:00
parent 937855c3fd
commit 069d5591b3
86 changed files with 588 additions and 37 deletions

View file

@ -1 +0,0 @@
disabled: disable glsl for now, tests are flaking

View file

@ -1,3 +0,0 @@
[array-of-struct-with-int-first-position.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[complex-glsl-does-not-crash.html]
type: testharness
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[constant-precision-qualifier.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[long-expressions-should-not-crash.html]
type: testharness
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,3 @@
[nested-functions-should-not-crash.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[temp-expressions-should-not-crash.html]
type: testharness
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[uniforms-should-not-lose-values.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[glsl-construct-bvec2.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-bvec3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-bvec4.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-ivec2.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-ivec3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-ivec4.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-mat2.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-mat3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-mat4.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-vec2.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-vec3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-vec4.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-abs.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-acos.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-asin.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-atan-xy.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-atan.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-ceil.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-clamp-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-clamp-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-cos.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-cross.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-distance.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-dot.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-faceforward.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-floor.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-fract.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-length.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-max-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-max-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-min-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-min-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-mix-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-mix-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-mod-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-mod-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-normalize.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-reflect.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-sign.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-sin.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-smoothstep-float.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-smoothstep-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-step-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-step-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-mat3-construction.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-mat4-to-mat3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[expression-list-in-declarator-initializer.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,6 +1,5 @@
[large-loop-compile.html]
type: testharness
expected: TIMEOUT
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
expected: FAIL

View file

@ -1,3 +1,6 @@
[shader-precision-format-obeyed.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,60 @@
[shader-uniform-packing-restrictions.html]
type: testharness
expected: TIMEOUT
[Overall test]
expected: NOTRUN
[WebGL test #2: [unexpected link status\] vertex shader with uniform array of bool with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #3: [unexpected link status\] vertex shader with uniform array of bool with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #4: [unexpected link status\] vertex shader with 1 uniforms of bool (one past maximum) should fail]
expected: FAIL
[WebGL test #8: [unexpected link status\] vertex shader with uniform array of float with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #9: [unexpected link status\] vertex shader with uniform array of float with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #10: [unexpected link status\] vertex shader with 1 uniforms of float (one past maximum) should fail]
expected: FAIL
[WebGL test #14: [unexpected link status\] vertex shader with uniform array of int with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #15: [unexpected link status\] vertex shader with uniform array of int with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #16: [unexpected link status\] vertex shader with 1 uniforms of int (one past maximum) should fail]
expected: FAIL
[WebGL test #20: [unexpected link status\] vertex shader with uniform array of vec2 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #21: [unexpected link status\] vertex shader with uniform array of vec2 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #22: [unexpected link status\] vertex shader with 1 uniforms of vec2 (one past maximum) should fail]
expected: FAIL
[WebGL test #26: [unexpected link status\] vertex shader with uniform array of ivec2 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #27: [unexpected link status\] vertex shader with uniform array of ivec2 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #28: [unexpected link status\] vertex shader with 1 uniforms of ivec2 (one past maximum) should fail]
expected: FAIL
[WebGL test #32: [unexpected link status\] vertex shader with uniform array of bvec2 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #33: [unexpected link status\] vertex shader with uniform array of bvec2 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #34: [unexpected link status\] vertex shader with 1 uniforms of bvec2 (one past maximum) should fail]
expected: FAIL

View file

@ -0,0 +1,65 @@
[shader-varying-packing-restrictions.html]
type: testharness
[WebGL test #2: [unexpected link status\] shaders with varying array of float with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #3: [unexpected link status\] shaders with varying array of float with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #4: [unexpected link status\] shaders with 1 varyings of float (one past maximum) should fail]
expected: FAIL
[WebGL test #8: [unexpected link status\] shaders with varying array of vec2 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #9: [unexpected link status\] shaders with varying array of vec2 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #10: [unexpected link status\] shaders with 1 varyings of vec2 (one past maximum) should fail]
expected: FAIL
[WebGL test #14: [unexpected link status\] shaders with varying array of vec3 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #15: [unexpected link status\] shaders with varying array of vec3 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #16: [unexpected link status\] shaders with 1 varyings of vec3 (one past maximum) should fail]
expected: FAIL
[WebGL test #20: [unexpected link status\] shaders with varying array of vec4 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #21: [unexpected link status\] shaders with varying array of vec4 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #22: [unexpected link status\] shaders with 1 varyings of vec4 (one past maximum) should fail]
expected: FAIL
[WebGL test #26: [unexpected link status\] shaders with varying array of mat2 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #27: [unexpected link status\] shaders with varying array of mat2 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #28: [unexpected link status\] shaders with 1 varyings of mat2 (one past maximum) should fail]
expected: FAIL
[WebGL test #32: [unexpected link status\] shaders with varying array of mat3 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #33: [unexpected link status\] shaders with varying array of mat3 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #34: [unexpected link status\] shaders with 1 varyings of mat3 (one past maximum) should fail]
expected: FAIL
[WebGL test #38: [unexpected link status\] shaders with varying array of mat4 with 1 elements (one past maximum) accessing last element should fail]
expected: FAIL
[WebGL test #39: [unexpected link status\] shaders with varying array of mat4 with 1 elements (one past maximum) accessing first element should fail]
expected: FAIL
[WebGL test #40: [unexpected link status\] shaders with 1 varyings of mat4 (one past maximum) should fail]
expected: FAIL

View file

@ -1,9 +1,12 @@
[shader-with-comma-assignment.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[WebGL test #0: [unexpected vertex shader compile status\] (expected: true) fragment shader with comma assignment should succeed]
expected: FAIL
[WebGL test #1: [unexpected fragment shader compile status\] (expected: true) fragment shader with comma assignment should succeed]
expected: FAIL
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[shader-with-comma-conditional-assignment.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[shader-with-define-line-continuation.frag.html]
type: testharness
[WebGL test #0: [unexpected link status\] fragment shader that uses line continuation macro should fail]
expected: FAIL

View file

@ -0,0 +1,11 @@
[shader-with-global-variable-precision-mismatch.html]
type: testharness
[WebGL test #0: [unexpected link status\] mismatching precision for uniforms causes link error (as expected)]
expected: FAIL
[WebGL test #1: [unexpected link status\] mismatching precision for int uniforms with default precision causes link error (as expected)]
expected: FAIL
[WebGL test #2: [unexpected link status\] mismatching precision for structure uniforms causes link error (as expected)]
expected: FAIL

View file

@ -1,7 +1,5 @@
[shader-with-ivec3-return-value.frag.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #0: [unexpected fragment shader compile status\] (expected: true) Shader with ivec3 return value from function call should succeed]
expected: FAIL

View file

@ -1,7 +1,5 @@
[shader-with-long-line.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #0: [unexpected vertex shader compile status\] (expected: true) shader that uses long lines should succeed]
expected: FAIL

View file

@ -0,0 +1,6 @@
[shader-with-non-reserved-words.html]
type: testharness
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[shader-with-reserved-words.html]
type: testharness
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -1,3 +0,0 @@
[shader-with-short-circuiting-operators.html]
type: testharness
expected: TIMEOUT

View file

@ -1,3 +1,14 @@
[shader-with-too-many-uniforms.html]
type: testharness
expected: TIMEOUT
[WebGL test #0: [link failed\] shader using all uniforms in vertex shader should succeed]
expected: FAIL
[WebGL test #1: [unexpected link status\] shader using too many uniforms in vertex shader should fail]
expected: FAIL
[WebGL test #2: [link failed\] shader using all uniforms in fragment shader should succeed]
expected: FAIL
[WebGL test #3: [unexpected link status\] shader using too many uniforms in fragment shader should fail]
expected: FAIL

View file

@ -1,6 +1,5 @@
[shaders-with-invariance.html]
type: testharness
expected: TIMEOUT
[WebGL test #0: [unexpected fragment shader compile status\] (expected: true) vertex shader with variant varying and fragment shader with invariant varying must fail]
expected: FAIL
@ -10,3 +9,15 @@
[WebGL test #2: [unexpected fragment shader compile status\] (expected: true) vertex shader with invariant varying and fragment shader with variant varying must fail]
expected: FAIL
[WebGL test #2: [unexpected fragment shader compile status\] (expected: true) vertex shader with variant varying and fragment shader with invariant (global setting) varying must fail]
expected: FAIL
[WebGL test #9: [unexpected fragment shader compile status\] (expected: true) vertex shader with invariant varying and fragment shader with invariant (global setting) varying must succeed]
expected: FAIL
[WebGL test #11: [unexpected link status\] vertex shader with variant gl_Position and fragment shader with invariant gl_FragCoord must fail]
expected: FAIL
[WebGL test #14: [unexpected link status\] vertex shader with variant gl_PointSize and fragment shader with invariant gl_PointCoord must fail]
expected: FAIL

View file

@ -1,3 +1,6 @@
[shaders-with-mis-matching-uniforms.html]
type: testharness
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -1,6 +1,5 @@
[shaders-with-mis-matching-varyings.html]
type: testharness
expected: TIMEOUT
[WebGL test #0: [unexpected vertex shader compile status\] (expected: true) vertex shader with varying float and fragment shader with varying vec2 with the same name should fail to link]
expected: FAIL

View file

@ -0,0 +1,5 @@
[shaders-with-name-conflicts.html]
type: testharness
[WebGL test #0: [unexpected link status\] shaders with conflicting uniform/attribute names should fail]
expected: FAIL

View file

@ -0,0 +1,5 @@
[shaders-with-uniform-structs.html]
type: testharness
[WebGL test #5: [unexpected link status\] Structures must have the same type definitions (including precision) to be considered the same type.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[shaders-with-varyings.html]
type: testharness
[WebGL test #3: [unexpected link status\] vertex shader with unused varying and fragment shader with used varying must succeed]
expected: FAIL

View file

@ -1,3 +1,6 @@
[struct-equals.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[struct-mixed-array-declarators.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[struct-nesting-of-variable-names.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[struct-specifiers-in-uniforms.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,9 +1,12 @@
[ternary-operators-in-global-initializers.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[WebGL test #0: [unexpected fragment shader compile status\] (expected: true) float]
expected: FAIL
[WebGL test #1: [unexpected fragment shader compile status\] (expected: true) vec2]
expected: FAIL
[Overall test]
expected: NOTRUN

View file

@ -1,6 +1,9 @@
[ternary-operators-in-initializers.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[WebGL test #0: [unexpected fragment shader compile status\] (expected: true) Ternary operator in integer initalization]
expected: FAIL
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[gl-pointcoord.html]
type: testharness
expected: ERROR
[WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -0,0 +1,53 @@
[glsl-built-ins.html]
type: testharness
[WebGL test #1: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #2: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #3: gl.getParameter(gl.MAX_VERTEX_UNIFORM_VECTORS) >= 128]
expected: FAIL
[WebGL test #4: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #5: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #6: gl.getParameter(gl.MAX_VARYING_VECTORS) >= 8]
expected: FAIL
[WebGL test #7: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #8: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #10: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #11: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #13: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #14: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #16: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #17: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #18: gl.getParameter(gl.MAX_FRAGMENT_UNIFORM_VECTORS) >= 16]
expected: FAIL
[WebGL test #19: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
[WebGL test #20: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL