From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../conformance/glsl/bugs/00_test_list.txt | 52 ++++ .../checkout/conformance/glsl/bugs/README.md | 18 ++ .../glsl/bugs/angle-ambiguous-function-call.html | 72 +++++ .../bugs/angle-constructor-invalid-parameters.html | 56 ++++ .../glsl/bugs/angle-d3d11-compiler-error.html | 96 +++++++ .../glsl/bugs/angle-dx-variable-bug.html | 96 +++++++ .../array-of-struct-with-int-first-position.html | 141 ++++++++++ .../bugs/assign-to-swizzled-twice-in-function.html | 52 ++++ .../glsl/bugs/bool-type-cast-bug-int-float.html | 312 +++++++++++++++++++++ .../conformance/glsl/bugs/character-set.html | 115 ++++++++ .../glsl/bugs/compare-loop-index-to-uniform.html | 50 ++++ .../glsl/bugs/complex-glsl-does-not-crash.html | 191 +++++++++++++ .../bugs/compound-assignment-type-combination.html | 26 ++ .../glsl/bugs/conditional-discard-in-loop.html | 142 ++++++++++ .../bugs/conditional-discard-optimization.html | 117 ++++++++ .../glsl/bugs/conditional-texture-fetch.html | 130 +++++++++ .../glsl/bugs/constant-precision-qualifier.html | 115 ++++++++ .../glsl/bugs/essl3-shaders-with-webgl1.html | 138 +++++++++ .../bugs/floor-div-cos-should-not-truncate.html | 80 ++++++ .../glsl/bugs/floored-division-accuracy.html | 69 +++++ .../glsl/bugs/fragcoord-linking-bug.html | 93 ++++++ .../glsl/bugs/gl-fragcoord-multisampling-bug.html | 66 +++++ ...bal-invariant-does-not-leak-across-shaders.html | 77 +++++ .../glsl/bugs/if-return-and-elseif.html | 65 +++++ ...ameter-passed-as-inout-argument-and-global.html | 52 ++++ .../glsl/bugs/init-array-with-loop.html | 84 ++++++ .../invariant-does-not-leak-across-shaders.html | 74 +++++ .../bugs/logic-inside-block-without-braces.html | 86 ++++++ .../bugs/long-expressions-should-not-crash.html | 136 +++++++++ .../glsl/bugs/loop-if-loop-gradient.html | 75 +++++ .../glsl/bugs/modulo-arithmetic-accuracy.html | 68 +++++ .../glsl/bugs/multiplication-assignment.html | 50 ++++ .../bugs/nested-functions-should-not-crash.html | 89 ++++++ .../bugs/nested-loops-with-break-and-continue.html | 83 ++++++ .../glsl/bugs/nested-sequence-operator.html | 47 ++++ ...of-small-constant-in-user-defined-function.html | 74 +++++ ...ow-with-constant-exponent-should-not-crash.html | 65 +++++ .../conformance/glsl/bugs/qualcomm-crash.html | 136 +++++++++ .../bugs/qualcomm-loop-with-continue-crash.html | 71 +++++ .../bugs/sampler-array-struct-function-arg.html | 72 +++++ .../glsl/bugs/sampler-array-using-loop-index.html | 81 ++++++ .../glsl/bugs/sampler-struct-function-arg.html | 113 ++++++++ .../bugs/sequence-operator-evaluation-order.html | 116 ++++++++ .../glsl/bugs/sketchfab-lighting-shader-crash.html | 84 ++++++ .../glsl/bugs/struct-constructor-highp-bug.html | 50 ++++ .../struct-with-single-member-constructor.html | 52 ++++ .../bugs/temp-expressions-should-not-crash.html | 100 +++++++ .../glsl/bugs/unary-minus-operator-float-bug.html | 49 ++++ .../bugs/undefined-index-should-not-crash.html | 64 +++++ .../glsl/bugs/uniforms-should-not-lose-values.html | 81 ++++++ .../varying-arrays-should-not-be-reversed.html | 82 ++++++ .../vector-matrix-constructor-scalarization.html | 181 ++++++++++++ ...ctor-scalar-arithmetic-inside-loop-complex.html | 80 ++++++ .../bugs/vector-scalar-arithmetic-inside-loop.html | 99 +++++++ 54 files changed, 4863 insertions(+) create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/00_test_list.txt create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/README.md create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-ambiguous-function-call.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-constructor-invalid-parameters.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-d3d11-compiler-error.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-dx-variable-bug.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/array-of-struct-with-int-first-position.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/bool-type-cast-bug-int-float.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/character-set.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/compare-loop-index-to-uniform.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/complex-glsl-does-not-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/compound-assignment-type-combination.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-discard-in-loop.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-discard-optimization.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-texture-fetch.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/constant-precision-qualifier.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/essl3-shaders-with-webgl1.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/floor-div-cos-should-not-truncate.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/floored-division-accuracy.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/fragcoord-linking-bug.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/gl-fragcoord-multisampling-bug.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/global-invariant-does-not-leak-across-shaders.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/if-return-and-elseif.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/init-array-with-loop.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/invariant-does-not-leak-across-shaders.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/logic-inside-block-without-braces.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/long-expressions-should-not-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/loop-if-loop-gradient.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/modulo-arithmetic-accuracy.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/multiplication-assignment.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-functions-should-not-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-loops-with-break-and-continue.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-sequence-operator.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/pow-of-small-constant-in-user-defined-function.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/pow-with-constant-exponent-should-not-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/qualcomm-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/qualcomm-loop-with-continue-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-array-struct-function-arg.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-array-using-loop-index.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-struct-function-arg.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sequence-operator-evaluation-order.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sketchfab-lighting-shader-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/struct-constructor-highp-bug.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/struct-with-single-member-constructor.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/temp-expressions-should-not-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/unary-minus-operator-float-bug.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/undefined-index-should-not-crash.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/uniforms-should-not-lose-values.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-matrix-constructor-scalarization.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html create mode 100644 dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html (limited to 'dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs') diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/00_test_list.txt b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/00_test_list.txt new file mode 100644 index 0000000000..c84e94bbd0 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/00_test_list.txt @@ -0,0 +1,52 @@ +--min-version 1.0.4 angle-ambiguous-function-call.html +--min-version 1.0.4 angle-constructor-invalid-parameters.html +--min-version 1.0.3 angle-d3d11-compiler-error.html +--min-version 1.0.3 angle-dx-variable-bug.html +--min-version 1.0.3 array-of-struct-with-int-first-position.html +--min-version 1.0.4 assign-to-swizzled-twice-in-function.html +--min-version 1.0.4 bool-type-cast-bug-int-float.html +--min-version 1.0.4 character-set.html +--min-version 1.0.3 compare-loop-index-to-uniform.html +--min-version 1.0.3 complex-glsl-does-not-crash.html +--min-version 1.0.4 compound-assignment-type-combination.html +--min-version 1.0.3 conditional-discard-in-loop.html +--min-version 1.0.3 conditional-discard-optimization.html +--min-version 1.0.4 conditional-texture-fetch.html +--min-version 1.0.3 constant-precision-qualifier.html +--min-version 1.0.3 --max-version 1.99 essl3-shaders-with-webgl1.html +--min-version 1.0.4 floor-div-cos-should-not-truncate.html +--min-version 1.0.3 floored-division-accuracy.html +--min-version 1.0.3 fragcoord-linking-bug.html +--min-version 1.0.4 gl-fragcoord-multisampling-bug.html +--min-version 1.0.4 global-invariant-does-not-leak-across-shaders.html +--min-version 1.0.4 if-return-and-elseif.html +--min-version 1.0.4 init-array-with-loop.html +--min-version 1.0.4 invariant-does-not-leak-across-shaders.html +--min-version 1.0.4 in-parameter-passed-as-inout-argument-and-global.html +--min-version 1.0.4 logic-inside-block-without-braces.html +--min-version 1.0.3 long-expressions-should-not-crash.html +--min-version 1.0.4 loop-if-loop-gradient.html +--min-version 1.0.3 modulo-arithmetic-accuracy.html +--min-version 1.0.3 multiplication-assignment.html +--min-version 1.0.3 nested-functions-should-not-crash.html +--min-version 1.0.4 nested-loops-with-break-and-continue.html +--min-version 1.0.4 nested-sequence-operator.html +--min-version 1.0.4 pow-of-small-constant-in-user-defined-function.html +--min-version 1.0.4 pow-with-constant-exponent-should-not-crash.html +--min-version 1.0.4 qualcomm-crash.html +--min-version 1.0.4 qualcomm-loop-with-continue-crash.html +--min-version 1.0.4 sampler-array-struct-function-arg.html +--min-version 1.0.3 sampler-array-using-loop-index.html +--min-version 1.0.4 sampler-struct-function-arg.html +--min-version 1.0.4 sequence-operator-evaluation-order.html +--min-version 1.0.4 sketchfab-lighting-shader-crash.html +--min-version 1.0.4 struct-constructor-highp-bug.html +--min-version 1.0.4 struct-with-single-member-constructor.html +--min-version 1.0.3 temp-expressions-should-not-crash.html +--min-version 1.0.4 unary-minus-operator-float-bug.html +--min-version 1.0.4 undefined-index-should-not-crash.html +--min-version 1.0.3 uniforms-should-not-lose-values.html +--min-version 1.0.4 varying-arrays-should-not-be-reversed.html +--min-version 1.0.4 vector-matrix-constructor-scalarization.html +--min-version 1.0.4 vector-scalar-arithmetic-inside-loop.html +--min-version 1.0.4 vector-scalar-arithmetic-inside-loop-complex.html diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/README.md b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/README.md new file mode 100644 index 0000000000..d917f6d741 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/README.md @@ -0,0 +1,18 @@ +BUGS +==== + +This folder is for GLSL tests that test driver specific bugs. + +Most tests in other folders are fairly generic. While they might +only fail on specific drivers the tests themselves are designed +to test something in a generic way. + +Tests in this folder on the otherhand are very targeted. They may +have very specific shaders that only fail under specific circumstances +on specific drivers. + +An example might be if there was a driver that failed only when +and identifier was named "ABC". It makes no sense to have a generic +test that says "must allow ABC". A generic test would test some +subset of all possible identifiers not just one. + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-ambiguous-function-call.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-ambiguous-function-call.html new file mode 100644 index 0000000000..c7f10a05f5 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-ambiguous-function-call.html @@ -0,0 +1,72 @@ + + + + + + +ANGLE ambiguous function call test + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-constructor-invalid-parameters.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-constructor-invalid-parameters.html new file mode 100644 index 0000000000..6c663811f1 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-constructor-invalid-parameters.html @@ -0,0 +1,56 @@ + + + + + + +ANGLE constructor bugs test + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-d3d11-compiler-error.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-d3d11-compiler-error.html new file mode 100644 index 0000000000..158ddad08f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-d3d11-compiler-error.html @@ -0,0 +1,96 @@ + + + + + + +ANGLE D3D11 Bug - Shader compilation error + + + + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-dx-variable-bug.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-dx-variable-bug.html new file mode 100644 index 0000000000..c094beff66 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/angle-dx-variable-bug.html @@ -0,0 +1,96 @@ + + + + + + +ANGLE D3D11 Bug - Variables beginning with "dx_" + + + + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/array-of-struct-with-int-first-position.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/array-of-struct-with-int-first-position.html new file mode 100644 index 0000000000..e7dd805566 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/array-of-struct-with-int-first-position.html @@ -0,0 +1,141 @@ + + + + + + +Driver Bug - Array of structs with int or bool in first position + + + + + + + +
+
+ + + + + + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html new file mode 100644 index 0000000000..847127a408 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html @@ -0,0 +1,52 @@ + + + + + + +Assigning an assignment to a swizzled value inside function + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/bool-type-cast-bug-int-float.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/bool-type-cast-bug-int-float.html new file mode 100644 index 0000000000..984c4e0289 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/bool-type-cast-bug-int-float.html @@ -0,0 +1,312 @@ + + + + + + +Verify int(bool) and float(bool) work correctly (Mac AMD driver bug) + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/character-set.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/character-set.html new file mode 100644 index 0000000000..6d6fca5f89 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/character-set.html @@ -0,0 +1,115 @@ + + + + + + +Character Set + + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/compare-loop-index-to-uniform.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/compare-loop-index-to-uniform.html new file mode 100644 index 0000000000..a96da7fea9 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/compare-loop-index-to-uniform.html @@ -0,0 +1,50 @@ + + + + + + +Driver bug - Comparing loop index against uniform in a fragment shader should work + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/complex-glsl-does-not-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/complex-glsl-does-not-crash.html new file mode 100644 index 0000000000..7b324def84 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/complex-glsl-does-not-crash.html @@ -0,0 +1,191 @@ + + + + + + +Driver Bug - complex glsl should not crash + + + + + + + +
+
+ + + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/compound-assignment-type-combination.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/compound-assignment-type-combination.html new file mode 100644 index 0000000000..7b61946b35 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/compound-assignment-type-combination.html @@ -0,0 +1,26 @@ + + + + + + +Result type should match the l-value type in compound assignment + + + + + + + + +
+
+ + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-discard-in-loop.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-discard-in-loop.html new file mode 100644 index 0000000000..1c4709dd10 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-discard-in-loop.html @@ -0,0 +1,142 @@ + + + + + + + +Conditional discard in loop issue + + + + + + + +
+
+ + + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-discard-optimization.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-discard-optimization.html new file mode 100644 index 0000000000..1c3b1bb6fb --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-discard-optimization.html @@ -0,0 +1,117 @@ + + + + + + + + +ANGLE WebGL Shader Conditionals Repro + + + + + + + +
+
+ + + + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-texture-fetch.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-texture-fetch.html new file mode 100644 index 0000000000..f382b8c800 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/conditional-texture-fetch.html @@ -0,0 +1,130 @@ + + + + + + +Conditional texture fetch test + + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/constant-precision-qualifier.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/constant-precision-qualifier.html new file mode 100644 index 0000000000..d3628862bc --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/constant-precision-qualifier.html @@ -0,0 +1,115 @@ + + + + + + +Bug - the precision qualifier of a constant variable should affect the precision of a consuming operation + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/essl3-shaders-with-webgl1.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/essl3-shaders-with-webgl1.html new file mode 100644 index 0000000000..47e58c5c92 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/essl3-shaders-with-webgl1.html @@ -0,0 +1,138 @@ + + + + + + +Browser bug - WebGL 1 context should not accept OpenGL ES 3 shading language shaders + + + + + + + +
+
+ + + + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/floor-div-cos-should-not-truncate.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/floor-div-cos-should-not-truncate.html new file mode 100644 index 0000000000..69a019aa1b --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/floor-div-cos-should-not-truncate.html @@ -0,0 +1,80 @@ + + + + +Floor + divide + cosine should not truncate intermediate results. + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/floored-division-accuracy.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/floored-division-accuracy.html new file mode 100644 index 0000000000..6986344d3a --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/floored-division-accuracy.html @@ -0,0 +1,69 @@ + + + + + + + + +Floored Division Accuracy Bug + + + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/fragcoord-linking-bug.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/fragcoord-linking-bug.html new file mode 100644 index 0000000000..f22632c0a4 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/fragcoord-linking-bug.html @@ -0,0 +1,93 @@ + + + + + + +GLSL compiler bug referencing gl_FragCoord + + + + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/gl-fragcoord-multisampling-bug.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/gl-fragcoord-multisampling-bug.html new file mode 100644 index 0000000000..ef1184d49f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/gl-fragcoord-multisampling-bug.html @@ -0,0 +1,66 @@ + + + + +gl_FragCoord multisampling bug + + + + + +
+
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/global-invariant-does-not-leak-across-shaders.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/global-invariant-does-not-leak-across-shaders.html new file mode 100644 index 0000000000..b02622bb29 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/global-invariant-does-not-leak-across-shaders.html @@ -0,0 +1,77 @@ + + + + + + +Global invariant does not leak across shaders + + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/if-return-and-elseif.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/if-return-and-elseif.html new file mode 100644 index 0000000000..4e88ae83be --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/if-return-and-elseif.html @@ -0,0 +1,65 @@ + + + + + + +If with return and else if in fragment shader + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html new file mode 100644 index 0000000000..77edd0ec3a --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html @@ -0,0 +1,52 @@ + + + + + + +Function in parameter passed as an inout argument and a global variable with the same name + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/init-array-with-loop.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/init-array-with-loop.html new file mode 100644 index 0000000000..2bd24765bd --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/init-array-with-loop.html @@ -0,0 +1,84 @@ + + + + + + +Initializing an array with a loop test + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/invariant-does-not-leak-across-shaders.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/invariant-does-not-leak-across-shaders.html new file mode 100644 index 0000000000..d203731012 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/invariant-does-not-leak-across-shaders.html @@ -0,0 +1,74 @@ + + + + + + +Invariant does not leak across shaders + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/logic-inside-block-without-braces.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/logic-inside-block-without-braces.html new file mode 100644 index 0000000000..2bbac4dbd0 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/logic-inside-block-without-braces.html @@ -0,0 +1,86 @@ + + + + + + +Short-circuiting logic operator with side effects inside if statement without braces should work + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/long-expressions-should-not-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/long-expressions-should-not-crash.html new file mode 100644 index 0000000000..eaf0509b23 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/long-expressions-should-not-crash.html @@ -0,0 +1,136 @@ + + + + + + +Driver Bug - long experssions should not crash + + + + + + + +
+
+ + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/loop-if-loop-gradient.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/loop-if-loop-gradient.html new file mode 100644 index 0000000000..914604ad07 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/loop-if-loop-gradient.html @@ -0,0 +1,75 @@ + + + + + + +Gradient loop in if in loop crash + + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/modulo-arithmetic-accuracy.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/modulo-arithmetic-accuracy.html new file mode 100644 index 0000000000..6e39f69ab7 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/modulo-arithmetic-accuracy.html @@ -0,0 +1,68 @@ + + + + + + + + +Modulo Arithmetic Accuracy Bug + + + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/multiplication-assignment.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/multiplication-assignment.html new file mode 100644 index 0000000000..cb157cdec6 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/multiplication-assignment.html @@ -0,0 +1,50 @@ + + + + + + +Multiplication assignment operator compilation bug + + + + + + + +
+
+ + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-functions-should-not-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-functions-should-not-crash.html new file mode 100644 index 0000000000..130f0a0e4f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-functions-should-not-crash.html @@ -0,0 +1,89 @@ + + + + + + +Driver Bug - nested functions should not crash + + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-loops-with-break-and-continue.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-loops-with-break-and-continue.html new file mode 100644 index 0000000000..d6a744741a --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-loops-with-break-and-continue.html @@ -0,0 +1,83 @@ + + + + + + +Using nested loops with break and/or continue statements in a fragment shader should work + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-sequence-operator.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-sequence-operator.html new file mode 100644 index 0000000000..b202b854ff --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/nested-sequence-operator.html @@ -0,0 +1,47 @@ + + + + + + +Nested sequence operator + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/pow-of-small-constant-in-user-defined-function.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/pow-of-small-constant-in-user-defined-function.html new file mode 100644 index 0000000000..d5fa55b898 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/pow-of-small-constant-in-user-defined-function.html @@ -0,0 +1,74 @@ + + + + + + +Bug - calculating powers of constants smaller than 1.0e-5 in user-defined functions should work + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/pow-with-constant-exponent-should-not-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/pow-with-constant-exponent-should-not-crash.html new file mode 100644 index 0000000000..8e95842b12 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/pow-with-constant-exponent-should-not-crash.html @@ -0,0 +1,65 @@ + + + + + + +Bug - pow() with constant vector exponent should not crash + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/qualcomm-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/qualcomm-crash.html new file mode 100644 index 0000000000..f1ef1e47ab --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/qualcomm-crash.html @@ -0,0 +1,136 @@ + + + + + + +Qualcomm program link crash Tests + + + + + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/qualcomm-loop-with-continue-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/qualcomm-loop-with-continue-crash.html new file mode 100644 index 0000000000..ff94c52268 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/qualcomm-loop-with-continue-crash.html @@ -0,0 +1,71 @@ + + + + + + +Qualcomm loop with continue crash test + + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-array-struct-function-arg.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-array-struct-function-arg.html new file mode 100644 index 0000000000..b39179a186 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-array-struct-function-arg.html @@ -0,0 +1,72 @@ + + + + + + +GLSL struct containing an array of samplers passed into a user-defined function + + + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-array-using-loop-index.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-array-using-loop-index.html new file mode 100644 index 0000000000..c5707a1f89 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-array-using-loop-index.html @@ -0,0 +1,81 @@ + + + + + + +Sampler arrays using loop index should compile fine. + + + + + + +
+
+ + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-struct-function-arg.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-struct-function-arg.html new file mode 100644 index 0000000000..f2bc755444 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sampler-struct-function-arg.html @@ -0,0 +1,113 @@ + + + + + + + +Passing a struct containing a sampler to a function. + + + + + + + +
+
+ + + + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sequence-operator-evaluation-order.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sequence-operator-evaluation-order.html new file mode 100644 index 0000000000..7e9af6f1aa --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sequence-operator-evaluation-order.html @@ -0,0 +1,116 @@ + + + + + + +GLSL short-circuiting operators should be evaluated after previous operands in a sequence + + + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sketchfab-lighting-shader-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sketchfab-lighting-shader-crash.html new file mode 100644 index 0000000000..73416d17de --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/sketchfab-lighting-shader-crash.html @@ -0,0 +1,84 @@ + + + + + + +Sketchfab Lighting Shader Crash + + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/struct-constructor-highp-bug.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/struct-constructor-highp-bug.html new file mode 100644 index 0000000000..afb72e1916 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/struct-constructor-highp-bug.html @@ -0,0 +1,50 @@ + + + + +Struct constructor highp bug. + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/struct-with-single-member-constructor.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/struct-with-single-member-constructor.html new file mode 100644 index 0000000000..8d1008326f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/struct-with-single-member-constructor.html @@ -0,0 +1,52 @@ + + + + + + +GLSL struct with a single member constructor test + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/temp-expressions-should-not-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/temp-expressions-should-not-crash.html new file mode 100644 index 0000000000..c28db1daad --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/temp-expressions-should-not-crash.html @@ -0,0 +1,100 @@ + + + + + + +Driver Bug - temp experssions should not crash + + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/unary-minus-operator-float-bug.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/unary-minus-operator-float-bug.html new file mode 100644 index 0000000000..85f7231444 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/unary-minus-operator-float-bug.html @@ -0,0 +1,49 @@ + + + + + + +GLSL unary minus operator with float bug Tests + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/undefined-index-should-not-crash.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/undefined-index-should-not-crash.html new file mode 100644 index 0000000000..0c97c987f8 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/undefined-index-should-not-crash.html @@ -0,0 +1,64 @@ + + + + + + +Bug - indexing with 'int()' should not crash + + + + + + + +
+
+ + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/uniforms-should-not-lose-values.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/uniforms-should-not-lose-values.html new file mode 100644 index 0000000000..fc99f0f87f --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/uniforms-should-not-lose-values.html @@ -0,0 +1,81 @@ + + + + + + +Driver Bug - Uniforms should no lose values + + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html new file mode 100644 index 0000000000..14cdd9fe09 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html @@ -0,0 +1,82 @@ + + + + + +Varying arrays should not be reversed + + + + + + +
+
+ + + + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-matrix-constructor-scalarization.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-matrix-constructor-scalarization.html new file mode 100644 index 0000000000..a6ad3483c3 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-matrix-constructor-scalarization.html @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html new file mode 100644 index 0000000000..3b1277c1be --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html @@ -0,0 +1,80 @@ + + + + + + +GLSL vector/scalar arithmetic inside a for loop (complex cases) + + + + + + +
+
+ + + + + diff --git a/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html new file mode 100644 index 0000000000..622ea38129 --- /dev/null +++ b/dom/canvas/test/webgl-conf/checkout/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html @@ -0,0 +1,99 @@ + + + + + + +GLSL vector/scalar arithmetic inside a for loop + + + + + + +
+
+ + + + + + -- cgit v1.2.3