diff --git a/tests/wpt/webgl/meta/MANIFEST.json b/tests/wpt/webgl/meta/MANIFEST.json index f89f15e2d77..31f286ebea8 100644 --- a/tests/wpt/webgl/meta/MANIFEST.json +++ b/tests/wpt/webgl/meta/MANIFEST.json @@ -93,11 +93,6 @@ {} ] ], - "conformance/00_readme.txt": [ - [ - {} - ] - ], "conformance/00_test_list.txt": [ [ {} @@ -193,6 +188,11 @@ {} ] ], + "conformance/glsl/preprocessor/00_test_list.txt": [ + [ + {} + ] + ], "conformance/glsl/reserved/00_test_list.txt": [ [ {} @@ -298,6 +298,31 @@ {} ] ], + "conformance/offscreencanvas/00_test_list.txt": [ + [ + {} + ] + ], + "conformance/offscreencanvas/context-creation-worker.js": [ + [ + {} + ] + ], + "conformance/offscreencanvas/context-lost-restored-worker.js": [ + [ + {} + ] + ], + "conformance/offscreencanvas/context-lost-worker.js": [ + [ + {} + ] + ], + "conformance/offscreencanvas/methods-worker.js": [ + [ + {} + ] + ], "conformance/ogles/00_test_list.txt": [ [ {} @@ -7963,321 +7988,11 @@ {} ] ], - "conformance/resources/1-channel.jpg": [ - [ - {} - ] - ], - "conformance/resources/3x3.png": [ - [ - {} - ] - ], - "conformance/resources/blue-1x1.jpg": [ - [ - {} - ] - ], - "conformance/resources/boolUniformShader.vert": [ - [ - {} - ] - ], - "conformance/resources/bug-32888-texture.png": [ - [ - {} - ] - ], - "conformance/resources/floatUniformShader.vert": [ - [ - {} - ] - ], - "conformance/resources/fragmentShader.frag": [ - [ - {} - ] - ], - "conformance/resources/glsl-conformance-test.js": [ - [ - {} - ] - ], - "conformance/resources/glsl-constructor-tests-generator.js": [ - [ - {} - ] - ], - "conformance/resources/glsl-feature-tests.css": [ - [ - {} - ] - ], - "conformance/resources/glsl-generator.js": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp-256-with-128-alpha.png": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp-256.png": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp-default-gamma.png": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp-gamma0.1.png": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp-gamma1.0.png": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp-gamma2.0.png": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp-gamma4.0.png": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp-gamma9.0.png": [ - [ - {} - ] - ], - "conformance/resources/gray-ramp.png": [ - [ - {} - ] - ], - "conformance/resources/green-2x2-16bit.png": [ - [ - {} - ] - ], - "conformance/resources/intArrayUniformShader.vert": [ - [ - {} - ] - ], - "conformance/resources/intUniformShader.vert": [ - [ - {} - ] - ], - "conformance/resources/iterable-test.js": [ - [ - {} - ] - ], - "conformance/resources/matUniformShader.vert": [ - [ - {} - ] - ], - "conformance/resources/noopUniformShader.frag": [ - [ - {} - ] - ], - "conformance/resources/noopUniformShader.vert": [ - [ - {} - ] - ], - "conformance/resources/npot-video.mp4": [ - [ - {} - ] - ], - "conformance/resources/npot-video.theora.ogv": [ - [ - {} - ] - ], - "conformance/resources/npot-video.webmvp8.webm": [ - [ - {} - ] - ], - "conformance/resources/oes-texture-float-and-half-float-linear.js": [ - [ - {} - ] - ], - "conformance/resources/ogles-tests.css": [ - [ - {} - ] - ], - "conformance/resources/opengl_logo.jpg": [ - [ - {} - ] - ], - "conformance/resources/out-of-bounds-test.js": [ - [ - {} - ] - ], - "conformance/resources/pnglib.js": [ - [ - {} - ] - ], - "conformance/resources/red-green.mp4": [ - [ - {} - ] - ], - "conformance/resources/red-green.png": [ - [ - {} - ] - ], - "conformance/resources/red-green.svg": [ - [ - {} - ] - ], - "conformance/resources/red-green.theora.ogv": [ - [ - {} - ] - ], - "conformance/resources/red-green.webmvp8.webm": [ - [ - {} - ] - ], - "conformance/resources/red-indexed.png": [ - [ - {} - ] - ], - "conformance/resources/samplerUniformShader.frag": [ - [ - {} - ] - ], - "conformance/resources/small-square-with-cie-rgb-profile.png": [ - [ - {} - ] - ], - "conformance/resources/small-square-with-colormatch-profile.png": [ - [ - {} - ] - ], - "conformance/resources/small-square-with-colorspin-profile.jpg": [ - [ - {} - ] - ], - "conformance/resources/small-square-with-colorspin-profile.png": [ - [ - {} - ] - ], - "conformance/resources/small-square-with-e-srgb-profile.png": [ - [ - {} - ] - ], - "conformance/resources/small-square-with-smpte-c-profile.png": [ - [ - {} - ] - ], - "conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png": [ - [ - {} - ] - ], - "conformance/resources/structUniformShader.vert": [ - [ - {} - ] - ], - "conformance/resources/tex-image-and-sub-image-2d-with-canvas.js": [ - [ - {} - ] - ], - "conformance/resources/tex-image-and-sub-image-2d-with-image-data.js": [ - [ - {} - ] - ], - "conformance/resources/tex-image-and-sub-image-2d-with-image.js": [ - [ - {} - ] - ], - "conformance/resources/tex-image-and-sub-image-2d-with-svg-image.js": [ - [ - {} - ] - ], - "conformance/resources/tex-image-and-sub-image-2d-with-video.js": [ - [ - {} - ] - ], - "conformance/resources/tex-image-and-sub-image-2d-with-webgl-canvas.js": [ - [ - {} - ] - ], - "conformance/resources/thunderbird-logo-64x64.png": [ - [ - {} - ] - ], - "conformance/resources/transparent-on-left-indexed.png": [ - [ - {} - ] - ], - "conformance/resources/vertexShader.vert": [ - [ - {} - ] - ], - "conformance/resources/webgl-test-utils.js": [ - [ - {} - ] - ], - "conformance/resources/zero-alpha.png": [ - [ - {} - ] - ], "conformance/state/00_test_list.txt": [ [ {} ] ], - "conformance/state/diffs.txt": [ - [ - {} - ] - ], "conformance/textures/00_test_list.txt": [ [ {} @@ -8358,16 +8073,6 @@ {} ] ], - "conformance/typedarrays/resources/typed-array-test-cases.js": [ - [ - {} - ] - ], - "conformance/typedarrays/resources/typed-array-worker.js": [ - [ - {} - ] - ], "conformance/uniforms/00_test_list.txt": [ [ {} @@ -8388,6 +8093,11 @@ {} ] ], + "conformance2/canvas/00_test_list.txt": [ + [ + {} + ] + ], "conformance2/context/00_test_list.txt": [ [ {} @@ -8408,6 +8118,21 @@ {} ] ], + "conformance2/offscreencanvas/00_test_list.txt": [ + [ + {} + ] + ], + "conformance2/offscreencanvas/context-creation-worker.js": [ + [ + {} + ] + ], + "conformance2/offscreencanvas/methods-2-worker.js": [ + [ + {} + ] + ], "conformance2/programs/00_test_list.txt": [ [ {} @@ -8533,6 +8258,11 @@ {} ] ], + "conformance2/uniforms/00_test_list.txt": [ + [ + {} + ] + ], "conformance2/vertex_arrays/00_test_list.txt": [ [ {} @@ -8558,11 +8288,6 @@ {} ] ], - "deqp/compiler.jar": [ - [ - {} - ] - ], "deqp/compiler_additional_extern.js": [ [ {} @@ -9928,6 +9653,11 @@ {} ] ], + "extra/logo-256x256.png": [ + [ + {} + ] + ], "extra/sample-100.png": [ [ {} @@ -9993,6 +9723,11 @@ {} ] ], + "js/tests/canvas-tests-utils.js": [ + [ + {} + ] + ], "js/tests/clipping-wide-points.js": [ [ {} @@ -10003,6 +9738,11 @@ {} ] ], + "js/tests/gl-bindattriblocation-aliasing.js": [ + [ + {} + ] + ], "js/tests/gl-enum-tests.js": [ [ {} @@ -10033,11 +9773,26 @@ {} ] ], + "js/tests/line-rendering-quality.js": [ + [ + {} + ] + ], + "js/tests/no-over-optimizations-on-uniform-array.js": [ + [ + {} + ] + ], "js/tests/oes-texture-float-and-half-float-linear.js": [ [ {} ] ], + "js/tests/offscreencanvas-transfer-image-bitmap.js": [ + [ + {} + ] + ], "js/tests/out-of-bounds-test.js": [ [ {} @@ -10188,6 +9943,11 @@ {} ] ], + "js/tests/texture-corner-case-videos.js": [ + [ + {} + ] + ], "js/tests/typed-array-test-cases.js": [ [ {} @@ -10198,6 +9958,21 @@ {} ] ], + "js/tests/webgl-compressed-texture-size-limit.js": [ + [ + {} + ] + ], + "js/tests/webgl-draw-buffers-utils.js": [ + [ + {} + ] + ], + "js/tests/webgl_multiview_util.js": [ + [ + {} + ] + ], "js/webgl-test-harness.js": [ [ {} @@ -10258,16 +10033,6 @@ {} ] ], - "resources/cookies.js": [ - [ - {} - ] - ], - "resources/desktop-gl-constants.js": [ - [ - {} - ] - ], "resources/floatUniformShader.vert": [ [ {} @@ -10353,16 +10118,6 @@ {} ] ], - "resources/js-test-post.js": [ - [ - {} - ] - ], - "resources/js-test-pre.js": [ - [ - {} - ] - ], "resources/js-test-style.css": [ [ {} @@ -10398,6 +10153,11 @@ {} ] ], + "resources/npot-video-1920x1080.mp4": [ + [ + {} + ] + ], "resources/npot-video.mp4": [ [ {} @@ -10423,6 +10183,16 @@ {} ] ], + "resources/red-green-480x272-sar-136x135-dar-16x9.mp4": [ + [ + {} + ] + ], + "resources/red-green-480x272.png": [ + [ + {} + ] + ], "resources/red-green-blue-cyan-4x4.png": [ [ {} @@ -10433,6 +10203,16 @@ {} ] ], + "resources/red-green-hard.hdr": [ + [ + {} + ] + ], + "resources/red-green-hard.png": [ + [ + {} + ] + ], "resources/red-green-semi-transparent.png": [ [ {} @@ -10523,11 +10303,6 @@ {} ] ], - "resources/test-eval.js": [ - [ - {} - ] - ], "resources/thunderbird-logo-64x64.png": [ [ {} @@ -10563,11 +10338,6 @@ {} ] ], - "resources/webgl-test-harness.js": [ - [ - {} - ] - ], "resources/zero-alpha.png": [ [ {} @@ -10592,6 +10362,12 @@ {} ] ], + "conformance/attribs/gl-bindAttribLocation-nonexistent-attribute.html": [ + [ + "/_webgl/conformance/attribs/gl-bindAttribLocation-nonexistent-attribute.html", + {} + ] + ], "conformance/attribs/gl-bindAttribLocation-repeated.html": [ [ "/_webgl/conformance/attribs/gl-bindAttribLocation-repeated.html", @@ -10622,6 +10398,12 @@ {} ] ], + "conformance/attribs/gl-vertex-attrib-unconsumed-out-of-bounds.html": [ + [ + "/_webgl/conformance/attribs/gl-vertex-attrib-unconsumed-out-of-bounds.html", + {} + ] + ], "conformance/attribs/gl-vertex-attrib-zero-issues.html": [ [ "/_webgl/conformance/attribs/gl-vertex-attrib-zero-issues.html", @@ -10666,9 +10448,9 @@ {} ] ], - "conformance/buffers/buffer-data-array-buffer.html": [ + "conformance/buffers/buffer-data-dynamic-delay.html": [ [ - "/_webgl/conformance/buffers/buffer-data-array-buffer.html", + "/_webgl/conformance/buffers/buffer-data-dynamic-delay.html", {} ] ], @@ -10794,6 +10576,12 @@ } ] ], + "conformance/canvas/render-after-resize-test.html": [ + [ + "/_webgl/conformance/canvas/render-after-resize-test.html", + {} + ] + ], "conformance/canvas/texture-bindings-unaffected-on-resize.html": [ [ "/_webgl/conformance/canvas/texture-bindings-unaffected-on-resize.html", @@ -10920,12 +10708,6 @@ {} ] ], - "conformance/context/resource-sharing-test.html": [ - [ - "/_webgl/conformance/context/resource-sharing-test.html", - {} - ] - ], "conformance/context/user-defined-properties-on-context.html": [ [ "/_webgl/conformance/context/user-defined-properties-on-context.html", @@ -11082,9 +10864,9 @@ {} ] ], - "conformance/extensions/webgl-compressed-texture-atc.html": [ + "conformance/extensions/webgl-compressed-texture-astc.html": [ [ - "/_webgl/conformance/extensions/webgl-compressed-texture-atc.html", + "/_webgl/conformance/extensions/webgl-compressed-texture-astc.html", {} ] ], @@ -11136,6 +10918,18 @@ {} ] ], + "conformance/extensions/webgl-draw-buffers-broadcast-return.html": [ + [ + "/_webgl/conformance/extensions/webgl-draw-buffers-broadcast-return.html", + {} + ] + ], + "conformance/extensions/webgl-draw-buffers-feedback-loop.html": [ + [ + "/_webgl/conformance/extensions/webgl-draw-buffers-feedback-loop.html", + {} + ] + ], "conformance/extensions/webgl-draw-buffers-framebuffer-unsupported.html": [ [ "/_webgl/conformance/extensions/webgl-draw-buffers-framebuffer-unsupported.html", @@ -11154,12 +10948,6 @@ {} ] ], - "conformance/extensions/webgl-shared-resources.html": [ - [ - "/_webgl/conformance/extensions/webgl-shared-resources.html", - {} - ] - ], "conformance/glsl/bugs/angle-ambiguous-function-call.html": [ [ "/_webgl/conformance/glsl/bugs/angle-ambiguous-function-call.html", @@ -11190,6 +10978,12 @@ {} ] ], + "conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html": [ + [ + "/_webgl/conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html", + {} + ] + ], "conformance/glsl/bugs/bool-type-cast-bug-int-float.html": [ [ "/_webgl/conformance/glsl/bugs/bool-type-cast-bug-int-float.html", @@ -11226,6 +11020,12 @@ {} ] ], + "conformance/glsl/bugs/conditional-texture-fetch.html": [ + [ + "/_webgl/conformance/glsl/bugs/conditional-texture-fetch.html", + {} + ] + ], "conformance/glsl/bugs/constant-precision-qualifier.html": [ [ "/_webgl/conformance/glsl/bugs/constant-precision-qualifier.html", @@ -11268,6 +11068,24 @@ {} ] ], + "conformance/glsl/bugs/if-return-and-elseif.html": [ + [ + "/_webgl/conformance/glsl/bugs/if-return-and-elseif.html", + {} + ] + ], + "conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html": [ + [ + "/_webgl/conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html", + {} + ] + ], + "conformance/glsl/bugs/init-array-with-loop.html": [ + [ + "/_webgl/conformance/glsl/bugs/init-array-with-loop.html", + {} + ] + ], "conformance/glsl/bugs/invariant-does-not-leak-across-shaders.html": [ [ "/_webgl/conformance/glsl/bugs/invariant-does-not-leak-across-shaders.html", @@ -11346,6 +11164,12 @@ {} ] ], + "conformance/glsl/bugs/sampler-array-struct-function-arg.html": [ + [ + "/_webgl/conformance/glsl/bugs/sampler-array-struct-function-arg.html", + {} + ] + ], "conformance/glsl/bugs/sampler-array-using-loop-index.html": [ [ "/_webgl/conformance/glsl/bugs/sampler-array-using-loop-index.html", @@ -11376,12 +11200,24 @@ {} ] ], + "conformance/glsl/bugs/struct-with-single-member-constructor.html": [ + [ + "/_webgl/conformance/glsl/bugs/struct-with-single-member-constructor.html", + {} + ] + ], "conformance/glsl/bugs/temp-expressions-should-not-crash.html": [ [ "/_webgl/conformance/glsl/bugs/temp-expressions-should-not-crash.html", {} ] ], + "conformance/glsl/bugs/unary-minus-operator-float-bug.html": [ + [ + "/_webgl/conformance/glsl/bugs/unary-minus-operator-float-bug.html", + {} + ] + ], "conformance/glsl/bugs/undefined-index-should-not-crash.html": [ [ "/_webgl/conformance/glsl/bugs/undefined-index-should-not-crash.html", @@ -11394,6 +11230,24 @@ {} ] ], + "conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html": [ + [ + "/_webgl/conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html", + {} + ] + ], + "conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html": [ + [ + "/_webgl/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html", + {} + ] + ], + "conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html": [ + [ + "/_webgl/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html", + {} + ] + ], "conformance/glsl/constructors/glsl-construct-bvec2.html": [ [ "/_webgl/conformance/glsl/constructors/glsl-construct-bvec2.html", @@ -12144,6 +11998,12 @@ {} ] ], + "conformance/glsl/misc/fragcolor-fragdata-invariant.html": [ + [ + "/_webgl/conformance/glsl/misc/fragcolor-fragdata-invariant.html", + {} + ] + ], "conformance/glsl/misc/gl_position_unset.vert.html": [ [ "/_webgl/conformance/glsl/misc/gl_position_unset.vert.html", @@ -12180,6 +12040,12 @@ {} ] ], + "conformance/glsl/misc/local-variable-shadowing-outer-function.html": [ + [ + "/_webgl/conformance/glsl/misc/local-variable-shadowing-outer-function.html", + {} + ] + ], "conformance/glsl/misc/non-ascii-comments.vert.html": [ [ "/_webgl/conformance/glsl/misc/non-ascii-comments.vert.html", @@ -12198,6 +12064,12 @@ {} ] ], + "conformance/glsl/misc/sampler-operand.html": [ + [ + "/_webgl/conformance/glsl/misc/sampler-operand.html", + {} + ] + ], "conformance/glsl/misc/sequence-operator-returns-constant.html": [ [ "/_webgl/conformance/glsl/misc/sequence-operator-returns-constant.html", @@ -12702,6 +12574,18 @@ {} ] ], + "conformance/glsl/misc/struct-as-inout-parameter.html": [ + [ + "/_webgl/conformance/glsl/misc/struct-as-inout-parameter.html", + {} + ] + ], + "conformance/glsl/misc/struct-as-out-parameter.html": [ + [ + "/_webgl/conformance/glsl/misc/struct-as-out-parameter.html", + {} + ] + ], "conformance/glsl/misc/struct-assign.html": [ [ "/_webgl/conformance/glsl/misc/struct-assign.html", @@ -12774,6 +12658,18 @@ {} ] ], + "conformance/glsl/misc/uninitialized-local-global-variables.html": [ + [ + "/_webgl/conformance/glsl/misc/uninitialized-local-global-variables.html", + {} + ] + ], + "conformance/glsl/preprocessor/macro-expansion-tricky.html": [ + [ + "/_webgl/conformance/glsl/preprocessor/macro-expansion-tricky.html", + {} + ] + ], "conformance/glsl/reserved/_webgl_field.vert.html": [ [ "/_webgl/conformance/glsl/reserved/_webgl_field.vert.html", @@ -12996,6 +12892,12 @@ {} ] ], + "conformance/misc/webgl-specific-stencil-settings.html": [ + [ + "/_webgl/conformance/misc/webgl-specific-stencil-settings.html", + {} + ] + ], "conformance/misc/webgl-specific.html": [ [ "/_webgl/conformance/misc/webgl-specific.html", @@ -13326,6 +13228,72 @@ {} ] ], + "conformance/offscreencanvas/context-attribute-preserve-drawing-buffer.html": [ + [ + "/_webgl/conformance/offscreencanvas/context-attribute-preserve-drawing-buffer.html", + {} + ] + ], + "conformance/offscreencanvas/context-creation-worker.html": [ + [ + "/_webgl/conformance/offscreencanvas/context-creation-worker.html", + {} + ] + ], + "conformance/offscreencanvas/context-creation.html": [ + [ + "/_webgl/conformance/offscreencanvas/context-creation.html", + {} + ] + ], + "conformance/offscreencanvas/context-lost-restored-worker.html": [ + [ + "/_webgl/conformance/offscreencanvas/context-lost-restored-worker.html", + {} + ] + ], + "conformance/offscreencanvas/context-lost-restored.html": [ + [ + "/_webgl/conformance/offscreencanvas/context-lost-restored.html", + {} + ] + ], + "conformance/offscreencanvas/context-lost-worker.html": [ + [ + "/_webgl/conformance/offscreencanvas/context-lost-worker.html", + {} + ] + ], + "conformance/offscreencanvas/context-lost.html": [ + [ + "/_webgl/conformance/offscreencanvas/context-lost.html", + {} + ] + ], + "conformance/offscreencanvas/methods-worker.html": [ + [ + "/_webgl/conformance/offscreencanvas/methods-worker.html", + {} + ] + ], + "conformance/offscreencanvas/methods.html": [ + [ + "/_webgl/conformance/offscreencanvas/methods.html", + {} + ] + ], + "conformance/offscreencanvas/offscreencanvas-resize.html": [ + [ + "/_webgl/conformance/offscreencanvas/offscreencanvas-resize.html", + {} + ] + ], + "conformance/offscreencanvas/offscreencanvas-transfer-image-bitmap.html": [ + [ + "/_webgl/conformance/offscreencanvas/offscreencanvas-transfer-image-bitmap.html", + {} + ] + ], "conformance/ogles/GL/abs/abs_001_to_006.html": [ [ "/_webgl/conformance/ogles/GL/abs/abs_001_to_006.html", @@ -13807,7 +13775,9 @@ "conformance/ogles/GL/log/log_001_to_008.html": [ [ "/_webgl/conformance/ogles/GL/log/log_001_to_008.html", - {} + { + "timeout": "long" + } ] ], "conformance/ogles/GL/log/log_009_to_012.html": [ @@ -14244,6 +14214,12 @@ {} ] ], + "conformance/reading/fbo-remains-unchanged-after-read-pixels.html": [ + [ + "/_webgl/conformance/reading/fbo-remains-unchanged-after-read-pixels.html", + {} + ] + ], "conformance/reading/read-pixels-pack-alignment.html": [ [ "/_webgl/conformance/reading/read-pixels-pack-alignment.html", @@ -14256,6 +14232,12 @@ {} ] ], + "conformance/renderbuffers/depth-renderbuffer-initialization.html": [ + [ + "/_webgl/conformance/renderbuffers/depth-renderbuffer-initialization.html", + {} + ] + ], "conformance/renderbuffers/feedback-loop.html": [ [ "/_webgl/conformance/renderbuffers/feedback-loop.html", @@ -14286,6 +14268,18 @@ {} ] ], + "conformance/renderbuffers/stencil-renderbuffer-initialization.html": [ + [ + "/_webgl/conformance/renderbuffers/stencil-renderbuffer-initialization.html", + {} + ] + ], + "conformance/rendering/clear-after-copyTexImage2D.html": [ + [ + "/_webgl/conformance/rendering/clear-after-copyTexImage2D.html", + {} + ] + ], "conformance/rendering/clipping-wide-points.html": [ [ "/_webgl/conformance/rendering/clipping-wide-points.html", @@ -14328,6 +14322,12 @@ {} ] ], + "conformance/rendering/framebuffer-texture-clear.html": [ + [ + "/_webgl/conformance/rendering/framebuffer-texture-clear.html", + {} + ] + ], "conformance/rendering/framebuffer-texture-switch.html": [ [ "/_webgl/conformance/rendering/framebuffer-texture-switch.html", @@ -14382,6 +14382,12 @@ {} ] ], + "conformance/rendering/line-rendering-quality.html": [ + [ + "/_webgl/conformance/rendering/line-rendering-quality.html", + {} + ] + ], "conformance/rendering/many-draw-calls.html": [ [ "/_webgl/conformance/rendering/many-draw-calls.html", @@ -14444,12 +14450,36 @@ {} ] ], + "conformance/rendering/preservedrawingbuffer-leak.html": [ + [ + "/_webgl/conformance/rendering/preservedrawingbuffer-leak.html", + {} + ] + ], + "conformance/rendering/rendering-stencil-large-viewport.html": [ + [ + "/_webgl/conformance/rendering/rendering-stencil-large-viewport.html", + {} + ] + ], + "conformance/rendering/scissor-rect-repeated-rendering.html": [ + [ + "/_webgl/conformance/rendering/scissor-rect-repeated-rendering.html", + {} + ] + ], "conformance/rendering/simple.html": [ [ "/_webgl/conformance/rendering/simple.html", {} ] ], + "conformance/rendering/texture-switch-performance.html": [ + [ + "/_webgl/conformance/rendering/texture-switch-performance.html", + {} + ] + ], "conformance/rendering/triangle.html": [ [ "/_webgl/conformance/rendering/triangle.html", @@ -14504,6 +14534,24 @@ {} ] ], + "conformance/textures/canvas/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/canvas/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14534,6 +14582,24 @@ {} ] ], + "conformance/textures/canvas_sub_rectangle/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/canvas_sub_rectangle/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/canvas_sub_rectangle/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/canvas_sub_rectangle/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/canvas_sub_rectangle/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/canvas_sub_rectangle/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/canvas_sub_rectangle/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/canvas_sub_rectangle/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14564,45 +14630,21 @@ {} ] ], - "conformance/textures/compressed-tex-image.html": [ + "conformance/textures/image/tex-2d-alpha-alpha-unsigned_byte.html": [ [ - "/_webgl/conformance/textures/compressed-tex-image.html", + "/_webgl/conformance/textures/image/tex-2d-alpha-alpha-unsigned_byte.html", {} ] ], - "conformance/textures/copy-tex-image-2d-formats.html": [ + "conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html": [ [ - "/_webgl/conformance/textures/copy-tex-image-2d-formats.html", + "/_webgl/conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html", {} ] ], - "conformance/textures/copy-tex-image-and-sub-image-2d.html": [ + "conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ [ - "/_webgl/conformance/textures/copy-tex-image-and-sub-image-2d.html", - {} - ] - ], - "conformance/textures/default-texture.html": [ - [ - "/_webgl/conformance/textures/default-texture.html", - {} - ] - ], - "conformance/textures/gl-get-tex-parameter.html": [ - [ - "/_webgl/conformance/textures/gl-get-tex-parameter.html", - {} - ] - ], - "conformance/textures/gl-pixelstorei.html": [ - [ - "/_webgl/conformance/textures/gl-pixelstorei.html", - {} - ] - ], - "conformance/textures/gl-teximage.html": [ - [ - "/_webgl/conformance/textures/gl-teximage.html", + "/_webgl/conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", {} ] ], @@ -14636,6 +14678,24 @@ {} ] ], + "conformance/textures/image_bitmap_from_blob/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_blob/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_blob/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_blob/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_blob/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_blob/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14666,6 +14726,24 @@ {} ] ], + "conformance/textures/image_bitmap_from_canvas/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_canvas/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_canvas/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14696,6 +14774,24 @@ {} ] ], + "conformance/textures/image_bitmap_from_image/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_image/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14726,6 +14822,24 @@ {} ] ], + "conformance/textures/image_bitmap_from_image_bitmap/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14756,6 +14870,24 @@ {} ] ], + "conformance/textures/image_bitmap_from_image_data/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image_data/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_image_data/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14786,6 +14918,24 @@ {} ] ], + "conformance/textures/image_bitmap_from_video/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_video/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_video/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_video/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_bitmap_from_video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_bitmap_from_video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14816,6 +14966,24 @@ {} ] ], + "conformance/textures/image_data/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_data/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/image_data/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/image_data/tex-2d-rgb-rgb-unsigned_byte.html", @@ -14846,12 +15014,6 @@ {} ] ], - "conformance/textures/mipmap-fbo.html": [ - [ - "/_webgl/conformance/textures/mipmap-fbo.html", - {} - ] - ], "conformance/textures/misc/compressed-tex-image.html": [ [ "/_webgl/conformance/textures/misc/compressed-tex-image.html", @@ -14870,9 +15032,21 @@ {} ] ], - "conformance/textures/misc/copy-tex-sub-image-2d-partial-texture.html": [ + "conformance/textures/misc/copy-tex-image-crash.html": [ [ - "/_webgl/conformance/textures/misc/copy-tex-sub-image-2d-partial-texture.html", + "/_webgl/conformance/textures/misc/copy-tex-image-crash.html", + {} + ] + ], + "conformance/textures/misc/copytexsubimage2d-large-partial-copy-corruption.html": [ + [ + "/_webgl/conformance/textures/misc/copytexsubimage2d-large-partial-copy-corruption.html", + {} + ] + ], + "conformance/textures/misc/copytexsubimage2d-subrects.html": [ + [ + "/_webgl/conformance/textures/misc/copytexsubimage2d-subrects.html", {} ] ], @@ -14882,6 +15056,12 @@ {} ] ], + "conformance/textures/misc/cube-map-uploads-out-of-order.html": [ + [ + "/_webgl/conformance/textures/misc/cube-map-uploads-out-of-order.html", + {} + ] + ], "conformance/textures/misc/default-texture.html": [ [ "/_webgl/conformance/textures/misc/default-texture.html", @@ -14912,6 +15092,12 @@ {} ] ], + "conformance/textures/misc/origin-clean-conformance-offscreencanvas.html": [ + [ + "/_webgl/conformance/textures/misc/origin-clean-conformance-offscreencanvas.html", + {} + ] + ], "conformance/textures/misc/origin-clean-conformance.html": [ [ "/_webgl/conformance/textures/misc/origin-clean-conformance.html", @@ -14972,6 +15158,12 @@ {} ] ], + "conformance/textures/misc/tex-video-using-tex-unit-non-zero.html": [ + [ + "/_webgl/conformance/textures/misc/tex-video-using-tex-unit-non-zero.html", + {} + ] + ], "conformance/textures/misc/texparameter-test.html": [ [ "/_webgl/conformance/textures/misc/texparameter-test.html", @@ -15014,6 +15206,12 @@ {} ] ], + "conformance/textures/misc/texture-corner-case-videos.html": [ + [ + "/_webgl/conformance/textures/misc/texture-corner-case-videos.html", + {} + ] + ], "conformance/textures/misc/texture-cube-as-fbo-attachment.html": [ [ "/_webgl/conformance/textures/misc/texture-cube-as-fbo-attachment.html", @@ -15104,9 +15302,27 @@ {} ] ], - "conformance/textures/origin-clean-conformance.html": [ + "conformance/textures/misc/texture-with-flip-y-and-premultiply-alpha.html": [ [ - "/_webgl/conformance/textures/origin-clean-conformance.html", + "/_webgl/conformance/textures/misc/texture-with-flip-y-and-premultiply-alpha.html", + {} + ] + ], + "conformance/textures/svg_image/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/svg_image/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/svg_image/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/svg_image/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/svg_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/svg_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", {} ] ], @@ -15140,309 +15356,21 @@ {} ] ], - "conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html": [ + "conformance/textures/video/tex-2d-alpha-alpha-unsigned_byte.html": [ [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html", + "/_webgl/conformance/textures/video/tex-2d-alpha-alpha-unsigned_byte.html", {} ] ], - "conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html": [ + "conformance/textures/video/tex-2d-luminance-luminance-unsigned_byte.html": [ [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html", + "/_webgl/conformance/textures/video/tex-2d-luminance-luminance-unsigned_byte.html", {} ] ], - "conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html": [ + "conformance/textures/video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-canvas.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgb565.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgb565.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba4444.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba4444.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba5551.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba5551.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-data.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-svg-image.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-svg-image.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-video.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgb565.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgb565.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba4444.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba4444.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba5551.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba5551.html", - {} - ] - ], - "conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas.html", - {} - ] - ], - "conformance/textures/tex-image-and-uniform-binding-bugs.html": [ - [ - "/_webgl/conformance/textures/tex-image-and-uniform-binding-bugs.html", - {} - ] - ], - "conformance/textures/tex-image-canvas-corruption.html": [ - [ - "/_webgl/conformance/textures/tex-image-canvas-corruption.html", - {} - ] - ], - "conformance/textures/tex-image-webgl.html": [ - [ - "/_webgl/conformance/textures/tex-image-webgl.html", - {} - ] - ], - "conformance/textures/tex-image-with-format-and-type.html": [ - [ - "/_webgl/conformance/textures/tex-image-with-format-and-type.html", - {} - ] - ], - "conformance/textures/tex-image-with-invalid-data.html": [ - [ - "/_webgl/conformance/textures/tex-image-with-invalid-data.html", - {} - ] - ], - "conformance/textures/tex-input-validation.html": [ - [ - "/_webgl/conformance/textures/tex-input-validation.html", - {} - ] - ], - "conformance/textures/tex-sub-image-2d-bad-args.html": [ - [ - "/_webgl/conformance/textures/tex-sub-image-2d-bad-args.html", - {} - ] - ], - "conformance/textures/tex-sub-image-2d.html": [ - [ - "/_webgl/conformance/textures/tex-sub-image-2d.html", - {} - ] - ], - "conformance/textures/texparameter-test.html": [ - [ - "/_webgl/conformance/textures/texparameter-test.html", - {} - ] - ], - "conformance/textures/texture-active-bind-2.html": [ - [ - "/_webgl/conformance/textures/texture-active-bind-2.html", - {} - ] - ], - "conformance/textures/texture-active-bind.html": [ - [ - "/_webgl/conformance/textures/texture-active-bind.html", - {} - ] - ], - "conformance/textures/texture-attachment-formats.html": [ - [ - "/_webgl/conformance/textures/texture-attachment-formats.html", - {} - ] - ], - "conformance/textures/texture-clear.html": [ - [ - "/_webgl/conformance/textures/texture-clear.html", - {} - ] - ], - "conformance/textures/texture-complete.html": [ - [ - "/_webgl/conformance/textures/texture-complete.html", - {} - ] - ], - "conformance/textures/texture-copying-feedback-loops.html": [ - [ - "/_webgl/conformance/textures/texture-copying-feedback-loops.html", - {} - ] - ], - "conformance/textures/texture-draw-with-2d-and-cube.html": [ - [ - "/_webgl/conformance/textures/texture-draw-with-2d-and-cube.html", - {} - ] - ], - "conformance/textures/texture-fakeblack.html": [ - [ - "/_webgl/conformance/textures/texture-fakeblack.html", - {} - ] - ], - "conformance/textures/texture-formats-test.html": [ - [ - "/_webgl/conformance/textures/texture-formats-test.html", - {} - ] - ], - "conformance/textures/texture-hd-dpi.html": [ - [ - "/_webgl/conformance/textures/texture-hd-dpi.html", - {} - ] - ], - "conformance/textures/texture-mips.html": [ - [ - "/_webgl/conformance/textures/texture-mips.html", - {} - ] - ], - "conformance/textures/texture-npot-video.html": [ - [ - "/_webgl/conformance/textures/texture-npot-video.html", - {} - ] - ], - "conformance/textures/texture-npot.html": [ - [ - "/_webgl/conformance/textures/texture-npot.html", - {} - ] - ], - "conformance/textures/texture-size-cube-maps.html": [ - [ - "/_webgl/conformance/textures/texture-size-cube-maps.html", - {} - ] - ], - "conformance/textures/texture-size-limit.html": [ - [ - "/_webgl/conformance/textures/texture-size-limit.html", - {} - ] - ], - "conformance/textures/texture-size.html": [ - [ - "/_webgl/conformance/textures/texture-size.html", - {} - ] - ], - "conformance/textures/texture-sub-image-cube-maps.html": [ - [ - "/_webgl/conformance/textures/texture-sub-image-cube-maps.html", - {} - ] - ], - "conformance/textures/texture-transparent-pixels-initialized.html": [ - [ - "/_webgl/conformance/textures/texture-transparent-pixels-initialized.html", - {} - ] - ], - "conformance/textures/texture-upload-cube-maps.html": [ - [ - "/_webgl/conformance/textures/texture-upload-cube-maps.html", - {} - ] - ], - "conformance/textures/texture-upload-size.html": [ - [ - "/_webgl/conformance/textures/texture-upload-size.html", + "/_webgl/conformance/textures/video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", {} ] ], @@ -15476,6 +15404,24 @@ {} ] ], + "conformance/textures/webgl_canvas/tex-2d-alpha-alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/webgl_canvas/tex-2d-alpha-alpha-unsigned_byte.html", + {} + ] + ], + "conformance/textures/webgl_canvas/tex-2d-luminance-luminance-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/webgl_canvas/tex-2d-luminance-luminance-unsigned_byte.html", + {} + ] + ], + "conformance/textures/webgl_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + [ + "/_webgl/conformance/textures/webgl_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html", + {} + ] + ], "conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_byte.html": [ [ "/_webgl/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_byte.html", @@ -15572,6 +15518,114 @@ {} ] ], + "conformance/uniforms/no-over-optimization-on-uniform-array-00.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-00.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-01.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-01.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-02.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-02.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-03.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-03.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-04.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-04.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-05.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-05.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-06.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-06.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-07.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-07.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-08.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-08.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-09.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-09.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-10.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-10.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-11.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-11.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-12.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-12.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-13.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-13.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-14.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-14.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-15.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-15.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-16.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-16.html", + {} + ] + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-17.html": [ + [ + "/_webgl/conformance/uniforms/no-over-optimization-on-uniform-array-17.html", + {} + ] + ], "conformance/uniforms/null-uniform-location.html": [ [ "/_webgl/conformance/uniforms/null-uniform-location.html", @@ -15610,12 +15664,24 @@ {} ] ], + "conformance2/attribs/gl-bindAttribLocation-aliasing-inactive.html": [ + [ + "/_webgl/conformance2/attribs/gl-bindAttribLocation-aliasing-inactive.html", + {} + ] + ], "conformance2/attribs/gl-vertex-attrib-i-render.html": [ [ "/_webgl/conformance2/attribs/gl-vertex-attrib-i-render.html", {} ] ], + "conformance2/attribs/gl-vertex-attrib-normalized-int.html": [ + [ + "/_webgl/conformance2/attribs/gl-vertex-attrib-normalized-int.html", + {} + ] + ], "conformance2/attribs/gl-vertex-attrib.html": [ [ "/_webgl/conformance2/attribs/gl-vertex-attrib.html", @@ -15634,6 +15700,12 @@ {} ] ], + "conformance2/attribs/render-no-enabled-attrib-arrays.html": [ + [ + "/_webgl/conformance2/attribs/render-no-enabled-attrib-arrays.html", + {} + ] + ], "conformance2/buffers/bound-buffer-size-change-test.html": [ [ "/_webgl/conformance2/buffers/bound-buffer-size-change-test.html", @@ -15670,6 +15742,18 @@ {} ] ], + "conformance2/buffers/delete-buffer.html": [ + [ + "/_webgl/conformance2/buffers/delete-buffer.html", + {} + ] + ], + "conformance2/buffers/get-buffer-sub-data-validity.html": [ + [ + "/_webgl/conformance2/buffers/get-buffer-sub-data-validity.html", + {} + ] + ], "conformance2/buffers/get-buffer-sub-data.html": [ [ "/_webgl/conformance2/buffers/get-buffer-sub-data.html", @@ -15682,12 +15766,30 @@ {} ] ], + "conformance2/buffers/uniform-buffers-second-compile.html": [ + [ + "/_webgl/conformance2/buffers/uniform-buffers-second-compile.html", + {} + ] + ], + "conformance2/buffers/uniform-buffers-state-restoration.html": [ + [ + "/_webgl/conformance2/buffers/uniform-buffers-state-restoration.html", + {} + ] + ], "conformance2/buffers/uniform-buffers.html": [ [ "/_webgl/conformance2/buffers/uniform-buffers.html", {} ] ], + "conformance2/canvas/to-data-url-with-pack-params.html": [ + [ + "/_webgl/conformance2/canvas/to-data-url-with-pack-params.html", + {} + ] + ], "conformance2/context/constants-and-properties-2.html": [ [ "/_webgl/conformance2/context/constants-and-properties-2.html", @@ -15700,18 +15802,42 @@ {} ] ], + "conformance2/context/context-resize-changes-buffer-binding-bug.html": [ + [ + "/_webgl/conformance2/context/context-resize-changes-buffer-binding-bug.html", + {} + ] + ], + "conformance2/context/context-sharing-texture2darray-texture3d-data-bug.html": [ + [ + "/_webgl/conformance2/context/context-sharing-texture2darray-texture3d-data-bug.html", + {} + ] + ], "conformance2/context/context-type-test-2.html": [ [ "/_webgl/conformance2/context/context-type-test-2.html", {} ] ], + "conformance2/context/incorrect-context-object-behaviour.html": [ + [ + "/_webgl/conformance2/context/incorrect-context-object-behaviour.html", + {} + ] + ], "conformance2/context/methods-2.html": [ [ "/_webgl/conformance2/context/methods-2.html", {} ] ], + "conformance2/context/no-experimental-webgl2.html": [ + [ + "/_webgl/conformance2/context/no-experimental-webgl2.html", + {} + ] + ], "conformance2/extensions/ext-color-buffer-float.html": [ [ "/_webgl/conformance2/extensions/ext-color-buffer-float.html", @@ -15736,6 +15862,60 @@ {} ] ], + "conformance2/extensions/webgl_multiview.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview.html", + {} + ] + ], + "conformance2/extensions/webgl_multiview_depth.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview_depth.html", + {} + ] + ], + "conformance2/extensions/webgl_multiview_draw_buffers.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview_draw_buffers.html", + {} + ] + ], + "conformance2/extensions/webgl_multiview_flat_varying.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview_flat_varying.html", + {} + ] + ], + "conformance2/extensions/webgl_multiview_instanced_draw.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview_instanced_draw.html", + {} + ] + ], + "conformance2/extensions/webgl_multiview_non_multiview_shaders.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview_non_multiview_shaders.html", + {} + ] + ], + "conformance2/extensions/webgl_multiview_single_view_operations.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview_single_view_operations.html", + {} + ] + ], + "conformance2/extensions/webgl_multiview_timer_query.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview_timer_query.html", + {} + ] + ], + "conformance2/extensions/webgl_multiview_transform_feedback.html": [ + [ + "/_webgl/conformance2/extensions/webgl_multiview_transform_feedback.html", + {} + ] + ], "conformance2/glsl3/array-as-return-value.html": [ [ "/_webgl/conformance2/glsl3/array-as-return-value.html", @@ -15778,6 +15958,18 @@ {} ] ], + "conformance2/glsl3/array-initialize-with-same-name-array.html": [ + [ + "/_webgl/conformance2/glsl3/array-initialize-with-same-name-array.html", + {} + ] + ], + "conformance2/glsl3/array-length-side-effects.html": [ + [ + "/_webgl/conformance2/glsl3/array-length-side-effects.html", + {} + ] + ], "conformance2/glsl3/attrib-location-length-limits.html": [ [ "/_webgl/conformance2/glsl3/attrib-location-length-limits.html", @@ -15808,18 +16000,48 @@ {} ] ], + "conformance2/glsl3/const-struct-from-array-as-function-parameter.html": [ + [ + "/_webgl/conformance2/glsl3/const-struct-from-array-as-function-parameter.html", + {} + ] + ], + "conformance2/glsl3/float-parsing.html": [ + [ + "/_webgl/conformance2/glsl3/float-parsing.html", + {} + ] + ], "conformance2/glsl3/forbidden-operators.html": [ [ "/_webgl/conformance2/glsl3/forbidden-operators.html", {} ] ], + "conformance2/glsl3/forward-declaration.html": [ + [ + "/_webgl/conformance2/glsl3/forward-declaration.html", + {} + ] + ], "conformance2/glsl3/frag-depth.html": [ [ "/_webgl/conformance2/glsl3/frag-depth.html", {} ] ], + "conformance2/glsl3/gradient-in-discontinuous-loop.html": [ + [ + "/_webgl/conformance2/glsl3/gradient-in-discontinuous-loop.html", + {} + ] + ], + "conformance2/glsl3/input-with-interpotaion-as-lvalue.html": [ + [ + "/_webgl/conformance2/glsl3/input-with-interpotaion-as-lvalue.html", + {} + ] + ], "conformance2/glsl3/invalid-default-precision.html": [ [ "/_webgl/conformance2/glsl3/invalid-default-precision.html", @@ -15910,6 +16132,18 @@ {} ] ], + "conformance2/glsl3/switch-case.html": [ + [ + "/_webgl/conformance2/glsl3/switch-case.html", + {} + ] + ], + "conformance2/glsl3/texture-offset-non-constant-offset.html": [ + [ + "/_webgl/conformance2/glsl3/texture-offset-non-constant-offset.html", + {} + ] + ], "conformance2/glsl3/texture-offset-out-of-range.html": [ [ "/_webgl/conformance2/glsl3/texture-offset-out-of-range.html", @@ -15952,18 +16186,42 @@ {} ] ], + "conformance2/glsl3/uniform-struct-with-non-square-matrix.html": [ + [ + "/_webgl/conformance2/glsl3/uniform-struct-with-non-square-matrix.html", + {} + ] + ], + "conformance2/glsl3/uninitialized-local-global-variables.html": [ + [ + "/_webgl/conformance2/glsl3/uninitialized-local-global-variables.html", + {} + ] + ], "conformance2/glsl3/valid-invariant.html": [ [ "/_webgl/conformance2/glsl3/valid-invariant.html", {} ] ], + "conformance2/glsl3/varying-struct-inline-definition.html": [ + [ + "/_webgl/conformance2/glsl3/varying-struct-inline-definition.html", + {} + ] + ], "conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug.html": [ [ "/_webgl/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug.html", {} ] ], + "conformance2/glsl3/vector-dynamic-indexing-swizzled-lvalue.html": [ + [ + "/_webgl/conformance2/glsl3/vector-dynamic-indexing-swizzled-lvalue.html", + {} + ] + ], "conformance2/glsl3/vector-dynamic-indexing.html": [ [ "/_webgl/conformance2/glsl3/vector-dynamic-indexing.html", @@ -16006,12 +16264,54 @@ {} ] ], + "conformance2/offscreencanvas/context-creation-worker.html": [ + [ + "/_webgl/conformance2/offscreencanvas/context-creation-worker.html", + {} + ] + ], + "conformance2/offscreencanvas/context-creation.html": [ + [ + "/_webgl/conformance2/offscreencanvas/context-creation.html", + {} + ] + ], + "conformance2/offscreencanvas/methods-2-worker.html": [ + [ + "/_webgl/conformance2/offscreencanvas/methods-2-worker.html", + {} + ] + ], + "conformance2/offscreencanvas/methods-2.html": [ + [ + "/_webgl/conformance2/offscreencanvas/methods-2.html", + {} + ] + ], + "conformance2/offscreencanvas/offscreencanvas-transfer-image-bitmap.html": [ + [ + "/_webgl/conformance2/offscreencanvas/offscreencanvas-transfer-image-bitmap.html", + {} + ] + ], + "conformance2/programs/active-built-in-attribs.html": [ + [ + "/_webgl/conformance2/programs/active-built-in-attribs.html", + {} + ] + ], "conformance2/programs/gl-get-frag-data-location.html": [ [ "/_webgl/conformance2/programs/gl-get-frag-data-location.html", {} ] ], + "conformance2/programs/sampler-uniforms.html": [ + [ + "/_webgl/conformance2/programs/sampler-uniforms.html", + {} + ] + ], "conformance2/query/occlusion-query.html": [ [ "/_webgl/conformance2/query/occlusion-query.html", @@ -16084,12 +16384,24 @@ {} ] ], + "conformance2/renderbuffers/multisampled-depth-renderbuffer-initialization.html": [ + [ + "/_webgl/conformance2/renderbuffers/multisampled-depth-renderbuffer-initialization.html", + {} + ] + ], "conformance2/renderbuffers/multisampled-renderbuffer-initialization.html": [ [ "/_webgl/conformance2/renderbuffers/multisampled-renderbuffer-initialization.html", {} ] ], + "conformance2/renderbuffers/multisampled-stencil-renderbuffer-initialization.html": [ + [ + "/_webgl/conformance2/renderbuffers/multisampled-stencil-renderbuffer-initialization.html", + {} + ] + ], "conformance2/renderbuffers/readbuffer.html": [ [ "/_webgl/conformance2/renderbuffers/readbuffer.html", @@ -16126,6 +16438,18 @@ {} ] ], + "conformance2/rendering/blitframebuffer-r11f-g11f-b10f.html": [ + [ + "/_webgl/conformance2/rendering/blitframebuffer-r11f-g11f-b10f.html", + {} + ] + ], + "conformance2/rendering/blitframebuffer-resolve-to-back-buffer.html": [ + [ + "/_webgl/conformance2/rendering/blitframebuffer-resolve-to-back-buffer.html", + {} + ] + ], "conformance2/rendering/blitframebuffer-scissor-enabled.html": [ [ "/_webgl/conformance2/rendering/blitframebuffer-scissor-enabled.html", @@ -16174,30 +16498,84 @@ {} ] ], + "conformance2/rendering/clearbuffer-sub-source.html": [ + [ + "/_webgl/conformance2/rendering/clearbuffer-sub-source.html", + {} + ] + ], + "conformance2/rendering/clearbufferfv-with-alpha-false.html": [ + [ + "/_webgl/conformance2/rendering/clearbufferfv-with-alpha-false.html", + {} + ] + ], "conformance2/rendering/clipping-wide-points.html": [ [ "/_webgl/conformance2/rendering/clipping-wide-points.html", {} ] ], + "conformance2/rendering/depth-stencil-feedback-loop.html": [ + [ + "/_webgl/conformance2/rendering/depth-stencil-feedback-loop.html", + {} + ] + ], + "conformance2/rendering/draw-buffers-dirty-state-bug.html": [ + [ + "/_webgl/conformance2/rendering/draw-buffers-dirty-state-bug.html", + {} + ] + ], + "conformance2/rendering/draw-buffers-driver-hang.html": [ + [ + "/_webgl/conformance2/rendering/draw-buffers-driver-hang.html", + {} + ] + ], "conformance2/rendering/draw-buffers.html": [ [ "/_webgl/conformance2/rendering/draw-buffers.html", {} ] ], + "conformance2/rendering/draw-with-integer-texture-base-level.html": [ + [ + "/_webgl/conformance2/rendering/draw-with-integer-texture-base-level.html", + {} + ] + ], "conformance2/rendering/element-index-uint.html": [ [ "/_webgl/conformance2/rendering/element-index-uint.html", {} ] ], + "conformance2/rendering/framebuffer-completeness-draw-framebuffer.html": [ + [ + "/_webgl/conformance2/rendering/framebuffer-completeness-draw-framebuffer.html", + {} + ] + ], "conformance2/rendering/framebuffer-completeness-unaffected.html": [ [ "/_webgl/conformance2/rendering/framebuffer-completeness-unaffected.html", {} ] ], + "conformance2/rendering/framebuffer-texture-changing-base-level.html": [ + [ + "/_webgl/conformance2/rendering/framebuffer-texture-changing-base-level.html", + {} + ] + ], + "conformance2/rendering/framebuffer-texture-level1.html": [ + [ + "/_webgl/conformance2/rendering/framebuffer-texture-level1.html", + {} + ] + ], "conformance2/rendering/framebuffer-unsupported.html": [ [ "/_webgl/conformance2/rendering/framebuffer-unsupported.html", @@ -16222,24 +16600,54 @@ {} ] ], + "conformance2/rendering/line-rendering-quality.html": [ + [ + "/_webgl/conformance2/rendering/line-rendering-quality.html", + {} + ] + ], + "conformance2/rendering/multisampling-fragment-evaluation.html": [ + [ + "/_webgl/conformance2/rendering/multisampling-fragment-evaluation.html", + {} + ] + ], "conformance2/rendering/out-of-bounds-index-buffers-after-copying.html": [ [ "/_webgl/conformance2/rendering/out-of-bounds-index-buffers-after-copying.html", {} ] ], + "conformance2/rendering/read-draw-when-missing-image.html": [ + [ + "/_webgl/conformance2/rendering/read-draw-when-missing-image.html", + {} + ] + ], "conformance2/rendering/rendering-sampling-feedback-loop.html": [ [ "/_webgl/conformance2/rendering/rendering-sampling-feedback-loop.html", {} ] ], + "conformance2/rendering/texture-switch-performance.html": [ + [ + "/_webgl/conformance2/rendering/texture-switch-performance.html", + {} + ] + ], "conformance2/rendering/uniform-block-buffer-size.html": [ [ "/_webgl/conformance2/rendering/uniform-block-buffer-size.html", {} ] ], + "conformance2/samplers/multi-context-sampler-test.html": [ + [ + "/_webgl/conformance2/samplers/multi-context-sampler-test.html", + {} + ] + ], "conformance2/samplers/sampler-drawing-test.html": [ [ "/_webgl/conformance2/samplers/sampler-drawing-test.html", @@ -16360,6 +16768,12 @@ {} ] ], + "conformance2/textures/canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/canvas/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/canvas/tex-2d-rgb16f-rgb-float.html", @@ -16414,6 +16828,18 @@ {} ] ], + "conformance2/textures/canvas/tex-2d-rgb9_e5-rgb-float.html": [ + [ + "/_webgl/conformance2/textures/canvas/tex-2d-rgb9_e5-rgb-float.html", + {} + ] + ], + "conformance2/textures/canvas/tex-2d-rgb9_e5-rgb-half_float.html": [ + [ + "/_webgl/conformance2/textures/canvas/tex-2d-rgb9_e5-rgb-half_float.html", + {} + ] + ], "conformance2/textures/canvas/tex-2d-rgba16f-rgba-float.html": [ [ "/_webgl/conformance2/textures/canvas/tex-2d-rgba16f-rgba-float.html", @@ -16546,6 +16972,12 @@ {} ] ], + "conformance2/textures/canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/canvas/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/canvas/tex-3d-rgb16f-rgb-float.html", @@ -16600,6 +17032,18 @@ {} ] ], + "conformance2/textures/canvas/tex-3d-rgb9_e5-rgb-float.html": [ + [ + "/_webgl/conformance2/textures/canvas/tex-3d-rgb9_e5-rgb-float.html", + {} + ] + ], + "conformance2/textures/canvas/tex-3d-rgb9_e5-rgb-half_float.html": [ + [ + "/_webgl/conformance2/textures/canvas/tex-3d-rgb9_e5-rgb-half_float.html", + {} + ] + ], "conformance2/textures/canvas/tex-3d-rgba16f-rgba-float.html": [ [ "/_webgl/conformance2/textures/canvas/tex-3d-rgba16f-rgba-float.html", @@ -16732,6 +17176,12 @@ {} ] ], + "conformance2/textures/canvas_sub_rectangle/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/canvas_sub_rectangle/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/canvas_sub_rectangle/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/canvas_sub_rectangle/tex-2d-rgb16f-rgb-float.html", @@ -16930,6 +17380,12 @@ {} ] ], + "conformance2/textures/canvas_sub_rectangle/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/canvas_sub_rectangle/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/canvas_sub_rectangle/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/canvas_sub_rectangle/tex-3d-rgb16f-rgb-float.html", @@ -17128,6 +17584,12 @@ {} ] ], + "conformance2/textures/image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image/tex-2d-rgb16f-rgb-float.html", @@ -17326,6 +17788,12 @@ {} ] ], + "conformance2/textures/image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image/tex-3d-rgb16f-rgb-float.html", @@ -17524,6 +17992,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_blob/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_blob/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_blob/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_blob/tex-2d-rgb16f-rgb-float.html", @@ -17722,6 +18196,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_blob/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_blob/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_blob/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_blob/tex-3d-rgb16f-rgb-float.html", @@ -17920,6 +18400,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_canvas/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_canvas/tex-2d-rgb16f-rgb-float.html", @@ -18118,6 +18604,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_canvas/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_canvas/tex-3d-rgb16f-rgb-float.html", @@ -18316,6 +18808,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_image/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_image/tex-2d-rgb16f-rgb-float.html", @@ -18514,6 +19012,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_image/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_image/tex-3d-rgb16f-rgb-float.html", @@ -18712,6 +19216,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_image_bitmap/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_image_bitmap/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_image_bitmap/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_image_bitmap/tex-2d-rgb16f-rgb-float.html", @@ -18910,6 +19420,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_image_bitmap/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_image_bitmap/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_image_bitmap/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_image_bitmap/tex-3d-rgb16f-rgb-float.html", @@ -19108,6 +19624,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_image_data/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_image_data/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_image_data/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_image_data/tex-2d-rgb16f-rgb-float.html", @@ -19306,6 +19828,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_image_data/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_image_data/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_image_data/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_image_data/tex-3d-rgb16f-rgb-float.html", @@ -19504,6 +20032,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_video/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_video/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_video/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_video/tex-2d-rgb16f-rgb-float.html", @@ -19702,6 +20236,12 @@ {} ] ], + "conformance2/textures/image_bitmap_from_video/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_bitmap_from_video/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_bitmap_from_video/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_bitmap_from_video/tex-3d-rgb16f-rgb-float.html", @@ -19900,6 +20440,12 @@ {} ] ], + "conformance2/textures/image_data/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_data/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_data/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_data/tex-2d-rgb16f-rgb-float.html", @@ -20098,6 +20644,12 @@ {} ] ], + "conformance2/textures/image_data/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/image_data/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/image_data/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/image_data/tex-3d-rgb16f-rgb-float.html", @@ -20224,12 +20776,48 @@ {} ] ], + "conformance2/textures/misc/angle-stuck-depth-textures.html": [ + [ + "/_webgl/conformance2/textures/misc/angle-stuck-depth-textures.html", + {} + ] + ], + "conformance2/textures/misc/canvas-remains-unchanged-after-used-in-webgl-texture.html": [ + [ + "/_webgl/conformance2/textures/misc/canvas-remains-unchanged-after-used-in-webgl-texture.html", + {} + ] + ], + "conformance2/textures/misc/compressed-tex-from-pbo-crash.html": [ + [ + "/_webgl/conformance2/textures/misc/compressed-tex-from-pbo-crash.html", + {} + ] + ], + "conformance2/textures/misc/copy-texture-cube-map-AMD-bug.html": [ + [ + "/_webgl/conformance2/textures/misc/copy-texture-cube-map-AMD-bug.html", + {} + ] + ], + "conformance2/textures/misc/copy-texture-cube-map-bug.html": [ + [ + "/_webgl/conformance2/textures/misc/copy-texture-cube-map-bug.html", + {} + ] + ], "conformance2/textures/misc/copy-texture-image-luma-format.html": [ [ "/_webgl/conformance2/textures/misc/copy-texture-image-luma-format.html", {} ] ], + "conformance2/textures/misc/copy-texture-image-same-texture.html": [ + [ + "/_webgl/conformance2/textures/misc/copy-texture-image-same-texture.html", + {} + ] + ], "conformance2/textures/misc/copy-texture-image-webgl-specific.html": [ [ "/_webgl/conformance2/textures/misc/copy-texture-image-webgl-specific.html", @@ -20266,12 +20854,36 @@ {} ] ], + "conformance2/textures/misc/npot-video-sizing.html": [ + [ + "/_webgl/conformance2/textures/misc/npot-video-sizing.html", + {} + ] + ], + "conformance2/textures/misc/origin-clean-conformance-offscreencanvas.html": [ + [ + "/_webgl/conformance2/textures/misc/origin-clean-conformance-offscreencanvas.html", + {} + ] + ], + "conformance2/textures/misc/tex-3d-mipmap-levels-intel-bug.html": [ + [ + "/_webgl/conformance2/textures/misc/tex-3d-mipmap-levels-intel-bug.html", + {} + ] + ], "conformance2/textures/misc/tex-3d-size-limit.html": [ [ "/_webgl/conformance2/textures/misc/tex-3d-size-limit.html", {} ] ], + "conformance2/textures/misc/tex-base-level-bug.html": [ + [ + "/_webgl/conformance2/textures/misc/tex-base-level-bug.html", + {} + ] + ], "conformance2/textures/misc/tex-image-and-sub-image-with-array-buffer-view-sub-source.html": [ [ "/_webgl/conformance2/textures/misc/tex-image-and-sub-image-with-array-buffer-view-sub-source.html", @@ -20338,6 +20950,30 @@ {} ] ], + "conformance2/textures/misc/tex-subimage3d-canvas-bug.html": [ + [ + "/_webgl/conformance2/textures/misc/tex-subimage3d-canvas-bug.html", + {} + ] + ], + "conformance2/textures/misc/tex-subimage3d-pixel-buffer-bug.html": [ + [ + "/_webgl/conformance2/textures/misc/tex-subimage3d-pixel-buffer-bug.html", + {} + ] + ], + "conformance2/textures/misc/tex-unpack-params-imagedata.html": [ + [ + "/_webgl/conformance2/textures/misc/tex-unpack-params-imagedata.html", + {} + ] + ], + "conformance2/textures/misc/tex-unpack-params-with-flip-y-and-premultiply-alpha.html": [ + [ + "/_webgl/conformance2/textures/misc/tex-unpack-params-with-flip-y-and-premultiply-alpha.html", + {} + ] + ], "conformance2/textures/misc/tex-unpack-params.html": [ [ "/_webgl/conformance2/textures/misc/tex-unpack-params.html", @@ -20434,6 +21070,12 @@ {} ] ], + "conformance2/textures/svg_image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/svg_image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/svg_image/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/svg_image/tex-2d-rgb16f-rgb-float.html", @@ -20632,6 +21274,12 @@ {} ] ], + "conformance2/textures/svg_image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/svg_image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/svg_image/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/svg_image/tex-3d-rgb16f-rgb-float.html", @@ -20830,6 +21478,12 @@ {} ] ], + "conformance2/textures/video/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/video/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/video/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/video/tex-2d-rgb16f-rgb-float.html", @@ -21028,6 +21682,12 @@ {} ] ], + "conformance2/textures/video/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/video/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/video/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/video/tex-3d-rgb16f-rgb-float.html", @@ -21226,6 +21886,12 @@ {} ] ], + "conformance2/textures/webgl_canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/webgl_canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/webgl_canvas/tex-2d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/webgl_canvas/tex-2d-rgb16f-rgb-float.html", @@ -21280,6 +21946,18 @@ {} ] ], + "conformance2/textures/webgl_canvas/tex-2d-rgb9_e5-rgb-float.html": [ + [ + "/_webgl/conformance2/textures/webgl_canvas/tex-2d-rgb9_e5-rgb-float.html", + {} + ] + ], + "conformance2/textures/webgl_canvas/tex-2d-rgb9_e5-rgb-half_float.html": [ + [ + "/_webgl/conformance2/textures/webgl_canvas/tex-2d-rgb9_e5-rgb-half_float.html", + {} + ] + ], "conformance2/textures/webgl_canvas/tex-2d-rgba16f-rgba-float.html": [ [ "/_webgl/conformance2/textures/webgl_canvas/tex-2d-rgba16f-rgba-float.html", @@ -21412,6 +22090,12 @@ {} ] ], + "conformance2/textures/webgl_canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + [ + "/_webgl/conformance2/textures/webgl_canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html", + {} + ] + ], "conformance2/textures/webgl_canvas/tex-3d-rgb16f-rgb-float.html": [ [ "/_webgl/conformance2/textures/webgl_canvas/tex-3d-rgb16f-rgb-float.html", @@ -21466,6 +22150,18 @@ {} ] ], + "conformance2/textures/webgl_canvas/tex-3d-rgb9_e5-rgb-float.html": [ + [ + "/_webgl/conformance2/textures/webgl_canvas/tex-3d-rgb9_e5-rgb-float.html", + {} + ] + ], + "conformance2/textures/webgl_canvas/tex-3d-rgb9_e5-rgb-half_float.html": [ + [ + "/_webgl/conformance2/textures/webgl_canvas/tex-3d-rgb9_e5-rgb-half_float.html", + {} + ] + ], "conformance2/textures/webgl_canvas/tex-3d-rgba16f-rgba-float.html": [ [ "/_webgl/conformance2/textures/webgl_canvas/tex-3d-rgba16f-rgba-float.html", @@ -21520,6 +22216,36 @@ {} ] ], + "conformance2/transform_feedback/non-existent-varying.html": [ + [ + "/_webgl/conformance2/transform_feedback/non-existent-varying.html", + {} + ] + ], + "conformance2/transform_feedback/same-buffer-two-binding-points.html": [ + [ + "/_webgl/conformance2/transform_feedback/same-buffer-two-binding-points.html", + {} + ] + ], + "conformance2/transform_feedback/simultaneous_binding.html": [ + [ + "/_webgl/conformance2/transform_feedback/simultaneous_binding.html", + {} + ] + ], + "conformance2/transform_feedback/switching-objects.html": [ + [ + "/_webgl/conformance2/transform_feedback/switching-objects.html", + {} + ] + ], + "conformance2/transform_feedback/too-small-buffers.html": [ + [ + "/_webgl/conformance2/transform_feedback/too-small-buffers.html", + {} + ] + ], "conformance2/transform_feedback/transform_feedback.html": [ [ "/_webgl/conformance2/transform_feedback/transform_feedback.html", @@ -21538,6 +22264,48 @@ {} ] ], + "conformance2/uniforms/dependent-buffer-change.html": [ + [ + "/_webgl/conformance2/uniforms/dependent-buffer-change.html", + {} + ] + ], + "conformance2/uniforms/draw-with-uniform-blocks.html": [ + [ + "/_webgl/conformance2/uniforms/draw-with-uniform-blocks.html", + {} + ] + ], + "conformance2/uniforms/gl-uniform-arrays-sub-source.html": [ + [ + "/_webgl/conformance2/uniforms/gl-uniform-arrays-sub-source.html", + {} + ] + ], + "conformance2/uniforms/incompatible-texture-type-for-sampler.html": [ + [ + "/_webgl/conformance2/uniforms/incompatible-texture-type-for-sampler.html", + {} + ] + ], + "conformance2/uniforms/query-uniform-blocks-after-shader-detach.html": [ + [ + "/_webgl/conformance2/uniforms/query-uniform-blocks-after-shader-detach.html", + {} + ] + ], + "conformance2/uniforms/simple-buffer-change.html": [ + [ + "/_webgl/conformance2/uniforms/simple-buffer-change.html", + {} + ] + ], + "conformance2/uniforms/uniform-blocks-with-arrays.html": [ + [ + "/_webgl/conformance2/uniforms/uniform-blocks-with-arrays.html", + {} + ] + ], "conformance2/vertex_arrays/vertex-array-object.html": [ [ "/_webgl/conformance2/vertex_arrays/vertex-array-object.html", @@ -26584,7 +27352,7 @@ "support" ], "README.md": [ - "6baee99dd453a31271cc7b0b55eb4117353875dd", + "9574d8458e84261f5bf8ff39ca1d2164b760febe", "support" ], "closure-library/AUTHORS": [ @@ -26647,24 +27415,24 @@ "c64782643cb8c5066dcf3153ee8f358b6ee02228", "support" ], - "conformance/00_readme.txt": [ - "a04eaa37b3311ac75e0616728b40aa055d02aa6a", - "support" - ], "conformance/00_test_list.txt": [ - "309d3abd8c3ea94c04766eea00badf20d7dfb663", + "96a88cac2aec20ba5d3f752fcb7b292892c24c6c", "support" ], "conformance/attribs/00_test_list.txt": [ - "87a479cc71a90bd24e123b7762cae973b51dff9d", + "362d6c0fd22c6240347467aaf1eed6724abf8b8e", "support" ], "conformance/attribs/gl-bindAttribLocation-aliasing.html": [ - "62d341c60b9bddc9fb1e705de917f796dfaf286b", + "d5723d094042c7d2a8b1bfed3357a90823c5a7ff", "testharness" ], "conformance/attribs/gl-bindAttribLocation-matrix.html": [ - "5495039375208c328cc64ca0df2367adaadf3dd4", + "75d747171f0d8b57ee824c088665366a86f0a089", + "testharness" + ], + "conformance/attribs/gl-bindAttribLocation-nonexistent-attribute.html": [ + "7b4b3d727195a0bd11cab82d2e6648a0a16e0b5a", "testharness" ], "conformance/attribs/gl-bindAttribLocation-repeated.html": [ @@ -26672,43 +27440,47 @@ "testharness" ], "conformance/attribs/gl-disabled-vertex-attrib.html": [ - "5f6f993e29213ad4c775828f8565221b7e1f8914", + "eb41b2c40434b731c0f14322f5426d98871c2038", "testharness" ], "conformance/attribs/gl-enable-vertex-attrib.html": [ - "c3838070dcfb4269a0d8eb749105ddac4ab521ac", + "8966a5c070f4bd2f89591ac6ce038359d1017332", "testharness" ], "conformance/attribs/gl-matrix-attributes.html": [ - "6f62d6025be42c8279a47115ff2a6106ce99c0ee", + "8449fdfc1bfc53b706e987aa3f7a4816929a0632", "testharness" ], "conformance/attribs/gl-vertex-attrib-render.html": [ - "4c0966dda7c4b9b4b29397b5aed21987721c36c7", + "8789309f584e854d786c299d0a25cf9af6a9da0f", + "testharness" + ], + "conformance/attribs/gl-vertex-attrib-unconsumed-out-of-bounds.html": [ + "740e5ee7481b65ae6504b4955061b6d41c2c0090", "testharness" ], "conformance/attribs/gl-vertex-attrib-zero-issues.html": [ - "11a83ac00a7e08c06c4b191ab7324b4562e2ad95", + "35ba12302b76218f349ffb018962d0ea37723c41", "testharness" ], "conformance/attribs/gl-vertex-attrib.html": [ - "b284c130045d5575608db4534d3095720f7f73fe", + "8a095e5bc734207991ed51586b12b4f80fd5f4d7", "testharness" ], "conformance/attribs/gl-vertexattribpointer-offsets.html": [ - "64dfacfbf2c3597d2a984ede2e7df1ad73aac666", + "ccbc8d0051537c958a329de58f7cd5350b9a2f2b", "testharness" ], "conformance/attribs/gl-vertexattribpointer.html": [ - "89cb8bbb3713a01bb1242bbacbb1a30fdc26fdad", + "91d93ddba8fd46fc44570acf4154799394ffc9da", "testharness" ], "conformance/buffers/00_test_list.txt": [ - "374a86ed963e7a34629d721aa613f6f7ddbc7791", + "4b67780ec6c5aa33c92d527f7d3444282af0336e", "support" ], "conformance/buffers/buffer-bind-test.html": [ - "ce596706c08b4de9f5e6bb8adf66adf742eae06f", + "fed515fc133634c4a74ce3c1180e3fb201f4de3c", "testharness" ], "conformance/buffers/buffer-data-and-buffer-sub-data.html": [ @@ -26716,11 +27488,11 @@ "testharness" ], "conformance/buffers/buffer-data-array-buffer-delete.html": [ - "5887743e2aaf6874b3d08ec0afca89204b5ee96a", + "c2a8d35e1a965eff1ea8d7117cf030a7471d6231", "testharness" ], - "conformance/buffers/buffer-data-array-buffer.html": [ - "6c989addb2bedc47e6af8ec1957e58180a70e1a3", + "conformance/buffers/buffer-data-dynamic-delay.html": [ + "65fe5b89b5a2d20ba53424af4f67b9f4dc8a6140", "testharness" ], "conformance/buffers/buffer-uninitialized.html": [ @@ -26728,71 +27500,71 @@ "testharness" ], "conformance/buffers/element-array-buffer-delete-recreate.html": [ - "c9afea561eb621eb8169bf1c08a2ca3f39a7b3c2", + "07df297ca22b30c2b1ceae7c249835de6d65d330", "testharness" ], "conformance/buffers/index-validation-copies-indices.html": [ - "f5589f6e32fe6d406f5715c8dcb92aa0c60688da", + "5f0645f3dcacb18072b1d387ff0928f76c3cfdac", "testharness" ], "conformance/buffers/index-validation-crash-with-buffer-sub-data.html": [ - "1b0f7cbc0b813cff90d90abb7858edc561a13071", + "20704bae3fd335702ef72ca32c332d9e167678cc", "testharness" ], "conformance/buffers/index-validation-large-buffer.html": [ - "754291159647e32b40f4aff857e83b47042255a7", + "e15aaca94da8db2e5b1fac37734f2638aba2a6a3", "testharness" ], "conformance/buffers/index-validation-verifies-too-many-indices.html": [ - "950880705218c195d147ab604154fa4f2d415d70", + "e2dd74df2ea8a5a4b332f624e8d2fe16bfc405ca", "testharness" ], "conformance/buffers/index-validation-with-resized-buffer.html": [ - "95a17ff2faf7133b02b5b91c28df910ae6613057", + "0d2434f3293cc9100a93dac1d76c0c1667d51aa0", "testharness" ], "conformance/buffers/index-validation.html": [ - "1572381dc9b55f51974e3e1b9f2f6d72a1ae76cf", + "5cee51263446f20d84f78378e3d97ff0ea1adada", "testharness" ], "conformance/canvas/00_test_list.txt": [ - "bfa21995c840d2e0f79e6960d9e2056b066ebdb2", + "45bff4ed86119f8ab5e0b148cd9c1bb294219309", "support" ], "conformance/canvas/buffer-offscreen-test.html": [ - "1adbbd12f7f0eaa1d6b3392852a0c98bbc1d7f28", + "26c148f7d44103931e548eb203505047aedfea7f", "testharness" ], "conformance/canvas/buffer-preserve-test.html": [ - "4e232838efc9d6c8850098f852aa3ee89ab076e7", + "13aad5f3da4118a69c379fe8e7443de617557fca", "testharness" ], "conformance/canvas/canvas-test.html": [ - "8d0edc03212794f97f247c4e43eefde10d49beaf", + "e1a900a31b53eca74de2e6692fcd28533fe26f41", "testharness" ], "conformance/canvas/canvas-zero-size.html": [ - "6fe2616f7957c448991373003681f30f8a296211", + "18c00176972b8f3e926464c3c500c33fc6bfc976", "testharness" ], "conformance/canvas/draw-static-webgl-to-multiple-canvas-test.html": [ - "8f47ba2578fe1f1dc41d0fa317937df535c1a8a5", + "0770cb5ffc303d66b92b9a9715190afb11485e6b", "testharness" ], "conformance/canvas/draw-webgl-to-canvas-test.html": [ - "9f293adc4a5b1f655fba36fbbff621f6b46519c2", + "45b79bbde40f316699aae227160de34c14028092", "testharness" ], "conformance/canvas/drawingbuffer-hd-dpi-test.html": [ - "3852ad04799ab9d17923f09dcbe98a2b6d42609e", + "55a32ee09466aa7432ea4c683a283bd1ee943983", "testharness" ], "conformance/canvas/drawingbuffer-static-canvas-test.html": [ - "2c3b6001d7fbb85710e923f5ae98af28a317e4eb", + "04f15bf6c4785ca68c8353a4961b112e5fa42ce6", "testharness" ], "conformance/canvas/drawingbuffer-test.html": [ - "6ec13a58a9c598cf19ba987bba0fbb67d5cf0d8d", + "938898c4caf2a3ec4f34fa2a9c71cbd63ca3a444", "testharness" ], "conformance/canvas/framebuffer-bindings-affected-by-to-data-url.html": [ @@ -26800,63 +27572,67 @@ "testharness" ], "conformance/canvas/framebuffer-bindings-unaffected-on-resize.html": [ - "2e0e6db566ea9a0fb17a7c841908a2006a4b77af", + "d93efb7cfedc8e248e57395458a50d0b3ebca7b2", "testharness" ], "conformance/canvas/rapid-resizing.html": [ - "89f9e1e3c233a994c8b5c49b57669c1d71041490", + "9991e9beec6e5880a4f939d314acc7a76dd31527", + "testharness" + ], + "conformance/canvas/render-after-resize-test.html": [ + "d26b9dbeeb6e00578d98bd66c3a6da2672f117de", "testharness" ], "conformance/canvas/texture-bindings-unaffected-on-resize.html": [ - "b41cd1f42c4c8d2026aa2722a7f64b67732d43e4", + "b79ef92054032bade835a9ec005f2e6413afcf9e", "testharness" ], "conformance/canvas/to-data-url-test.html": [ - "7f83c7273a4781cde094152f429dce9ea3729c7a", + "67e26a408ea461faa66394dad11d3efca1c712d9", "testharness" ], "conformance/canvas/viewport-unchanged-upon-resize.html": [ - "5c7658acac96df0170e9715edbd63370b0f4ea98", + "977280beedef2dbf495d9d675e493b52915fb0ec", "testharness" ], "conformance/context/00_test_list.txt": [ - "460c1c8b4f9a0943432c523887133339bde12563", + "3a78819401bcdd0c3d8b477e101850f7910f4f50", "support" ], "conformance/context/constants-and-properties.html": [ - "e373387866e4f295e43c0c58805170603e5dc344", + "80173ad9851588e6d0454471f6f61b4ceed5bca6", "testharness" ], "conformance/context/context-attribute-preserve-drawing-buffer.html": [ - "3b7b6f011af45536b5c490d7da911d0c5bef7719", + "2726815a7c4ebf3d6a19c29a3e301830ef0ff11d", "testharness" ], "conformance/context/context-attributes-alpha-depth-stencil-antialias.html": [ - "f0f21c4e109f4374a563e848ace16b650ce2ed56", + "703662faaa4ae906e802db0b4d83dc14a488c5d0", "testharness" ], "conformance/context/context-creation-and-destruction.html": [ - "ac9f21ab3a0b3c19b4c808796a94b261d6ccc423", + "3ad7a02d79cfbae4b9d7b6f6ee16cdc5d1a829dd", "testharness" ], "conformance/context/context-creation.html": [ - "c7e4bcefb73f90c93bb3f09d07cae9a7994ffc73", + "237258cc9d956acf6b821967c8010db22804e6df", "testharness" ], "conformance/context/context-eviction-with-garbage-collection.html": [ - "d7d04151b06cf5716d2ac29ffb5990b6af567507", + "5cec355425e05519ba29ce06583a7afca677d5b7", "testharness" ], "conformance/context/context-hidden-alpha.html": [ - "0f1193898f96bea9b02a1000645b78c6a60803d1", + "24e4fb3c294c358a23f849a4e9bb4316ffc236c8", "testharness" ], "conformance/context/context-lost-restored.html": [ - "4781f6baa258a3810aa0b31e0426d62f1cd7ad62", + "381e52062759a36730648470b42f829b46163414", "testharness" ], "conformance/context/context-lost.html": [ - "ed94a0f89bbb82cd5231f7642bece21b89b5d1ed", + "e2d587f2ce0b62b080c54a353ef0c3abe1bdae83", "testharness" ], "conformance/context/context-no-alpha-fbo-with-alpha.html": [ @@ -26864,11 +27640,11 @@ "testharness" ], "conformance/context/context-release-upon-reload.html": [ - "1d90b8795d1aa5c22503f6cf5d9ac298bb67950b", + "9da29719e521fe1a702d9da226071fb00eaa3f7a", "testharness" ], "conformance/context/context-release-with-workers.html": [ - "3bd94469b07630328c409501ef21a883a5966a77", + "74127d165d37b9d8f030ade68e802dc19580d513", "testharness" ], "conformance/context/context-size-change.html": [ @@ -26876,31 +27652,27 @@ "testharness" ], "conformance/context/context-type-test.html": [ - "d197a24cba0ab1c462234e78b47430e27f6b188f", + "49427a0970b11c12c9104fe8784ff293da6fe27e", "testharness" ], "conformance/context/incorrect-context-object-behaviour.html": [ - "445979775a211f833f3c3de0e435eb0eb2b74efb", + "000334f2168661a3f0f5da1daa480c883293d31d", "testharness" ], "conformance/context/methods.html": [ - "d74ce21ef6f3ea0630f1b74ada179f177bb36f2b", + "8cef4d96ea19a137a450b953cf2afe67857d8c3b", "testharness" ], "conformance/context/premultiplyalpha-test.html": [ - "87b4a0320ba90ffd6a9894fdc57337dc4465f3ac", - "testharness" - ], - "conformance/context/resource-sharing-test.html": [ - "10f19562a17bc5c46ef5f09cde9e1866262441a4", + "4f63c2ef232a2e17a83d90d72ba2098c02bbb6a5", "testharness" ], "conformance/context/resources/context-release-child-with-worker.html": [ - "f61e66a8e8f8e90daef520354ec3e9e1c7a794a3", + "31cba6acdc08bed1a737cf8278eb3c90b5075b14", "support" ], "conformance/context/resources/context-release-upon-reload-child.html": [ - "95ad1653f215e41f36080fbea863b1aa6467b2d9", + "87058e9fa0dcc1aa3780390779f309c190772d2c", "support" ], "conformance/context/resources/context-release-worker.js": [ @@ -26912,119 +27684,119 @@ "testharness" ], "conformance/extensions/00_test_list.txt": [ - "49609cbaaf29a9093924f46788be18b3e84e003c", + "07707228456905045290a9e19fe331e0d7f48635", "support" ], "conformance/extensions/angle-instanced-arrays-out-of-bounds.html": [ - "bd9e71f0a6bbcd1bbf24bd35381d53c7a1ffaec2", + "b2021708717ed1a03b3e590a6241a07e3f15fa41", "testharness" ], "conformance/extensions/angle-instanced-arrays.html": [ - "ee58314179fc9c5ed03d94a463b4047724848554", + "1dd1af2902eb3f52072a889e4696ff87a7827133", "testharness" ], "conformance/extensions/ext-blend-minmax.html": [ - "120d24098a0f47a20d3505aee22394b376a23ee6", + "62ad533f5e7593990d157eeb55f97b40a3099dd9", "testharness" ], "conformance/extensions/ext-disjoint-timer-query.html": [ - "f15b3a730a584d67a95f646e681abd61f1b43aca", + "fbc5fb8e6294608855e2469bdce7c79c8b3305ad", "testharness" ], "conformance/extensions/ext-frag-depth.html": [ - "4599690dc355f928a5c3f72aa92733854a0333c2", + "64630e2bec324cdc80fec4c3a964e0cdfcc28941", "testharness" ], "conformance/extensions/ext-sRGB.html": [ - "e61c81035d9059dd20a76f4c0cb660441f7a6e98", + "0761fdada5dbaccd909b401e3c8f32d3569fb61f", "testharness" ], "conformance/extensions/ext-shader-texture-lod.html": [ - "e63a22ed592db7ffe2e8dd266ec347ec0dc740cc", + "609ceffb29a381a0c0dfe1829d9429eb539bddba", "testharness" ], "conformance/extensions/ext-texture-filter-anisotropic.html": [ - "ea6ff9c8679abcdba60064b8ecaed49a3baf644f", + "b17bd4395611a9c9c63ccd86c266c9f32e0f1425", "testharness" ], "conformance/extensions/get-extension.html": [ - "39bba38ae13857d9ed2c2397a46c307d4f167300", + "9922b5daec7f592c8afa1d4ffecb56bad3253437", "testharness" ], "conformance/extensions/oes-element-index-uint.html": [ - "add8bdd603fa2c0a66434fe0e7bdd1cc55382c89", + "2c0dc16051dc52b60116aea5de84bee352980481", "testharness" ], "conformance/extensions/oes-standard-derivatives.html": [ - "8f5fdb39869fb397357e9ccb00700d2ebdab80fd", + "190a682f83fc474d384f86e2707fda27af0ef698", "testharness" ], "conformance/extensions/oes-texture-float-linear.html": [ - "21df7b2c3829b5977ad6c9457b15b7653da5dfa1", + "2be7fb3d60e235b4ebc6882283543beff964a0bd", "testharness" ], "conformance/extensions/oes-texture-float-with-canvas.html": [ - "a0fec0cc1f9348c9b4bb956d9b328a4f24d49202", + "18ca1a37491b9938d607ef648395a03379f6356f", "testharness" ], "conformance/extensions/oes-texture-float-with-image-data.html": [ - "70070d5960ec731c1403db472a76545b6ccf5b25", + "dcea390f9a19ea9daab3e6cd754dce1d014f00e9", "testharness" ], "conformance/extensions/oes-texture-float-with-image.html": [ - "5b9832460b109cc4ad4559720494885f3e68aa11", + "376fedee8cb1631d56974b1a305a777d3e4835db", "testharness" ], "conformance/extensions/oes-texture-float-with-video.html": [ - "d83747282386e85a55609b02f1f53db242c8a514", + "adbe43e577b07e91a0f63e20a9991f271a5997fe", "testharness" ], "conformance/extensions/oes-texture-float.html": [ - "4c00492fe253a6f9472cbe762cf690cca03e6837", + "e9d1e20e135481dd633750ac1bec272cf828173a", "testharness" ], "conformance/extensions/oes-texture-half-float-linear.html": [ - "6e130a121d3c9f77443c50b395fb74edc88f330e", + "022facfc29b05593e83fd1baf3cce816c15d56f0", "testharness" ], "conformance/extensions/oes-texture-half-float-with-canvas.html": [ - "e0eb6f6b7f93beb693ff408f5464628604aa18a1", + "437b2149fd92c333763a0e41a754eaac1a9b0753", "testharness" ], "conformance/extensions/oes-texture-half-float-with-image-data.html": [ - "eaf1a568609b9149664511c74b7432e03efb870b", + "04a11b0783f78ce6d2efea730ce4ac42642d8e3d", "testharness" ], "conformance/extensions/oes-texture-half-float-with-image.html": [ - "193d424a3a755417852b0b95dabf9cade12fbb81", + "9effa28b368df3abaab24b92c96f737d979e3a1e", "testharness" ], "conformance/extensions/oes-texture-half-float-with-video.html": [ - "d325602f5b11a772383e3a84bb704041c4322f13", + "378e863ef74322db99355e9a1049f1d18884564d", "testharness" ], "conformance/extensions/oes-texture-half-float.html": [ - "792da43e263f12f7c6211692ce8edc8c73a6c57b", + "b8ae1661ab8d40335b2a498fafeb56a41e0e4978", "testharness" ], "conformance/extensions/oes-vertex-array-object-bufferData.html": [ - "ee8db23bf3623123664a15defba9313625f4fdaa", + "088337ae77aa60df3b63e981153e3b392c7ad45a", "testharness" ], "conformance/extensions/oes-vertex-array-object.html": [ - "208f48cb498bca137f76ff1bdacde4130c106e93", + "7b1a2fdfbd88c4e84d45872fc648be2ca04b9e12", "testharness" ], - "conformance/extensions/webgl-compressed-texture-atc.html": [ - "7c4ff09e131da666bc621a1ba6d0c1d3ad7564fa", + "conformance/extensions/webgl-compressed-texture-astc.html": [ + "87027cd76aa97b0f52f652d867c81660c7e2ac5d", "testharness" ], "conformance/extensions/webgl-compressed-texture-etc.html": [ - "59d88f33a6f7042d6d84de22765546c1474d4508", + "ffc21ade67a142731934535cff09e83014d98a0c", "testharness" ], "conformance/extensions/webgl-compressed-texture-pvrtc.html": [ - "5c771b8dc25ea8e46ab24dc5ee0e5db27a4590ff", + "0ef2be639f78a0281007937458a095c5995aa820", "testharness" ], "conformance/extensions/webgl-compressed-texture-s3tc-srgb.html": [ @@ -27032,23 +27804,31 @@ "testharness" ], "conformance/extensions/webgl-compressed-texture-s3tc.html": [ - "418af1bb94e05872bb22de6400a7a670573278b6", + "28e3cfc5628760d1ae27166612f17ed46fa12b88", "testharness" ], "conformance/extensions/webgl-compressed-texture-size-limit.html": [ - "490b0dc45a6216769e1ee5c15e497140d03edbbe", + "ee1ffe12e1a5f797df0f6fff6e3be988f9dc068a", "testharness" ], "conformance/extensions/webgl-debug-renderer-info.html": [ - "27e61c8cca06050c2f7de7887eeb2463edf74a3b", + "5e6e87a9c414f44d58b114fe632cdec171575192", "testharness" ], "conformance/extensions/webgl-debug-shaders.html": [ - "c4040f65238f98b1ab13b236ad6c2b356cb50aca", + "3a04174261a293f3f583be332da716ceba656d5d", "testharness" ], "conformance/extensions/webgl-depth-texture.html": [ - "6bb81d7c11dc281ac506217d31fd958ed00416c4", + "1331dba7011586054e12421c8b9975d227754b3f", + "testharness" + ], + "conformance/extensions/webgl-draw-buffers-broadcast-return.html": [ + "e2c5ba317907f511c892714d361826f775213d8a", + "testharness" + ], + "conformance/extensions/webgl-draw-buffers-feedback-loop.html": [ + "5c2d243ffc3b79c3adca28d004d54fe1cdf57b35", "testharness" ], "conformance/extensions/webgl-draw-buffers-framebuffer-unsupported.html": [ @@ -27060,19 +27840,15 @@ "testharness" ], "conformance/extensions/webgl-draw-buffers.html": [ - "a4912717b294bfb34e4ab15214a2df13a0feaff3", - "testharness" - ], - "conformance/extensions/webgl-shared-resources.html": [ - "98727cb67337d233925d2c30a754b0a2ada43814", + "c50930ef7bebca461b17cbc09f125086fefa912a", "testharness" ], "conformance/glsl/00_test_list.txt": [ - "a2ee6edb1f672f1f6d23e3467518f2158ade24a4", + "8ab2039cc6720a070fdf2b31ac9a542ddac21fb2", "support" ], "conformance/glsl/bugs/00_test_list.txt": [ - "5b60206e9b1d4cbc50f7f3342028028139da4d2e", + "815e81a1b0e44a77ce9d5d05e3880b1c956e062b", "support" ], "conformance/glsl/bugs/README.md": [ @@ -27080,7 +27856,7 @@ "support" ], "conformance/glsl/bugs/angle-ambiguous-function-call.html": [ - "5edbc4cb8b74738c057d93b42c9222690ee0fcbf", + "6a4210b567a887500e0bb587b39498bae145e8b3", "testharness" ], "conformance/glsl/bugs/angle-constructor-invalid-parameters.html": [ @@ -27088,15 +27864,19 @@ "testharness" ], "conformance/glsl/bugs/angle-d3d11-compiler-error.html": [ - "211d36c45e562fecb06e55261864a7029dda86be", + "193e8595bc8756b40e414c8b35e70703b1d2c74a", "testharness" ], "conformance/glsl/bugs/angle-dx-variable-bug.html": [ - "55f8d214d64c6715fa3a8961e260b64dcb3d02f9", + "555d6c21d8213a0539255e2ddb07d34bda52a6f5", "testharness" ], "conformance/glsl/bugs/array-of-struct-with-int-first-position.html": [ - "e5a0450a502bc8b7d955315f654a766209089ee1", + "7674153a753d87d4318d86d504df569320981128", + "testharness" + ], + "conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html": [ + "67acdac088ae11d1f2c8882d1382ad73cee86074", "testharness" ], "conformance/glsl/bugs/bool-type-cast-bug-int-float.html": [ @@ -27104,11 +27884,11 @@ "testharness" ], "conformance/glsl/bugs/compare-loop-index-to-uniform.html": [ - "44e01cb4b53004356cf4b0e25eb81698c5b80d66", + "576804d1aa83ec485e39e5da7c38574f66abe691", "testharness" ], "conformance/glsl/bugs/complex-glsl-does-not-crash.html": [ - "b8758762eead25f7987557ddf7d403f709cdf6bf", + "8d65482d46c69f1bcf665d67b838640deb88e2b5", "testharness" ], "conformance/glsl/bugs/compound-assignment-type-combination.html": [ @@ -27116,19 +27896,23 @@ "testharness" ], "conformance/glsl/bugs/conditional-discard-in-loop.html": [ - "8288a653922f4607b678e09ac5049a6cf6c72f4b", + "deb2052e46de7dd67aa9f43a98bd91cc22e62ce8", "testharness" ], "conformance/glsl/bugs/conditional-discard-optimization.html": [ - "20d7fc659ceb739098b3c5604d01c9574f8c9372", + "4a1e9627826f34606045ecd09a595811e755771c", + "testharness" + ], + "conformance/glsl/bugs/conditional-texture-fetch.html": [ + "c65e4bfc46d3b456e1df79b8623b336414499706", "testharness" ], "conformance/glsl/bugs/constant-precision-qualifier.html": [ - "da292e6fe66d88a3da7bb1a8202fc4ec2f4702e1", + "23efc9e7aa9a9af7fc45618ce153c20500767eef", "testharness" ], "conformance/glsl/bugs/essl3-shaders-with-webgl1.html": [ - "c899ad87fcd16b79c86406d91561497f5fb10c50", + "85560d1c79090d9f11c9215046cfcedfab094c49", "testharness" ], "conformance/glsl/bugs/floor-div-cos-should-not-truncate.html": [ @@ -27136,11 +27920,11 @@ "testharness" ], "conformance/glsl/bugs/floored-division-accuracy.html": [ - "f8de50baa364d6eea1cdf4fcd7285f2175bef76c", + "452cd5a8f809e29490492ef621b52ce859025bce", "testharness" ], "conformance/glsl/bugs/fragcoord-linking-bug.html": [ - "e9fd73ecffaababd359834388ef7b48d6c808919", + "ba354b36c15649364150f012eb9e491dd4aed0c8", "testharness" ], "conformance/glsl/bugs/gl-fragcoord-multisampling-bug.html": [ @@ -27151,16 +27935,28 @@ "05eed8bebbd14bcefade38f0f73eaf065d25de12", "testharness" ], + "conformance/glsl/bugs/if-return-and-elseif.html": [ + "1e56b802ed27bbfcf1552737084fc2ca1f7bee34", + "testharness" + ], + "conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html": [ + "ed8bebd1bc5f490aa7a9a6dd9f417e33fac8dfa7", + "testharness" + ], + "conformance/glsl/bugs/init-array-with-loop.html": [ + "01fc2e2a12c18eaeb1c2992d04aef164b58a7572", + "testharness" + ], "conformance/glsl/bugs/invariant-does-not-leak-across-shaders.html": [ "9a27637f32a42b21101cfe361c23157803aa3934", "testharness" ], "conformance/glsl/bugs/logic-inside-block-without-braces.html": [ - "a7ea95a5b1223e5a22006ce114e72d82e4fd734b", + "6cfe12ab281d626f3435e8c7090790ff2ccababe", "testharness" ], "conformance/glsl/bugs/long-expressions-should-not-crash.html": [ - "c969f363eafac94359e17acbf4e605ddff1c4b7d", + "229f0486e995bee9b41ed1fa469dd409d1a6f90d", "testharness" ], "conformance/glsl/bugs/loop-if-loop-gradient.html": [ @@ -27168,15 +27964,15 @@ "testharness" ], "conformance/glsl/bugs/modulo-arithmetic-accuracy.html": [ - "665e59a3cdc476ac4ae92b98b5563be18604580f", + "233c95e0aa6175f9350e4b58c1f784b6276082f1", "testharness" ], "conformance/glsl/bugs/multiplication-assignment.html": [ - "d4135d3e22ac9deb83735c72734dea88fb7e39ed", + "e06e9f75c5c701857520142a53fd901abad1da65", "testharness" ], "conformance/glsl/bugs/nested-functions-should-not-crash.html": [ - "2ac24590f9f5db7369ebe5e96f0db6018a0b46a1", + "6232560db479b119ff5ecc6db74e5554cd690304", "testharness" ], "conformance/glsl/bugs/nested-loops-with-break-and-continue.html": [ @@ -27203,16 +27999,20 @@ "2480246fa017cf165add8ee672448667a0744544", "testharness" ], + "conformance/glsl/bugs/sampler-array-struct-function-arg.html": [ + "6d3cf43ff3c901ae7ed430037fb6fb79016ca728", + "testharness" + ], "conformance/glsl/bugs/sampler-array-using-loop-index.html": [ - "a3f5b97067104d289e2cb7e312fde0821a1cb20f", + "4ea81d71d339df1481f83083320d4525d507f54d", "testharness" ], "conformance/glsl/bugs/sampler-struct-function-arg.html": [ - "be4ea0328ccdc991c446808bcf886ec1cc86dcf5", + "6d4621f7f4de81fe8159f86039cdfc51e61dfe0a", "testharness" ], "conformance/glsl/bugs/sequence-operator-evaluation-order.html": [ - "57d213315dd0ad79d177af1df18572570c53ecab", + "256418a439712ea554256436f11306788776a024", "testharness" ], "conformance/glsl/bugs/sketchfab-lighting-shader-crash.html": [ @@ -27220,11 +28020,19 @@ "testharness" ], "conformance/glsl/bugs/struct-constructor-highp-bug.html": [ - "7cf7bee2a03c27c4076b895bd6cc8e6f4c05dc30", + "e54124859a04e65a6329d7d4afd47223cfb5f80b", + "testharness" + ], + "conformance/glsl/bugs/struct-with-single-member-constructor.html": [ + "be24483eec230f23458cb86ba60809ff5f7bdfb9", "testharness" ], "conformance/glsl/bugs/temp-expressions-should-not-crash.html": [ - "0f78f01c7192ce7f3e7e11b9a95aff96996fd4d0", + "535739ff7b10b5c6632c1628b45e2c983ee2bf3a", + "testharness" + ], + "conformance/glsl/bugs/unary-minus-operator-float-bug.html": [ + "ed708ea38fac12881e7f409db67300e0396adb8e", "testharness" ], "conformance/glsl/bugs/undefined-index-should-not-crash.html": [ @@ -27232,7 +28040,19 @@ "testharness" ], "conformance/glsl/bugs/uniforms-should-not-lose-values.html": [ - "6ddf9306c84d06affe8d77304039affe83e96c17", + "d7dadb5d6cce921aa57114d7465ff11d08bc8dbd", + "testharness" + ], + "conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html": [ + "a0f32f71a989f780de2c9b33bb361225c4d78f4b", + "testharness" + ], + "conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html": [ + "774fe957a28230a3e025d94533394ebf39b789ec", + "testharness" + ], + "conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html": [ + "977cc31eccc5fb43aa7d57922dffcf206620bcd8", "testharness" ], "conformance/glsl/constructors/00_test_list.txt": [ @@ -27240,59 +28060,59 @@ "support" ], "conformance/glsl/constructors/glsl-construct-bvec2.html": [ - "821f925ac54df604348b850de21a7d2cc0e2ce06", + "9e1c7cb25e9d5f614e6f09f41cd02191b2c7dbe2", "testharness" ], "conformance/glsl/constructors/glsl-construct-bvec3.html": [ - "b099d7a63d5b048014280b473ab2b89232ae25f4", + "f420da22760b6eda24c270e7369bcd69fbd1a642", "testharness" ], "conformance/glsl/constructors/glsl-construct-bvec4.html": [ - "eebe8ebf93f344ca3fb01d7392920a9667c3a06c", + "5614fbc3b9dad8886564b18043bb1b0654b75eeb", "testharness" ], "conformance/glsl/constructors/glsl-construct-ivec2.html": [ - "1b4d20c0c05dc22ee656bf7d5c442bc0a7cdb254", + "14dab516c812c83fafe9836ebb42928714259dca", "testharness" ], "conformance/glsl/constructors/glsl-construct-ivec3.html": [ - "3ae05b6ea19986305d79774e4ba7357a45d8c8c1", + "7330e6dd1a07f04914b4881f2fb9a9b105cc2263", "testharness" ], "conformance/glsl/constructors/glsl-construct-ivec4.html": [ - "1edf01b6389581b80e66972d3fd723a9478ad955", + "6314c5dd6d090c916f325badc3c8b605896e678f", "testharness" ], "conformance/glsl/constructors/glsl-construct-mat2.html": [ - "2484552ce5d0c3ef5d0e0067c006884d3f576366", + "8e1318bc320a55d1926efbd9f964786abbaee713", "testharness" ], "conformance/glsl/constructors/glsl-construct-mat3.html": [ - "4f73b4f8c82190d1dc4b8442c8f429d303b7b273", + "d613a092c1b74c835880440b2ceead52da9cd95e", "testharness" ], "conformance/glsl/constructors/glsl-construct-mat4.html": [ - "a8b1c934dfd4d1c572613b2c44c00a5f9ed0776b", + "04823dcfe1c828f337fe87ec6d8c2b52b21d0e87", "testharness" ], "conformance/glsl/constructors/glsl-construct-vec-mat-corner-cases.html": [ - "ed1571ede31e042bd4ddf68240526b8b56efe1d0", + "39b88aefadb963ebb332fc72d48817a2505263a3", "testharness" ], "conformance/glsl/constructors/glsl-construct-vec-mat-index.html": [ - "841878ea5289a7e22b79b1ae644a32281eb14e97", + "6d3f061599510b6441bfa2c9d182e2f43619d0f0", "testharness" ], "conformance/glsl/constructors/glsl-construct-vec2.html": [ - "01d1b81bb5e4044c8563c2e4944d4b8c0d449a5c", + "6148a270af08cef53f058eacde0b98dc04a747d2", "testharness" ], "conformance/glsl/constructors/glsl-construct-vec3.html": [ - "df1c1de0091642587a17dfaf33cd39f1035e8f7c", + "f9ee2d94f205a4699aa06347d58e3e74c77d6c29", "testharness" ], "conformance/glsl/constructors/glsl-construct-vec4.html": [ - "083bc6cbf8b6f4eb1e9613bea27e8384c9e2c27a", + "6ee0fbdf89a2721656dd8f2892e133b138938080", "testharness" ], "conformance/glsl/functions/00_test_list.txt": [ @@ -27300,135 +28120,135 @@ "support" ], "conformance/glsl/functions/glsl-function-abs.html": [ - "a3e107ab308c8db7d8cc78734e69707c740a3756", + "177162e90220bc515c3297d2e92696539cf57842", "testharness" ], "conformance/glsl/functions/glsl-function-acos.html": [ - "84a5f6a231f2c120329719336e18fb3b667fd09b", + "28534ef0212847ef4e71cb79626a29cf46390f5e", "testharness" ], "conformance/glsl/functions/glsl-function-asin.html": [ - "e5455f7dc1e265be339c23e4c527254cb4643c40", + "46e959ceb3b7413607745561f90c630c11a56d7c", "testharness" ], "conformance/glsl/functions/glsl-function-atan-xy.html": [ - "6b171ab423fa726465636ecd1daaf0b224d705db", + "abb7a8299e1ad6b1464e41a37b63a24511beb745", "testharness" ], "conformance/glsl/functions/glsl-function-atan.html": [ - "dd8a2136176bd1d95377c10fd984c285ad2cad9f", + "7b6a4103f66fa7c873097594e110e7856930e399", "testharness" ], "conformance/glsl/functions/glsl-function-ceil.html": [ - "508f5e37f6173efa0e4da93a5da74431967dfb92", + "65990488400ac6ff7f635379e0f047a87a1d2d13", "testharness" ], "conformance/glsl/functions/glsl-function-clamp-float.html": [ - "3c117fe1e81e839383d56ef618837134ca1bcfc4", + "57ed8b9fcdeea3705db76a81afa9fe27ed807731", "testharness" ], "conformance/glsl/functions/glsl-function-clamp-gentype.html": [ - "a89133a3307a357cf61d6899913dbe43d03e6543", + "75588f7bacc58b5343041e82219154849572abbf", "testharness" ], "conformance/glsl/functions/glsl-function-cos.html": [ - "a6475772bb0c554a6855a4771e5f3fe08e7aeb75", + "6124010a4420d3524cece4b7f1454bcf98af7a39", "testharness" ], "conformance/glsl/functions/glsl-function-cross.html": [ - "039568006ae07cda030fcdf4bfc0f7ec9dd0f120", + "fd02cef1cd72f9eb1a36401b72dddaa17cc22a89", "testharness" ], "conformance/glsl/functions/glsl-function-distance.html": [ - "20226fe0cc3f14def8f25d7771b7e36e57aa3c18", + "d24d6a4a055eec61d9ebb31d582d043c5372e5e0", "testharness" ], "conformance/glsl/functions/glsl-function-dot.html": [ - "8e4c47aec17a47de866a48d10a3782653fa6e8b0", + "823d8c6aa7954ff56b83b05612813b9c9669d3e6", "testharness" ], "conformance/glsl/functions/glsl-function-faceforward.html": [ - "6407c1e41bd9c476a147a5e1764de9fd3b55af70", + "4f05e6eac5f0db7e52ecf52075dfc2cb4832a645", "testharness" ], "conformance/glsl/functions/glsl-function-floor.html": [ - "524ba8028c6274ee5edab65e7e1a1d61a960f509", + "3f8a58ee36f2378c0b7be10dc5e556a7bf57cdf2", "testharness" ], "conformance/glsl/functions/glsl-function-fract.html": [ - "22a40a7590ad3a9fd697737b5210b034651a7c08", + "be0f0995b640deb351461f0496ec8a1cd66079be", "testharness" ], "conformance/glsl/functions/glsl-function-length.html": [ - "b3c96cdc62e90e6d39e290cbfffebe1b1667800b", + "e6ab3a9153f79c464664fd5c3175e17881bd9510", "testharness" ], "conformance/glsl/functions/glsl-function-max-float.html": [ - "0aa52ba1dc388bea82693b410e10bc9f67ea117a", + "99764ce695f5bae278a0a1a2ba28f30b409c1690", "testharness" ], "conformance/glsl/functions/glsl-function-max-gentype.html": [ - "e2c9bd2cd45e257f9efda89a0c28957fb774455e", + "07eb78cd5e71bfd43c1aaf64d0d93c5a619fcbe3", "testharness" ], "conformance/glsl/functions/glsl-function-min-float.html": [ - "51e3b6021f3ab5bd3a336432b6c2105c134dacab", + "5ac49b9a40349acd39389748fe79dd46d6b1f07c", "testharness" ], "conformance/glsl/functions/glsl-function-min-gentype.html": [ - "4a0ada8db0c17cf689e5b34ac9b31564c74905ea", + "b2cf136808e340a8f6588f0360f48233aaea2d0d", "testharness" ], "conformance/glsl/functions/glsl-function-mix-float.html": [ - "36ff4361560f93c31478c1cf19ca52766d3fd52f", + "7b8990aa491b93b7232e2aedcd2006527e0d6618", "testharness" ], "conformance/glsl/functions/glsl-function-mix-gentype.html": [ - "4ec7f632ea727c0d7ba7c2d0bbf7b19387a74594", + "41eadb628fb42115466b31f3b84a76a98f6404cb", "testharness" ], "conformance/glsl/functions/glsl-function-mod-float.html": [ - "a18bc94803d43d1479630fa8b80b3d3c8d483180", + "718cccbed7c7aa4b92136db51a54e6a709b54bdf", "testharness" ], "conformance/glsl/functions/glsl-function-mod-gentype.html": [ - "4d94cb481e2a4a5b291de8d22c6dc3fb28aa7572", + "1d4f89eae8bbc2937d3e5eb1637489803dce5e5c", "testharness" ], "conformance/glsl/functions/glsl-function-normalize.html": [ - "b5329498c4fd87e4aba460a79122234f165a016d", + "32b7443c9ffc08316b612c8f87420e25ae125326", "testharness" ], "conformance/glsl/functions/glsl-function-reflect.html": [ - "306881b9546775c3a9d2be30270418753ea6c558", + "beed94334294f1c3047ea1786c028c62d4172fd7", "testharness" ], "conformance/glsl/functions/glsl-function-sign.html": [ - "d09b129c8ad8a8c79b4d2181425a9718f420c178", + "d46d229e5dc468bbbc943a2a604a37af8f950b04", "testharness" ], "conformance/glsl/functions/glsl-function-sin.html": [ - "f4f5434dc57bb8ccd517ca5e53605ceb9fa14013", + "5a64d6f1a1b0d9cd7184e1c6da40317888843591", "testharness" ], "conformance/glsl/functions/glsl-function-smoothstep-float.html": [ - "84bce2ff0130cba4a29fdcee7a8771fe40977084", + "b49028913e58352cea66c1c975c1e0796840530f", "testharness" ], "conformance/glsl/functions/glsl-function-smoothstep-gentype.html": [ - "18e7fc129541e7b41faa212d2387322814f9cbb7", + "fa9c37dc734f5427f2107d71e7c1e8ab404db2e8", "testharness" ], "conformance/glsl/functions/glsl-function-step-float.html": [ - "1de1c5d14859eae7805702401fe269712626a2f4", + "8bbf4069250243a83b1efb17daeec8de5ba30c0d", "testharness" ], "conformance/glsl/functions/glsl-function-step-gentype.html": [ - "d424e5547c4af82848232cadb66aae9c072f03b8", + "ed31d3d3f8346ee06930be33b0789234dc5e464e", "testharness" ], "conformance/glsl/functions/glsl-function.html": [ - "55392f5247fa190fbcee47ddadbc717d0e848a17", + "7b09cdff611a8b8ff5779325660212ef6512a8e1", "testharness" ], "conformance/glsl/implicit/00_test_list.txt": [ @@ -27436,263 +28256,263 @@ "support" ], "conformance/glsl/implicit/add_int_float.vert.html": [ - "812915404c8cb2d2e8e470ef5ffc9cd35f36e979", + "f0af85122986b277378a5aeba2f3f1615a1a3479", "testharness" ], "conformance/glsl/implicit/add_int_mat2.vert.html": [ - "7cf150a71aa2b8ee25687d4ccb4b2fc4610d16a1", + "1790fbf6a9a5f8299166207defd77ab533bff596", "testharness" ], "conformance/glsl/implicit/add_int_mat3.vert.html": [ - "d59b89376f7f83a2c62d86559349401a5fba7150", + "28c74538515b536558fbe0a37600de33bf6ab8a7", "testharness" ], "conformance/glsl/implicit/add_int_mat4.vert.html": [ - "1874508629ba0d64401047b7b7113431e75e12d5", + "cff3d33353cc6103d0afb7b3f2baba19742ea291", "testharness" ], "conformance/glsl/implicit/add_int_vec2.vert.html": [ - "6d2cc5e3ac0b1b1d8b2099ed7f0016bf4955190a", + "068b2ac59542e16c3579766d0edc56a6324cbccf", "testharness" ], "conformance/glsl/implicit/add_int_vec3.vert.html": [ - "163683b346ea2c7d46f81adecb8022ea9c2bf486", + "77ff19daafb236bbb62a581d91604df80ea4d9be", "testharness" ], "conformance/glsl/implicit/add_int_vec4.vert.html": [ - "81183d8ce37e178369f5ee0d44ded21e128f5b39", + "84793a0be126f00dfde5f308e915768a7d607cfe", "testharness" ], "conformance/glsl/implicit/add_ivec2_vec2.vert.html": [ - "76ba85ceb8ef38f9364e2d061bccda7d55ef6f20", + "3eebaf46bb73d5c87d65e4f1403801641420aae4", "testharness" ], "conformance/glsl/implicit/add_ivec3_vec3.vert.html": [ - "e7ef897782bcb68d67509a015745760467af0e80", + "1c4056d79804d685f0657ef2a502f3d9ba869841", "testharness" ], "conformance/glsl/implicit/add_ivec4_vec4.vert.html": [ - "9581bbda8ed19ae752a4716dfed643b5fdb8bf44", + "fce94c5e069bf968f7a4019d4401d1d52222b4d5", "testharness" ], "conformance/glsl/implicit/assign_int_to_float.vert.html": [ - "a631cc2efbaa59918a3effb1f256d232362b82a0", + "fab68cf0a85aacfaada8dc5b3f45ef4e3a137e1f", "testharness" ], "conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html": [ - "36e66a3fa779059cf90566e65ba65b7cdfb95610", + "880e12895ec281eb0400bc660eb43be98447b190", "testharness" ], "conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html": [ - "6b74005e7b38227215578ca93e3a7af4471ca46d", + "84a9c8eab90a6ea6d48d2637df6f9f6750b16560", "testharness" ], "conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html": [ - "3846193ffd4671a35c1854f6c2351569e7d308ae", + "d6e952fb101f53b43c37fb23b608af7bd0a189b2", "testharness" ], "conformance/glsl/implicit/construct_struct.vert.html": [ - "c837e1ff402110db584fda8a9601ce5a63f3111f", + "7ed9e6f839d6f3c13e6ee9488063d57da20182ee", "testharness" ], "conformance/glsl/implicit/divide_int_float.vert.html": [ - "fea373436f99dc470d617935b121e1837aa7b332", + "95e8044d7beaf7ef9d4d7f2a4f8918d81dfe1ee5", "testharness" ], "conformance/glsl/implicit/divide_int_mat2.vert.html": [ - "62d0ea0e1c476ae24ab84decab24bc90ad1c2859", + "6b0a1a8e9a3f36a8f935bc384209eb989dd06bb8", "testharness" ], "conformance/glsl/implicit/divide_int_mat3.vert.html": [ - "58c18b61a1338066f892870c0cbc03d72b5de76a", + "dbcd8a53a394dceee8c84e46589edf2d9b42c38e", "testharness" ], "conformance/glsl/implicit/divide_int_mat4.vert.html": [ - "d6dba4683d50a2623c1b85fae876ad2ddc81d917", + "24a536299193fb30a7de9d7489c943b048769b26", "testharness" ], "conformance/glsl/implicit/divide_int_vec2.vert.html": [ - "2f50269abb66ccfc691d934a8d1d4d511307fe84", + "636a11280565fc1e53710e82cbb27c736a4fa894", "testharness" ], "conformance/glsl/implicit/divide_int_vec3.vert.html": [ - "397c758ec193c5b0b43c830c3df594575a07465f", + "e7e536454ffa11b2d0c0a21f2039f68d06d7893a", "testharness" ], "conformance/glsl/implicit/divide_int_vec4.vert.html": [ - "94b9b4afcf998e568f1a520fabb6af48580c2bf6", + "99916ecafbbc5be0ebf45ed475d0903610820099", "testharness" ], "conformance/glsl/implicit/divide_ivec2_vec2.vert.html": [ - "d13d5a6432b1b6ffe2099e17a16cfaf236489022", + "4feec0c7017d2854d4e8c143a0956f74930fab8f", "testharness" ], "conformance/glsl/implicit/divide_ivec3_vec3.vert.html": [ - "d074fe196702e8eb48d0c3d4ef93f5dac76adb35", + "ced62add91e54769459ce7a7135f82c7248e5de0", "testharness" ], "conformance/glsl/implicit/divide_ivec4_vec4.vert.html": [ - "a6b2307e52085741bfc351786ea2d51ab8ddd99c", + "49c406703b4e673e1c1832626e49dc487573ecbe", "testharness" ], "conformance/glsl/implicit/equal_int_float.vert.html": [ - "a9ca0b1ed432401b60de78a9ad5d3ee0bf4b5c5b", + "e4146b986554a090debbe6826430b480c72abd19", "testharness" ], "conformance/glsl/implicit/equal_ivec2_vec2.vert.html": [ - "275023160c31e53b1b50cab755eed36f1c55262d", + "ae0d7206c0625ea8c7ce2e57d59130c7abeed0d5", "testharness" ], "conformance/glsl/implicit/equal_ivec3_vec3.vert.html": [ - "cc167b91b54d03a9d546c2e1f5495c7bdcf75d5f", + "52edff051e13fa0e889a743e4fd0508b3978670e", "testharness" ], "conformance/glsl/implicit/equal_ivec4_vec4.vert.html": [ - "31dbfddc19ba17695e8d235432e812914ad7b132", + "e6eb4eed35761970693d1e3a0b2c1a437292a462", "testharness" ], "conformance/glsl/implicit/function_int_float.vert.html": [ - "a086572ced0793bcc0b24f0127b34da2022086d0", + "52f368b0d9a6a9e52b6b7d2ace05d2d501d42e25", "testharness" ], "conformance/glsl/implicit/function_ivec2_vec2.vert.html": [ - "19e4f04e477c2c924491c86c5e575fc737fc68f2", + "838e09bc5a6b33921c177b98342467ffcae43988", "testharness" ], "conformance/glsl/implicit/function_ivec3_vec3.vert.html": [ - "d0e7873cce22bfb7f1797c00b256b7e36652a1e0", + "8477e61640ef5f60e2a59210ddb38532bfd4c99d", "testharness" ], "conformance/glsl/implicit/function_ivec4_vec4.vert.html": [ - "5b4ec18b7f7ebcf0e6c2f630f79b063f1fe51b40", + "57408c56f01073bd06745b0e1a0c068252c2e31a", "testharness" ], "conformance/glsl/implicit/greater_than.vert.html": [ - "158fc119a9303d0edc718d53d467db16c71771da", + "595a59efa2667d58f9eb89b74269925c71fe536f", "testharness" ], "conformance/glsl/implicit/greater_than_equal.vert.html": [ - "580387b0d3f91c93bdbe53503ba19985177c7bd9", + "e6e6c9c659e117db75ff17c89926312cd4031e80", "testharness" ], "conformance/glsl/implicit/less_than.vert.html": [ - "03135f29233ee65a0248fcdabfc4986ebc899eee", + "d7e786185c2cfc4c5d6ad41c6c26686c2f0594b8", "testharness" ], "conformance/glsl/implicit/less_than_equal.vert.html": [ - "bfdb1423563fb91e5c5a8d312f084261249ac644", + "981a7c27da361c3896d954ec7181b00acd693fc2", "testharness" ], "conformance/glsl/implicit/multiply_int_float.vert.html": [ - "29cbbf92c96c6dea1ea88bca627906fe65c8725c", + "1db98dc0fad37c6a3f2ada1d51cbc0c04d754b29", "testharness" ], "conformance/glsl/implicit/multiply_int_mat2.vert.html": [ - "293c57ffab26176db1a017ed3e76abe6691b53cc", + "40dbd4df318060a1c1333383c8997386181689be", "testharness" ], "conformance/glsl/implicit/multiply_int_mat3.vert.html": [ - "fb30d29c51779288ae52ffc3628bc3630eaba0b7", + "4bb178c55426bb76220b6ea8b2d70f5b400a991a", "testharness" ], "conformance/glsl/implicit/multiply_int_mat4.vert.html": [ - "65585fd7fa834458ca4b372eb0bb61e3b576c967", + "0afd03d879b299196a426d1a4a78339d934a4dbb", "testharness" ], "conformance/glsl/implicit/multiply_int_vec2.vert.html": [ - "26597311f56f75a5c9d2bbbc1ff85c9b1ff85c62", + "16cf52c6a11d9e3289cd012c85089e4d5deb773e", "testharness" ], "conformance/glsl/implicit/multiply_int_vec3.vert.html": [ - "1ee7c6cb1b575affdd7774ee67aaf1ef9207818f", + "bf938a2f9df5453b9ed8ed03208f5a53e6645d2b", "testharness" ], "conformance/glsl/implicit/multiply_int_vec4.vert.html": [ - "e71cfc3770d5a14cf2a7bbf3e43822dea34a74c6", + "98bf20d0fa9174bc60fab68ac9cc5f593ca397d5", "testharness" ], "conformance/glsl/implicit/multiply_ivec2_vec2.vert.html": [ - "5fa51ef88a1bd2e9273d3781a24ecccfdc211323", + "047374c43045d1c460b5adf2d8dcf9c6f5ebd197", "testharness" ], "conformance/glsl/implicit/multiply_ivec3_vec3.vert.html": [ - "a3312fff4ea0d89ceb95f18e4c5304a89f999f8e", + "3729397a18a5f4425804a276fa46b0bf059f1330", "testharness" ], "conformance/glsl/implicit/multiply_ivec4_vec4.vert.html": [ - "3586ed632cfd908e622cc56a09a16dd8298bd13c", + "71a84e7f774de1cbf5598b2ab43b30dd35d80c55", "testharness" ], "conformance/glsl/implicit/not_equal_int_float.vert.html": [ - "a5d202b38cdd87637b88a2d56d2c3043b9542e1c", + "d5901afceefa6cc0a9011a37b2b44f0539ccb8e4", "testharness" ], "conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html": [ - "5207c25e363ac2a5cec0470433daf132c40a4adf", + "06a5b7c35f94eafadfffc82f5e4dabb43ebc7dbf", "testharness" ], "conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html": [ - "b20e2a52c2ceb5a183899bde38a60f66e7b5e5e2", + "868a20a79ec8800e1e145165baa54868f33a7f02", "testharness" ], "conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html": [ - "ac0e07f24a9a021f6ec1b091f8b9fb33ea68bfe3", + "e4b96a59b6378fc98be6f445b3ab644573d52c45", "testharness" ], "conformance/glsl/implicit/subtract_int_float.vert.html": [ - "e83979b89cfe6db96aa6d8587027806dc710abf8", + "95796eb93b9dd7760ad1eef0050a78ca136b3371", "testharness" ], "conformance/glsl/implicit/subtract_int_mat2.vert.html": [ - "03789509377940f64386c8dc31cd5d830b4f0706", + "6a6c080a23f018d851c213df304d3c84b9ecb0fb", "testharness" ], "conformance/glsl/implicit/subtract_int_mat3.vert.html": [ - "33a19c3443d2a331c6f70eb94e38c2104a5ed2d4", + "8b030ec8e45cd398f87a28fcea9ca5d34a292497", "testharness" ], "conformance/glsl/implicit/subtract_int_mat4.vert.html": [ - "f53d782befd05217b079572b7ec80a2c9a1704d3", + "e6d9b6078c4dffeb1285869d179de5df3bf26191", "testharness" ], "conformance/glsl/implicit/subtract_int_vec2.vert.html": [ - "eb0c4716e20543979bad625bb2cf5dcceb4e6f27", + "6eed413a84e9a395e111b320effdc4e4548b79e6", "testharness" ], "conformance/glsl/implicit/subtract_int_vec3.vert.html": [ - "519c4d6ae32d03bbdcc0b8831b5aaf85bb76112d", + "c7ab5908031983dc9d86106febe8f5156962829b", "testharness" ], "conformance/glsl/implicit/subtract_int_vec4.vert.html": [ - "c168382bcf98f3f88860f1890c638f3534fb1907", + "f87ffa0a967991df1d6f2f9ce442ac0be10baddd", "testharness" ], "conformance/glsl/implicit/subtract_ivec2_vec2.vert.html": [ - "0a3c34315f126fcd2f63cc8cf1b70fb7d94bd69f", + "03becaa86bbcccd246a4afd5606f834fc47222ee", "testharness" ], "conformance/glsl/implicit/subtract_ivec3_vec3.vert.html": [ - "93b72932e39f7c2e12391142fea5087d69e05b2a", + "323e054fb941962b8fb30f032cb34d96b8dfa646", "testharness" ], "conformance/glsl/implicit/subtract_ivec4_vec4.vert.html": [ - "d8b396b52fdec3a4b656f74609ca7c44a86f6f10", + "2f98e0517c4014f92c0ef1bc613137fc6ffc4425", "testharness" ], "conformance/glsl/implicit/ternary_int_float.vert.html": [ - "41cae76bfb4033b0da21f5288bd814653fa004f2", + "4027e7cd5facdd58dcead3fa6eebc2186ade2b9c", "testharness" ], "conformance/glsl/implicit/ternary_ivec2_vec2.vert.html": [ - "3763226833679c7a6d29a96683cbd0264382b1f6", + "83db281b89a01f2da968a0aa921ee2878a3e742c", "testharness" ], "conformance/glsl/implicit/ternary_ivec3_vec3.vert.html": [ - "d5e18d247b50ffe6af4620eb9bfad4de685223ec", + "1256bc3528477bf125a38349d93d2ad1e27380a0", "testharness" ], "conformance/glsl/implicit/ternary_ivec4_vec4.vert.html": [ - "40084a7a33078bf065125572be15c7133cdad95c", + "8e9a1e5429740ed65638b28e675d44633e60a5de", "testharness" ], "conformance/glsl/literals/00_test_list.txt": [ @@ -27700,27 +28520,27 @@ "support" ], "conformance/glsl/literals/float_literal.vert.html": [ - "f871cadeef5a074a4b71cf7e7a44df6cdac9acd4", + "948e8426ae27be23f3eab0dc89f892ac4b43df96", "testharness" ], "conformance/glsl/literals/literal_precision.html": [ - "7df690981cc3e1eeebe41d349bf9dcd65d5c9198", + "7a211bdfe8980848869ebaa8af15e846312044ec", "testharness" ], "conformance/glsl/literals/overflow_leak.vert.html": [ - "1d9711129e16f00e23de02bc0721aca2d80c3fc3", + "97ff7535725652e5744d94e4b27adb0b90c64576", "testharness" ], "conformance/glsl/matrices/00_test_list.txt": [ - "91b4ce21f87ed5e1048cd8061965c298d7e0e270", + "74693de0eae0d98cffa256fe7f871ce7bcd131d3", "support" ], "conformance/glsl/matrices/glsl-mat3-construction.html": [ - "93a49781ed8767429d33e05a4635c5dfa7ef5825", + "d22042210b7da9e98c4fc38022c343ca6e5d849c", "testharness" ], "conformance/glsl/matrices/glsl-mat4-to-mat3.html": [ - "cdf252a4e87afc9f4e11d0142916c914a16a93fb", + "5a0c1d14d52be77185cf1a8352c46f82491de5f7", "testharness" ], "conformance/glsl/matrices/matrix-compound-multiply.html": [ @@ -27728,15 +28548,15 @@ "testharness" ], "conformance/glsl/misc/00_test_list.txt": [ - "0c8859b9f7f64666426c811d406f5e30a24c1569", + "7a2daa442a675b5a81fc477f58af7e42c40b6ef8", "support" ], "conformance/glsl/misc/attrib-location-length-limits.html": [ - "24a382699cd9c5925adba59402fb07b7904661af", + "2f8ce81cfceea6aa70cc31e860dec96d494ecaa2", "testharness" ], "conformance/glsl/misc/boolean_precision.html": [ - "2066722be604ffec6d47f4a3569bbb6d8491c70c", + "27caaf72581b79f437a16170cd4f40facb5c57c8", "testharness" ], "conformance/glsl/misc/const-variable-initialization.html": [ @@ -27744,7 +28564,7 @@ "testharness" ], "conformance/glsl/misc/embedded-struct-definitions-forbidden.html": [ - "4a12d9c98b42d1adc2b1031d68163cc4be5f2e5f", + "2c3f95377012c590ca6868206ac05a34383be2aa", "testharness" ], "conformance/glsl/misc/empty-declaration.html": [ @@ -27752,31 +28572,35 @@ "testharness" ], "conformance/glsl/misc/empty_main.vert.html": [ - "3684248f51da359e2b8ddb4684eddf80fa59803c", + "9aeb1457a12ddf1bf93bda9a03da86e9bf0a00eb", "testharness" ], "conformance/glsl/misc/expression-list-in-declarator-initializer.html": [ - "db8b1f7d0036ace57927e74067db28363e8c449b", + "49715f55cb080f270b7a11d68ca7f145ae34b4c9", + "testharness" + ], + "conformance/glsl/misc/fragcolor-fragdata-invariant.html": [ + "8a88a8dc117af7e71f57bf1cc08e1efcd15df964", "testharness" ], "conformance/glsl/misc/gl_position_unset.vert.html": [ - "b49c366b98326192bb85e7aff22d82dc8d0b7c0b", + "655c21532aeae2de46046e7026eac49a32d89481", "testharness" ], "conformance/glsl/misc/global-variable-init.html": [ - "73088fc5a37f2761238422486a394f3129b9167b", + "74ec483ac101d3fceb8aa93dacf6ad38994e72c5", "testharness" ], "conformance/glsl/misc/glsl-function-nodes.html": [ - "ca70c2ea1dfa89de396d4e8b819cc600de8d005f", + "d16de7b61803a4ae8b78e84b6b69957c51524a3a", "testharness" ], "conformance/glsl/misc/glsl-long-variable-names.html": [ - "fcd8ca63ff661690351c6c468d029ce8ce18679f", + "b874970a0954ad174aeff13613b8f6794ee8d0f5", "testharness" ], "conformance/glsl/misc/glsl-vertex-branch.html": [ - "0d11862a6d439454b652b6df7d23e9346b30b048", + "478a94ed31f7e79d47d28c3d79f3be2817dc443b", "testharness" ], "conformance/glsl/misc/include.vs": [ @@ -27784,19 +28608,27 @@ "support" ], "conformance/glsl/misc/large-loop-compile.html": [ - "acb4629a116324d06382ed09ca78add0fd7fa620", + "5a9c4dc773c1153645c80755a7a96ebc715e2eb8", + "testharness" + ], + "conformance/glsl/misc/local-variable-shadowing-outer-function.html": [ + "bfb1f96890b90336f2693b698af0e93e2b4398db", "testharness" ], "conformance/glsl/misc/non-ascii-comments.vert.html": [ - "8f26d30bf6f980b37d5c484a02d759c43fc04f65", + "eb059d8e0fafcb720c9c667f9aca7501d55b01a5", "testharness" ], "conformance/glsl/misc/non-ascii.vert.html": [ - "b1b0cea2d39b7d5e18a02d30a2098ae06eb59fb2", + "2bba4c2432e690fbd597a4d04b40d6251537eab2", "testharness" ], "conformance/glsl/misc/re-compile-re-link.html": [ - "cd5331b51e59507163849030467161417c037b00", + "327a1c0df83a198122f8e2ce2cbc8085da0e8fc5", + "testharness" + ], + "conformance/glsl/misc/sampler-operand.html": [ + "c236e921d7b22deb25d8a9583372ea6a969c0738", "testharness" ], "conformance/glsl/misc/sequence-operator-returns-constant.html": [ @@ -27804,75 +28636,75 @@ "testharness" ], "conformance/glsl/misc/shader-precision-format-obeyed.html": [ - "adf14f684a147d5e6ee946f38fd4063cc52891ae", + "784f324e34be0cc052ade95a02983b4a31fe9466", "testharness" ], "conformance/glsl/misc/shader-struct-scope.html": [ - "048c14eed5d2db4bde8f7ca8d4064fc331c4e2b8", + "40493eae88c913360f96ca5303bfe580c2c4bd23", "testharness" ], "conformance/glsl/misc/shader-uniform-packing-restrictions.html": [ - "ce088319d2a9e50faa6fd627148c1b83b9c9c7da", + "f6b879a8d8c531cb63392308f6d1c3b0e789e105", "testharness" ], "conformance/glsl/misc/shader-varying-packing-restrictions.html": [ - "9ef6d2adb8893ec5f3f78e8a3bdade564958e036", + "8a7fd1a4201883e63af071122cd5003120dfb23e", "testharness" ], "conformance/glsl/misc/shader-with-256-character-define.html": [ - "a00ca8f38564321bb8442b5224f956d71c69bdd5", + "e58ba91906fc781609f5acbf309f37d567ffc738", "testharness" ], "conformance/glsl/misc/shader-with-256-character-identifier.frag.html": [ - "2dc6f2c880119587218de7b6acbf3cf1f4ec2a50", + "84dfd899fe116a07159e4e6e6a1957e574c2dbec", "testharness" ], "conformance/glsl/misc/shader-with-257-character-define.html": [ - "0adafa0852950f927164364e68051744be335743", + "bdf2a35bf7ea698c7d9cb14f04b549bb25703bcf", "testharness" ], "conformance/glsl/misc/shader-with-257-character-identifier.frag.html": [ - "04fa8f965841684d4f24310b001862e11d83f871", + "1ffe9885eeae68405ab54bd6319ec1e5c0d5f776", "testharness" ], "conformance/glsl/misc/shader-with-_webgl-identifier.vert.html": [ - "c287f359c5f136d732487d909e941dc999993c1e", + "4c4f9aae1947414774c55743f7dad9abd01a9598", "testharness" ], "conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html": [ - "b43ab809cae50009dcd892ce266faecfabc63446", + "b6c7d99e97c24ebd0605246b59c812ee3f4e1877", "testharness" ], "conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html": [ - "85216c269b2de9e4173954bbe6feb87012e74f56", + "2339be18e304d39942770524077cbd98288a4ded", "testharness" ], "conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html": [ - "65fbdeb0e7ab5ca1fee4c78ba0f99e9c33879d1d", + "0b2033b35ca5c74778f669c395119676af3a0793", "testharness" ], "conformance/glsl/misc/shader-with-array-of-structs-uniform.html": [ - "b55bfe98f2894920d3ec532b01dd898b4295cc84", + "e0ac18f096bd99a2c04b3167654e2de84413845e", "testharness" ], "conformance/glsl/misc/shader-with-attrib-array.vert.html": [ - "0c1123d002265bf5e7b9f3b46767b277fe39bfcc", + "fe8a28273f3fc710e05751095c91226bacf29f68", "testharness" ], "conformance/glsl/misc/shader-with-attrib-struct.vert.html": [ - "177e38bde7c3a53cce45513edad0c24aa957383c", + "8d4f5ba88142123b830bd99ecd155e2840ba1410", "testharness" ], "conformance/glsl/misc/shader-with-clipvertex.vert.html": [ - "dc2db444e66593b4b635e8a2b78972bec3ca836b", + "69d98b37333d342df97bdf2d834463f84f5be0c8", "testharness" ], "conformance/glsl/misc/shader-with-comma-assignment.html": [ - "8fcd2856d9570b5f4283625a60f21b1a61f67fd6", + "94c6bed9bfb27b5371fea0845aed5d416be64506", "testharness" ], "conformance/glsl/misc/shader-with-comma-conditional-assignment.html": [ - "dfb3473c51e56f841ee07ecc79bc5574e4118cab", + "25dce6e6793379310c97466a953ee0d9367fcc65", "testharness" ], "conformance/glsl/misc/shader-with-comma-separated-variable-declarations.html": [ @@ -27880,167 +28712,167 @@ "testharness" ], "conformance/glsl/misc/shader-with-conditional-scoping-negative.html": [ - "04d0498119f9735f7c22643260606013ecd842f9", + "89c89f7032d3007829de9cb83518f74a153a69ee", "testharness" ], "conformance/glsl/misc/shader-with-conditional-scoping.html": [ - "efa995575df85b13978d4449bac65b3c89402db2", + "2719efd259d40669603e211c926d8168b160a24a", "testharness" ], "conformance/glsl/misc/shader-with-default-precision.frag.html": [ - "af1b0c7268747af57256382445a6b0dd6856aaf9", + "0fa286ebe613b4f4bceefd35abec75a9acd936c0", "testharness" ], "conformance/glsl/misc/shader-with-default-precision.vert.html": [ - "d0600139cc1f24c076ba91b70936627d2c17dc07", + "61e09607e428f1627d76c512c1583e3c6647da96", "testharness" ], "conformance/glsl/misc/shader-with-define-line-continuation.frag.html": [ - "5f4dd0000c7b09d27920bf4ee7e0a3a23802bfa1", + "e6e1fab21d940c40912ef7ce73f24543f1e5ab41", "testharness" ], "conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html": [ - "01c73b11daa192b0e57fd51a279649aa23cc180e", + "08f02cd26b41ee595dbdd8a020e88d0e74985099", "testharness" ], "conformance/glsl/misc/shader-with-dfdx.frag.html": [ - "d05d20e194114f586f5ec0ee39dd001d323e53b6", + "17a55596744515c6e01fb6143b36258bec307873", "testharness" ], "conformance/glsl/misc/shader-with-do-loop.html": [ - "4423076d47e19f3ba0a7f44c74f5e222ae75f371", + "6daf76f130b4befc9d766f58ab92bd63d638719c", "testharness" ], "conformance/glsl/misc/shader-with-error-directive.html": [ - "bff5e6538f838612c49bdecd8b50b8e8a0278fba", + "84461bff262e994d5566b35ac2a3a28388548e42", "testharness" ], "conformance/glsl/misc/shader-with-explicit-int-cast.vert.html": [ - "1ede3463465bcdb0fb83287a69b9cd038e73578e", + "37942402e40438b0d2b89f19f9fb441349cfc335", "testharness" ], "conformance/glsl/misc/shader-with-float-return-value.frag.html": [ - "4080221d1b68901bb1b9b28addbf35d692458367", + "ab1181911d43fa75da5e52ebc4632d9eb2a24231", "testharness" ], "conformance/glsl/misc/shader-with-for-loop.html": [ - "cabfed9f8769030e1567283ca021e72acddd1ea7", + "5347affb3fb582852efa089d46109bcb5be617b2", "testharness" ], "conformance/glsl/misc/shader-with-for-scoping.html": [ - "e0e0547584956bd9ee84c779b8cbdc27b560ead3", + "04b1fbd771c939215371db8653417187f320ae4f", "testharness" ], "conformance/glsl/misc/shader-with-frag-depth.frag.html": [ - "f3936f1fd150b7fc6a66f4335efb1a6220ec15ff", + "07809a79f1c38e4c36453b9d3c6762d9200233be", "testharness" ], "conformance/glsl/misc/shader-with-function-recursion.frag.html": [ - "a6c753536ed5c9a97eaac71de8347ee6e26216ef", + "d410bb69590c23ee50c9e851d90160baa1eaea59", "testharness" ], "conformance/glsl/misc/shader-with-function-scoped-struct.html": [ - "1c17f453a2339dabfeb04e4684cf6b1069d63c1d", + "90edc5ed35d78bf8ebe55f562899e1694836f374", "testharness" ], "conformance/glsl/misc/shader-with-functional-scoping.html": [ - "bd0f2efb481519fb09142e2187c4f581c61f0f11", + "25f68e2e99885375c9fa4dfe83a19cd50ba971e8", "testharness" ], "conformance/glsl/misc/shader-with-glcolor.vert.html": [ - "4e54df133afcd966584e4eb73ae0558eb6ba27a6", + "f06c8f085fa7ed17416b357c71190f28ede11618", "testharness" ], "conformance/glsl/misc/shader-with-gles-1.frag.html": [ - "5b8c86840c550931625d7d2396c079272857e9e0", + "9148afba6a2f8b82370afdb15a86a0b5e40c2ebe", "testharness" ], "conformance/glsl/misc/shader-with-gles-symbol.frag.html": [ - "f37e64b384a9e1ba52cb91383283d24ec9db1d77", + "3d510ed361dce6cf5821a8576c3e9fb85cf65703", "testharness" ], "conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html": [ - "612948faaeaf0bf587e838f58fb1720faa451a76", + "8a3eb1ca190a001eb7b0ea778f885cdfc735fdbf", "testharness" ], "conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html": [ - "c89b2f38eca355bc4d9e7e39bc857e93612ea559", + "d596ad6f4b77e395683ec8c1d724c553182aa3ba", "testharness" ], "conformance/glsl/misc/shader-with-hex-int-constant-macro.html": [ - "716a4c55267c611a96746c651c3bf014af9e6e12", + "c8d76d083dcd5e6d378136b0ceaae09a18bfa7de", "testharness" ], "conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html": [ - "f1be8d047b1a59149422ddd4fbedb48f912e5a4a", + "1fdd6ba7f97748b13bb4f5cd033419d98036c9a3", "testharness" ], "conformance/glsl/misc/shader-with-include.vert.html": [ - "bc4a6dcdafe01e80a68644c79a2a51bc108570ac", + "3a58760cd3c790848ce6bf93c5add189d2d75d22", "testharness" ], "conformance/glsl/misc/shader-with-int-return-value.frag.html": [ - "ddcca8d2e8e9d2270f361217413c23c9eae1c72a", + "ca2618bac44e313febb1a14796223d57235fae64", "testharness" ], "conformance/glsl/misc/shader-with-invalid-identifier.frag.html": [ - "3045ea0adc85dd1665ec4b9730bf3c5a64a090f9", + "e06a78676aa7b683dc9681fba373fb25de4be1a4", "testharness" ], "conformance/glsl/misc/shader-with-ivec2-return-value.frag.html": [ - "a68b2461344ee0c4f5dd612caf4336558829cc12", + "2d6a57e686026e67ffcccdb1a1c737c9604bf6e5", "testharness" ], "conformance/glsl/misc/shader-with-ivec3-return-value.frag.html": [ - "07520e788393dccffda8186c4c967860316b7491", + "3efb3838abc90c12d743db9bf8d7117644bcadc7", "testharness" ], "conformance/glsl/misc/shader-with-ivec4-return-value.frag.html": [ - "83535db94d1e08a0b8ba2ff4da9d7f97ff62e52c", + "6a2a2c358f7749bcea5c74d6f90f060c4b8d65c1", "testharness" ], "conformance/glsl/misc/shader-with-limited-indexing.frag.html": [ - "456df8ac9d5214c771dd17ddeffabd13a869f598", + "a36b17983edcb96655b2b096fe2bdb01923cb84e", "testharness" ], "conformance/glsl/misc/shader-with-long-line.html": [ - "7c6423c5a440ae2d50fdddae0830aeb8c026ea07", + "3197cfc10f64a9bcc482f2d974d3d4cc548db419", "testharness" ], "conformance/glsl/misc/shader-with-non-ascii-error.frag.html": [ - "9b8f50be051410ff77d2af0fdf944c0ce1005031", + "ef17f0221e821f89971953c8491c7ca86b4ece42", "testharness" ], "conformance/glsl/misc/shader-with-non-reserved-words.html": [ - "389d856b02fd6b85651ffb051f01d46d6e681a72", + "6aee7c6eba6745a65c8944d4399d2629084704e8", "testharness" ], "conformance/glsl/misc/shader-with-precision.frag.html": [ - "62d7b71950aa00d69f97f3d3c4e792ca9285a15d", + "4c06f0274ed849cdfd3d3e2f46d365dbc010fce4", "testharness" ], "conformance/glsl/misc/shader-with-preprocessor-whitespace.html": [ - "d2ba82c027cdc4728490f64dcc027f0c1b3b020f", + "3026fed38b48a0ed0faa0c077459f23db54d70c5", "testharness" ], "conformance/glsl/misc/shader-with-quoted-error.frag.html": [ - "1791590056e438c76bfa8c52bfe253a84414b8b5", + "1af0d5981492a42f02e380545ed1bcfa7e0df282", "testharness" ], "conformance/glsl/misc/shader-with-reserved-words.html": [ - "7d2f2883e54469e1c186a1578507e8fa7d653abf", + "a2166e9df78cfd2b47489fcb1b8c082b920dec80", "testharness" ], "conformance/glsl/misc/shader-with-short-circuiting-operators.html": [ - "64efaad176953fb8f6e0718990957e36158c66d3", + "a94be1fc00659f9923c1700a83f0ab70402dfada", "testharness" ], "conformance/glsl/misc/shader-with-similar-uniform-array-names.html": [ - "cf4d796b797f8e6b903e95250cca9228cef49292", + "1d9abf4d4cb12fc5d194d980d7384b6eaf3dc1ce", "testharness" ], "conformance/glsl/misc/shader-with-too-many-uniforms.html": [ - "1b6260c94cb68f3c6a13a33d0ab181b65607793b", + "68f6c620d154435cb48f84211ee31668dcf15fbf", "testharness" ], "conformance/glsl/misc/shader-with-two-initializer-types.html": [ @@ -28048,91 +28880,99 @@ "testharness" ], "conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html": [ - "efda8d89918e47ee4ca16145b7448095d6b2251f", + "d8ffa2823db282a38e6c14972dc7235b80f3299f", "testharness" ], "conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html": [ - "f776cf1c5ee10a46b6b89ff621755c85a1f1af4a", + "5839d23ca75f393f829691bccfbc99e08b8757af", "testharness" ], "conformance/glsl/misc/shader-with-vec2-return-value.frag.html": [ - "f46202f6aca73388c8194dc927550a1029828dd2", + "a696b8f0d7610726f5e443a6a943fa7b9ae0a326", "testharness" ], "conformance/glsl/misc/shader-with-vec3-return-value.frag.html": [ - "c3f8488367b982e94eee15b88c5e97f6b27ee4e6", + "c666994b5b65997047f963046618364de28d09fd", "testharness" ], "conformance/glsl/misc/shader-with-vec4-return-value.frag.html": [ - "2d001b99a9748530f8bd28b5bf9e6fc424a6a2c8", + "da2ab2892a68380bd008848085b260dc23eb6736", "testharness" ], "conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html": [ - "9d25ad6bf2c691a73c1d486dac276a90d4743f2e", + "6d0d4a17db0c89c725a8e06211352e24286dd855", "testharness" ], "conformance/glsl/misc/shader-with-version-100.frag.html": [ - "96de76dc6e2fc5acc578aa80611c4ba3a5680a50", + "9880db624e9f47d688fc31fd9d6de7470a1f4204", "testharness" ], "conformance/glsl/misc/shader-with-version-100.vert.html": [ - "a46f52b1b43afb3925f1895edb0f9600fdebe15b", + "8239f4bc660a6132f2b05b6bd089bf13f0253e9a", "testharness" ], "conformance/glsl/misc/shader-with-version-120.vert.html": [ - "d6ff2b2f5d5412f72128b8c06622c1564c235ec0", + "f946d928308662b63f794338390493462a42f705", "testharness" ], "conformance/glsl/misc/shader-with-version-130.vert.html": [ - "f30a695065e683a9d9a9e6261065a538b0ec25e3", + "e3aa164e5f283b283e182458f8885b06980a5fcd", "testharness" ], "conformance/glsl/misc/shader-with-webgl-identifier.vert.html": [ - "3bde4248a125698f50e382bed5e21959b60994bf", + "8883972bf10e5b39d2a8818b1f1ddc5bc0d83d73", "testharness" ], "conformance/glsl/misc/shader-with-while-loop.html": [ - "f1f3174196f9bad25c07d6d0e00f300e26d87ab7", + "9c31db5c3de16b8f6423132a28a6efa2b1359fa1", "testharness" ], "conformance/glsl/misc/shader-without-precision.frag.html": [ - "1145f05e2774f69f2bca548667453d78df6e0160", + "c7c443895eda7c4c80cbb289bbac4e903c8b2b69", "testharness" ], "conformance/glsl/misc/shaders-with-constant-expression-loop-conditions.html": [ - "2ceaeb6ddd945fe01f67bdbf75304db682373cf9", + "5e6f5f920ecab5b8b08a0d803483d25125cc61cc", "testharness" ], "conformance/glsl/misc/shaders-with-invariance.html": [ - "3d80f9617abebcbf972a05890e29a8a27c134f33", + "be8af4dc503c1c213afeedef85ea0a9b1350cf30", "testharness" ], "conformance/glsl/misc/shaders-with-mis-matching-uniforms.html": [ - "37b5a9654dac1cbd0fdb21573aa5d952f35995db", + "79a303cc09e6cf69f570cba070964db79c2d710e", "testharness" ], "conformance/glsl/misc/shaders-with-mis-matching-varyings.html": [ - "f760262748bfdba9b5c1efdc8ceea86ceb07f961", + "4446025c31ce63a6aa307112f80c1ca0a0c31093", "testharness" ], "conformance/glsl/misc/shaders-with-missing-varyings.html": [ - "e2fa5ba6095c317d74bb6180c914161d268b5a37", + "5df921cdd48304b640d321b6542806b93ae37e46", "testharness" ], "conformance/glsl/misc/shaders-with-name-conflicts.html": [ - "e5c0ee8c684386263c25d1ce172999836b9be161", + "7e449f1dc4e8a15e8ab7947085715ae2e59a0a02", "testharness" ], "conformance/glsl/misc/shaders-with-uniform-structs.html": [ - "5dd4d35a3cd3aaefa84bdb42ca9f0171d06f847a", + "69a8e98cfd3a231d3348d9192d489f0091f2d0d2", "testharness" ], "conformance/glsl/misc/shaders-with-varyings.html": [ - "608f33fe304ffecc4c49b71ff79a35decd884b47", + "4b59b146161e5b607127f43c468784f611015248", "testharness" ], "conformance/glsl/misc/shared.html": [ - "dc8fe3d0f9c8db174ec2708167752bc519a7a4d4", + "e683a7af930f2cb4ea3ce27be3bc2aec3c708550", + "testharness" + ], + "conformance/glsl/misc/struct-as-inout-parameter.html": [ + "d08ae596d8d9e549e90c7dce3f154af1a09b3641", + "testharness" + ], + "conformance/glsl/misc/struct-as-out-parameter.html": [ + "05a7ae973b0ef9cb8f26b03d9647700fc9e1f008", "testharness" ], "conformance/glsl/misc/struct-assign.html": [ @@ -28140,31 +28980,31 @@ "testharness" ], "conformance/glsl/misc/struct-equals.html": [ - "159d9dc5d731ecd5fb86822cf4c62599d5b4259f", + "8ce8e31d60a45f219cf181019aebb9793717833b", "testharness" ], "conformance/glsl/misc/struct-mixed-array-declarators.html": [ - "5734c35c5194388673dd36f314e510d15a994f5c", + "3327a2e657d11b0c79b4f890904a39f028fc0ed5", "testharness" ], "conformance/glsl/misc/struct-nesting-exceeds-maximum.html": [ - "90854462bb284b5cdf2ed6611b5be06e6b1bded2", + "01568074decb184107ba225d5d73497b03f68a95", "testharness" ], "conformance/glsl/misc/struct-nesting-of-variable-names.html": [ - "88a8a38a062157843579054223760bf79bafbda6", + "2596aaaacf4067be69ca3b21569ae7bc6b496900", "testharness" ], "conformance/glsl/misc/struct-nesting-under-maximum.html": [ - "2436ac8d7ac33a7f50f94d4f439e0211833e0901", + "22b14ec1f565e0028369b9e40651574f30544236", "testharness" ], "conformance/glsl/misc/struct-specifiers-in-uniforms.html": [ - "d3c750f9d5451a277145ddb505587f687c6b988a", + "4b73b39c97ab526c7314ea20ac811c305b630fa4", "testharness" ], "conformance/glsl/misc/struct-unary-operators.html": [ - "e33393fd1e9da5d232e2ae5b1a6714c1bd283bc8", + "259f16040085a7a17444736418dfdb2a0fdaf3f2", "testharness" ], "conformance/glsl/misc/ternary-operator-on-arrays.html": [ @@ -28172,15 +29012,27 @@ "testharness" ], "conformance/glsl/misc/ternary-operators-in-global-initializers.html": [ - "62f40956d158f643d8098e21f7e6eed8b874aeaf", + "f6360ef6505b85e305f4664dc2188e5a1d10b912", "testharness" ], "conformance/glsl/misc/ternary-operators-in-initializers.html": [ - "088620c91bc770e3f29de2c00c6fa9efc4099094", + "a8cba50ad7408998c1c525f6d83bb9a804e03505", "testharness" ], "conformance/glsl/misc/uniform-location-length-limits.html": [ - "6692e92bcd2e7839b243b29a783f83b8e1451132", + "6d9fc38f86429a2b94a81b2b11715a3e6563e87a", + "testharness" + ], + "conformance/glsl/misc/uninitialized-local-global-variables.html": [ + "bb73bdfc31801149481275addce7a3111cb3a7f7", + "testharness" + ], + "conformance/glsl/preprocessor/00_test_list.txt": [ + "a921678aaa4c14cfe94b2753621a0b7e1a363c56", + "support" + ], + "conformance/glsl/preprocessor/macro-expansion-tricky.html": [ + "af962fd0ee3be00c67adf6814b5679e3dde5bd40", "testharness" ], "conformance/glsl/reserved/00_test_list.txt": [ @@ -28188,35 +29040,35 @@ "support" ], "conformance/glsl/reserved/_webgl_field.vert.html": [ - "a0a459c2939147f83f9450e338f9a612c05ee1b0", + "1c98b6a76200d3b690b40a91d358608dc303cc8c", "testharness" ], "conformance/glsl/reserved/_webgl_function.vert.html": [ - "da0ddeaa07f07193ad7cda8f3b11f28e5ff45198", + "4498d02a4322574daf5ed8a827fd15cb632e3500", "testharness" ], "conformance/glsl/reserved/_webgl_struct.vert.html": [ - "7bfc52cd4b58843d348cf40119888427680ca373", + "97d5e94dd97157992fbb52866ad2181a45251cdd", "testharness" ], "conformance/glsl/reserved/_webgl_variable.vert.html": [ - "ea21ca0d90f57bcf17ba2666cd9d3135968e9e2f", + "2b45f807da1d3c18df73ae9a0b4d59a3ef717dae", "testharness" ], "conformance/glsl/reserved/webgl_field.vert.html": [ - "908513dbcfe59fb65e9f7913dd8ccb367bcdf97e", + "1c6a28fde42d5446c682ea00c6e4bb791baddbfd", "testharness" ], "conformance/glsl/reserved/webgl_function.vert.html": [ - "b133d42dd0fec15338de9857ebda5552857b128d", + "b215cbcea8efea0f7f23502377c6097acb49594a", "testharness" ], "conformance/glsl/reserved/webgl_struct.vert.html": [ - "d57c57dc378055f6e72524b287597166aa2712ff", + "16a38949d5e0c7e8b7b84afc5a5bbb7e7d834702", "testharness" ], "conformance/glsl/reserved/webgl_variable.vert.html": [ - "3df092c3668a7c1ef812797c8bc5cc166d85e94a", + "bccb5513db195c7a3870141c5107e6f0bb5a1e72", "testharness" ], "conformance/glsl/samplers/00_test_list.txt": [ @@ -28224,19 +29076,19 @@ "support" ], "conformance/glsl/samplers/glsl-function-texture2d-bias.html": [ - "e10bcb160f816cd4aa6af6252e657dbfc4d125f8", + "a3b01685f2b9f0c7e8228ec6e339e14dde81fa74", "testharness" ], "conformance/glsl/samplers/glsl-function-texture2dlod.html": [ - "414d8663274d2d393d0d7ca6f26dca9a72be8f01", + "c50e5964636e8e7fa0dc94508292660739ec9b84", "testharness" ], "conformance/glsl/samplers/glsl-function-texture2dproj.html": [ - "df9159e09a4ebc4fbf9962f3a3b1ee5cc4c42c07", + "cfaba5346081cb42fcc720de2a95b0fcac071cd4", "testharness" ], "conformance/glsl/samplers/glsl-function-texture2dprojlod.html": [ - "82d8bcd119f97883b39de452ab7f2bd150fadb8f", + "beb07f5076d70047bfdf9e5d6ee0cdcbe17e0943", "testharness" ], "conformance/glsl/variables/00_test_list.txt": [ @@ -28244,31 +29096,31 @@ "support" ], "conformance/glsl/variables/gl-fragcoord-xy-values.html": [ - "857cb9a6cbb35e24d9e79eeb480f417008e1a8e2", + "76629f0fb34014b7853cc4c4fa168a64d58a97f1", "testharness" ], "conformance/glsl/variables/gl-fragcoord.html": [ - "a6f25126a0c2e12f48d78eb763a74a7a1a1a446e", + "7d9bdbbbfdd53c0bf235f08d4aa1ee4a926a14b7", "testharness" ], "conformance/glsl/variables/gl-fragdata-and-fragcolor.html": [ - "dcc470eb2b196a76408cb339d4e96d0805ef3169", + "a3eeed372452d231acdd6e1b6f62584ff8ad3108", "testharness" ], "conformance/glsl/variables/gl-frontfacing.html": [ - "6be52169e86bfaeaa334c83a3ee3268db7131df1", + "902d65f8cb67fd9686bc9181aae70768d3370f0a", "testharness" ], "conformance/glsl/variables/gl-pointcoord.html": [ - "b05417605e4d6f73ab6370d6fcc252ac57e2e50f", + "ebfa41993f7c7fb4d67d1034a768d0680f1db364", "testharness" ], "conformance/glsl/variables/glsl-built-ins.html": [ - "387ab1f162b966387a9c10450d480331d4289a4d", + "75310782b78d9f77131165f954186c401d132a8f", "testharness" ], "conformance/limits/00_test_list.txt": [ - "0b342cad1d3f25d78a90aafd891ec8af77875ca2", + "79eb84a48e630d34657f5f7554b898e2b32abad3", "support" ], "conformance/limits/gl-line-width.html": [ @@ -28276,39 +29128,39 @@ "testharness" ], "conformance/limits/gl-max-texture-dimensions.html": [ - "6c626f6dc4b6451348cbc529842365bede757339", + "aef6db698319ab8e4e862d71cafa07fbf2690279", "testharness" ], "conformance/limits/gl-min-attribs.html": [ - "7ab8ba704738cefd7caea7981fd6b1b25f96ad53", + "e71f4497aaf029f1b9de512bb136abba253738ec", "testharness" ], "conformance/limits/gl-min-textures.html": [ - "91f25c6a99931a923a7e22adeec4847d078ba445", + "0d765e0953ee73bdee28391b4dea94106216964d", "testharness" ], "conformance/limits/gl-min-uniforms.html": [ - "a8dd785309ce0a74801ddf2967f36b92fbdd5a8b", + "58046256222788b027ef43d97d0cfad734bfaa8c", "testharness" ], "conformance/misc/00_test_list.txt": [ - "3941fd9f7528dfe72eedd38aebca86e67f3aa92e", + "6fba2bb2b061a23ef533b72ac9d0377cf4bfefda", "support" ], "conformance/misc/bad-arguments-test.html": [ - "9f348080979a6d16003ed512bc0347ed997ff95a", + "233f5a1c74844f780514381cde954bda1adc893a", "testharness" ], "conformance/misc/boolean-argument-conversion.html": [ - "e48a68c50633e9fabe6655978f20d3b8a83f4008", + "8419cf66b3d4d89b923b6cd161f3eef825dfac5d", "testharness" ], "conformance/misc/delayed-drawing.html": [ - "08fab67a365bf6af442a5a7ebb23e3a32343d0ac", + "eaf1aafe69944cfc71c178098e94637f5c22a32e", "testharness" ], "conformance/misc/error-reporting.html": [ - "00a1b9b4e819e1b0f5247f12226efd770a558e5a", + "14ccd55cb496e613e3e22f43ac60c1d314688f27", "testharness" ], "conformance/misc/expando-loss.html": [ @@ -28316,43 +29168,47 @@ "testharness" ], "conformance/misc/functions-returning-strings.html": [ - "13cf333f1979ee0bc4cc2e3e674fb7850180ddcc", + "5373ab3c4732c80885406c0fd9c80985fcfaf3d5", "testharness" ], "conformance/misc/instanceof-test.html": [ - "4ad14c39a3d6af855045e79e9aa821794587fb1f", + "ebca7c3e091f3451de097d6e49806376c393f58b", "testharness" ], "conformance/misc/invalid-passed-params.html": [ - "1d9924852867e9536ac23253d391b621952feeb7", + "20dd73ac29caeae6b1d474e46aaae7cdb097e257", "testharness" ], "conformance/misc/is-object.html": [ - "b80f24b17d24af32b10ab418c954706d59233528", + "0d93bb9c7401218dce31f218e17216fe62e6d844", "testharness" ], "conformance/misc/null-object-behaviour.html": [ - "f3cd04397d9a35ebd01a9bdd1fb398ff5edcc445", + "f7e2fdafd425778b42bb1e9ca13b7e11d1498c51", "testharness" ], "conformance/misc/object-deletion-behaviour.html": [ - "8462049bfcf7aec2308e0dcd620873b839b79825", + "447d1ecf5ea864cf52832d399925910f6f07525a", "testharness" ], "conformance/misc/shader-precision-format.html": [ - "7a9f0700ee55ccd89e49c85723785c079ed6772b", + "7d5995b3ed6cdb1955278bb8e7a59f0db451e3b5", "testharness" ], "conformance/misc/type-conversion-test.html": [ - "4fc263a8cf9373e6511c7155cd370c76853101c2", + "afe666a8d33d08e0acdd3c63135d3a2f1be6b0ed", "testharness" ], "conformance/misc/uninitialized-test.html": [ - "06d9574582b96a7cdb7c2f027e2150f16347d7bb", + "23fc73af70fb13baa93f5b56a22694a23c80cd81", + "testharness" + ], + "conformance/misc/webgl-specific-stencil-settings.html": [ + "805813c3450eb0452e8080196949fa51e84d1c7e", "testharness" ], "conformance/misc/webgl-specific.html": [ - "81d8cccd8c920ba4d00b2aa8bdcd3c40e1ab3737", + "f1e406cc6aa1dc9a07cb69315ae5a78540ec603e", "testharness" ], "conformance/more/00_test_list.txt": [ @@ -28404,55 +29260,55 @@ "support" ], "conformance/more/conformance/constants.html": [ - "a0611d473bf38169f3069183df45a0bb3b5fc40c", + "60b3c85b586b7cb7e5aaf37b95180c6d05bb3b9f", "testharness" ], "conformance/more/conformance/getContext.html": [ - "0807d7225f395375fa50b192774a0f508da1337f", + "1a97637406637e1b595f24ae997c75e2ce57bcc5", "testharness" ], "conformance/more/conformance/methods.html": [ - "1461ff742b39db4269934849d879adcf6ab721f4", + "654a367275f76b5cd007d58bd945e78954b5fb29", "testharness" ], "conformance/more/conformance/quickCheckAPI-A.html": [ - "b4f3262abd936e7c0a4c2e9d00365d63b39a58c3", + "2f7db5168f88f1a39a0d7fb05972ba2c1ac90941", "testharness" ], "conformance/more/conformance/quickCheckAPI-B1.html": [ - "3ae3bbfc2d8dd9bb436958465a5a8a460c0b8252", + "412735279b623407107ecc917c990b13d0ad5964", "testharness" ], "conformance/more/conformance/quickCheckAPI-B2.html": [ - "d80a4427caa3035ef27c87f972201daae1257814", + "37db6be3f3aa94b8ae5bb14633a360bdfd4a598d", "testharness" ], "conformance/more/conformance/quickCheckAPI-B3.html": [ - "426f385b0c6c9b499d76f34a91673079108a6608", + "50ef3d9b176cf893266e4520cf2596b6ec7c85b0", "testharness" ], "conformance/more/conformance/quickCheckAPI-B4.html": [ - "616c49fc92ee01e362b0bfea8a066ab30fb75a5a", + "f48349678aec7eb2316d32a96b004025312c971b", "testharness" ], "conformance/more/conformance/quickCheckAPI-C.html": [ - "9f122d2cfa59b6ea38583f4b9b85b4a468636d25", + "86f6e231e02386bd8038eb04abc92642c1a1ea6c", "testharness" ], "conformance/more/conformance/quickCheckAPI-D_G.html": [ - "c6e3fe163ae4622fc025ef93d1020dd7700bc6dd", + "46f33a5f8ec321f928409954f762cd0f56f3d4f2", "testharness" ], "conformance/more/conformance/quickCheckAPI-G_I.html": [ - "9bd5cf92a5da2b0e0fe032c429b993a7ada53908", + "3bd578b7e6cdc89425a6de2c2ef7d5dd3cb3b976", "testharness" ], "conformance/more/conformance/quickCheckAPI-L_S.html": [ - "013f86f9f992cfaf96a8cb3c0cd8bbfac1587ee9", + "7da6351190f0ae8ce8c4d2509e4cad218270a88c", "testharness" ], "conformance/more/conformance/quickCheckAPI-S_V.html": [ - "f405d9c8f08e5760a870bb11adb5a44d8a6160c8", + "51c1488975f39aaadec352267ef40310e7eeeeb4", "testharness" ], "conformance/more/conformance/quickCheckAPI.js": [ @@ -28460,167 +29316,167 @@ "support" ], "conformance/more/conformance/webGLArrays.html": [ - "4b7ff947d976a8b3e6773b92dadf7433fe087505", + "1d9c498f8f13ce7364a130119140b7f17fb2efea", "testharness" ], "conformance/more/functions/bindBuffer.html": [ - "dcc2ab144e5db46c69d7bfb6224bb96e15d30f24", + "6e2c916b59d380ccf59a0ead7641db9f7010d781", "testharness" ], "conformance/more/functions/bindBufferBadArgs.html": [ - "e27f2b3641e8246c6b0bb3bed518b5ccb8bcf960", + "b4d2aed58065106e3fd88efdaaadd4f93827c38d", "testharness" ], "conformance/more/functions/bindFramebufferLeaveNonZero.html": [ - "917b6eb411399d7fa84c281b075c96c4f46bc360", + "a474ef3149b31361e4131396e4442ec53c21d399", "testharness" ], "conformance/more/functions/bufferData.html": [ - "4df4146ba8a8dda7911d58591b26b4ca77fad83a", + "d8d1ecb63544f338884f5d5c4bd19755df0f9273", "testharness" ], "conformance/more/functions/bufferDataBadArgs.html": [ - "aab63b790f9118ae7b85e86e1602df2f3dad2505", + "778c79fccec5aef80219c3839ad4ff239cc88cdf", "testharness" ], "conformance/more/functions/bufferSubData.html": [ - "22cfd4cad5e9ce886b1c7426e5b82a3837da18c6", + "c17e24620349d3be3460a074a85d80d104050433", "testharness" ], "conformance/more/functions/bufferSubDataBadArgs.html": [ - "f7a3b74555967b7dffa1a4e5f491ed1cc92e04cd", + "7468522537c582b65de450474607b52c48d455cd", "testharness" ], "conformance/more/functions/copyTexImage2D.html": [ - "dea4dbd6b9b4991e2a56901cc08400e245cfe174", + "36dc975f9ca215eb882eb15fecd228490de516e5", "testharness" ], "conformance/more/functions/copyTexImage2DBadArgs.html": [ - "d50d9612d32319fa2a43b2467b2f26af41f0c5d6", + "f20bd75da6e192f6b7f0180e576527ef08b83bfa", "testharness" ], "conformance/more/functions/copyTexSubImage2D.html": [ - "4a53fce00368ddefe57e985177fa878092f2f393", + "e1643b68745e2a40e2242d848dd5b25ea33a12db", "testharness" ], "conformance/more/functions/copyTexSubImage2DBadArgs.html": [ - "a0aa244882d14935a34afff7ff151bd2078b74cb", + "f4a2513160e14e2cdf5342acf8e2f222a56eb95b", "testharness" ], "conformance/more/functions/deleteBufferBadArgs.html": [ - "a984ffd1a0234e6715e9bf523997ec7ad3c09be6", + "ff4e6761bf381418ae471aacf9e6bc30118731e0", "testharness" ], "conformance/more/functions/drawArrays.html": [ - "fc4f1e18290cf87f19bfc2fb93d4d813a9443bde", + "215398db2cdcf09004739cd55738b50e1c8ded9c", "testharness" ], "conformance/more/functions/drawArraysOutOfBounds.html": [ - "168dfa0a7ac03a975e3864e547c3623717fffe59", + "4227bfca0542c92b1f23378b9fb1e53116502a6b", "testharness" ], "conformance/more/functions/drawElements.html": [ - "8a24db399a24e2aba0bc1138196f320a9866d746", + "3735616476fbea972696ac95781cfa33f39c7aa4", "testharness" ], "conformance/more/functions/isTests.html": [ - "74d46542c512b766613f1c40fde58453fa48c231", + "4464a0301f300d16bdcdfd2b0ddb45ead646a20e", "testharness" ], "conformance/more/functions/isTestsBadArgs.html": [ - "f06da4caaf2d12b46ee3ab6463201b40284e153c", + "de736db6d82e4d2c353e6505da26419927481e1a", "testharness" ], "conformance/more/functions/readPixels.html": [ - "a215be5bf931c859fb8685ddb9aa383f4a2881ad", + "a15a9d9adf97421d32d0725d6e453f826ac1c57f", "testharness" ], "conformance/more/functions/readPixelsBadArgs.html": [ - "849ef34739f642210941160414af798c3955a946", + "e6b612ae4dc0acb9731cf23f0aa874c0a702ac70", "testharness" ], "conformance/more/functions/texImage2D.html": [ - "3e85be29c334ece6741b04cabb922733484751d0", + "20a5388d7e4486acbf4b101043e3bb5119091eca", "testharness" ], "conformance/more/functions/texImage2DBadArgs.html": [ - "bf5b71279bbaed3fade639728d5ef20a5077ee7b", + "4e2ba0aa3a101fe883c1e2807cac9aa0015eb13d", "testharness" ], "conformance/more/functions/texImage2DHTML.html": [ - "211021bb2e871ebf83a0fde5360e4008452b99c4", + "f8153f8d0fd73b05855ef895f8e45d108129cda1", "testharness" ], "conformance/more/functions/texImage2DHTMLBadArgs.html": [ - "064bc3117c2c446d3289814527f9c97f813588cf", + "9f407c79c2ee4590fe3c85e813a0cc12d5b7fb0d", "testharness" ], "conformance/more/functions/texSubImage2D.html": [ - "4b3b507a8a1c0bbfe9c9b8cbff56dd5743185c75", + "d9ad9c19162579a951aeaba8bb5bed708c18a270", "testharness" ], "conformance/more/functions/texSubImage2DBadArgs.html": [ - "875f4c49597a1e17ac017edd698822072d58de0a", + "188b2616baf1fb3f4f4b578f39e4ac25ba25a7fb", "testharness" ], "conformance/more/functions/texSubImage2DHTML.html": [ - "5d93d964fd7da34735131a79ce5f3271f44a851e", + "52a6b2750181c1f45429142708a7f1bc3876408a", "testharness" ], "conformance/more/functions/texSubImage2DHTMLBadArgs.html": [ - "475f349dc17d172e1bf93c13fed4505b7602fe0c", + "ed1c000e323d6e2755cd64a0613650fff34826e0", "testharness" ], "conformance/more/functions/uniformMatrix.html": [ - "aab88c8d2e7e8517fd672881453cc69c84dadd1e", + "4f9254527137b94cb3b5c23b878b23f1277ea7ba", "testharness" ], "conformance/more/functions/uniformMatrixBadArgs.html": [ - "3c01dbfef8a536af095e72847b0d983fcc37bec3", + "47851ed96749407dbc5fc5768db8b87cad7aa0a9", "testharness" ], "conformance/more/functions/uniformf.html": [ - "21fa77ee3b080e1b7d4e9caf5e9e2b9f06d0b63b", + "570e1ff329c26582259299c97dd69e1f7c8979cb", "testharness" ], "conformance/more/functions/uniformfArrayLen1.html": [ - "2e4383d40c8f514b0dfa4dd68c87c9dafdfca56e", + "af8b260c8bd2972984ecfa0a8ce059bb49634fc1", "testharness" ], "conformance/more/functions/uniformfBadArgs.html": [ - "70986ab0ebbe9947594ccd23c18daca3f18b89dc", + "d7a41f486d54d99f89c8dfafb4437b17c4b8a41f", "testharness" ], "conformance/more/functions/uniformi.html": [ - "a66b45fc9cfaa820679cd559463c83464ca91f61", + "d6335764a4090dfdcba181595add7e18fa5dcf97", "testharness" ], "conformance/more/functions/uniformiBadArgs.html": [ - "e211397d856370bb5e72b496c1a9907ac2293744", + "1cacbf8eca64cc7ccd235a3f9cc93be0b021165e", "testharness" ], "conformance/more/functions/vertexAttrib.html": [ - "21d5a0b5988bc974def1cea3062cb0531176d1ff", + "cbcf0b4f6f01559bb91cbf2895980b132f3d8608", "testharness" ], "conformance/more/functions/vertexAttribBadArgs.html": [ - "5ab3d5ea1da898c7eb285482974d10acb4ed10f5", + "410c9edd8fb3b5cda676b043592a2c7008b8521c", "testharness" ], "conformance/more/functions/vertexAttribPointer.html": [ - "c11074eb45505647905a7167b0a4d079a8b40458", + "f45a68e671421f41b6c8993258dd7fc89c435e32", "testharness" ], "conformance/more/functions/vertexAttribPointerBadArgs.html": [ - "5056096abfb2da399ad49edc2a06cabe273c7a8b", + "a508a0ec9f8e167c487dda5a2dea42da43003ff0", "testharness" ], "conformance/more/glsl/arrayOutOfBounds.html": [ - "34ab4ab0a39e00c50c3c850955e5a18d9e9d145a", + "1a3bd552ab17e983f03f53864b2e8fd197650e44", "testharness" ], "conformance/more/glsl/uniformOutOfBounds.html": [ - "e5f1235e39dca5f6f5f18a6a3bba46e8eac390eb", + "b9375b380aee009c07c306955fdb6268512e89d4", "testharness" ], "conformance/more/unit.css": [ @@ -28628,67 +29484,131 @@ "support" ], "conformance/more/unit.js": [ - "428c164699c3e15bfb070c77884a609aedbc6303", + "51433f33e84ccbd671f5fec20d961b3ac0701b3f", "support" ], "conformance/more/util.js": [ "e1d5d638a619beba1274586449f86c5e6c7e4f45", "support" ], + "conformance/offscreencanvas/00_test_list.txt": [ + "b925d462605d0dfb87715ece14d22351a4730e22", + "support" + ], + "conformance/offscreencanvas/context-attribute-preserve-drawing-buffer.html": [ + "3cde6b052fc16855bfdc041f5de0891a6e9d23b3", + "testharness" + ], + "conformance/offscreencanvas/context-creation-worker.html": [ + "3bcb8188eaf4328215a837f0629ceb0b63ae8ab8", + "testharness" + ], + "conformance/offscreencanvas/context-creation-worker.js": [ + "0a1c3cb0308cc84d34cba8f436c636264f31f561", + "support" + ], + "conformance/offscreencanvas/context-creation.html": [ + "d4ba7814d53c08f7ab7205ca5d8414ca229b97fd", + "testharness" + ], + "conformance/offscreencanvas/context-lost-restored-worker.html": [ + "079ecc16a47b5a07a01c3cc0c56d7c60162364c3", + "testharness" + ], + "conformance/offscreencanvas/context-lost-restored-worker.js": [ + "9c722673d1279b4e84200cef79aa7adf9ce46877", + "support" + ], + "conformance/offscreencanvas/context-lost-restored.html": [ + "3250be64769621a17f15fd34d8731cf89bcb00e9", + "testharness" + ], + "conformance/offscreencanvas/context-lost-worker.html": [ + "e03a30e45f76cce5b0a7bf2abd0a56d74581d0db", + "testharness" + ], + "conformance/offscreencanvas/context-lost-worker.js": [ + "ba94b9358590b1c32ded2b814ddf3bf889b89f13", + "support" + ], + "conformance/offscreencanvas/context-lost.html": [ + "ac38985b4805269112a43b2ebec10b7843fe41d9", + "testharness" + ], + "conformance/offscreencanvas/methods-worker.html": [ + "cbc6508aa023cd84338cc51140e001d952fed7dc", + "testharness" + ], + "conformance/offscreencanvas/methods-worker.js": [ + "c7d898f5b78f2a4f2d3e6ece3966791c60f7e3c6", + "support" + ], + "conformance/offscreencanvas/methods.html": [ + "060e2c0c42cc1d1a915f3435f175f1075263f101", + "testharness" + ], + "conformance/offscreencanvas/offscreencanvas-resize.html": [ + "f28ac7840ac20e6f2799b2ad3908c6ff138ccd61", + "testharness" + ], + "conformance/offscreencanvas/offscreencanvas-transfer-image-bitmap.html": [ + "c411cd5fa54efae26f60d6ea30444e5c5a8f4cdf", + "testharness" + ], "conformance/ogles/00_test_list.txt": [ "4b4237c9fb94214c802b5cfa964db301d68aa0fc", "support" ], "conformance/ogles/GL/abs/abs_001_to_006.html": [ - "c348d099ca800e753dfe35e45c652c3ed7d21ebb", + "5c2ae1d05b35d49850bda3a012ba0d4479444f9e", "testharness" ], "conformance/ogles/GL/abs/abs_float_frag_xvary.frag": [ - "1b8e4fd6aa7210632958bbde33777bab0b9a0899", + "6bea689383e5be4fdfa7c95dcf93d16b03807fef", "support" ], "conformance/ogles/GL/abs/abs_float_frag_xvary_ref.frag": [ - "ad257670d059c5c776a0c22babd43d142497fd5d", + "af41608172bcdb6ac1f634b5861cfbf5e45c5d82", "support" ], "conformance/ogles/GL/abs/abs_float_vert_xvary.vert": [ - "1c4bc6205e557f86505ea364c57f8bd1a1b2270d", + "ab995eeb539f26d9558e3199ac6de6d326475b09", "support" ], "conformance/ogles/GL/abs/abs_float_vert_xvary_ref.vert": [ - "94f91877bf8eee90bf32bfc4ca2e5e0bfbb77bfd", + "b6cd22e5060a3029d8156f8778f5dff8c893df01", "support" ], "conformance/ogles/GL/abs/abs_vec2_frag_xvary.frag": [ - "b814a4afa41f086c5e488024b8758702046236a8", + "5dd0df27b0be567dc4ebfec6fc5a99e9e9a6e403", "support" ], "conformance/ogles/GL/abs/abs_vec2_frag_xvary_ref.frag": [ - "13b98ccf80eba806b64b7adf2ccca698f6752def", + "043273bca432b2226c97bbcc838a508a93768be9", "support" ], "conformance/ogles/GL/abs/abs_vec2_vert_xvary.vert": [ - "f34a0f1706de96a420dabcb3d07800b1f23855ab", + "391b243348b966bba2b45f5d0d08d82903807c53", "support" ], "conformance/ogles/GL/abs/abs_vec2_vert_xvary_ref.vert": [ - "996447dccfd7f8cde3e53a07cf8b33b719282027", + "0e0cf0076eb47b9056e405105589cc92f902700e", "support" ], "conformance/ogles/GL/abs/abs_vec3_frag_xvary.frag": [ - "35d7d9c1902d83470d102573bbfbf192945986c3", + "3c61c301c943b9842773f23dcb662c86bc8d8e9f", "support" ], "conformance/ogles/GL/abs/abs_vec3_frag_xvary_ref.frag": [ - "386e0124e735d5eba1d17375950ce3f115436847", + "91ea0ccf027da4acbf525d0b9ddd10119c41af80", "support" ], "conformance/ogles/GL/abs/abs_vec3_vert_xvary.vert": [ - "f0a4c35e817c2772f75139b03cfa48a62a4cc024", + "7b0098d09ace604d4e6875e19f6f1a5eb0565cd3", "support" ], "conformance/ogles/GL/abs/abs_vec3_vert_xvary_ref.vert": [ - "ba8dedcb9db31919144e53aa7ab4939e20419bad", + "29798b28afdd403a78568a48dbf2ea9c287cde9e", "support" ], "conformance/ogles/GL/abs/input.run.txt": [ @@ -28696,55 +29616,55 @@ "support" ], "conformance/ogles/GL/acos/acos_001_to_006.html": [ - "2fd7d79b89d751969b24bcb88fdc6e189d0ce66d", + "87dc132f4afd888ab0069d527c35564d69ebd936", "testharness" ], "conformance/ogles/GL/acos/acos_float_frag_xvary.frag": [ - "ff74d99c6e1b40043a3b0096184437d1f9a03164", + "a1a2dc79376c05d1d2e0ad50cd79e382278a8bd4", "support" ], "conformance/ogles/GL/acos/acos_float_frag_xvary_ref.frag": [ - "f59013e6b208cdbbd2fe0b592f09c0e8ea5e8a71", + "c4079a51f31c6b5677d14d4d91199ae60ae6bcc4", "support" ], "conformance/ogles/GL/acos/acos_float_vert_xvary.vert": [ - "28ac8e23325a69413a250bbc6b379b0665767d9c", + "79269d10e2671409ef7538337b971c2a41e3d497", "support" ], "conformance/ogles/GL/acos/acos_float_vert_xvary_ref.vert": [ - "f1c45c08747932e8add87f294a6563c6ccad6c37", + "8e05e26cf45e42138ffe5f3791645fe5f4fbc136", "support" ], "conformance/ogles/GL/acos/acos_vec2_frag_xvary.frag": [ - "75432988539f87816534fa22759e5b73c6e8b4a2", + "e2204d1f7869a5b9969fc95edf24c33099a8fb02", "support" ], "conformance/ogles/GL/acos/acos_vec2_frag_xvary_ref.frag": [ - "0c6585a6282b0c31ef9f96f9e36b49969d571812", + "d48846ed34f84b088f6498d0b2f2a719376faeb2", "support" ], "conformance/ogles/GL/acos/acos_vec2_vert_xvary.vert": [ - "fff0f6de0b01b210147486ac7116f1552abbbdc0", + "c3751ecebb80ea8aebc4369001e23447015e65da", "support" ], "conformance/ogles/GL/acos/acos_vec2_vert_xvary_ref.vert": [ - "96c448875edaba1ef63b394052b140f67378396f", + "eb6bb5d9692bbf7f50ea7c25fb0b0d0db6052813", "support" ], "conformance/ogles/GL/acos/acos_vec3_frag_xvary.frag": [ - "4b1f293c3e069e0b8399fd8b3ba3299057b8a6c3", + "0c3f1a97627afbe050ab2ddfc71daa300fa2e213", "support" ], "conformance/ogles/GL/acos/acos_vec3_frag_xvary_ref.frag": [ - "96225ff8f9e47d78933737a976bece226be1a9af", + "b0cac4a471de305a44b32110eb8f0ee463b16aae", "support" ], "conformance/ogles/GL/acos/acos_vec3_vert_xvary.vert": [ - "423679f3b9317d1142d4ebc4bab5befc690ecb04", + "5bc077388ec41b7704a6a769423c550a2e2cec41", "support" ], "conformance/ogles/GL/acos/acos_vec3_vert_xvary_ref.vert": [ - "c8c7df99d42c166b1909d4612ef03ca86951a0e3", + "a382a457359c22e01137b0ad63daf69caabd9fc0", "support" ], "conformance/ogles/GL/acos/input.run.txt": [ @@ -28752,39 +29672,39 @@ "support" ], "conformance/ogles/GL/all/all_001_to_004.html": [ - "ee1e80822e2baf2e6c32330933bef59e19cef865", + "226d9c0825b719250492c99f2f4a5f49be283cae", "testharness" ], "conformance/ogles/GL/all/all_bvec2_frag.frag": [ - "12443c23dfcc331ca082734e69737912888553ff", + "0e3071418a839383ae948c05a72e6117af6b37a6", "support" ], "conformance/ogles/GL/all/all_bvec2_frag_ref.frag": [ - "a8df20f7faa7b6eff36d2d45e1b53a76ac97b025", + "7e760e76a9e5775bf3ed4b9278c3ec1af544a18a", "support" ], "conformance/ogles/GL/all/all_bvec2_vert.vert": [ - "7d28fcd8f1ce02afc48fa95afb7b6e1c46b7ef78", + "6beab14c591cabee5914aef2d6a7af09ebcb35bb", "support" ], "conformance/ogles/GL/all/all_bvec2_vert_ref.vert": [ - "ef1f11cc847d2f20aca4db9804c8c4395df42644", + "e4f5071b120c184ca7796588c989610f5232ba94", "support" ], "conformance/ogles/GL/all/all_bvec3_frag.frag": [ - "c1a5031de75df1f386494c44d51f72b71cee8ba4", + "bab07bbbc4e7a2a2e57c7b36b6ff64c2fdccb534", "support" ], "conformance/ogles/GL/all/all_bvec3_frag_ref.frag": [ - "3d6555b46a20cd927b41a74dd2e135fc2af7437c", + "a4e5a568cc61befe96ce40f684b2d54e25d16a1e", "support" ], "conformance/ogles/GL/all/all_bvec3_vert.vert": [ - "0ff5295d0b8a3527e9938d09f458e77feab47d6b", + "657970df4b79ff05f3da415fc3b93167d30e6db1", "support" ], "conformance/ogles/GL/all/all_bvec3_vert_ref.vert": [ - "43579fa5eaa5aa36ffedce32959cba4a80140dde", + "c16ff823663f98a9ca812fc7d9ca747ab3fc34e4", "support" ], "conformance/ogles/GL/all/input.run.txt": [ @@ -28792,39 +29712,39 @@ "support" ], "conformance/ogles/GL/any/any_001_to_004.html": [ - "8d7bcfd0b111af750bf54b62fc561a221e7b5721", + "53bd5a86adbd47b1cce8d5b9730b42f90d00ff86", "testharness" ], "conformance/ogles/GL/any/any_bvec2_frag.frag": [ - "6b76f9946524ae08977088fff625c1c40d1810ca", + "83a21f61aab113fd633e5d0d33d61af192db466b", "support" ], "conformance/ogles/GL/any/any_bvec2_frag_ref.frag": [ - "c2df1967bd666bab4b4947a660e4238dc1909612", + "3df52709886e61cbab3cc54b5f864c80a25d99d1", "support" ], "conformance/ogles/GL/any/any_bvec2_vert.vert": [ - "f6528ab5014da6a272a0ae915efd6169a4391d8a", + "1388eda2eb03a8d17bf94376db732218fc52013e", "support" ], "conformance/ogles/GL/any/any_bvec2_vert_ref.vert": [ - "f080eca338c38178d8607044915940b123ae83d9", + "d39695746c917814c3ab1cb917ab46ad5ddc1fbd", "support" ], "conformance/ogles/GL/any/any_bvec3_frag.frag": [ - "0666251c06d08cd0f47311cf2b03b59b0f075963", + "ba870149661a595e676fd7d94472b3e603d4e64f", "support" ], "conformance/ogles/GL/any/any_bvec3_frag_ref.frag": [ - "de049742b5c428ed125d3e2a299606969ae3aa8a", + "899a204be3efb076771b7176c6f56be1d1eb2a35", "support" ], "conformance/ogles/GL/any/any_bvec3_vert.vert": [ - "ab8ce0423cb801ce04da826e139589a7d91fe47a", + "b7394346057abe69c2cb592cad7188af6d211d75", "support" ], "conformance/ogles/GL/any/any_bvec3_vert_ref.vert": [ - "dc95475e4037e1c4a2f510a823e19906cab8fcf5", + "87bf200c6382b2907e2f6be6d2dea43b75b3cd39", "support" ], "conformance/ogles/GL/any/input.run.txt": [ @@ -28832,31 +29752,31 @@ "support" ], "conformance/ogles/GL/array/array_001_to_006.html": [ - "0c08b4dd5e0afc3a424e80bc14bbba5b28a3eea6", + "acb3839137ab3e1ff06df66faa8121e67d5af95f", "testharness" ], "conformance/ogles/GL/array/empty_empty_array_float_frag.frag": [ - "faa7c95e400a0c2d32ad998218c2234b3cdf6666", + "015a4c5bc3be03f73f9ad7e881640b01d51a1a85", "support" ], "conformance/ogles/GL/array/empty_empty_array_float_vert.vert": [ - "5c825e7bb7a89f9243cf3dd66825a2ca1c58a5c3", + "90c492550e9e8cf3043ad62330bd3a166f54054e", "support" ], "conformance/ogles/GL/array/empty_uniform_array_float_frag.frag": [ - "8d2a8fc71733cdc49555d52414cf722d8bf415b0", + "24c17e59d6387622eb6feaec2be85bd53343d0cc", "support" ], "conformance/ogles/GL/array/empty_uniform_array_float_vert.vert": [ - "ac4a189fb4f8185dcfe062e22a782c1039a24167", + "101c333206147551fa7b6e589559ec93e2fd9646", "support" ], "conformance/ogles/GL/array/initfunc_empty_array_float_frag.frag": [ - "b3a4b23e57ac14c18d2c12b7c35e7e989d4fb413", + "ff3078408287fddee6d6aacfa9669004bd8bac72", "support" ], "conformance/ogles/GL/array/initfunc_empty_array_float_vert.vert": [ - "9ae6e497b3d86500ce3de86cac071bef55b1e1c4", + "a84e72dda53795a51b21f8f0d68ca6cf15068f1d", "support" ], "conformance/ogles/GL/array/input.run.txt": [ @@ -28864,55 +29784,55 @@ "support" ], "conformance/ogles/GL/asin/asin_001_to_006.html": [ - "9a7bb04daf4febfcdc0b84af10275fbe315f2324", + "8c64b85f76df50df4c3ae02bc14605dc9d720b84", "testharness" ], "conformance/ogles/GL/asin/asin_float_frag_xvary.frag": [ - "b6e11abc4701dbb05256e1470a34a63713cfedaf", + "51e81e8aa42304b9d3332f419640effa1d5f0f5d", "support" ], "conformance/ogles/GL/asin/asin_float_frag_xvary_ref.frag": [ - "36b2e494dc7a1ce53dde8b04a2923a5d6d40bac2", + "b8da316a2eb589121a90927e3ec1079058a405dc", "support" ], "conformance/ogles/GL/asin/asin_float_vert_xvary.vert": [ - "70476cb76fcf408486ebbc905a1bc74c4dacec9d", + "d19424fccf2850db80cae9c9a7f4421b03d7b14c", "support" ], "conformance/ogles/GL/asin/asin_float_vert_xvary_ref.vert": [ - "9b901616a56ab745eb8eb9fee6527f75e0d6cd76", + "d75bae2520092f37935387f78a93cb2d36d9c5af", "support" ], "conformance/ogles/GL/asin/asin_vec2_frag_xvary.frag": [ - "585a02da2d89f15c6d47d9c1a2084fba8dda9889", + "207ec4ffe687a1fc7b8390f117b2284327b9f47e", "support" ], "conformance/ogles/GL/asin/asin_vec2_frag_xvary_ref.frag": [ - "f0a399aa52ad654e7f261b0a8777f2ea9d64e55b", + "3e221a7ee49f0f8e5a5fb992f13a42917fdf7351", "support" ], "conformance/ogles/GL/asin/asin_vec2_vert_xvary.vert": [ - "3d4a1c0648686315389fcb2b9d85d5e1c7bef115", + "c51ca500f3a5e711c600234cd4e04a8646cafa24", "support" ], "conformance/ogles/GL/asin/asin_vec2_vert_xvary_ref.vert": [ - "39d991042f92cbb46b2a01b7408896e23426e498", + "9aeab86bc51d87155d87146f04a20f049af4cf2c", "support" ], "conformance/ogles/GL/asin/asin_vec3_frag_xvary.frag": [ - "b6e434f73ea765840da17eb89880fd234e7010ed", + "4a7cc79a1b2ca1a3643a2c02b8fe947007d766c5", "support" ], "conformance/ogles/GL/asin/asin_vec3_frag_xvary_ref.frag": [ - "55b17fe3f2918898f42c9864bbf38f63eafc0916", + "2eb4a806635056ae4fb60275b7214de934d40e86", "support" ], "conformance/ogles/GL/asin/asin_vec3_vert_xvary.vert": [ - "3bf413bad9aa523cfa1b4fecf33a083d68edf133", + "15f0ce71953bc979916ae05ad3efb51bd3ac874c", "support" ], "conformance/ogles/GL/asin/asin_vec3_vert_xvary_ref.vert": [ - "d5825956324526b346c17ae1a101aaea8ae5042d", + "648d0ad18053e08954cfa48615e191e57993cb7d", "support" ], "conformance/ogles/GL/asin/input.run.txt": [ @@ -28920,107 +29840,107 @@ "support" ], "conformance/ogles/GL/atan/atan_001_to_008.html": [ - "ab94155c1e4707d6249345d7124dd3bd37202425", + "96811c9a934c581364d4257cbd1e9ab1bfbf24dc", "testharness" ], "conformance/ogles/GL/atan/atan_009_to_012.html": [ - "eaaa3681bc7db4165ee8bb1ba34c927a60255295", + "f82f4fc8c6ce4490c0e468eb72250e0229407db8", "testharness" ], "conformance/ogles/GL/atan/atan_float_frag_xvary.frag": [ - "cfef627cfb6897cd5ac281afb20a7ecc2f35f249", + "0b3528ebbed247b12731a5f24f86f277cbe985a1", "support" ], "conformance/ogles/GL/atan/atan_float_frag_xvary_ref.frag": [ - "c3a5b6c0dece6c5ad0e1a16150e92a859d46e75e", + "891ea8dd215c5adedbab5e43383ba4e2c335d0ef", "support" ], "conformance/ogles/GL/atan/atan_float_frag_xvaryyvary.frag": [ - "f782b2f45421c99384021cbb3d07a30a97bb66c2", + "3b8f85e1fa55fcf253780ba25e89311875a4e099", "support" ], "conformance/ogles/GL/atan/atan_float_frag_xvaryyvary_ref.frag": [ - "f9701de5b2c4ed1e0b715acffa24241570b4eed0", + "42fa998db50a7f44262a7bbfe4ea8a8fa948bf28", "support" ], "conformance/ogles/GL/atan/atan_float_vert_xvary.vert": [ - "ef9795430985d822f195c6f5fbb85475a397b8c0", + "ead9e4be17335bfb5f6f01048b0140b801a9f42c", "support" ], "conformance/ogles/GL/atan/atan_float_vert_xvary_ref.vert": [ - "cee8a612b099fe34008505e599bdc26f92cc90af", + "f0dd4e16f3481e4a017966c10341cf3a08a77bbc", "support" ], "conformance/ogles/GL/atan/atan_float_vert_xvaryyvary.vert": [ - "b3a1199d1d613567e2c40955a426276b634bb360", + "183da3343697cec2895f01056685ab5787b13781", "support" ], "conformance/ogles/GL/atan/atan_float_vert_xvaryyvary_ref.vert": [ - "409f8201dc93f522cf495ef50fb4df1c54a644e3", + "c45e98f0aecd0d62c1a292776f65ba4624d7450b", "support" ], "conformance/ogles/GL/atan/atan_vec2_frag_xvary.frag": [ - "8a9dfa35ba9af283513edbada80567a358871565", + "2801a4938e9c0f67b1bed7380bef07ad31855d62", "support" ], "conformance/ogles/GL/atan/atan_vec2_frag_xvary_ref.frag": [ - "add2af319849123889deed9d92a071993eeb49cf", + "96771584f566fd83e4f3b190e115443d3f18abcc", "support" ], "conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary.frag": [ - "02240f053e0453b4cb6e1c0df24189696fe652d9", + "c851ff070fc20f8b532a8fd22b128cb84b2b8c6f", "support" ], "conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary_ref.frag": [ - "c14a76d0db3ccf2def08d95317326e85777ab1b4", + "0e16fd84da3d3c0036326dcbf625e1e3aa4bad51", "support" ], "conformance/ogles/GL/atan/atan_vec2_vert_xvary.vert": [ - "9d79194d0256d6a0027dfcd52993c42ce5299a61", + "c9740e5db16ec658e163efc312a41d3f2fd07a1f", "support" ], "conformance/ogles/GL/atan/atan_vec2_vert_xvary_ref.vert": [ - "d381d5846ec3bc319d540fd51e3774f030ec7ff3", + "f3ba4ce87ce98f9c6e6da6b9c81e4ebcfba81429", "support" ], "conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary.vert": [ - "febd80c860cb504211e39fe239286939863c7ce7", + "a56b33c9f1867de7b81df62eaeadf415a1a762f1", "support" ], "conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary_ref.vert": [ - "c45729fdb5805fa137c415a61b7ab3d93310c988", + "790b4a74381d664327c1a5e507baff0ec90711c5", "support" ], "conformance/ogles/GL/atan/atan_vec3_frag_xvary.frag": [ - "1f03961fd3104759691185d5cb05285a5875d62f", + "281ae2e62d18db5697f37f586c0d5ee371886088", "support" ], "conformance/ogles/GL/atan/atan_vec3_frag_xvary_ref.frag": [ - "d3216f26b4be6431cbcd893c2cb63e16d5bb6511", + "c8484b8dcf1e9b2752d2dd9d87c38b581394fd31", "support" ], "conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary.frag": [ - "7a50745ff8b2c8bf9da6b40cc6da72ea215d6ee2", + "08a18b8a3c4c495c3b0c1f261e42aff37772cd46", "support" ], "conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary_ref.frag": [ - "65c294ae02474a8dd31724b2f70203b27f28c596", + "9a97bb2bef48afee04402dc946a9a28c969938ae", "support" ], "conformance/ogles/GL/atan/atan_vec3_vert_xvary.vert": [ - "69f421bddb727fb0d99d18f9f594840f2f3bd9da", + "ad0d327872b83c797a220e9917d61f6713935fb0", "support" ], "conformance/ogles/GL/atan/atan_vec3_vert_xvary_ref.vert": [ - "8397e15c409f9b635a8ec562ba67282495469487", + "34a6ca3e91829b3c930b47c1c98fec89e143372f", "support" ], "conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary.vert": [ - "deddf528bf4c18a4b54eecd9adca993d0ec149e7", + "1b19a4c2f8a94f71fa0088daeded3834d270abb1", "support" ], "conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary_ref.vert": [ - "205185d7d6daf24f760f4271f171ea616510b9f0", + "d36106f721c91a4c373f64c14cdc9af200255d38", "support" ], "conformance/ogles/GL/atan/input.run.txt": [ @@ -29028,75 +29948,75 @@ "support" ], "conformance/ogles/GL/biConstants/biConstants_001_to_008.html": [ - "007eb9b7dc802b33811d37a7cd7c949e03fd2eb6", + "362ca8f55393979dbd19a4e438282659bbf87ece", "testharness" ], "conformance/ogles/GL/biConstants/biConstants_009_to_016.html": [ - "448542264124fbf10e24a516f1202660a2ad1def", + "5409dda25a7eeac74c83923afcea0fddcb48c3ea", "testharness" ], "conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_frag.frag": [ - "2eb320e6419e81bd0a34f2ade29a048f9bba4df2", + "94e9c6d0ee0c44b571a35ebb5580e8ec23caadfd", "support" ], "conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_vert.vert": [ - "ebf82d9cad7d50103d69b6b02ab72f02bc4fb123", + "8dcfd2d98f14491e623ff2b88e8452925ba9a372", "support" ], "conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_frag.frag": [ - "5bb76348cae906c881eb9421a92d8522621dd69a", + "481f76a156060f10eaeee1826841a519e24d9a7f", "support" ], "conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_vert.vert": [ - "9edf18694d1b5cc83d892923e9f922534b5863fd", + "25cc2b469cac90d489efaa3dd5ed3511ac4d0d59", "support" ], "conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_frag.frag": [ - "2df0466f0affad9facce1247112e6ac52d080fed", + "d54198995a67441442edf52ffa4afe6cd3db8891", "support" ], "conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_vert.vert": [ - "1838d2aeed5c64f5d037bf2aa04f824b02c7cf65", + "f430197c8b2a190f532237c921a4769b27efb8da", "support" ], "conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_frag.frag": [ - "0c6366e53d73de2f6d164d759333f4c6ac1b78f1", + "55b7b20789e7b618e634d5721381556d628634e0", "support" ], "conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_vert.vert": [ - "c0c3ad1960910d4e07b46aab910f22d990e7af76", + "b0851a7292f12e172572959c94d4abbd45dada6a", "support" ], "conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_frag.frag": [ - "4a556077da923a2d6daeec8737f9068e89704fb1", + "abd8e8bff66cbe8936296d004679e6caf30f8231", "support" ], "conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_vert.vert": [ - "59f067fe4df51599bc462681927be837cfacf56e", + "cfb2449cb347bbea513ca68f8f1a762f60a1fe83", "support" ], "conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_frag.frag": [ - "59c795609e01ec44681084a00d0595972f9aaae1", + "f839f4c4efd4622a5dd10f45d705a88d6da22b80", "support" ], "conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_vert.vert": [ - "e8b01b567e7c4dda03deeddfffcfcb0c16f26aeb", + "ca7742902ae1ef5b107e39be06af49517835719e", "support" ], "conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_frag.frag": [ - "aab23e3b087a80b698be06a55aaa11e8fa9cdacf", + "946dbd827cc60b9b20f84061da07bf08040c71e9", "support" ], "conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_vert.vert": [ - "6c26ae7bbd5a1ca5e61d6ba8b7ccb4e3e9d8f248", + "28306594d34c08c5d72041f4aa43306b086aa77a", "support" ], "conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_frag.frag": [ - "33fc558666223de1c8216495e91e1c98135c6282", + "735c7d0cede6e181bb641c13ac9a35aba19730db", "support" ], "conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_vert.vert": [ - "dfebfa306144b637e55a9090f8016d07f1e21a52", + "b9e1b338753afb12b23125c137888cc8cd41a609", "support" ], "conformance/ogles/GL/biConstants/input.run.txt": [ @@ -29104,15 +30024,15 @@ "support" ], "conformance/ogles/GL/biuDepthRange/DepthRange_frag.frag": [ - "6712831aa34f9b3e60c91db645375861ccc0230c", + "0dcfe2a9a77efd1a25baa21c51b747b2e0e49e5b", "support" ], "conformance/ogles/GL/biuDepthRange/DepthRange_vert.vert": [ - "9a1ec3fe11c3d8bf99cae513a40d5035f37dc2f2", + "6f8288c1ec3440037f3f382c2f8ca9ed5f37e107", "support" ], "conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html": [ - "691f9543a6443cb6a1fa0cabfeead3922503a031", + "d968a2a825b7495a0d39e2a920fb4cbb67554778", "testharness" ], "conformance/ogles/GL/biuDepthRange/input.run.txt": [ @@ -29120,11 +30040,11 @@ "support" ], "conformance/ogles/GL/build/CG_Data_Types_frag.frag": [ - "095fc4ca3026beb17cafe8f67d89cdcb67b36a72", + "2fed27f6d2d73176eb891e3f604ba590125ccbd8", "support" ], "conformance/ogles/GL/build/CG_Standard_Library_frag.frag": [ - "17717b2cb74feee84763546d15bed3a61030f3ac", + "17bf049bf63f4e4a09131ee1259553188a17fa83", "support" ], "conformance/ogles/GL/build/CorrectBuiltInOveride_frag.frag": [ @@ -29136,11 +30056,11 @@ "support" ], "conformance/ogles/GL/build/CorrectConstFolding1_vert.vert": [ - "1aa21a97037f2e9843f7c7df080f3dcac62d2ebd", + "6d92a68d244af8623cf6de76a8c3f3343a327ac1", "support" ], "conformance/ogles/GL/build/CorrectConstFolding2_vert.vert": [ - "3cd7221e0b96e28df7391c88bbf15dbf9ef1e5d2", + "8ed470d042bb4f207741fc29d58b248f968731d6", "support" ], "conformance/ogles/GL/build/CorrectConstruct_vert.vert": [ @@ -29160,7 +30080,7 @@ "support" ], "conformance/ogles/GL/build/CorrectFull_vert.vert": [ - "ac3a0e45624d51f4024e13a8d98a3bd1ffc42b0c", + "1d13e58f22b4b327c635acd496645f696b311867", "support" ], "conformance/ogles/GL/build/CorrectFuncOverload_frag.frag": [ @@ -29176,7 +30096,7 @@ "support" ], "conformance/ogles/GL/build/CorrectModule_frag.frag": [ - "c8ba6f38f3fc8e40d330e96d66b7f2cc081a47d4", + "67e842834cf379dff278c41bd0d2bb0ca2d27d73", "support" ], "conformance/ogles/GL/build/CorrectParse1_frag.frag": [ @@ -29184,11 +30104,11 @@ "support" ], "conformance/ogles/GL/build/CorrectParse2_frag.frag": [ - "299b0fe3a39c05bb48f994961318522a9e27e8a7", + "20d30c26b48efd6e81c2fb844a036ca9842bd678", "support" ], "conformance/ogles/GL/build/CorrectParse2_vert.vert": [ - "20a82f69b8a70d98976949c86c780147e2ce2945", + "de66c0a3e6b0916410ecf1042c95fd91926c1ad0", "support" ], "conformance/ogles/GL/build/CorrectParseTest1_frag.frag": [ @@ -29248,11 +30168,11 @@ "support" ], "conformance/ogles/GL/build/Low_Level_Assembly_Reserved_Words_frag.frag": [ - "e86b7635f42d524413e734e6cc258a0e1c4ddc63", + "f42a80aa1a4f559c739a9c21e57d11115e41c372", "support" ], "conformance/ogles/GL/build/Main_Parameters_vert.vert": [ - "bd96a07dbc1b70c3699d1c4ae91a040fcf5d5b55", + "13b97a22e2d9c5bf1e576d62ba8e9a6cf1d8d28a", "support" ], "conformance/ogles/GL/build/ParseTest3_frag.frag": [ @@ -29264,11 +30184,11 @@ "support" ], "conformance/ogles/GL/build/Permissive_Constant_Conversions_frag.frag": [ - "f1e0bd609417cbb5181cc103a63553d43e3141df", + "3fbbf1c5d87bb1192176086e531915478251ebf6", "support" ], "conformance/ogles/GL/build/Permissive_Scalar_Vector_Expressions_frag.frag": [ - "7c31ffd5933bd06a638ca1b3dd4f3e310c53435b", + "df1232cd5be62049fb8d4d9c75c7229f2ff5b777", "support" ], "conformance/ogles/GL/build/TernaryOp_frag.frag": [ @@ -29276,7 +30196,7 @@ "support" ], "conformance/ogles/GL/build/Texture_Rectangle_Samplers_frag.frag": [ - "6964edf11de326c69ddbc210ea5c74e44034d391", + "863c2ed779765311666492bc002176a2f7e58abc", "support" ], "conformance/ogles/GL/build/array10_frag.frag": [ @@ -29344,95 +30264,95 @@ "support" ], "conformance/ogles/GL/build/build_001_to_008.html": [ - "ba19e304f2b2dc5baf7219612573a8e9d35db60c", + "1883b6a8145507e6fa1ee698698ae086893cf7ba", "testharness" ], "conformance/ogles/GL/build/build_009_to_016.html": [ - "34a49950e9781eaaa1e13462cc864112fab81d2c", + "4afb29be74193935adf200f94215739ce5347f63", "testharness" ], "conformance/ogles/GL/build/build_017_to_024.html": [ - "5e607098015e6e003453e7569e4aeef7c3c42527", + "10b3d6636ccd00feffc8069685934b2ae4b866d8", "testharness" ], "conformance/ogles/GL/build/build_025_to_032.html": [ - "c0a80240fd82811f84b049d07866f274356156b4", + "8ee6bdee381325c4a4c96d981ec38a02dd62cfca", "testharness" ], "conformance/ogles/GL/build/build_033_to_040.html": [ - "35a537e09e8ccd1d34f826df95276202da0e335d", + "6667f89bb3548fd087b324a40d48dae808733bd4", "testharness" ], "conformance/ogles/GL/build/build_041_to_048.html": [ - "119c930ebc9aae6142604f64c68dd024bc7ecfe5", + "ac62a696181fb397cea3c7d0d6ea198237b4141b", "testharness" ], "conformance/ogles/GL/build/build_049_to_056.html": [ - "6100de87fdfc665b4e9cc9da956b6fd817a3fa80", + "62358b0c6e4fb4af837064dee8982521e9077613", "testharness" ], "conformance/ogles/GL/build/build_057_to_064.html": [ - "9b006cd46842f8d99474a97d1e02f59d6f5e4ddb", + "f194ecf17bec163b152db661b0ee1f475244c9f3", "testharness" ], "conformance/ogles/GL/build/build_065_to_072.html": [ - "7bf36c5b0afb887f9f5380daed0af23d8a7d8e9b", + "16372f8862a063c36cb5eaf2097f3afa4006063d", "testharness" ], "conformance/ogles/GL/build/build_073_to_080.html": [ - "7f38c301d0b00ecdb6129a1b2b570beb73fe0aa5", + "0259cae9292446f9cbce9801b96177bec26ce4a6", "testharness" ], "conformance/ogles/GL/build/build_081_to_088.html": [ - "7121d13450c5c72709aae7d8447dbf3f6b5cc3bc", + "ce86db8586e8589a141d4e49aea5e62df15c0673", "testharness" ], "conformance/ogles/GL/build/build_089_to_096.html": [ - "60e8665a91d0c57f4c3a119c25ae61c91539e76b", + "23561488613f7b555b204bb8bd50a0a979a73232", "testharness" ], "conformance/ogles/GL/build/build_097_to_104.html": [ - "d0a1012a07d41c65834be0733c11c7ff3bb49636", + "2a4f2abcea515533375c73ef4f263b5100cbe3a4", "testharness" ], "conformance/ogles/GL/build/build_105_to_112.html": [ - "37b5dd1d90da07982085fd293f5ecf2ec6ecdaa4", + "cd5dabddc62377f33a58ac13379582219079fcf7", "testharness" ], "conformance/ogles/GL/build/build_113_to_120.html": [ - "192c287e45a87cd76aa5ac485227c485d46db82f", + "a93b6e6eade0b8057291315c58842c158a44d188", "testharness" ], "conformance/ogles/GL/build/build_121_to_128.html": [ - "34b5c10b2c7998493e2fb6082f351dc056de5ead", + "f13e0656d8b627e7b39fc1695aadfc0aba8b1d32", "testharness" ], "conformance/ogles/GL/build/build_129_to_136.html": [ - "c634d6b1de1267c5cd724a350d6ce147fc9a1369", + "34eaa4352af6821771e3ad4b6249d653de1fe4ed", "testharness" ], "conformance/ogles/GL/build/build_137_to_144.html": [ - "488b345f16e427d5f0d0dd08bdbd001f729b60b1", + "acb4502de59fb63ea492380fa66deab68db06990", "testharness" ], "conformance/ogles/GL/build/build_145_to_152.html": [ - "50f8da53b85575eee6ac75a34a923e0403e89513", + "ff3ea37f3b7c6565aab729a32bb860157b480ecf", "testharness" ], "conformance/ogles/GL/build/build_153_to_160.html": [ - "d8b2977429d6092bc9fbc09b6bafd55de2299b90", + "844e548a47f021574d358923c933432d9e16989a", "testharness" ], "conformance/ogles/GL/build/build_161_to_168.html": [ - "9906288703986b1dd55fc875b4962deb9af96800", + "3bbcddaadcd7434132c45958bd52aae6eabb0b89", "testharness" ], "conformance/ogles/GL/build/build_169_to_176.html": [ - "902897fa980b049c8e1541e472994b479561293f", + "f00fa582c6753f5c7f12741dc380cdfdea62065b", "testharness" ], "conformance/ogles/GL/build/build_177_to_178.html": [ - "912ea440693e6fb9bbdef7fd05a0b7af7b6f860d", + "a2406d8ed5b50766f18f4cac0c87eafed6acc15e", "testharness" ], "conformance/ogles/GL/build/comma1_vert.vert": [ @@ -29544,11 +30464,11 @@ "support" ], "conformance/ogles/GL/build/default.frag": [ - "4224e32af58d1ed1594ceccf14edb871a3fd9e3f", + "e283e255b7c5e3dc820c8d6fb552b56eb179dd8f", "support" ], "conformance/ogles/GL/build/default.vert": [ - "ea08cad1692b109c8823abe5ec83b6779fe03530", + "fc46a6ecd3b1d127bbeb5309f2c742a451ff754b", "support" ], "conformance/ogles/GL/build/dowhile_frag.frag": [ @@ -29936,11 +30856,11 @@ "support" ], "conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html": [ - "9adb6db0da2acd22bf43d8e262294f951ce6b23e", + "e6542bfe8d64d97143dac4ca44f11a17ce24f3d0", "testharness" ], "conformance/ogles/GL/built_in_varying_array_out_of_bounds/gl_Color_array_index_out_of_bounds_frag.frag": [ - "d840a1ec44a46fd19ae4c53dc7572de20c1136e9", + "4a83d9cfa1a3d40acb40916398791d00485f703a", "support" ], "conformance/ogles/GL/built_in_varying_array_out_of_bounds/input.run.txt": [ @@ -29948,55 +30868,55 @@ "support" ], "conformance/ogles/GL/ceil/ceil_001_to_006.html": [ - "e490434058c58ddc0b980e3b29398d14d370263f", + "c8b3a25732f9482e08d2ca899a6edbb152b248b7", "testharness" ], "conformance/ogles/GL/ceil/ceil_float_frag_xvary.frag": [ - "cffd42263e4198d0f07af3b5062790f33076034a", + "dfb425e48d954f0be8e834a8583aa0f787043ca2", "support" ], "conformance/ogles/GL/ceil/ceil_float_frag_xvary_ref.frag": [ - "28d89814abb1fcb5e7815c362472041509120798", + "56b73e785b09be3c9e0de1bff6f9930daa129b8a", "support" ], "conformance/ogles/GL/ceil/ceil_float_vert_xvary.vert": [ - "fe13845d4828ba254d25213b950d2bef4d94c0ef", + "da5e9f8005a4f45c5803099fd859e23edc6c6181", "support" ], "conformance/ogles/GL/ceil/ceil_float_vert_xvary_ref.vert": [ - "7d7f859ac0ce5d1070afd8b8fb986ad6c998a4a3", + "9872fd198d64020c6066c2018f8a61b12b3f112c", "support" ], "conformance/ogles/GL/ceil/ceil_vec2_frag_xvary.frag": [ - "8847a21d6d4f4d52a3a774333ed4b9488e081162", + "836c69786923624daf4a062176c4077621ab3c6c", "support" ], "conformance/ogles/GL/ceil/ceil_vec2_frag_xvary_ref.frag": [ - "3e1701ecc052f825912894b7237024b529a0d6a3", + "4c624a57b59e0496250f35f3e4afeb1f8f088d3d", "support" ], "conformance/ogles/GL/ceil/ceil_vec2_vert_xvary.vert": [ - "9a8b321f92c0533c3910a6b7a0f6e8996fb4749c", + "8240119c83d486a78794b5250d78887828dc1aa4", "support" ], "conformance/ogles/GL/ceil/ceil_vec2_vert_xvary_ref.vert": [ - "7c01acd8f1c7f439f63ae44ef98f570a5804b6de", + "7483c22cc3be840608fbf31b440f504689610934", "support" ], "conformance/ogles/GL/ceil/ceil_vec3_frag_xvary.frag": [ - "e51ad114dd7cc37e670d46c2d737acc029347de1", + "45d026666507c07c99d9c58119c0f651edcf3789", "support" ], "conformance/ogles/GL/ceil/ceil_vec3_frag_xvary_ref.frag": [ - "343a0d26b780d7a78c4401285b8a94e0ae575c15", + "652be10fc2ea2260ec515972e15aab7a64633c2f", "support" ], "conformance/ogles/GL/ceil/ceil_vec3_vert_xvary.vert": [ - "390641a024c790fb50a7679e64d4547233c982c1", + "e7a321345776f5a3de1bd49e487b6ec485acafe9", "support" ], "conformance/ogles/GL/ceil/ceil_vec3_vert_xvary_ref.vert": [ - "deed98eee569e0f4929ce3e0a28c03acba870d47", + "1bb4b809292d11a46bce5c3ea3816fd21353154a", "support" ], "conformance/ogles/GL/ceil/input.run.txt": [ @@ -30004,55 +30924,55 @@ "support" ], "conformance/ogles/GL/clamp/clamp_001_to_006.html": [ - "93b937ca13caa0f804da51b89b5cbb993847298a", + "9abe66de09bb106117665e1668e7e220f73487ad", "testharness" ], "conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter.frag": [ - "5c74fa4a0ef171123023ea3c77c44763adbaee68", + "2c32377d2ec484d85735e14eb9f6c5c94ab9cfbf", "support" ], "conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter_ref.frag": [ - "b00a46cec6cb4a6ca98642869becd639fba15466", + "2b1e5a340d6696a35c399586d6592fd13ee7e6ca", "support" ], "conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter.vert": [ - "f07aa5de93b0bbcec1d4027b409c9f3f4829b583", + "68aa1a4b63251082ae6615f930b60a39713f550c", "support" ], "conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter_ref.vert": [ - "1256dc9a1bf4c5124316b8aa44c92c69708ef031", + "bc6d8c00e6acd5dfd524461bda9b5b887ee4b414", "support" ], "conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter.frag": [ - "561673276a293113e079077244eb6e242aa87c4e", + "e912dd375b79c28cdbaee946bcb43214b01b6ce3", "support" ], "conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter_ref.frag": [ - "2b0f7410ba55b87bf3d9929be94c05fb048f414f", + "54face3fec31eac1d7b44af13c0597b9bd2d3329", "support" ], "conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter.vert": [ - "d2cf8f4deceb7beb15e331853663e2666e321330", + "17474f371d5b56e26ca20f0aebd0f563f359f5de", "support" ], "conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter_ref.vert": [ - "5863aa947577337fe3bf3bedfd7af4e77521c4db", + "e566319c981fe1ebb6f25c58aff5c085b015f1cb", "support" ], "conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter.frag": [ - "0de4472bb3ce72c013f347d73f709a4b5362b5a9", + "c294c26bbea667bbd22025b3799c781bac3495cd", "support" ], "conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter_ref.frag": [ - "bb5a0dcc3fa0c6424bfa23448fda63a17f28582d", + "e09f795b344c4f0dd3bb36d7532340081bddb1fc", "support" ], "conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter.vert": [ - "22c38d86b566ce3c8e034df9f8f008aa55398849", + "50c14ffc522168ddf794c3a5fa6188311a58630e", "support" ], "conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter_ref.vert": [ - "c3dc19e754be6569e6863441a06f477c812de6db", + "6ba4f0d42dce8439d4f945cb7355717f5a319cd4", "support" ], "conformance/ogles/GL/clamp/input.run.txt": [ @@ -30060,43 +30980,43 @@ "support" ], "conformance/ogles/GL/control_flow/control_flow_001_to_008.html": [ - "814a1dc88a06269c201f984cee2cc1dc8e9d4b2a", + "76f9859b88e911b79c648b41bbdca1a28687ba90", "testharness" ], "conformance/ogles/GL/control_flow/control_flow_009_to_010.html": [ - "6764bcb5add589869edd01cc7b4c8b499ea4517d", + "3845a8d9fd587c8becd9d21c7163a12ffa8be736", "testharness" ], "conformance/ogles/GL/control_flow/for_break_frag.frag": [ - "02b1c03bd7f4f9de952e2ecd63f4b88bb46b25b8", + "ff23a7859c8d5dc7bebd393de9171dafb18905c8", "support" ], "conformance/ogles/GL/control_flow/for_break_vert.vert": [ - "273cf580c8341075e15a819ee32c89cd2d07c1e6", + "84a517d947b3db4591d06cfd1277c3a62e30823b", "support" ], "conformance/ogles/GL/control_flow/for_continue_frag.frag": [ - "dc3975e30e02a533f5fdb1f26e4a2a2aa8d40bec", + "df501385e6269d28b6152c4d46d4107fbd3d4d95", "support" ], "conformance/ogles/GL/control_flow/for_continue_vert.vert": [ - "d323ccc0a38bc1f7823955e135944dd2da103595", + "80da6b922875bcb0599fc5f6f8d48c6491c7334c", "support" ], "conformance/ogles/GL/control_flow/for_nested_break_frag.frag": [ - "0c62d1791f705cdb9e331c20e91747bc060ffcfb", + "dc0cdb59a23675f72ecd4e9ecfba434ec2007aa8", "support" ], "conformance/ogles/GL/control_flow/for_nested_break_vert.vert": [ - "5edd86e3e647e51b431f8a68628503342cd08027", + "47491be115a52a2d2d32894828beb50a6aa26540", "support" ], "conformance/ogles/GL/control_flow/for_nested_continue_frag.frag": [ - "4ed439a34b5d4e5ed581470e4e4c0e3d52db53ee", + "6651cc75c1efb17f00d0a8546e4c8af2bd7e2e91", "support" ], "conformance/ogles/GL/control_flow/for_nested_continue_vert.vert": [ - "ee60dddd04c7e1b9162110ed5e9b76afae0d0222", + "0b96b9a4b8c1ba84ce23a893216778c4235c97cb", "support" ], "conformance/ogles/GL/control_flow/input.run.txt": [ @@ -30104,63 +31024,63 @@ "support" ], "conformance/ogles/GL/control_flow/nested_if_else_frag.frag": [ - "1bff9a4920d4b556a56d2afea34074754499dfd5", + "66525bf6c5da1b97b7df359fb2a24b8cc9a26cdf", "support" ], "conformance/ogles/GL/control_flow/nested_if_else_vert.vert": [ - "89cce6d67f4b6586d4ffd2926c2024fb84e3c8a1", + "f0d560b7cfcf5ebb2d07ac3818f7f2db33981025", "support" ], "conformance/ogles/GL/cos/cos_001_to_006.html": [ - "2afae654ec6fa62ce5885a27eb0cdeeeeee2d501", + "6da1573843700749bc5da3845dcbcacb39ea1fe9", "testharness" ], "conformance/ogles/GL/cos/cos_float_frag_xvary.frag": [ - "14c61b660207b42dbf58ca74e269a4da0f6340b0", + "4cef9e2e21e368748f757f8e789f4e33fb76b86f", "support" ], "conformance/ogles/GL/cos/cos_float_frag_xvary_ref.frag": [ - "ae10cc9c4e74da22b5dc4ceda6b5cbe857b6d759", + "fb906c198f89ee10159fbc5e39b9b36023a6c338", "support" ], "conformance/ogles/GL/cos/cos_float_vert_xvary.vert": [ - "c598dd8c8559a6456cf215c95dce1ee0a72b39a8", + "ff1bf21def67dbe69c300574a69a01fc9a9ca246", "support" ], "conformance/ogles/GL/cos/cos_float_vert_xvary_ref.vert": [ - "f85fa438a872fdec7d4f852fe2a255ede0c3d393", + "a47efbfbbeda6ca49a65e4dc367a854aceee0234", "support" ], "conformance/ogles/GL/cos/cos_vec2_frag_xvary.frag": [ - "f73c9ea83aeafab60bdef2c27b05be3a2bedc26d", + "303bcd985654ef81ce7b2d89f82079b1bf4f0e75", "support" ], "conformance/ogles/GL/cos/cos_vec2_frag_xvary_ref.frag": [ - "841d73239e69ad02ea7f1b8544c60cf2c6abf157", + "4b1c833cf5867235e07199e22fe702f145e4d70a", "support" ], "conformance/ogles/GL/cos/cos_vec2_vert_xvary.vert": [ - "8a73bcc8ec5a0414d2c4f59b24c96c5c9ed268f3", + "6c9daf513bab6e1cc168169292254f25de1bf028", "support" ], "conformance/ogles/GL/cos/cos_vec2_vert_xvary_ref.vert": [ - "10544b08eb388f4bdab2c38ef0fb4954455859a3", + "9aab45e87bb02d0dc5dfa8f47c7f3bf3cb13a4f0", "support" ], "conformance/ogles/GL/cos/cos_vec3_frag_xvary.frag": [ - "4c577cceb57a95d4e5fa8e222210585941b89622", + "2470106a75fb3b54e5a1fa637b49ed61761b73e7", "support" ], "conformance/ogles/GL/cos/cos_vec3_frag_xvary_ref.frag": [ - "ca25c7da1bc751f6b277ba20df50301d49d668f1", + "948400d9dfc8047e863a8365865eb924be78ad51", "support" ], "conformance/ogles/GL/cos/cos_vec3_vert_xvary.vert": [ - "565c41ac8e3636e68b57839f961595d480780a87", + "bde69506c4da4bd62d40cceac309360d8e2dac77", "support" ], "conformance/ogles/GL/cos/cos_vec3_vert_xvary_ref.vert": [ - "40a3eb2a1a083f08d6a526cb1a51f03200d7c692", + "cd8f9d83796732ee20f5e2716867f916266e36f8", "support" ], "conformance/ogles/GL/cos/input.run.txt": [ @@ -30168,23 +31088,23 @@ "support" ], "conformance/ogles/GL/cross/cross_001_to_002.html": [ - "baf8495384f4acf7457caa251b1e194a3679c7ed", + "c0c5bc44c566a9b96da4cec6d1713b014fe21de4", "testharness" ], "conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst.frag": [ - "d7513ff8c4c0aec62d8c8686f886de4d6eec219d", + "3baaed5449cf533ba69f822355ce4d4ccdb0082e", "support" ], "conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst_ref.frag": [ - "54eefb9f1c682870bac3cba14cf8047b53dc724b", + "7d1f21613399633bdeec2cda55a5c7788a49d515", "support" ], "conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst.vert": [ - "97ec07f152d008a67fe09e55d5d7e6c7f7e62362", + "6a3345f28ad697c57c28b76350c08ef4beffeca9", "support" ], "conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst_ref.vert": [ - "fee5cc5822530533c8ed89bb037a0801cc6788f8", + "7680ae0351769933ae3c9b2b4acbac24aed42307", "support" ], "conformance/ogles/GL/cross/input.run.txt": [ @@ -30192,27 +31112,27 @@ "support" ], "conformance/ogles/GL/default/default.frag": [ - "90478e8490bfb2b513600c2932654196c3e6475c", + "e9d460fb20cd92ad8fbf7a833e75f74de6920192", "support" ], "conformance/ogles/GL/default/default.vert": [ - "2943d817bcfd6303cb1d7fc41ef0488455eef926", + "72e83fd0322a92a0d9c8d6c27085a284cc43b820", "support" ], "conformance/ogles/GL/default/default_001_to_001.html": [ - "67cd9a432a5a9967cf06bb5e2906f502538a5296", + "1a9e6c32143e9469ab30e5af5221c884b0f6219b", "testharness" ], "conformance/ogles/GL/default/default_textured.frag": [ - "bf905fab9b1dcf31f2765264317bf167e78c81c3", + "8db3c6954f76459f3aa5a48607e421d7aeb80553", "support" ], "conformance/ogles/GL/default/default_textured.vert": [ - "56e028240b74ca7d3b55ecf23b359c4c10f928f2", + "1b5b7831a4637cdd5a91f5967fc63f2a132db820", "support" ], "conformance/ogles/GL/default/expected.frag": [ - "cc50b94f6cc5ad12fbcb6ed67032c4008fc5e50d", + "3d543f343bada3a63c85de9549ce5b45e086c5ed", "support" ], "conformance/ogles/GL/default/input.run.txt": [ @@ -30220,55 +31140,55 @@ "support" ], "conformance/ogles/GL/degrees/degrees_001_to_006.html": [ - "a6f8fad2e48d37c0b68ea4c7153f04935a6029c5", + "1e29130a3dc007742914f49e36eee1dbc0d715d4", "testharness" ], "conformance/ogles/GL/degrees/degrees_float_frag_xvary.frag": [ - "55a9eb0f5ac26d4546953be6c8ce215667ca50d0", + "52d2e724a120eff48e913d81d2852e65b9a20e2a", "support" ], "conformance/ogles/GL/degrees/degrees_float_frag_xvary_ref.frag": [ - "b5b7bce801060cf5dc24f88f08dfa046be8b774c", + "b3675b0454ceeb72d800cd93ab9dcf6f630c7e0c", "support" ], "conformance/ogles/GL/degrees/degrees_float_vert_xvary.vert": [ - "d35a5aab71cbb895d24eceaa2f0be78e5fda8580", + "69b026d7db1e55007baf6432d59b620666c04314", "support" ], "conformance/ogles/GL/degrees/degrees_float_vert_xvary_ref.vert": [ - "2756f42787e05bd508c1f5036899ac10ee91fe7b", + "4b919b44bb946930229613a7b33eead1a87dc045", "support" ], "conformance/ogles/GL/degrees/degrees_vec2_frag_xvary.frag": [ - "6bec173927ccf8d81377bad149e85852afcb8a44", + "3c01fb83eb064cbbdb6f5e5bca53c90812bddcc8", "support" ], "conformance/ogles/GL/degrees/degrees_vec2_frag_xvary_ref.frag": [ - "47156b16fc2fd48877fc3532ea92d52013865e8b", + "0706159c0ee3162933b0d710aea30dd394b3a526", "support" ], "conformance/ogles/GL/degrees/degrees_vec2_vert_xvary.vert": [ - "998fc8a2a31d74233eafa47c552584330b904af3", + "e7c59c300524699cfe9d436e2df4720aa52a780b", "support" ], "conformance/ogles/GL/degrees/degrees_vec2_vert_xvary_ref.vert": [ - "4d55e37edc3b5216f6f56d860470fc60382f863f", + "f2d52d129ec28c4b117a1a66d9583bac1b64336b", "support" ], "conformance/ogles/GL/degrees/degrees_vec3_frag_xvary.frag": [ - "a4912df947a3eff19d59444d3d109cddfb5e8fea", + "48c5cb1de39215b4b67a01be491cab57a52cb22e", "support" ], "conformance/ogles/GL/degrees/degrees_vec3_frag_xvary_ref.frag": [ - "ea8f0c18881c5f26f8cf27170288818feedb9961", + "e970bd141150bcca5aa39c7295c027be482607b0", "support" ], "conformance/ogles/GL/degrees/degrees_vec3_vert_xvary.vert": [ - "d3ef4cb6cfe0fe240c420ae0c2b6fd76bf0dd565", + "520f0bb652ff78bae6a4ed40d750a26db7924d74", "support" ], "conformance/ogles/GL/degrees/degrees_vec3_vert_xvary_ref.vert": [ - "73c810353b63f753d2464691d7a1b08e44e80f04", + "ef8d0e4ab9bd2b52f5a4575111952a1a34b4abeb", "support" ], "conformance/ogles/GL/degrees/input.run.txt": [ @@ -30276,19 +31196,19 @@ "support" ], "conformance/ogles/GL/discard/discard_001_to_002.html": [ - "bdac918220e5dc87b5e68d4860c6a3dff10d78cd", + "0efbe81fb4950589e5e430d89039778b245e794c", "testharness" ], "conformance/ogles/GL/discard/discard_cond_frag.frag": [ - "c7da8c9e3c28154c3ca0ed3e6cc3dc26762fa61b", + "89c664cdf3e8201cff2f124bd66a497bbeccc7b9", "support" ], "conformance/ogles/GL/discard/discard_cond_frag_ref.frag": [ - "6b6be7c6d32c7547895aa4fbcc8e8855dbb0c2c1", + "05bb08a03914512391adf67600603895ca0c6059", "support" ], "conformance/ogles/GL/discard/discard_frag.frag": [ - "60d77d4de801a0d492eaf202e81cb7ce60259b75", + "6420e95bf7062bbb19d2e8e7105c1c388b1f0b64", "support" ], "conformance/ogles/GL/discard/input.run.txt": [ @@ -30296,55 +31216,55 @@ "support" ], "conformance/ogles/GL/distance/distance_001_to_006.html": [ - "ca365df39632e0139df9ff47b5ca2b1d8306a8c3", + "7ad48ff83b81c7e8a1101c40eb7e1269d57b7f39", "testharness" ], "conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf.frag": [ - "2eae58fa4762a091703c1a1242c65820ec12dec1", + "90d38ddcffb1fe466cc9c9361d5bdf52a277599f", "support" ], "conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf_ref.frag": [ - "6006747665ccf416c4a78f02fb254b04d6f949b4", + "d5c87c09ee3e77eb08500e0d2118dfdb9b7fb713", "support" ], "conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf.vert": [ - "e5c569b8fd57b675ec20d93a00f9f819b22ac434", + "574bf00c3310215cda4f2b6141b07dc1cbc4d76f", "support" ], "conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf_ref.vert": [ - "97980d2aa8cd770bd34828a86efdd769b3f2c3cd", + "694c7d1f7d057b2bf90a91cd41a252459c4ac386", "support" ], "conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf.frag": [ - "0efe5d0416e307459ed12ead1e215a78e57bcc99", + "c39308d1e65de1c980c40080e545fa49f759e358", "support" ], "conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf_ref.frag": [ - "f7b59e0349b83d3b77186963e54f8a00ca5fc14a", + "61e18003227ed61329c93fd9d841e86837070bbe", "support" ], "conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf.vert": [ - "67240cf773952b150ef8b950c1bcccbcbd18e607", + "9807d91fed7a4275b7d051e7c863f2d8ff99765f", "support" ], "conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf_ref.vert": [ - "6e77d4ba494efdb5216172bcef0a110166a55f63", + "f70d7a78c91216c4bd4224db2696d48ab4ceac69", "support" ], "conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf.frag": [ - "7964099093e7259c11d031425ef3f126344b5f16", + "c356d342409ee963251dbe80de0dbfc0569676c7", "support" ], "conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf_ref.frag": [ - "d633e1ccf901cf5b3c81ebe132dac50c42e0617e", + "b016b64db9ed687daf2cf5d839be82f1ed6bb0ed", "support" ], "conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf.vert": [ - "71163597ea62456fccdb2b43143ab6343f0ccb32", + "f0ce5c4bd4c8200fb579f93fd252c99b665d0108", "support" ], "conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf_ref.vert": [ - "bc263689f5a7dae2a2550eb0017f35f47654e9a5", + "7fdd7f986fd1af6e35c264ab5c3521d049e1c285", "support" ], "conformance/ogles/GL/distance/input.run.txt": [ @@ -30352,55 +31272,55 @@ "support" ], "conformance/ogles/GL/dot/dot_001_to_006.html": [ - "4c71975604ba1bcaf9ba43c00731c15f45b2176a", + "35af74a12af3c91d57061ff920c7eff96cd36bca", "testharness" ], "conformance/ogles/GL/dot/dot_float_frag_xvaryyone.frag": [ - "460216ea395b3655527e42d5775a56fdaa5114be", + "4dfef129c0a6476904b0c0ec8f75971dbd10605c", "support" ], "conformance/ogles/GL/dot/dot_float_frag_xvaryyone_ref.frag": [ - "b3e64eeb5fdbdf4c2ee68841a2e3a5657d376ebe", + "1d8b5594dabbf29c1937efa6d138776322769a8e", "support" ], "conformance/ogles/GL/dot/dot_float_vert_xvaryyone.vert": [ - "f691e1198753884e674f5547258e94bc06b2b330", + "d1df51840b2dca557a10047b6c36a1e402bb127d", "support" ], "conformance/ogles/GL/dot/dot_float_vert_xvaryyone_ref.vert": [ - "82e7082582991edce58b67df118304811f7de0fd", + "3d37b84fddd64ed8220533a3d69d16dee9e6edcb", "support" ], "conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf.frag": [ - "ca9cb4286f03f31296807dd5ca107e7705c07a1a", + "dc4389716dee527f260d71262be4b4a5ec42e990", "support" ], "conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf_ref.frag": [ - "c3047d94cf73368ab3262f59607841a51321e45e", + "515e4965183dbb3a4e87afbc6756e4704884dd51", "support" ], "conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf.vert": [ - "fcd840a6da12723985d3e177e97f781eb4033514", + "48cc60154d7d52829ef135a3a20756d0f1932ad6", "support" ], "conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf_ref.vert": [ - "132cce2de311a7594c2dfb342ff2fd9e7d0d607d", + "d5e6df67b18aa3f4c9cefa8959edae681ccb9a15", "support" ], "conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird.frag": [ - "ae9ff242dcc2abac45eb1f5aefed6b1eab84882b", + "55205c284907cfbc7940ddae29f0154be37c4542", "support" ], "conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird_ref.frag": [ - "d2a454af77708ca08a4680a02f4f8617437451b1", + "cc4a934fb2607c5967f0b42e7b2c1b522a92c478", "support" ], "conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird.vert": [ - "256726c369ab761f8690cc29e17f65e9bb5fdec2", + "69493de3ee2ee82d1cd41f1d1c6cabcb177fb301", "support" ], "conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird_ref.vert": [ - "15aa4936dd8b38b55045af64d068b2383b9bb7e9", + "5fc4c88057d7c64f52dcd4603806b4b747d1920c", "support" ], "conformance/ogles/GL/dot/input.run.txt": [ @@ -30408,107 +31328,107 @@ "support" ], "conformance/ogles/GL/equal/equal_001_to_008.html": [ - "d944ac89863cd73e726929768a21f8dd8f3d929e", + "4266061afe90e0847db3a6003f7e8549f05443b0", "testharness" ], "conformance/ogles/GL/equal/equal_009_to_012.html": [ - "678b12241d62442d6360d1a17e798c3ff33d8b79", + "f5af33c3dba71f4b5f2ab5889540b273f4fdcba8", "testharness" ], "conformance/ogles/GL/equal/equal_bvec2_frag.frag": [ - "3eac179f0541a3f99d3ed96aed3066868488a0db", + "f934ea91c049b92d02f04b7bd5ce800ac8c0852f", "support" ], "conformance/ogles/GL/equal/equal_bvec2_frag_ref.frag": [ - "d932ba3275e0b4fceddb74674f70086470ee13f0", + "574f95e09b8a02a055faa4c67e4a36267d80249e", "support" ], "conformance/ogles/GL/equal/equal_bvec2_vert.vert": [ - "4fd1685e5895af263468b6d209d63d0633e09dd6", + "0644c69de81bdb43a733126173b9c0230ed260e7", "support" ], "conformance/ogles/GL/equal/equal_bvec2_vert_ref.vert": [ - "5052a390762c878737c2878d8126818cb35a286d", + "fefac95747f130004bf2993119d2021c4fc72c1c", "support" ], "conformance/ogles/GL/equal/equal_bvec3_frag.frag": [ - "182ea22edf5f1d00ff0735505b97033725797adf", + "f35039b8258f71e56c4d7e28cdb6b03280b7cf7d", "support" ], "conformance/ogles/GL/equal/equal_bvec3_frag_ref.frag": [ - "03bd38a89d38b41913273c2387859f352806c45e", + "e9047836e6eab965f38812a957d7a1754549b082", "support" ], "conformance/ogles/GL/equal/equal_bvec3_vert.vert": [ - "4bb58f80d1dcb058b6fae38873e419cad2a43cf2", + "8fd3ac79cf049b3487b04488d28555e91e0f9e5e", "support" ], "conformance/ogles/GL/equal/equal_bvec3_vert_ref.vert": [ - "8d1bc544a209962df05210c85c885bbc2889cdc5", + "528c56cc5a72be04948a03745b9bc77f53d375ac", "support" ], "conformance/ogles/GL/equal/equal_ivec2_frag.frag": [ - "5cbc7893e4e6663c604ce704476e0235a2dc557d", + "03586f30372789f15bc1ee3a2bd71a73086d660e", "support" ], "conformance/ogles/GL/equal/equal_ivec2_frag_ref.frag": [ - "85d7e57f354615b2cf8e99418f78214f353abd19", + "0d714400ed449c2c6fe4cb13bedef6ccbcb1db44", "support" ], "conformance/ogles/GL/equal/equal_ivec2_vert.vert": [ - "cc46bd8f7979ee7c337c937a9950a07dbf32a273", + "eab3324fd662b932e9be57aeb3e966f702684b23", "support" ], "conformance/ogles/GL/equal/equal_ivec2_vert_ref.vert": [ - "88650667a26c6011fad09ac35d67e8371aa2e645", + "738a3d93b46b41fa7d35cb4497c428c1e82368db", "support" ], "conformance/ogles/GL/equal/equal_ivec3_frag.frag": [ - "3189805d59f91e13e65855d8b6ffd6d131e98a66", + "34ab9ce3eeaad32e9f17aa4d6cad725aae0b0fa0", "support" ], "conformance/ogles/GL/equal/equal_ivec3_frag_ref.frag": [ - "4a4597f2685819c65354d60d8ac1ceb8e3fa703c", + "3b6b2bc1bbd853a34268651cbdb483e3cf4aa6d3", "support" ], "conformance/ogles/GL/equal/equal_ivec3_vert.vert": [ - "a9db42230f3f80284dd0dee1d979e22ca8a64269", + "dd84715552658bf01dd135b86521c7248d418e04", "support" ], "conformance/ogles/GL/equal/equal_ivec3_vert_ref.vert": [ - "0aa5e35bcc7f61164fce3bc8848f63fad438c508", + "5884c39a2a838aa69343e4c8164a1ebb50d3b3e7", "support" ], "conformance/ogles/GL/equal/equal_vec2_frag.frag": [ - "b74660d4c7d84dcb60e95850c51690047ba4dbb1", + "33723d45353838ff16094ded6ca10953605715a5", "support" ], "conformance/ogles/GL/equal/equal_vec2_frag_ref.frag": [ - "b3db6088fe59e3dba74e0500fcb488c9286dbf1e", + "b343d82a2dc0a3cb1c45e1558d0364815f0870d6", "support" ], "conformance/ogles/GL/equal/equal_vec2_vert.vert": [ - "d46cb3a973878984539ad324078f5e19d91e5e5c", + "bebfbb5e6827e51a64b8a1b097c8b5ca1f31006b", "support" ], "conformance/ogles/GL/equal/equal_vec2_vert_ref.vert": [ - "20ccfd9418d1cf5fbc0bf0d5aab78a30c22ee0d8", + "89290a76066e6aaa613a6057f0040f5f623928de", "support" ], "conformance/ogles/GL/equal/equal_vec3_frag.frag": [ - "8490d13c863373ab593dac2350945a20afdab595", + "fdccc651017b194a83c85712b87d52f131a5b375", "support" ], "conformance/ogles/GL/equal/equal_vec3_frag_ref.frag": [ - "3e99a258cc89a06f071c0573e50b1862d45db75f", + "541de85710d94dedd2c3a0dd44fef628b683a573", "support" ], "conformance/ogles/GL/equal/equal_vec3_vert.vert": [ - "5d7830f4fad7da0c9de9a8863624da32678a7314", + "d975735f3e023118e1c6b8bc403a9bd54d0af201", "support" ], "conformance/ogles/GL/equal/equal_vec3_vert_ref.vert": [ - "693f3fd05139f6763ae9d91f9ed5e146febcf874", + "1dc5e80eac6e83b45a8b30b6a3c7db375158bbcf", "support" ], "conformance/ogles/GL/equal/input.run.txt": [ @@ -30516,107 +31436,107 @@ "support" ], "conformance/ogles/GL/exp/exp_001_to_008.html": [ - "a4af1dee585b7b174b5b40774eca83827bc5ee39", + "a0ce6c06418e15a1da50701c95db6569f49f4533", "testharness" ], "conformance/ogles/GL/exp/exp_009_to_012.html": [ - "a85b178e59bf414640a64c78205f655e5c7fb888", + "ddf15b619a126cff7e19550b5536e219133de8c5", "testharness" ], "conformance/ogles/GL/exp/exp_float_frag_xvary.frag": [ - "489eaaf0b6dd6df78a28bf10e96232f73e679155", + "86ed7588cd04cbae6f7f2695994067a1e112b9ab", "support" ], "conformance/ogles/GL/exp/exp_float_frag_xvary_ref.frag": [ - "a0f79d3fc759703d4dcfe29adb09e196128ea81d", + "f13fca97d9e0f9ab2cfa4c56ffdca8d7fe851684", "support" ], "conformance/ogles/GL/exp/exp_float_frag_xvaryneg.frag": [ - "69da41b33295acba5f46bc2ad6bc3d4306622508", + "785a464714cba1d1b65841926fdb8093abe1f278", "support" ], "conformance/ogles/GL/exp/exp_float_frag_xvaryneg_ref.frag": [ - "6b676cfdc41075402b76a544a6f0cb0e1f88b62e", + "08503fa51dcb07374288f483d0ade8f6861e16e1", "support" ], "conformance/ogles/GL/exp/exp_float_vert_xvary.vert": [ - "d000bb490512bec8c4c0b1422bc490d7c90c1620", + "df41faff3a1396de70d6844021cdc13b226e77f3", "support" ], "conformance/ogles/GL/exp/exp_float_vert_xvary_ref.vert": [ - "f7ccc11f021adca06febb4d5222e1ce3a5f23d20", + "f83a25bb8e9ff30c277aa447416bf42dd810f24c", "support" ], "conformance/ogles/GL/exp/exp_float_vert_xvaryneg.vert": [ - "12bdf857a2d464fe29aa850f9076869d1914fb0c", + "7d1f08a6bbf5b8988f290aabb0cf78cdd72d7b5d", "support" ], "conformance/ogles/GL/exp/exp_float_vert_xvaryneg_ref.vert": [ - "89472dedcd9c9593628c7cfd3915ec1426657498", + "b429ff8ff82b96ca7bd399685a2a50b99ee416b0", "support" ], "conformance/ogles/GL/exp/exp_vec2_frag_xvary.frag": [ - "44e2755dba478b77df4060642f96a44b9931c93c", + "be85cb373bce2b63dcacce8c27b4f71ab35d9c4a", "support" ], "conformance/ogles/GL/exp/exp_vec2_frag_xvary_ref.frag": [ - "0066991e771bb85c30d3294f7c4a21321ee70c82", + "9b11c76721a97e2808f88418a759825a519277b8", "support" ], "conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg.frag": [ - "15f70ee9d9181b8a4f3340f29e2be27828aba3c5", + "5a81055ee722ef27b23a9b7e51d72374b434ba99", "support" ], "conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg_ref.frag": [ - "20f265867e3f22500b37133656af2df753204f2c", + "ddfeae7f8117a6c29df12c3cfaf6134212ae5c5a", "support" ], "conformance/ogles/GL/exp/exp_vec2_vert_xvary.vert": [ - "ea7426c4e648bd9fb1791d4c2be8ffe0348f3223", + "c22d89ed377425ce788cd7cb4f2412d5d4dfab75", "support" ], "conformance/ogles/GL/exp/exp_vec2_vert_xvary_ref.vert": [ - "6443c78f6d2d99a8cd7b84a62d95cc53e290f1ef", + "47a68f504a87e89a25017ede4039397e0769e53f", "support" ], "conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg.vert": [ - "a2ebe30e2028acccf4276a96780d841b910bd737", + "aae926d6cfe091de95e981e4eb8ea82e03b1ff33", "support" ], "conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg_ref.vert": [ - "9d567936359c026231f732f3b3332edca64b4dd4", + "900695648424b50549d7792cebd8325ec585b52f", "support" ], "conformance/ogles/GL/exp/exp_vec3_frag_xvary.frag": [ - "aebda5d6b38a01929b6b7f6940e08428e0a8f54f", + "446532a2ef32828b9325b14293d92a8b639d69ed", "support" ], "conformance/ogles/GL/exp/exp_vec3_frag_xvary_ref.frag": [ - "8af085cec3eb7ebf1c9989a3dbb4f1ef59d2fe6c", + "b481b7dcd6b7b473ed47e59df9f3eaef17a581d2", "support" ], "conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg.frag": [ - "b0e6fcc0c9b7b8e34e3bdbc4a76d2053d3a0afd4", + "a836e87868d84de1f7bf045d5805ca6fad03effa", "support" ], "conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg_ref.frag": [ - "860242cd1fbba2aafe84c751a11f35fc2e647ed1", + "e710a7973a57fc71781f1018853d50faa63bd1f3", "support" ], "conformance/ogles/GL/exp/exp_vec3_vert_xvary.vert": [ - "6194236c2cffe198fc50b6ad8fe10815c9fdd4ca", + "b1056c28a24584154153e76dcb4675522ab2b486", "support" ], "conformance/ogles/GL/exp/exp_vec3_vert_xvary_ref.vert": [ - "289d6346d973a42410587f650e593a3c078da747", + "f1385688cac6c74796d660d7b2bed057692cff2e", "support" ], "conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg.vert": [ - "951ce62742113f28f78d1ce0babb03c1956d7289", + "d6c6c56446ed62064df238cde1aa17252521fa8e", "support" ], "conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg_ref.vert": [ - "752a1a8e10f76831fe1edaf0515cbcbe0491775c", + "f361d9febf846f246fff57bc4d4020e9f5915fe7", "support" ], "conformance/ogles/GL/exp/input.run.txt": [ @@ -30624,107 +31544,107 @@ "support" ], "conformance/ogles/GL/exp2/exp2_001_to_008.html": [ - "621b7325b4d1c8fe49f726f8cf527f59a111af8f", + "7b64d838de89cda134ef3c4e4db56804f17d7d48", "testharness" ], "conformance/ogles/GL/exp2/exp2_009_to_012.html": [ - "601ef0f3d4c6608ae9b9d5121f90b96cf22bfb97", + "2b29d52bd01e750547f56d364fb01f4cce37ebf3", "testharness" ], "conformance/ogles/GL/exp2/exp2_float_frag_xvary.frag": [ - "84bd1523d235b50f8c9ad181195db691c324fb40", + "922a733df7c672588c73fc93ecd2572468c468ab", "support" ], "conformance/ogles/GL/exp2/exp2_float_frag_xvary_ref.frag": [ - "e4217e5ba0250a821fa8fd22f4613b772acdda59", + "88a6eae8e240d821c2fd33a0e7eb54bee1a66123", "support" ], "conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg.frag": [ - "ed8ed02b13f4c6ccc7cddeb57518b67d1f63c4f2", + "9140264056fd8ec6b7a6c86bda4f6d9b4f2abdd8", "support" ], "conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg_ref.frag": [ - "f9718d033777f0233e687d59a9e2e79bce15425f", + "d8167046f1f96455d29334d59c4e847fb7418573", "support" ], "conformance/ogles/GL/exp2/exp2_float_vert_xvary.vert": [ - "a5f459c3a5f01a7d37767105a6a07357f09d2273", + "c3b914833a870fd42d78768b13d64e611f616480", "support" ], "conformance/ogles/GL/exp2/exp2_float_vert_xvary_ref.vert": [ - "aba76f79fc363b3f650201b37162445ffa097c6d", + "69898a603026f15b26309df264c7d8853428c205", "support" ], "conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg.vert": [ - "cf9148ca001cf5a6fa3659c5dd999d56263f87de", + "8955e3cfb0cc406ef1019a140179ef52a9dfad57", "support" ], "conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg_ref.vert": [ - "5a2e5c3e2fe8278824b5be4300fad44aa89d0156", + "2fc614e5a3faa2def604557030d4ac2b7035175a", "support" ], "conformance/ogles/GL/exp2/exp2_vec2_frag_xvary.frag": [ - "027bdc6580fff1442417156be5bbb9b0c46c0494", + "8af82a79b2404209baf0d4cf3e1ace05d5e782cc", "support" ], "conformance/ogles/GL/exp2/exp2_vec2_frag_xvary_ref.frag": [ - "5ebe2f29e5bba45a2d3ef8d81a5072dc7c63a817", + "77c44ff3d4da49c907117315a6841e8e043f2910", "support" ], "conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg.frag": [ - "4e4add7bec32ca0cf42606b0aa32bd79dcc5c3f9", + "b7805beadfb9e1d110fc264cbebfa873c9ab0ca6", "support" ], "conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg_ref.frag": [ - "223cc6f883e7f5a324d5c05c97af9ed334a82b9a", + "ddfaea25027ce310945a666376f4b029d5d70632", "support" ], "conformance/ogles/GL/exp2/exp2_vec2_vert_xvary.vert": [ - "925e069010d13546b5e3480e60742597d3c97d6b", + "9903e66923bb5c343c2bf230273fa5b8eceda38d", "support" ], "conformance/ogles/GL/exp2/exp2_vec2_vert_xvary_ref.vert": [ - "d354cc8681577dae804b0d96832c6bbefce66385", + "da02403b26d9600bd7c1dfbc3264b60e9d0a6bb0", "support" ], "conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg.vert": [ - "8cf60678b19f1e65ec0b08982f951f38dcccd476", + "b94b23dd354e3768c5f2376571d3b69e4ca3e2bd", "support" ], "conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg_ref.vert": [ - "7a2a120c12558a5da6692d703212f84f55d9a27d", + "8284a474ecfabb351eb4d9d5357c18e8c9ba56cd", "support" ], "conformance/ogles/GL/exp2/exp2_vec3_frag_xvary.frag": [ - "39bdd1602bc6bf00111cf7eff546ae807c5b5453", + "1f289ce1556346fa3f4eac2428e0e5dae846f604", "support" ], "conformance/ogles/GL/exp2/exp2_vec3_frag_xvary_ref.frag": [ - "8f368ab103ae1123edc81ac9e0a217bf96e01d08", + "b75546900e97f2ce7eea4576a523c35ec44eef1e", "support" ], "conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg.frag": [ - "40b723df00215b292811538d1359011d5db4272d", + "c401e57d88ee7cf4b031c1a7f140fbf6c93ae82a", "support" ], "conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg_ref.frag": [ - "23c9509164c52e9f2833afdb1ebee8534d978db3", + "6f945903d5f292a7712cf6fa5651ce047017484c", "support" ], "conformance/ogles/GL/exp2/exp2_vec3_vert_xvary.vert": [ - "49d97e9ffe0bc0fc4952060cf0450e3cc6701beb", + "d59cb3ef5f8a55c0e86dd396ae71a40a67d2abe0", "support" ], "conformance/ogles/GL/exp2/exp2_vec3_vert_xvary_ref.vert": [ - "2417fbe37b81f36b1562c7865913030f42660881", + "3e8cc48a03652fb7fa31bcf630b41703aaf1c1a0", "support" ], "conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg.vert": [ - "3c626d761dc84f92607c4dd1b3408b6e53b5d624", + "4d154bc17cdf6d1544a6f2464e8aad9404bf0711", "support" ], "conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg_ref.vert": [ - "e3fdbb6540286d6781019788bf864c1c68fc9198", + "b0bc7818d325353b24a103f36a2102675f071c63", "support" ], "conformance/ogles/GL/exp2/input.run.txt": [ @@ -30732,55 +31652,55 @@ "support" ], "conformance/ogles/GL/faceforward/faceforward_001_to_006.html": [ - "ff851a6839bf1c1fb9c16740ec067ba0a1896dda", + "c70334794cc606821ea7244dc7b7a198f5555c47", "testharness" ], "conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst.frag": [ - "1fbf2181b4216e4ea32d9fafa6170b883d7a872f", + "07ef6fbf0db2df413eed9b2fe1ec2b6b1c2eaad8", "support" ], "conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst_ref.frag": [ - "3233c2598f435d59db6a6c059b1f039e491174ef", + "5b5b2fd3e9d34d3f75aec8b5c7c8f0f911c9e3a4", "support" ], "conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst.vert": [ - "24ba13223de5e43439837018b25ad033814ddf78", + "77d5d796eccdb89ffb666da14267a2615e32b43a", "support" ], "conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst_ref.vert": [ - "ac68e0961ba8519f78ff46895a579babf4c2edb2", + "0e1d365b3bce3a974831d3a5d94c8ca113d88486", "support" ], "conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst.frag": [ - "c42cab02cd70e241e08e815045e4978f01189a5b", + "ec0f1c2f35713e503972214f891f3f97f00c0d81", "support" ], "conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst_ref.frag": [ - "0d8536deb5e201609ed7fb6c313a2dc76184a84f", + "a50f454850619a798988cc056915f92cdb69f83b", "support" ], "conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst.vert": [ - "10af621c56b63b282d950fba75aab2a22bc9ba4f", + "80d186c978ac528190a4822a8216c16a7bac2a94", "support" ], "conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst_ref.vert": [ - "998adae0c9f79f65c96051baa2570cdcaea07a32", + "41a04ef6035b492d6796059c3e5d9090d3ced601", "support" ], "conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst.frag": [ - "249a197c0b6158f83f41453686e503d9670f6f29", + "5db1d0fc5fcddbdae38acb45ec8df9eaf17f935e", "support" ], "conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst_ref.frag": [ - "9fe3d5395be5731f89530e17c89b671596f9ab88", + "fb68855f7fd78b7a9a917731b13d474b77ccb5de", "support" ], "conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst.vert": [ - "bd9ef4410fda2de8c51cd3006001169057291e66", + "a745681dd555f4b63a4184d78ec83387dddcc288", "support" ], "conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst_ref.vert": [ - "f219af1c554646b575d09e72a92975c21a484d0e", + "d08a74620a8985fd73d40caa74ed6741072fe4cf", "support" ], "conformance/ogles/GL/faceforward/input.run.txt": [ @@ -30788,55 +31708,55 @@ "support" ], "conformance/ogles/GL/floor/floor_001_to_006.html": [ - "6672240850475927ec73b1baada54b0637324218", + "75d2d91675ccbf46e8478b11d4d5fd746482d4c6", "testharness" ], "conformance/ogles/GL/floor/floor_float_frag_xvary.frag": [ - "9667e12200a0ffff2fd55d73f07d2c2600ae170f", + "3f91884187020e2d70087c4644689a1cec2ab524", "support" ], "conformance/ogles/GL/floor/floor_float_frag_xvary_ref.frag": [ - "4d204c14caa6bbc6150880f058954777be5adcbe", + "11ec5e6e27535c1970a465a333a8fd194423023e", "support" ], "conformance/ogles/GL/floor/floor_float_vert_xvary.vert": [ - "e37d734cbb57631299a55350a1040cdee370afb2", + "1ed8d39c66562b7458ccb9abbdc5eb8b892646d9", "support" ], "conformance/ogles/GL/floor/floor_float_vert_xvary_ref.vert": [ - "5aa674a9082c4689b9c11b88af70423a25e58463", + "5be14322e693898dda9e3af04911cd9e24906bb8", "support" ], "conformance/ogles/GL/floor/floor_vec2_frag_xvary.frag": [ - "c8e766088fc4b651109660e69943c2803acf6062", + "1a56a4fcf47bb2509ea20dc9d65dc92d956186cc", "support" ], "conformance/ogles/GL/floor/floor_vec2_frag_xvary_ref.frag": [ - "3cf50ed32b9ff38defcfe5d0c15f0925e59e6a44", + "f8aba8d5e625f8a44c131281c409d940c2559362", "support" ], "conformance/ogles/GL/floor/floor_vec2_vert_xvary.vert": [ - "ca236c25957d4619fb1fde44ee7d9b792c83cb6c", + "c977d879b22cc742cb9e8234447f942e769e9047", "support" ], "conformance/ogles/GL/floor/floor_vec2_vert_xvary_ref.vert": [ - "df3971a05f38b952e32641ad3c38544b739720c8", + "232d5fee3a535bc5e7ff3d2571af74f5b2b6ac72", "support" ], "conformance/ogles/GL/floor/floor_vec3_frag_xvary.frag": [ - "6417831cba786bdeef67ef2e9e54d9fd038e7b69", + "bb7f72018d712e85085775c9e882d3772046ead6", "support" ], "conformance/ogles/GL/floor/floor_vec3_frag_xvary_ref.frag": [ - "90e0c5718a3dee8ed631bd65a76fbb63477ae2ed", + "1209631ef0fc061710703d0c6ecb5c2c8785255c", "support" ], "conformance/ogles/GL/floor/floor_vec3_vert_xvary.vert": [ - "3f012ef149334c02db6d452c848ea091d6ea503f", + "febeb930c41c80e5ff2a784c22da6c59e4285183", "support" ], "conformance/ogles/GL/floor/floor_vec3_vert_xvary_ref.vert": [ - "3ef5e1ce81a21acdb00ade3374b744ed46cfd339", + "247aa1aa35d614e1ef51dab27c867240f45f2d2c", "support" ], "conformance/ogles/GL/floor/input.run.txt": [ @@ -30844,55 +31764,55 @@ "support" ], "conformance/ogles/GL/fract/fract_001_to_006.html": [ - "d31a59ac159463463b0fb9ceb5626adff219da8d", + "0fde847696ae0cfe29938db385e470495170bc86", "testharness" ], "conformance/ogles/GL/fract/fract_float_frag_xvary.frag": [ - "89346da5d60a65b41e74510e864c28e66f4ec948", + "8ad6c92f96859ac5d8857bae56dbd2245eba810f", "support" ], "conformance/ogles/GL/fract/fract_float_frag_xvary_ref.frag": [ - "66e7dd32d76120e70a8c272e9dead1176ca85609", + "2105d7fcd7804140add651ec72f20415259225c6", "support" ], "conformance/ogles/GL/fract/fract_float_vert_xvary.vert": [ - "b42232d7c402d1d15e145807a734afbed6d5318b", + "8724037ff689953400434a6aef88d7ac0f633891", "support" ], "conformance/ogles/GL/fract/fract_float_vert_xvary_ref.vert": [ - "03708491768f72aa3ae1d4fd1ab775d7e85384d4", + "773fd79049ab35fb683f22f851b0f0beef56d7e2", "support" ], "conformance/ogles/GL/fract/fract_vec2_frag_xvary.frag": [ - "8efec3db5d51bd1c516d1890981dd68e617501e6", + "6d9e3fa0bd19c661c6903737ba06b9abdac186b6", "support" ], "conformance/ogles/GL/fract/fract_vec2_frag_xvary_ref.frag": [ - "51f5952962595d089360aa1c1c634c33751da2ec", + "222b2e96f570634d0bb7024d91d15d2af17e2526", "support" ], "conformance/ogles/GL/fract/fract_vec2_vert_xvary.vert": [ - "24b18d82401609f59a50764253902ce9357e9003", + "bb8acce361aa59a0e2066ccc965c8d6e936087d1", "support" ], "conformance/ogles/GL/fract/fract_vec2_vert_xvary_ref.vert": [ - "8a4b0303b4cd1478172ccf3000d544e0921f0053", + "31546ff4a8234259312c09ef53a9999b96ec3855", "support" ], "conformance/ogles/GL/fract/fract_vec3_frag_xvary.frag": [ - "93737bbbce9876a7e8cbe819929915767817b86b", + "bf409a7a0402d20f1abab970c803d5ccfc6f183c", "support" ], "conformance/ogles/GL/fract/fract_vec3_frag_xvary_ref.frag": [ - "0e8f6eca8f4fd72fe77565d2ed58795c8436fad1", + "8a68423039404399ad01e6959176dfca7e9963b6", "support" ], "conformance/ogles/GL/fract/fract_vec3_vert_xvary.vert": [ - "63f7406afeccf355684dd1b1c8d29b0ca6bb15f7", + "2d83b0348009697e6c982ebc2a68ba12e22d6c98", "support" ], "conformance/ogles/GL/fract/fract_vec3_vert_xvary_ref.vert": [ - "011c4ba1a9145ef509506608fa7d536c42807cde", + "5092c8533933d9ce736cdbe06b024df004ac2e4a", "support" ], "conformance/ogles/GL/fract/input.run.txt": [ @@ -30900,275 +31820,275 @@ "support" ], "conformance/ogles/GL/functions/array_float_frag.frag": [ - "fa50dbef9a13a1a71b9199a9b757c7b8c5d8f958", + "594afd9409f322a3525d120a4a349f67bbcec4da", "support" ], "conformance/ogles/GL/functions/array_float_vert.vert": [ - "349ebaa7d5514939290f5adcbd827c00b2511540", + "64d23d278ffcc2c5a257cfe4344df26088110e57", "support" ], "conformance/ogles/GL/functions/bool_empty_empty_bool_array_frag.frag": [ - "acd10eb4901a694cde9f8eacee1f9b23e02b622e", + "6ba41dea09207ff796a1de71d2e6bec0e8dafb7e", "support" ], "conformance/ogles/GL/functions/bool_empty_empty_bool_array_vert.vert": [ - "0f9e851b5e615121e8a7ca53fe3cf609aa8e581e", + "3d643b152394ed8483a74411c9a63d69cf4fd604", "support" ], "conformance/ogles/GL/functions/bool_empty_empty_bool_empty_frag.frag": [ - "6f14b710e08acce57357b849b9a04b37617b2112", + "900dbd2630694ecd5826f1758f353d132ea3294a", "support" ], "conformance/ogles/GL/functions/bool_empty_empty_bool_empty_vert.vert": [ - "9c1fdcec268dd3eb10f253eb4566b4b2d2ca4895", + "bbf763e948c65e23dbd32789b84fd12d4ede7184", "support" ], "conformance/ogles/GL/functions/bool_empty_in_bool_array_frag.frag": [ - "83a6770637fa2e5e80446c38c5debcad2a992759", + "1d08ca5e063b3cfdbcd44d4095b565f2f1bb8368", "support" ], "conformance/ogles/GL/functions/bool_empty_in_bool_array_vert.vert": [ - "b58d275bd9816b7a2722d7fe88bbf13cf2c23721", + "f8b3ec065534c5f03e4877677218364a2d45612e", "support" ], "conformance/ogles/GL/functions/bool_empty_in_bool_empty_frag.frag": [ - "da6dbbc2b50e2e43ce6fc0eb4624782af933f455", + "bfc49e26f78645ac3e5957b44ebdb897a95c1086", "support" ], "conformance/ogles/GL/functions/bool_empty_in_bool_empty_vert.vert": [ - "fe8195471499d59086e22cc696f89c835bc54813", + "a2d51b77d9ed83b7d517a731734450da61a85eb4", "support" ], "conformance/ogles/GL/functions/bool_empty_inout_bool_array_frag.frag": [ - "383c4b25ceede7469730bb9fed27a775a0a7911e", + "51adf2723c3133d3a3e89cb6371880e34d1dfcdd", "support" ], "conformance/ogles/GL/functions/bool_empty_inout_bool_array_vert.vert": [ - "0c50d1db6a7c4c50c9e2ab76fba74ad3966de3f4", + "43429dc9462d4ed2b1cf6862ddd1008a62d63cc5", "support" ], "conformance/ogles/GL/functions/bool_empty_inout_bool_empty_frag.frag": [ - "68f4eff3755cd63fd896c2aa69d93c568ddf19d1", + "af091de6bdd4ba1d9dd8ecfb9553244ac70a6f3d", "support" ], "conformance/ogles/GL/functions/bool_empty_inout_bool_empty_vert.vert": [ - "bd245ce883365fcf1547dea857d72992f6263552", + "41552dfeef5e303d78dd965593baaedcd59db627", "support" ], "conformance/ogles/GL/functions/bool_empty_out_bool_array_frag.frag": [ - "f598ede7f3e084e8e9e623bff3bd173e3a37aaf4", + "10df063d00cdf3b2a87bc05267369eb7e9731d8b", "support" ], "conformance/ogles/GL/functions/bool_empty_out_bool_array_vert.vert": [ - "8c3f47dd74657f55c18bfe5d3986c793f2620511", + "85615ac688949a672ff0c3d800194ecb6f5b99c9", "support" ], "conformance/ogles/GL/functions/bool_empty_out_bool_empty_frag.frag": [ - "74ac735c10aed2dcc33f3798e30859c858883b0b", + "0a67173a2437a09c5cf8dc8ab5f49c3fd8edf3ff", "support" ], "conformance/ogles/GL/functions/bool_empty_out_bool_empty_vert.vert": [ - "3b84efdc2840cf6b47752f376a676d7444045262", + "92a46a9081e3c78b8ba687eafd3a99dcfabc3260", "support" ], "conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_frag.frag": [ - "6a88d9bdbf2e356419b8dd7143dc4dacf913c253", + "f8a77b8988c8db550b96daf2e52c56296ba43ce3", "support" ], "conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_vert.vert": [ - "44f45e6fea09504197c3fa2b6482a6aa6e6562dc", + "1a528b8cfb4914ca989ffa9c9f391fa11611ca79", "support" ], "conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_frag.frag": [ - "253f472c04d110ac5fef0e9f5c0bfa7a0c5789f4", + "d2f5c7e29607cf8faf345684cf6b6dd9f137f440", "support" ], "conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_vert.vert": [ - "673cf8289954bdc35c24476026f75fc67e7c3f80", + "e3354f23b933cee831b0c072a60ad35d8ede005b", "support" ], "conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_frag.frag": [ - "0294981196d49c1b932dfc299f2e1236f3213785", + "f4479e6802e83161fe433474b2bcf5e90766c98b", "support" ], "conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_vert.vert": [ - "6d638e06465e977b3e3a4f846194c7d0835faeff", + "ae5dde8038ac9b709e24f163d4d5ef96a6e2d795", "support" ], "conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_frag.frag": [ - "daca8de0718079d1a2d0db2fc45e9e1fbcf61301", + "a13cee3abae3e4dc801e4c905e205c8d8be5ebc7", "support" ], "conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_vert.vert": [ - "85d8882a19f5edbd913a9e2ff164ee15334dc19a", + "b919bf6b86408e2dcedef1c7493c779198dd04cc", "support" ], "conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_frag.frag": [ - "9a96ee1f56fbac53ee9ae64dd0ebb5197c941707", + "e61a00534bdbbd2637410292903ff5fba2bfed9e", "support" ], "conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_vert.vert": [ - "5d2d8623d665f1ef8b1e87d1954d6c44f1d2260d", + "710ff576a3ac79c3fbbd4cba8c0b961a50bd411a", "support" ], "conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_frag.frag": [ - "71d9d03600df90666c038588cfc3f32bbcd7fa6d", + "5a114e9be3e51e957165ae6b66514cff61023995", "support" ], "conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_vert.vert": [ - "e12d31ea7e62e0166da13b3405270bb2940ce32b", + "92f5db9a4c6c3f3d0889ae356cc11a547b818e4e", "support" ], "conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_frag.frag": [ - "000360d440589a4482cb38a91610e5a04cedf468", + "e1f4a1f915d03cd76a6ddf84ad6be7636d3c85e7", "support" ], "conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_vert.vert": [ - "5c60578516cd75a7700c215d95c1ff445ba1ab90", + "4f8820bc45b58d0e56b25450d7530adbd9345461", "support" ], "conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_frag.frag": [ - "f62a0a4d841d4efcff78c1b21c0794e39545f81f", + "e3f50a63f12a5bad3b9262df752c24d2d25670dc", "support" ], "conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_vert.vert": [ - "1f9bc63c093832d6f65e5e8de2ffd56a3e8e3a22", + "b64a447b1964eb79ffffe28ef903ccbd05536fbd", "support" ], "conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_frag.frag": [ - "174df3409ef68171b460b340cabb0012644294b1", + "1f923620085b2e02c9b84fa85a30e6c6c59a31f4", "support" ], "conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_vert.vert": [ - "b4c0c53e95311121e329ecd1ffd732f0b51fa404", + "99c318fe7e1a1ba5d0d934f3189c1ac4b04e0801", "support" ], "conformance/ogles/GL/functions/float_empty_empty_float_array_frag.frag": [ - "4ef2ae2b979faead5221521795473944a8b09bb6", + "b3a130eec1f572e797ca34e194b4116b770d4e5d", "support" ], "conformance/ogles/GL/functions/float_empty_empty_float_array_vert.vert": [ - "1efe098847d7538edddb745ef0ca68eeaa2d83c6", + "4763c1ad8ce20f1bc4916d585075c73f4d238cf0", "support" ], "conformance/ogles/GL/functions/float_empty_empty_float_empty_frag.frag": [ - "cb08c8587f1d333858ae8ee86479a73564a8c7cc", + "51d735717dac43fab51a7a3e10b73da64404de86", "support" ], "conformance/ogles/GL/functions/float_empty_empty_float_empty_vert.vert": [ - "712afb72c3ce74bef264c7a5196747c83db49631", + "f41995b3ef8719f3a2a214ce99f3b190b3c69a45", "support" ], "conformance/ogles/GL/functions/float_empty_in_float_array_frag.frag": [ - "0f22071bb068c381e489bb69c8240a66cb14966f", + "33e0ab61112e542e2f25d2a4125c60528a1ad67f", "support" ], "conformance/ogles/GL/functions/float_empty_in_float_array_vert.vert": [ - "2cab511e80647e6ce49889476301610aee7c5253", + "a685e7345eff3939ec13636a9763f35b9f3a65f7", "support" ], "conformance/ogles/GL/functions/float_empty_in_float_empty_frag.frag": [ - "e3aeb54eab14b899293c4d278df94f76d60f064b", + "09870afe5006d0b858f7c8374d70ee02c9950fd4", "support" ], "conformance/ogles/GL/functions/float_empty_in_float_empty_vert.vert": [ - "471461028636ea16c9ff4f366176d636dfa775da", + "f1f47f3034a7bc510621a53ea67cc09389422b49", "support" ], "conformance/ogles/GL/functions/float_empty_inout_float_array_frag.frag": [ - "fd69f7d171d1c70097ad40420524118b5cbe1728", + "fd0fa109691a9d38f3c78594504d1643db9fa9fe", "support" ], "conformance/ogles/GL/functions/float_empty_inout_float_array_vert.vert": [ - "c91d06f7d1f2ce2581acc2df24f23eb9380d2de7", + "d4c82f266a7e5d8febf6a1d6789c5dd57daee421", "support" ], "conformance/ogles/GL/functions/float_empty_inout_float_empty_frag.frag": [ - "c986ee06754e1ae7b4745ab57de51279fe70a4f1", + "ce0d3d0c5b982d2f92b3181f8cbe730160c181be", "support" ], "conformance/ogles/GL/functions/float_empty_inout_float_empty_vert.vert": [ - "1c5883c459073c9b9236f790776412554a9c03a0", + "04d063561ae0dac03b9504f860db2cc87484fbd7", "support" ], "conformance/ogles/GL/functions/float_empty_out_float_array_frag.frag": [ - "45f9269e99b7d36a7607699cd7ef70e830eefc9b", + "3df819493695c30c914d9c0e736e59bbe3698eeb", "support" ], "conformance/ogles/GL/functions/float_empty_out_float_array_vert.vert": [ - "43478c9a6b8826f12f6bae2ec89ef65a60b1a19c", + "212f4e846b30eb721976e6e700465c5a7ed79da4", "support" ], "conformance/ogles/GL/functions/float_empty_out_float_empty_frag.frag": [ - "fe29e1b946c80cb0b33d96d8aefa0a407d28c4d7", + "c0aafb071e5f530c1ffb516267ff61a3c9ffcd40", "support" ], "conformance/ogles/GL/functions/float_empty_out_float_empty_vert.vert": [ - "f917bb49a72dd061bae7377ef8107966c6452072", + "48837c9f3d80002298ebb0a264c64fc9f7aeccc6", "support" ], "conformance/ogles/GL/functions/functions_001_to_008.html": [ - "51fc8031279147c47c0bba94283f5c2437598bed", + "309e4b491787524e5304a8e13ba2fe183b43f079", "testharness" ], "conformance/ogles/GL/functions/functions_009_to_016.html": [ - "42a244431c15e06f6d54aa7c7798c36b9a7c1ae5", + "3a055a2e567daf2700a43efda9407414eef06dce", "testharness" ], "conformance/ogles/GL/functions/functions_017_to_024.html": [ - "fe6ff72b2c45f98099943d13a714610f646bfd82", + "72e2585af436f23b5fa277803ccccd8b795691f0", "testharness" ], "conformance/ogles/GL/functions/functions_025_to_032.html": [ - "5a44115740c2e549284659f8220abedf15495943", + "32a7ef534dfecf7b5f7ef06fae8f83bd15559620", "testharness" ], "conformance/ogles/GL/functions/functions_033_to_040.html": [ - "2397ed0c09592e94bd8ac03ca78f5b6ca1d97c45", + "4a8723664b26b1cc180f4c5f850e7f15d51c0533", "testharness" ], "conformance/ogles/GL/functions/functions_041_to_048.html": [ - "8d73013230d01d71944be30ceae8b9c59c844454", + "0d3aee927835181214e450d2ad06ca0cc4bd56e3", "testharness" ], "conformance/ogles/GL/functions/functions_049_to_056.html": [ - "7186229c5f09bc88b9d5c7ccd6893fed92b6ef32", + "4cbdf62fc97f5ba5492b8eb5c23878a6d0d33667", "testharness" ], "conformance/ogles/GL/functions/functions_057_to_064.html": [ - "e203aba7973452b25a9a5533360e1679e67edc98", + "2c2545718b72e0d89ec6094028d849936db0a8bd", "testharness" ], "conformance/ogles/GL/functions/functions_065_to_072.html": [ - "915378f42d3722e89060e3a341daeafa10a8c4ec", + "d01ded0bd32d9757e68d56e93ecde9bf534290dd", "testharness" ], "conformance/ogles/GL/functions/functions_073_to_080.html": [ - "1688a21fd4e89e15988b6a065f81eed2415b00df", + "969754f71efcf7a3138f54b4de6dd73a8b69aeaa", "testharness" ], "conformance/ogles/GL/functions/functions_081_to_088.html": [ - "172918940157339db465f78f96db8c72abf12b50", + "08c0e1163e4c0639fd083c102199eae1e8f97024", "testharness" ], "conformance/ogles/GL/functions/functions_089_to_096.html": [ - "b1e157dd127254754d073f458340ac6f3963e119", + "35158155869e4a7c89d33a8bf6f300e98eed5769", "testharness" ], "conformance/ogles/GL/functions/functions_097_to_104.html": [ - "3ddd4249fe716e4ee7a85c25ec7a431f20d5c16f", + "2d5ef101d9f8db8535222f0fcecc4f5d235e27d8", "testharness" ], "conformance/ogles/GL/functions/functions_105_to_112.html": [ - "470e4b954aed1ab411e99e5cfbfe2a62603abb58", + "7d826450fd458e4925380bc76a482c6d28b4bde3", "testharness" ], "conformance/ogles/GL/functions/functions_113_to_120.html": [ - "97e49283661ccc16d7a613c0c196dd02b980eaa9", + "c97b0c2d4a23d72aa242d99a3d0e7fd946290e01", "testharness" ], "conformance/ogles/GL/functions/functions_121_to_126.html": [ - "5141746f55f14c2240e9efbc7459a51c479b4a4e", + "10eaee12a889bc9b5baff5f8c02e55c4007051bb", "testharness" ], "conformance/ogles/GL/functions/input.run.txt": [ @@ -31176,327 +32096,327 @@ "support" ], "conformance/ogles/GL/functions/int_empty_empty_int_array_frag.frag": [ - "36a904338cb9785ed759e83d7b4e6731b5410b8d", + "59a502afe666731766db08252ca380e8d9ae305c", "support" ], "conformance/ogles/GL/functions/int_empty_empty_int_array_vert.vert": [ - "9506f45bb4d8812b9bce67aacecf52aeec70d07d", + "8b9e0417debc239dd8717c4a0a36a4e4040b81bf", "support" ], "conformance/ogles/GL/functions/int_empty_empty_int_empty_frag.frag": [ - "ac6a68b851b1ef3c3cbe4ee338f3e405f22b3eb5", + "3f9fc443807b55cfe6c7547007e77796165b84ab", "support" ], "conformance/ogles/GL/functions/int_empty_empty_int_empty_vert.vert": [ - "8381f6fe3eec69f1de50087c46a8eec35521d7f4", + "73e895d7f435fbca80937d4148c846aaf8c97449", "support" ], "conformance/ogles/GL/functions/int_empty_in_int_array_frag.frag": [ - "2584a8661501be58328326d463a32c3c4aac20d6", + "b9e2910bcc4b87e76143718f94a9076e083669b6", "support" ], "conformance/ogles/GL/functions/int_empty_in_int_array_vert.vert": [ - "cff8a20358687b8ef4b7c0afd2b4efc247dcd041", + "3d807a18ebc1b5993f3559109bb5ec0ccdd6317a", "support" ], "conformance/ogles/GL/functions/int_empty_in_int_empty_frag.frag": [ - "0c36aff593dfa2c7a805f8616eef8762404f596d", + "4be3d649c7d30489a74cc248e3eae8f78e48e3af", "support" ], "conformance/ogles/GL/functions/int_empty_in_int_empty_vert.vert": [ - "2bc044cae7f035866ac6e05aff25c26aa5e9b34c", + "020d79492579ed605f292eff5e982a935647d057", "support" ], "conformance/ogles/GL/functions/int_empty_inout_int_array_frag.frag": [ - "bf2ced7d653c5a30c1caa7dd3276e87c36b1b6b2", + "91d71268d7a02cce80cfaecde90a44d496d44a8d", "support" ], "conformance/ogles/GL/functions/int_empty_inout_int_array_vert.vert": [ - "76f81ae9e10f5d39cf9027ad6be148dc6400ac1c", + "efaf9f449c7b8dcbf6427e7dff6f4bcb93015e7c", "support" ], "conformance/ogles/GL/functions/int_empty_inout_int_empty_frag.frag": [ - "5f72e1eb0fe95bb8912fed98bb5fa8b5f28892f0", + "e2780c41cab3f4b8c342a33189c6274ce7ae4849", "support" ], "conformance/ogles/GL/functions/int_empty_inout_int_empty_vert.vert": [ - "b2587b06fb64fa17d10f02088bb9caedcbbe9232", + "e252ac4cf458cb74e0189492119885173a7cd9e4", "support" ], "conformance/ogles/GL/functions/int_empty_out_int_array_frag.frag": [ - "5770868842ce7e912d47ca4e63ee7fc2e94451d5", + "a46c860f841ee7a28b239a620ab20f24cd697c81", "support" ], "conformance/ogles/GL/functions/int_empty_out_int_array_vert.vert": [ - "26b4e5ebb05e73ec50337d49e2b107fdf9f2ee96", + "5dd10b83375049206ba4c198ab80eb69aba71093", "support" ], "conformance/ogles/GL/functions/int_empty_out_int_empty_frag.frag": [ - "8f67f1245828196ca1fc2278ea3cc246a9d055e2", + "822948a2d9e1f46f3301052a730684d90210994e", "support" ], "conformance/ogles/GL/functions/int_empty_out_int_empty_vert.vert": [ - "d6856863206f89ecd222e3ac516a4a3ae95406cc", + "6a5d0b85c320eace63a0fe187bab3967fedde964", "support" ], "conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_frag.frag": [ - "838e8d42af8191d1d604f0ec436693b4093ca698", + "1ee72fd7fe6d2d438415f1dadddb6f06f2551fea", "support" ], "conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_vert.vert": [ - "80b2d77f9bd55ca646d5d25e49d430e1854c521e", + "82be12d556dc679b47c73b8af6c9ee5f17aaca2f", "support" ], "conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_frag.frag": [ - "21adbbff5347e97653610bf363315910a8c61b3b", + "1a66f95e7a6cb246d51c241e24461650cba2134d", "support" ], "conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_vert.vert": [ - "1e4752fbc441497bb87faaf2795343469f74b110", + "3680ca051011dfa85289ba826de31d41de98e885", "support" ], "conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_frag.frag": [ - "2b4ed085f0c9fc8eaf469f9ef469a68300345a25", + "7aa71b48a26a578b7b1de1f6fd501105758f91ef", "support" ], "conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_vert.vert": [ - "51bf4e7f1bf9e4fee17c3cf4c40ffa2242108d26", + "df24cc8ff79c00cb7ca03f702ff765c46b87ef4e", "support" ], "conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_frag.frag": [ - "af08ef5b64b0148196e4aa0226db8cebe49d89ce", + "bc6c03adc4ee42e6bdcab076b309c982fab39039", "support" ], "conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_vert.vert": [ - "97a3c9eb113aec42cc5412a0cbd7b3b0617def92", + "1f0e3cd2b132f282e87fbbef2546d5d2598dd2d8", "support" ], "conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_frag.frag": [ - "f57d979e8a1ab152daf78308ba853343ba55435a", + "4aae9eebf67248ed2c165805af4f3f997c7eabed", "support" ], "conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_vert.vert": [ - "4828ef86149fa7eec6d4017dae83efdb5fa23d88", + "069dae62c657a5fa5b00b94e40624ebaebb6e42c", "support" ], "conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_frag.frag": [ - "ef44a18ef03c94bb2db3d33253ebb35c18d6b818", + "d2f509df7dca0d9ba4fcbbac28bcd671062f6e01", "support" ], "conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_vert.vert": [ - "ed26defea664be598e11a80c590f15189e98582c", + "0c69946a1651717a35ddd0fe1c8b689aaccfffe4", "support" ], "conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_frag.frag": [ - "b9a65d09dbac7a5b8ad20bf1f75037294cb8fbb8", + "aa75e3262b5a77f0df42414ee7ac8d4f238beefa", "support" ], "conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_vert.vert": [ - "26381f22f28d61b458a9e44b2596e6658ee45fb7", + "40e9db60ca9692349ff7d99677f14ffef6a00524", "support" ], "conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_frag.frag": [ - "454a4b37e1c416cd555464f8c2dff0a5b29c22e8", + "88ec4b637a8a168809051abd48cb18bffb73b3ef", "support" ], "conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_vert.vert": [ - "68e40012c51f2326eef89f31e5c30d951bed47b6", + "c33908198fda52557cb8a0b379fd72f0df872c41", "support" ], "conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_frag.frag": [ - "0b6b11d17ec6a60b9d0c1da782c1619db578b91d", + "9886a204f3e781b5e0011f2ee2adb7632759eea4", "support" ], "conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_vert.vert": [ - "070c081aab6b8acace47c3c28bcd0fef917b11e4", + "1e376e399a47a060594218d2d90eebc69b5e9719", "support" ], "conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_frag.frag": [ - "1e26035bb173a3ffc2d19ce2a1f6ba2f30bc7e94", + "9ee51b4a870acfdc77a5251bb6641556dafad499", "support" ], "conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_vert.vert": [ - "f736539ce82b49d5d55c9bedc965653a61b7d327", + "fd810d298a59e2a8d70551988a58238698d4a56a", "support" ], "conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_frag.frag": [ - "bd8c939dc4267ee9db95b7759f5c7ee12de4d03e", + "284dcaa2e575433c276e8955402012d3f0fffa27", "support" ], "conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_vert.vert": [ - "c5c46000a555664692f8e49517cd499e9919bfc8", + "c3e32d3887f7aa9a524f7d8842612c6f6e10331f", "support" ], "conformance/ogles/GL/functions/mat4_empty_in_mat4_array_frag.frag": [ - "889ad965a9eba8720ccea6f8ab48066730ea2e0e", + "4f17432df395a9a52ac9b8eeefc183c66514a8bb", "support" ], "conformance/ogles/GL/functions/mat4_empty_in_mat4_array_vert.vert": [ - "31310a4ee41992909cb376f435741ca5efa8223b", + "9d28c3693b217b270acfb1efb4a5e32077bc6b53", "support" ], "conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_frag.frag": [ - "6635312331bb07b8b2863f4e617a9b56ee4c65ee", + "fd1faebce18b868843bcfc97fd1cedf751cc0974", "support" ], "conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_vert.vert": [ - "dc7fd68fcfb9f82b833c72d625622d9bfd5fa90c", + "d606b7a43f44897c3006f0c290c532cba2175840", "support" ], "conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_frag.frag": [ - "b80b51fe9366f636513473ea1932a1774e271f6b", + "e0d21a4f44456abfdeae841c213832a2c9aa40dd", "support" ], "conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_vert.vert": [ - "03c5da81c6468b725ee5e2dd06f79cde9fb57e88", + "981a119721efdfd1b61b2c143fb58ff795a62e40", "support" ], "conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_frag.frag": [ - "3e7e7af07a28ffc2496deafc4f02d512109b5aca", + "5ad7e175521778aa4c2a737d685480732657093c", "support" ], "conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_vert.vert": [ - "7005193df5000f080b4bc7b29188dfbc8220d699", + "b56fe2a97c5c73f6f4add03c7e2376cc8ad48c90", "support" ], "conformance/ogles/GL/functions/mat4_empty_out_mat4_array_frag.frag": [ - "03465b66ae70474b5b5b9712c946041699c332e6", + "61b5da604814549a96487df4833c795bf05da7be", "support" ], "conformance/ogles/GL/functions/mat4_empty_out_mat4_array_vert.vert": [ - "d40a427f8c8b2e6e23be90db6e72dc920defdd3b", + "dcccaa317c8de8696c59321c9444a899aca152c8", "support" ], "conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_frag.frag": [ - "021ef73b2fbc55d4c48b2f04ebb461f3ec22bf53", + "870ee304c73b5e5d94f5f99a29daa63bb1bde41c", "support" ], "conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_vert.vert": [ - "2250112fc0d1a036c88456fd1b60d81cad14ce63", + "12a42d34395058914337104c5e99a054b65658a7", "support" ], "conformance/ogles/GL/functions/qualifiers_float_frag.frag": [ - "6987176590b78ac75b9f6eb998318c607cc829fa", + "2328826d691fb6249ab70aeb14c9c6eab11f791d", "support" ], "conformance/ogles/GL/functions/qualifiers_float_vert.vert": [ - "f47f0b3ea9e90cd53398de5ab7c1ae54411b9a32", + "b5b7095b43e2e03d47f17f2553955bea50b29a12", "support" ], "conformance/ogles/GL/functions/qualifiers_struct_frag.frag": [ - "8dfbd16bf857c20e296b0511e1cbc0a024ddfa60", + "f176cdb0e4b716821fd14741d25904397326bd61", "support" ], "conformance/ogles/GL/functions/qualifiers_struct_vert.vert": [ - "c0b9a0c87125ade17b390347172b00a5056fc383", + "8d0b205be5b0d0d3e9d0690d854c3a04c83c9a18", "support" ], "conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_frag.frag": [ - "cb0bac163e7b3306446b52d10108397f88fbbef0", + "1ffc79ea3343e470cd4a4825261855f26d5fcbcb", "support" ], "conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_vert.vert": [ - "ed2f509e7a48a855de8ef06b624a6e8a5ac3f020", + "df7c8af7780d11b79b2e2f31249398e4ebb6097b", "support" ], "conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_frag.frag": [ - "9ddb6054830f29f6f0ca8f6ed5d860403d9a94a0", + "59691446f31b767cb56eac0b919502c7630aa099", "support" ], "conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_vert.vert": [ - "615c3699ec4c5c0c36edec3714c0add2ff29b0f0", + "f6ca32e10192c5513ca8a13898a36510b22e84b1", "support" ], "conformance/ogles/GL/functions/vec4_empty_in_vec4_array_frag.frag": [ - "9e432947dc5911aa645744a29930b86e353d44fd", + "9120bb3812f04621350944fb9ce53516a2c31163", "support" ], "conformance/ogles/GL/functions/vec4_empty_in_vec4_array_vert.vert": [ - "7cf5f2b369c7523f21351bf0cf40bc04a683a385", + "4805d42fd5140401bf1232be8bcdfce3a5159c66", "support" ], "conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_frag.frag": [ - "9ef0dc6eb76c1dc81f47bdc9841cd37945f73e58", + "bbe63fa2874bfeb29ec6c03f89a76157e5cb35b3", "support" ], "conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_vert.vert": [ - "2ba6db3d7bc995783182745fa85623fab014eb89", + "c6ab4b4e5192c1d704597230d2bd906fe8fd8443", "support" ], "conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_frag.frag": [ - "a5ce111c6549a809d83037209f95bac2556ab90f", + "3aafe12675a1a908669e228620c8113eae993aea", "support" ], "conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_vert.vert": [ - "6cfb5a884b08af505590cf528ae7d11d94adc607", + "1c0d0451144ad3823275d8849fc5faac37213aa0", "support" ], "conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_frag.frag": [ - "d7efd29d53fbc535c9251198ace70c935b8e75a1", + "3f28f2822c31e9ca53dfaeaaaccc9e15634ed61f", "support" ], "conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_vert.vert": [ - "51f3f18e26c2001897109e77f11e2aca60d07dc2", + "7a3ba4e2e69f1acd1276f8b0e41f51d648de274e", "support" ], "conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_frag.frag": [ - "34b62197d4206faa249d525c3dbc5f39c7cde9b1", + "04a76748b73c3c424b8fdd23aa76c68f969bb8a8", "support" ], "conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_vert.vert": [ - "bccb0b331b1a673d5c82e9577d49e4ec2ce35f83", + "f35fbdd856d689bc5b7a1d17f28435c43de8b848", "support" ], "conformance/ogles/GL/functions/vec4_empty_out_vec4_array_frag.frag": [ - "72e231e73f11aefa4918cf2ff8795da93f4d016c", + "c8ebf2cf6be1f091ca6cc0b5d9d7fdb00b393e70", "support" ], "conformance/ogles/GL/functions/vec4_empty_out_vec4_array_vert.vert": [ - "6c020db049ad135dd3dd8c341cae18089cdf8df5", + "df37032afb83f03de0c823efe9ff2b4345a24d56", "support" ], "conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_frag.frag": [ - "409e9f973a334d65b7040f93ece1afa134f766a6", + "403d875650511fc944395656b94a5d4b2a5af113", "support" ], "conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_vert.vert": [ - "9bd473534686f945322cb8a7ff0cb0c7f73dbdb7", + "070945644dae87fe3d9f19280976468b43555838", "support" ], "conformance/ogles/GL/functions/void_empty_empty_void_empty_frag.frag": [ - "e9a889b4c18ed3bbc61bfb06320999d92d357ea6", + "c926874adbdc10ac22b0e3fc0adc27b154e46c92", "support" ], "conformance/ogles/GL/functions/void_empty_empty_void_empty_vert.vert": [ - "d8ba36de393402d2377d083f604d51cefa2a1892", + "ebb2711cee2e6e98a90a007ca729b86a4073b83e", "support" ], "conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html": [ - "738856f4b11a6460565e5a86eebd26edf7a4141c", + "674ce26dc7733cae9b568e5bcd87818fcab19dd6", "testharness" ], "conformance/ogles/GL/gl_FragCoord/gl_FragCoord_w_frag.frag": [ - "a19f71e95d26eb59c9a497a54e804712200253d4", + "3efa089c7a523806fd1119941714c811502f2037", "support" ], "conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag.frag": [ - "bdeb344afaa0709f733fa5dd8bd7c7238bf0187b", + "722b9a70ead43372706b15b72ec6718ee67db30c", "support" ], "conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag_ref.frag": [ - "ef3b837e14f6aef467d49adc6763f15217680b64", + "29a66e1b0b64933fb3860a20760e0edfbac6954a", "support" ], "conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag.frag": [ - "c0b698b995725d8713ce581d6d33896b45b030f5", + "a18d52494fcefb0d9e77df346b60e305733a1fe6", "support" ], "conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.frag": [ - "0e7091d16007e384b6004ab671a9cdc43625f714", + "7be3a42faad68dc25012620ab0dc1587bd82e6a9", "support" ], "conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.vert": [ - "b2b9da744ac30db53d969dcf3b9f88738a03de97", + "2779f89e2c8c1fc28f85d9962e7c98fe7d06d4fb", "support" ], "conformance/ogles/GL/gl_FragCoord/input.run.txt": [ @@ -31504,11 +32424,11 @@ "support" ], "conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html": [ - "ec3b33b7e281ec343e2434660ec02dd1fa86303e", + "ace8b2aa6a0a95fc05464d4ecae5bc52c95699b6", "testharness" ], "conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_frag.frag": [ - "568b9ab3bd5b5ef7eaf7116552055ed24a67c5b4", + "0c8d629ba2e19216af9eed88018cbf56ad90496c", "support" ], "conformance/ogles/GL/gl_FrontFacing/input.run.txt": [ @@ -31516,71 +32436,71 @@ "support" ], "conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html": [ - "00f45fc2c0a47670b53c25e590879d543d242b56", + "7fee4bb8e35621843fc60d783dc4b5400f299632", "testharness" ], "conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag.frag": [ - "be6ebcc3bb62459d7f5147099dc6cd0c6d0465fa", + "1a1f2f3b77f760e0933d10aeada64183d16eb49b", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag_ref.frag": [ - "c747b55e6cb242b190a125ff055b7ff7c1046c89", + "055d2c28e7450f40a0a2c3d5459aa2fc9a60ac40", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert.vert": [ - "ac1463ff9834b4eb61d135b88ce6212ca2e2a087", + "f883a87a25f6d3661b522965381f071457ffde07", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert_ref.vert": [ - "483460bba8176613dc39757094b00422993d2b77", + "5c62957a35a6c88bcf77a5ed98c43a4beaa003da", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag.frag": [ - "d627248c242ca9aee5dede63774ea9c49b567f2d", + "438a85f7d7c72cf3756f0a272cf55f38fb98ae02", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag_ref.frag": [ - "c8df660e655582bc14dc7fa38496a7198dd271d0", + "9c673688a6c2c69064f20b7d89b683f7c19a4132", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert.vert": [ - "eb2f9558d0428ffdc8e035d23ceecb1d4bb5abb6", + "6f7adb3febe6abb26689ad78378d57d778465c83", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert_ref.vert": [ - "963a0e8d9e6bbd039ea410496a3d3360d42b8933", + "7499d53ffa0d20cf7a4518ad652ce983087f86aa", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_vec2_frag.frag": [ - "bdbf90a9123e00754c254902208b7da9292e6295", + "b5f5e8e91228b215718a0423eba7f31111651e31", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_vec2_frag_ref.frag": [ - "724d8cf24466a5d3cab0f16c2ed7a86e39cb15cc", + "9265f2b4d0759a41d13277d223dae66ad6d7fa2a", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_vec2_vert.vert": [ - "ad9f6c3590d2d3b3f95669c96550266863ed5570", + "3354f3a37ead8f9f7a7a7858f74df4e88a967f2d", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_vec2_vert_ref.vert": [ - "629b83be52bd906ede1edc7a5b70efad5ec00b92", + "02bcfe21389c3791232919e0feba5a0f4237f2dd", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_vec3_frag.frag": [ - "3224b83e250d8e1aed2b1dba88b4db2063cd3057", + "9be0df0e462d583dd850a280666a3dccde0cf27b", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_vec3_frag_ref.frag": [ - "b8098fd088365ff94573f9244fec4c37da97297b", + "2f57d508f62370dfa42d929efb4d2bab948eaf7a", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_vec3_vert.vert": [ - "36ca71cbf70caa86be9b1cedda47ac9d67b1951e", + "64740d8046a53dd5425f58dc2ff5baee9d63c1a1", "support" ], "conformance/ogles/GL/greaterThan/greaterThan_vec3_vert_ref.vert": [ - "ac907371590512feea786f4c5c44fa3810785091", + "9cb211742579014f5f4ed66310614b06ef16805c", "support" ], "conformance/ogles/GL/greaterThan/input.run.txt": [ @@ -31588,71 +32508,71 @@ "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html": [ - "2eebd40a7c9b80c362fa58d301ec584940aeab20", + "2d854b04380685f139fd9312ffbc27d6a5feea03", "testharness" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag.frag": [ - "10070f5c969606b2d98c1c2566ab151dec177c0a", + "b58ffc8c1ee1132545a3402e17883e44b20ae752", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag_ref.frag": [ - "98d49bec6f8fc8ce8e0a0df142b2b5573f4b0706", + "1981e88488558391ae8af3e28fb4826ba1f36a6c", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert.vert": [ - "a6ef751b360226fb9571502e7aaebde597ebe945", + "a3d858e9adad7d0d384c19677eb21ee6dec25b87", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert_ref.vert": [ - "50e968a2b079f9f9c4976ad8119e574ac9d0d9cc", + "bc91611ee0782a41861e0d5999b40b3e69f9ecc9", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag.frag": [ - "b98be5cbf29fa1ca787fb5de6a7ce1ab29e995b0", + "d4f61eb6935ea56f6f4e0b717e85b5b5e6ceaf80", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag_ref.frag": [ - "9758130f4ef9c50d00974495f2f923d925d7070c", + "673621f85fd3ce5160a1d38cf7361bf41ed31339", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert.vert": [ - "189a4a40ba3dcc5844571096d79626cfacda8db1", + "7047c75d1ce4b49d2ce2f39baed5713c7e671911", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert_ref.vert": [ - "0472fb732674c44f744072ac3d3837386369e92a", + "b98de4a4c8f5b42f537a759bd2aeba2f6f760af8", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag.frag": [ - "3ee0a05d0fcdaba4f1621456a712aab165a2768f", + "33bb5d47e0bea2ce9338852eebe8806d6f3dab8e", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag_ref.frag": [ - "10015aad310354b12c3b33fea967b3d51ecee2db", + "43c2c8574dfcadf8ce0921957f66735a42268ddb", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert.vert": [ - "9d2d0ee36a4f260726611e9698bd5e2f808413d9", + "877bab3ad159c97e215a72b57bbd5e90159b0da9", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert_ref.vert": [ - "eede7bce94c5905d6146772535e7fc7cdd1b8fb3", + "0c5f0b7327d78427253f7f7c39487e59557ea41d", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag.frag": [ - "c3b525e4852df7cf6200c95f22034683d5c2c325", + "324f6a8f762070c63dd1446222fe53a01c059c2d", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag_ref.frag": [ - "039e81bf684e8dd4b7f149012f50f8207e80e590", + "d6f22f6bc25441948b3b73cc4613f0599395392d", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert.vert": [ - "536691187add2e85cd275f3d769514362ddb22c4", + "238e93958901becc430fc74490372e6688a9061f", "support" ], "conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert_ref.vert": [ - "903fb2aaffa3c398655e0587a7678f654522c6ab", + "d120e79a158581d72b706adcf44d1e557e852c81", "support" ], "conformance/ogles/GL/greaterThanEqual/input.run.txt": [ @@ -31664,55 +32584,55 @@ "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html": [ - "616b4c9c6a75535bccc72fdb0e92e3d2e88d848c", + "c48b075aeb92ad98a7a5c57b728d216d5afdf973", "testharness" ], "conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary.frag": [ - "0364880d4a427e894e017c79b17a4edd7052b1f3", + "f0e126954242d3a324e1adfddbea7611093b3b73", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary_ref.frag": [ - "f3711939efb22524dfbcd9116d42905fb99e090f", + "440b90b6ea827127a22d650696bd0a7b9eeac525", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary.vert": [ - "996067905840332f067abc5a96b53c800f94b81d", + "07f52dfcbf6dd6dcf56a3221eafede39e9ec9389", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary_ref.vert": [ - "da5eec05be9955a31d97cb9e6ac5b6ba7c82e5c0", + "293646aab5bb8e42548ff46348f72dd8e42f66c0", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary.frag": [ - "9150326df16cc3232922ce59e78e09da2ff1efa9", + "b7bfff05259bc67933edd02d3096ddf68d8dedba", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary_ref.frag": [ - "629ed3af7aa9a43ca1a6be76a89485b22c41bc2a", + "073da26ec368b4f727335811c3aa20985a5fd726", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary.vert": [ - "c205396bd8a8f7a17de6cf50bf0cf6e61b6a89e8", + "cab16ca18039f4d2651b5e59a444ec489a306b95", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary_ref.vert": [ - "c4971be71ba698c9eac5cd67f248e6bc954ae6f2", + "5fa9496931ee7b5cec8f33c5403b44d4e2e52ea1", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary.frag": [ - "b9d0deaf2e46b0066732f8fcd343f830574ff2da", + "935fd3ef744439e740d51b83efe20b226e33e180", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary_ref.frag": [ - "07cdd47ba4ed4d3223c1ed6bc85da28d030e10f0", + "60825321149fe594bdaf57d13919e24c6d2ff4ab", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary.vert": [ - "17ca8bd6484c76d4bbe0f88a670e1c213477508b", + "2cdd7593792704cc4b6ddb1228d648b5f15dc64a", "support" ], "conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary_ref.vert": [ - "01db7941bb89683b52513d8866893aa41c6d4326", + "f69629c7955707ceb5c2dbce90e97982c0d8f005", "support" ], "conformance/ogles/GL/length/input.run.txt": [ @@ -31720,55 +32640,55 @@ "support" ], "conformance/ogles/GL/length/length_001_to_006.html": [ - "efbaf722cbc3a6635c1379ed7d00aa6eee095ad7", + "d5848dce1f3fb6b5be7efafc313d7ba6e6a5fb50", "testharness" ], "conformance/ogles/GL/length/length_float_frag_xvary.frag": [ - "01327e17a8cc52c48d2e0fbabf719eead74c54d6", + "a82c9d35b0953c7aa6d9ac7ee33adc5ab37cfaf6", "support" ], "conformance/ogles/GL/length/length_float_frag_xvary_ref.frag": [ - "b3e64eeb5fdbdf4c2ee68841a2e3a5657d376ebe", + "1d8b5594dabbf29c1937efa6d138776322769a8e", "support" ], "conformance/ogles/GL/length/length_float_vert_xvary.vert": [ - "213c113f713107e099e4c508e0cd004541f6a25b", + "97fc87505db01ad2e4cf3f41479b086d0512867b", "support" ], "conformance/ogles/GL/length/length_float_vert_xvary_ref.vert": [ - "82e7082582991edce58b67df118304811f7de0fd", + "3d37b84fddd64ed8220533a3d69d16dee9e6edcb", "support" ], "conformance/ogles/GL/length/length_vec2_frag_xvary.frag": [ - "8d071144791300efd4aa6e89409e064aabbfdbb2", + "2d824ff60d8f0f4857433bd5d80585a9939a172c", "support" ], "conformance/ogles/GL/length/length_vec2_frag_xvary_ref.frag": [ - "4e2c8143656d8df7255e1e43599649e4b110dfa8", + "f322b4d5fc3039b523c908f996723f8b7a779360", "support" ], "conformance/ogles/GL/length/length_vec2_vert_xvary.vert": [ - "25822e9458070fc1bbd74fa5f11846af4f8e1c8e", + "5becfad2122244f7b068f56153662bba3a156692", "support" ], "conformance/ogles/GL/length/length_vec2_vert_xvary_ref.vert": [ - "803c4136a8342bda81d87b466e64191d86e987c2", + "37f22c220b6e54c7e46997fd7e8747dad9986510", "support" ], "conformance/ogles/GL/length/length_vec3_frag_xvary.frag": [ - "6ca237b7363cc613585cd302637058222e347946", + "7423f4c4c49fbf53e8a91f3831d894a0af8c8edf", "support" ], "conformance/ogles/GL/length/length_vec3_frag_xvary_ref.frag": [ - "9218c723e5a037826f07edfd1bde53f37080c053", + "f817d2b0fd142a5ea292562344c888ca060bf475", "support" ], "conformance/ogles/GL/length/length_vec3_vert_xvary.vert": [ - "d524c825a4f1ab641b260c1aa6865c3218d7ae53", + "2dc32aceb9fa90a88f7df5f3cb5be192b199acde", "support" ], "conformance/ogles/GL/length/length_vec3_vert_xvary_ref.vert": [ - "9ab69ee8e9f919bfa6f24811407d63ac7743ee6c", + "a4c07f034f51891d7adbf4e01f05dd293eeb8a96", "support" ], "conformance/ogles/GL/lessThan/input.run.txt": [ @@ -31776,71 +32696,71 @@ "support" ], "conformance/ogles/GL/lessThan/lessThan_001_to_008.html": [ - "b007a5bc2a29ec2a1fcd6a733b03179cf03c9c68", + "0c4b5d7c87c4904f1f18558f9b12ae016b77f15e", "testharness" ], "conformance/ogles/GL/lessThan/lessThan_ivec2_frag.frag": [ - "cf88e387be423cafe6f2eb96745328f593c45e9a", + "fa927f84441840ff6cf1d6826e56f3f23848f6aa", "support" ], "conformance/ogles/GL/lessThan/lessThan_ivec2_frag_ref.frag": [ - "43348c9a2ac823c0f8dd103a14f0c9ff91f210d2", + "a7919ceb1bc2d3ce62fd5df057d1262ddfbe5537", "support" ], "conformance/ogles/GL/lessThan/lessThan_ivec2_vert.vert": [ - "b4157a47e42e3c61e7f1998a2c86c50d75bbca4b", + "3b68c5ff9e7cdb3edeec07fb65935646c23fd9ff", "support" ], "conformance/ogles/GL/lessThan/lessThan_ivec2_vert_ref.vert": [ - "38443bc911f1d51b591e7c270af20754d7650240", + "34d5aa12349ed660995ee735a7c388b99c8426b3", "support" ], "conformance/ogles/GL/lessThan/lessThan_ivec3_frag.frag": [ - "6c98b2d76668a1b951322fdb9bbcf2f74c69446e", + "c6c65d17fd04f2591e52f786f71a59d7f06252e6", "support" ], "conformance/ogles/GL/lessThan/lessThan_ivec3_frag_ref.frag": [ - "8d68209db72ea016c8eedd26d297acc6038ffbac", + "ca4af5661f482b23ed01690e679c7f67e1674614", "support" ], "conformance/ogles/GL/lessThan/lessThan_ivec3_vert.vert": [ - "a0f10097f46b8d142e48947ae6f890a682f4f1f6", + "1368d20563cbb29378c92373c7d0548a7d184c49", "support" ], "conformance/ogles/GL/lessThan/lessThan_ivec3_vert_ref.vert": [ - "104f8a756896b04f25956ff4bcaac9de10322159", + "427e564bcce8596ceb2a7931a471240b79533db7", "support" ], "conformance/ogles/GL/lessThan/lessThan_vec2_frag.frag": [ - "9f051720b46a195499a3ee61eef4e6a83fc206a6", + "fb8235bd32237b8643c282b515097647877b987d", "support" ], "conformance/ogles/GL/lessThan/lessThan_vec2_frag_ref.frag": [ - "707338bc91061efd0f081f752ddd84e8895203ca", + "239c3c036288a7eff189f1a3fb88cc47f01f772c", "support" ], "conformance/ogles/GL/lessThan/lessThan_vec2_vert.vert": [ - "7ec3ea6a798a9f140b8bded1de9411ee1c5aa638", + "1c7a299b27ea5ccf29ab4dab6e91fe141c15d193", "support" ], "conformance/ogles/GL/lessThan/lessThan_vec2_vert_ref.vert": [ - "43aacf497aa47a381aac9db1e8486fd88d5728dd", + "e2a09eb1b606b99769abb89504cf1587e7c9bdf1", "support" ], "conformance/ogles/GL/lessThan/lessThan_vec3_frag.frag": [ - "1c6b25a78fb157bd212cb1b3a26beb8c8df8dd45", + "380c28d3c53c2d26eea913a58ab28269021a3da5", "support" ], "conformance/ogles/GL/lessThan/lessThan_vec3_frag_ref.frag": [ - "185d0452fba095c557c2556c1fa227f80882c7ac", + "e2306c5d2d1dbcc2e7c54939fcd2befd70e897a1", "support" ], "conformance/ogles/GL/lessThan/lessThan_vec3_vert.vert": [ - "34d09a66fdfc5ae710624dac4dad1384fc38b54c", + "194a1953e830479be8ab8cd860d0120532d6af9c", "support" ], "conformance/ogles/GL/lessThan/lessThan_vec3_vert_ref.vert": [ - "0fc1ed96f2e0b2fc616b07fe821ed18cfc6933af", + "9902018fc375a3b484784f06bd60eda02750543d", "support" ], "conformance/ogles/GL/lessThanEqual/input.run.txt": [ @@ -31848,71 +32768,71 @@ "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html": [ - "d699b43dedf887311f4bf6c17ce0ae4cff84a037", + "aca9d7b94d1c991834718f6db0a23a40093b544c", "testharness" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag.frag": [ - "431b781a383b1c18391e3e1262fb0974f6fb4ae9", + "397a2732b72f8725cc791ff4b45d09feb1a4a714", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag_ref.frag": [ - "85764035b716db93e8dc9515da0228249ff5adf2", + "554f4ea3f5cbcfed645917ca0d2e3c3aaafa41eb", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert.vert": [ - "7da0bfd57760b6ba2aa1759893c00764f0ce4bee", + "83a770a48250b8ab3408eb7bd9503db7b46d19b3", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert_ref.vert": [ - "47f48fe0b264795dd1d38d29e9e5179b5d5d6fcd", + "6b40030ca1a92b71e651ead35d1c89d6f72e83d4", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag.frag": [ - "f463b769ad4e0a34a202df953c01582e2d4e76da", + "6e06ffe547595a75b66d91ffda4530ff9af7dc0a", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag_ref.frag": [ - "7dffdfab5ce293bfb71ae6ef4b0cda6acd68fc96", + "29c7453b2e40b66fa6544fe84a089995d84137f8", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert.vert": [ - "f9aa6d6cb976d1060af07712fa4526ba5797bdf2", + "748b3ba828da2e5a6e2950ad06d77e094d0a4f63", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert_ref.vert": [ - "2dbba4e736dfffa4a9fc29c8382fcdaed8b36585", + "89b39f51d6075175c3aecf9b68ac7d65827eca09", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag.frag": [ - "0747829a489c09584f12320b6923784ca298a8bb", + "71d7501c1d4b147a68e8f4f0f059d3b27fe7c7f1", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag_ref.frag": [ - "d028dabaed706bd66d27db049e644bf3a313d06d", + "c14f657593aaaca2924cef1ad98e72703f74013d", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert.vert": [ - "f279b6414432e783ed331ae9791725f26b664e2b", + "ebc94285ff389448ca1f02cd456ffdf7db66876f", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert_ref.vert": [ - "f012c2e779c09c24dc95c13afcf04758b28f1ecf", + "07a77b0a18f6b17930445ba91aae9d0b5fc2d66d", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag.frag": [ - "cd682ac7316bf12753f817ff6cf0017b104cc963", + "7351a8d0f7dfbb1dea6fccd5d4a5135d8c62b135", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag_ref.frag": [ - "bbe3f9a82231e883a5b2ba6eaab1328115d62bac", + "d33f35d0f40fbbc760604cbad9a5e09912e60995", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert.vert": [ - "6693b8ac8ff7f8cc2f40508605cfd8885f166b71", + "4ac0e0a8276661fa7d9e24adb6d85ac3ddd49206", "support" ], "conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert_ref.vert": [ - "bcf0a075d1fdab5d9815927e865afa6fc8dee57e", + "52b55abb15be50e279ac7784a55bae04a2bcd677", "support" ], "conformance/ogles/GL/log/input.run.txt": [ @@ -31920,107 +32840,107 @@ "support" ], "conformance/ogles/GL/log/log_001_to_008.html": [ - "a8e2305810b8123c9d34c37a21bcc3331c1956c7", + "ab44178f664a7e7da7d137e5ee08c38410ef13cf", "testharness" ], "conformance/ogles/GL/log/log_009_to_012.html": [ - "cd27869fca48b468a861534f27a39af56add9643", + "1e362043d8599d16ab6c2bb53793fcc6ecbf405d", "testharness" ], "conformance/ogles/GL/log/log_float_frag_xvary.frag": [ - "887fa58a211ce4dda6248974fd3bed2cbee53aac", + "c4685cc82dd458959244b03205ad008f9a192a10", "support" ], "conformance/ogles/GL/log/log_float_frag_xvary01.frag": [ - "e8c06718834f69c9f2a3263ba0c2372d255e16ce", + "c9a26bc037bfc7ada5597a11f3e46d0ec6039918", "support" ], "conformance/ogles/GL/log/log_float_frag_xvary01_ref.frag": [ - "816a0793cadef576b50d50081942bb37152d69d7", + "c255e618b9228965dd3ec5ccd7c9a928d802a4c5", "support" ], "conformance/ogles/GL/log/log_float_frag_xvary_ref.frag": [ - "855b8f2c888d6c4932868c1a177562ce8431f9f5", + "472235d605e35f70a24203eafb8ef64f82d25e63", "support" ], "conformance/ogles/GL/log/log_float_vert_xvary.vert": [ - "f054b932a45993bcbbde99898e5a56116a26ac2e", + "b6361d1d6634f5bb2aec005bb20044fc93b54172", "support" ], "conformance/ogles/GL/log/log_float_vert_xvary01.vert": [ - "5a4ef43b370f704076d7c5b2c764967818111a95", + "258894e5a6a2bb889760935b9226a1a56133eac6", "support" ], "conformance/ogles/GL/log/log_float_vert_xvary01_ref.vert": [ - "b0469e33560338a76fd4a6ecd7aa40324534e229", + "fb19501b226c448f703371f523d1561976c7e891", "support" ], "conformance/ogles/GL/log/log_float_vert_xvary_ref.vert": [ - "94fc895466dcd3b91e647c724020b2ed43706451", + "4df24e358f834154a111b447b078e4e7302aa1ee", "support" ], "conformance/ogles/GL/log/log_vec2_frag_xvary.frag": [ - "644f2c44881e1c9e55db8bb0fc9869bfc6cbaa58", + "9ecfb257690efe7e8768ec2b121f141a99f8f930", "support" ], "conformance/ogles/GL/log/log_vec2_frag_xvary01.frag": [ - "08562f30ab062b6ce2b0b3be51d18be36b2c4b8a", + "9b36e90c38063caa99c1456fcc1889bb3d3f2ee9", "support" ], "conformance/ogles/GL/log/log_vec2_frag_xvary01_ref.frag": [ - "d37c1189e070942e8ef1f0cf95e1e9d79cd7df4a", + "5496f9db10ca513295b6d7fbab180e3af34b8d83", "support" ], "conformance/ogles/GL/log/log_vec2_frag_xvary_ref.frag": [ - "5b5187f09f548341e269674bab2139c79e6a6d11", + "01d706c9dfe7bfd7ae532a7f301ff021d098eae3", "support" ], "conformance/ogles/GL/log/log_vec2_vert_xvary.vert": [ - "47d6c98b0a2af6fb1fce932f15b3bebd49b93756", + "95dbc058b43c5490ef915cd3c4d0f8ae95903e9a", "support" ], "conformance/ogles/GL/log/log_vec2_vert_xvary01.vert": [ - "aea2887c77d4fefcca4492ab8551f1b913f81fb3", + "9bd23ab760e8056d4c99b164a255b339a5df05d1", "support" ], "conformance/ogles/GL/log/log_vec2_vert_xvary01_ref.vert": [ - "9ce31b5ceae73310260375a87d7e13f5f43ea751", + "3a23b5aa61e01749b5830776b719c29899813c20", "support" ], "conformance/ogles/GL/log/log_vec2_vert_xvary_ref.vert": [ - "62c37cd7abeaf1cf763369aaedb1cc4d76062aef", + "4996ed1ee48b94dde79709933855c68ef6c7a123", "support" ], "conformance/ogles/GL/log/log_vec3_frag_xvary.frag": [ - "cdeaaf336bf88dc91876bf6fae4480d0645580d2", + "eb2db1ac8bece5be5b6b7871d1d856e36e9587f6", "support" ], "conformance/ogles/GL/log/log_vec3_frag_xvary01.frag": [ - "675b99513445d50f142bb4b3157fa3685b33b3a1", + "a19f80ebc746e9a04ac17bce1f3f9e6c567705df", "support" ], "conformance/ogles/GL/log/log_vec3_frag_xvary01_ref.frag": [ - "3180e4e9fc48d779a32630782980c1f3dfb2337c", + "1bdcbc690427a1a905fdde31d6995f8632d4a732", "support" ], "conformance/ogles/GL/log/log_vec3_frag_xvary_ref.frag": [ - "07f7a19aa5888614709bfe2103b9a6a22739541d", + "74f4cd8900862237db6f33fef2ae6293aff3fd54", "support" ], "conformance/ogles/GL/log/log_vec3_vert_xvary.vert": [ - "55797f2d0fea7eb35e89f8c1fbaa902a6c52a6bc", + "76627e5fde33f1f8feaa0297ea726995ed3445db", "support" ], "conformance/ogles/GL/log/log_vec3_vert_xvary01.vert": [ - "589f0695768c6eccef669cd505923cdac71c277a", + "48d13cd75e9de26761ed26a47c5db6f57d54c817", "support" ], "conformance/ogles/GL/log/log_vec3_vert_xvary01_ref.vert": [ - "711eaaaabf3dd6dd96d02e55a25b924ea279919b", + "3905ef7cb9bcc722bd693a9b870c11140693e3c0", "support" ], "conformance/ogles/GL/log/log_vec3_vert_xvary_ref.vert": [ - "a7b887914343e31fae92c9b96941b64669b98533", + "c17738cfbcf7ed5dfa77864d3d3721c451e6ef83", "support" ], "conformance/ogles/GL/log2/input.run.txt": [ @@ -32028,179 +32948,179 @@ "support" ], "conformance/ogles/GL/log2/log2_001_to_008.html": [ - "3b1669c337041820d71f27bd9067b0cbcf21888e", + "4246efff59da2ed4340eb59f55ccbc983e96b439", "testharness" ], "conformance/ogles/GL/log2/log2_009_to_012.html": [ - "3993bd5a284a4b6bdb09eef7d7ed164b815c4c8d", + "e7abb0ba78fa60b721a8ecee8e3a3a78953292aa", "testharness" ], "conformance/ogles/GL/log2/log2_float_frag_xvary.frag": [ - "6ecc53ad75dabab91f2c78288da806a8aff43b4f", + "06c6a090a542a36911fa85130d26408af56488e0", "support" ], "conformance/ogles/GL/log2/log2_float_frag_xvary01.frag": [ - "a3e5face63b0acb3035a1cc315c0e0556e20fb8f", + "a6f3341cee6f78aac95e452b73fe782d35bb9109", "support" ], "conformance/ogles/GL/log2/log2_float_frag_xvary01_ref.frag": [ - "4408f3199ee1c8a6250072420551beff13adfd7a", + "2185924efcacbd53e89b3203a99bb85c8d5f13e0", "support" ], "conformance/ogles/GL/log2/log2_float_frag_xvary_ref.frag": [ - "c9ab579ee0c2eedb8aece228200bb4b8877663e0", + "c43ea54d06f4298990c045596cd267844c59228b", "support" ], "conformance/ogles/GL/log2/log2_float_vert_xvary.vert": [ - "bc0ac9327ea90d5180cd3b505713c70968f5974a", + "51123e0cd2b0558a32026be80073a6bbb83aa067", "support" ], "conformance/ogles/GL/log2/log2_float_vert_xvary01.vert": [ - "4f4c12f08fe1ea46946295f9461cbd009babfebe", + "1356d8dbd497cddd3e4c9af5e61ccbcc149fb79a", "support" ], "conformance/ogles/GL/log2/log2_float_vert_xvary01_ref.vert": [ - "1cc15b6a1bbc8e6b9d6886b9f394b99ff782b39e", + "4871f988b789aff0310ae7019a51c95ecb30d5cc", "support" ], "conformance/ogles/GL/log2/log2_float_vert_xvary_ref.vert": [ - "6fe563e8a270c682205b08b43b2912485ae01304", + "ba305ff36ccb665cdc75694c0b93abeaa4e73c2d", "support" ], "conformance/ogles/GL/log2/log2_vec2_frag_xvary.frag": [ - "d17882eec828e36f17bac03a7e08a6d383ed3bee", + "e103f8fe58d85681c20fb288bf9b8d16934e4a43", "support" ], "conformance/ogles/GL/log2/log2_vec2_frag_xvary01.frag": [ - "d50f56ede0b714d4116d24f4e3b9cb54d2fb056f", + "c1646e3b0ba5dd54906006ba8bddeed77330547c", "support" ], "conformance/ogles/GL/log2/log2_vec2_frag_xvary01_ref.frag": [ - "e0043f653feda7833a9c93974e269e85723d6450", + "b360fd2d9cec98ceaab3f21aa97405afb33db0b8", "support" ], "conformance/ogles/GL/log2/log2_vec2_frag_xvary_ref.frag": [ - "372d5dbe41db65a5a5b22b286e61886a5da495a6", + "ba37c09cca2144e64bc8bd8ec8d298ebcd259071", "support" ], "conformance/ogles/GL/log2/log2_vec2_vert_xvary.vert": [ - "0a137ffd8427392e2523c90ddce1767e13addb79", + "81f012a45149d752d77776e054b08040d190d1e1", "support" ], "conformance/ogles/GL/log2/log2_vec2_vert_xvary01.vert": [ - "1ae9de1316b2bd9cad4cde8d661f8b5951923a0b", + "0cfaf57468b13a48c22cb7961a4e854723071382", "support" ], "conformance/ogles/GL/log2/log2_vec2_vert_xvary01_ref.vert": [ - "50e6c1120739680dbe691eef7b1a8fe4f579a487", + "835f3da1cb2cdbb8851be46a38d54ea1473514a9", "support" ], "conformance/ogles/GL/log2/log2_vec2_vert_xvary_ref.vert": [ - "7185ac9bfc504502425bac5dde35a802cfd060f0", + "8f79dd446979b86478620e8081aeda697d6591c5", "support" ], "conformance/ogles/GL/log2/log2_vec3_frag_xvary.frag": [ - "391fbd72d455455208d6dfec45aadd85fa6ad5f9", + "2b406997e1651351e6ac1845ab36d568103fcf45", "support" ], "conformance/ogles/GL/log2/log2_vec3_frag_xvary01.frag": [ - "9faea4bce5f909ccd77605759806f08d862471b5", + "614a6db9eae6b549de9ab2303099a9fc1919145a", "support" ], "conformance/ogles/GL/log2/log2_vec3_frag_xvary01_ref.frag": [ - "c915c414f2048110c1f5af243f8ec3f8d01c9ac8", + "32020337fb44847dafd4e8a561f784414d0b3f14", "support" ], "conformance/ogles/GL/log2/log2_vec3_frag_xvary_ref.frag": [ - "c6a724300cb4466777bacc657e725a261247a817", + "f84f000e1dfcef980948a64b0614040b3524045e", "support" ], "conformance/ogles/GL/log2/log2_vec3_vert_xvary.vert": [ - "a632c281bd3b5f75be042d1974b402aa7f4f1e46", + "e98b3703e5f81dade80e3a53a823f47e24d185ff", "support" ], "conformance/ogles/GL/log2/log2_vec3_vert_xvary01.vert": [ - "4b7e88169e1a7fe482f2d883ff0f6ab8b699af9b", + "779abfe8458be6bdabab4a14542d1f05a8a9adcc", "support" ], "conformance/ogles/GL/log2/log2_vec3_vert_xvary01_ref.vert": [ - "fcf2d1d9602c38ec12977437c34aa4b14f307acd", + "fda8284a53ca12ad6e79c4bc3a7627fd99a9b338", "support" ], "conformance/ogles/GL/log2/log2_vec3_vert_xvary_ref.vert": [ - "62194f7296f27c6e05a175bdb8c2a9a4bbc69584", + "9c8454faf820ca5d7981edbfc5a814ccbb69d023", "support" ], "conformance/ogles/GL/mat/array_const_mat2_frag.frag": [ - "d1fafaec759ca8e3f8a58dee9f9f7a343e208571", + "c6b5af5085f091fc51bd347a2cde996326072516", "support" ], "conformance/ogles/GL/mat/array_const_mat2_vert.vert": [ - "89287e41bbe87f84030f393a902acd5000019dae", + "859c040b31dfa86e7b97e5714bf5c084c8a4e485", "support" ], "conformance/ogles/GL/mat/array_const_mat3_frag.frag": [ - "396a7739946abf2e470deaf85b2eb1b44e531b57", + "2d66cb16a2a7c7ee6613b0cb9dd6157e7f13beca", "support" ], "conformance/ogles/GL/mat/array_const_mat3_vert.vert": [ - "9753f472c793416de3dbc1df46bc793a7fe959bb", + "ec5792f97a461367b8397e41d386c4dc744c3b94", "support" ], "conformance/ogles/GL/mat/array_const_mat4_frag.frag": [ - "9ea3414b25fb5580280293acbafe4081aab492df", + "f0750abb173a8a07f7c66282b6ea5d902c452495", "support" ], "conformance/ogles/GL/mat/array_const_mat4_vert.vert": [ - "5c2b09cbbfc6022c7eb1255607af80c1bfa0c715", + "bb816ba1d855d1b2986d1399288fd20a9bfabe28", "support" ], "conformance/ogles/GL/mat/const_mat2_copy_frag.frag": [ - "ca145965d0be342f6d87d74f782ebbdfa148f674", + "00f8504ad4817ccc9981ee37285c66f3c7b193fd", "support" ], "conformance/ogles/GL/mat/const_mat2_copy_vert.vert": [ - "58be519397d7c8da0389fd51a893eb195969028e", + "84e95ccbd7d288912c17599b344d7f3676a08ea0", "support" ], "conformance/ogles/GL/mat/const_mat2_frag.frag": [ - "97d40750acff074efcc8f80603f478ed1fa38747", + "4eb12436b6787ab3390aed11578e74fe5c7f1248", "support" ], "conformance/ogles/GL/mat/const_mat2_vert.vert": [ - "afe7527c664ec62b80ac3ec450cea0dd855867db", + "d1c6fd84c1373ce6c4b700322f9266da9d645ef1", "support" ], "conformance/ogles/GL/mat/const_mat3_copy_frag.frag": [ - "18a92d04375375e68e72b26b4514c9bafbfb22e1", + "3b55111bac3684f12603f4aee6a03e9f063e58d1", "support" ], "conformance/ogles/GL/mat/const_mat3_copy_vert.vert": [ - "52c01e3b0fc1f30ddf61433f0930366883e9aae5", + "7a9282cc25383b8b616683f15a9f8ffff972d400", "support" ], "conformance/ogles/GL/mat/const_mat3_frag.frag": [ - "2ff69d852071f5a40e80c005a34e20f93bd68d7e", + "3951510744b7618862c07818493fc31917e7a0bc", "support" ], "conformance/ogles/GL/mat/const_mat3_vert.vert": [ - "55172efb575fb182495ae65f7cd1b52fc048fece", + "bb4e396e5a0c183afa51fff86cf9bb2d9896d561", "support" ], "conformance/ogles/GL/mat/const_mat4_copy_frag.frag": [ - "d0ad735c1aa67fb84400e53bf9c624770a4d4c88", + "4bf0e97fac7554012c1ec9ba5f10ec3dbc8d8589", "support" ], "conformance/ogles/GL/mat/const_mat4_copy_vert.vert": [ - "5d16781af80a1d66a9705a7e6d1d0039c500e571", + "8f119e19bffe7fc33aaac39df37e9aaa235128ef", "support" ], "conformance/ogles/GL/mat/const_mat4_frag.frag": [ - "76df04debf578f79060bb54818d81f2792b96fa7", + "02ed577c1c577360efdacdb4abdbefc745071e48", "support" ], "conformance/ogles/GL/mat/const_mat4_vert.vert": [ - "53cf4e1f6bdad47e7e91e0db841797d692662e05", + "730087dacb2b0f0296a84079e60b3d03f7fe15c4", "support" ], "conformance/ogles/GL/mat/input.run.txt": [ @@ -32208,139 +33128,139 @@ "support" ], "conformance/ogles/GL/mat/mat2_2vec2_frag.frag": [ - "d6ae4a70a955882d33660ea57cc67f8e6ca1b470", + "431b64717922fbde97d7e1269a8b97459e5f18d4", "support" ], "conformance/ogles/GL/mat/mat2_2vec2_vert.vert": [ - "699e9a21af8f0600883b382c7c5383b2e52e2632", + "6747a489889e03df35adcd0703a962e10d232cb1", "support" ], "conformance/ogles/GL/mat/mat2_4float_frag.frag": [ - "7bbc17f81dd6ccc24613454b40ba81bc105bb572", + "b74a9a71d60e289aee768e48825f81f722b90467", "support" ], "conformance/ogles/GL/mat/mat2_4float_vert.vert": [ - "08ef1e88a06cdacc966a41ef10b7f589909f49db", + "c5a7f1a486fce99a1bab520d7b303d21c2aa4089", "support" ], "conformance/ogles/GL/mat/mat2_copy_frag.frag": [ - "b37e9ecdf660366c48938816f240c6bcf13c4e2c", + "12acbc5b999a000633d78c580ed4718bc573a28d", "support" ], "conformance/ogles/GL/mat/mat2_copy_vert.vert": [ - "63633a91c7ba0ed4839f2cba91037fa4cd79a1f5", + "6aeede3f8c8102c9533fe576b5a3b49def82c1c8", "support" ], "conformance/ogles/GL/mat/mat2_float_frag.frag": [ - "61bffcb5123702706f48efeeb51ff2112e61e524", + "4c9954715d50b652767279e323aaf879ea52f125", "support" ], "conformance/ogles/GL/mat/mat2_float_vert.vert": [ - "ae80d0f0e2aaa7fa04ac47276e3fb11b20600d64", + "894b3a058912f20704cd3fee959678209360ca3d", "support" ], "conformance/ogles/GL/mat/mat2_frag.frag": [ - "4e2c2629a9f9c540683dbe363f56e3df678cb7aa", + "a105f5fc6f5b211b7090e11d0084cc690755c96a", "support" ], "conformance/ogles/GL/mat/mat2_vert.vert": [ - "2f58179b44558ebf1d4af0c6d879f6b584b415ff", + "93d56cfd219c70c29f9aa9fa904b5ea0c3506ece", "support" ], "conformance/ogles/GL/mat/mat3_3vec3_frag.frag": [ - "0faa88004bb202f81f5d6700e1c92e6413ff4523", + "133a71f8479933891ec18d3a04f2f754952c9554", "support" ], "conformance/ogles/GL/mat/mat3_3vec3_vert.vert": [ - "818479658e62cdd795c44ddfc8d2062c38de42f4", + "c0b92b88ffe3ed253ec75564ffc8e376d9c06048", "support" ], "conformance/ogles/GL/mat/mat3_9float_frag.frag": [ - "b3a40272a4f45c3a7ae767633419006bda556864", + "e65c7241eeb332eb6d266cce0acc5bac961dee49", "support" ], "conformance/ogles/GL/mat/mat3_9float_vert.vert": [ - "b2cf2a31090ef0b4ef8a04e40ccffbb8d7783e0c", + "b13848605b6ece2fb583f37c33d7a54e6f18d106", "support" ], "conformance/ogles/GL/mat/mat3_copy_frag.frag": [ - "16d41a346a8ef126cc396699fd1452a97f51442b", + "b2650591c54459ff6925c3fd379a345fc9a988fa", "support" ], "conformance/ogles/GL/mat/mat3_copy_vert.vert": [ - "4fe3cffc13b80aef640e2fb3c684af025c29a1b2", + "a1c96502a9f4527e6f7750cb1c07fd48bfe43e06", "support" ], "conformance/ogles/GL/mat/mat3_float_frag.frag": [ - "23547d594edb6835c2e1ead1a836b2c5631cea10", + "bd62d0e462ae77c6de759134b73266ad4c6d3c5c", "support" ], "conformance/ogles/GL/mat/mat3_float_vert.vert": [ - "3e843e568f8b33cbc3ddb890f9a748655a4cd768", + "f42f47763c959cbe4dc13b38910895f9d807ba81", "support" ], "conformance/ogles/GL/mat/mat3_frag.frag": [ - "b0decd06b9162e710a60f5e1742107af71e0f6e8", + "29913992c54ec7ee12167f8d63577d82d10493a6", "support" ], "conformance/ogles/GL/mat/mat3_vert.vert": [ - "27b06c694c58c07afcbe6b769f5636d8b2c9ee67", + "70588d0aa660b0668884fbcf32b8abb63ae9e458", "support" ], "conformance/ogles/GL/mat/mat4_16float_frag.frag": [ - "c6468378addaf34c83e7bb19ffda14a44d29a0df", + "7440e65cf077be25ff0f9313038930936a4a4717", "support" ], "conformance/ogles/GL/mat/mat4_16float_vert.vert": [ - "037d1318eece5970397b6f9515659f00d6aab0cf", + "485085355a80c7e5f9601182f6750df4da7784ce", "support" ], "conformance/ogles/GL/mat/mat4_4vec4_frag.frag": [ - "44e1cd6bee0d6299c9a02e2557be6ce321d26ff7", + "44b425a41500e286be54d6b359642ac177ea03e6", "support" ], "conformance/ogles/GL/mat/mat4_4vec4_vert.vert": [ - "4d8f1c82eb25b043f22114d908f2a493fdde5057", + "77dce5eb86016c7e8230071e2d4e9ab876b23eed", "support" ], "conformance/ogles/GL/mat/mat4_copy_frag.frag": [ - "45ea27aa2b82d16b4220b735b192078cac36f030", + "340fc51b5fab761054e663bdb4ea39e0383b08df", "support" ], "conformance/ogles/GL/mat/mat4_copy_vert.vert": [ - "a28db37166c1c92b8da105a20bd9de19906ed36c", + "ee5c07864c78aaa85059d13d43a4ce48296d6866", "support" ], "conformance/ogles/GL/mat/mat4_frag.frag": [ - "cc5875a4af22457993a391fdb8a76e33a8ab87a7", + "590852b8017bb3aa986526fc2f235d68d9151ee9", "support" ], "conformance/ogles/GL/mat/mat4_vert.vert": [ - "34334538ea6c1707ef2d8afa65f433b4aef6b971", + "910729c2bd516089366c21b11c93ddac1f2d29ab", "support" ], "conformance/ogles/GL/mat/mat_001_to_008.html": [ - "17ecc527f9a10665e74bb9d493bc446b0e1e3fe5", + "2010cbe02ca03422f51860d756255162abdbf05f", "testharness" ], "conformance/ogles/GL/mat/mat_009_to_016.html": [ - "fd15a8caffe51e9b338c32af06307bccdd59b876", + "0d73540a867e21a70dc7387e76b35ca309792d0c", "testharness" ], "conformance/ogles/GL/mat/mat_017_to_024.html": [ - "ccead1e0c87029c65892e498ed2aba6504ab38e2", + "2e3a4867655d17af4c369b2b6d21a916a025897a", "testharness" ], "conformance/ogles/GL/mat/mat_025_to_032.html": [ - "a0839bbb6427f0768a35071f1eb15fc380e83c22", + "8862968e9acd29a95dac32e7ac1fede0a31925d9", "testharness" ], "conformance/ogles/GL/mat/mat_033_to_040.html": [ - "30d562bb1da30aef8e18b7a93c63424dc232eb2d", + "66267c5343d58ff89285cbdb9a425269e037f969", "testharness" ], "conformance/ogles/GL/mat/mat_041_to_046.html": [ - "1da7c02995cbf6e1d25d812e18bc65c57a7083bc", + "42616f0bfeef2810b91349ee1c3891d0688b070a", "testharness" ], "conformance/ogles/GL/mat3/input.run.txt": [ @@ -32348,23 +33268,23 @@ "support" ], "conformance/ogles/GL/mat3/mat3_001_to_006.html": [ - "7c9477fc6e317ef638207c0568896b514ede2a3a", + "60f522593372901b166ef1c52219faad00931d0b", "testharness" ], "conformance/ogles/GL/mat3/mat3arrayindirect0_frag.frag": [ - "5614261ac1c2ec7f7507119b7cbc430535e39546", + "47dc75b7149b46964ec75ed85de63ab4d03981f5", "support" ], "conformance/ogles/GL/mat3/mat3arrayindirect0_vert.vert": [ - "1586cc75eecf17fef30c3d220a58917aa07bc83e", + "b9427ba037dad90a278974790d052b44c37fc92a", "support" ], "conformance/ogles/GL/mat3/mat3arrayindirect1_frag.frag": [ - "61c66196130e76979aaa12acd5c61382470d2e29", + "ec4c4a927d27887dd2dd92c3e059ddea89d130a6", "support" ], "conformance/ogles/GL/mat3/mat3arrayindirect1_vert.vert": [ - "dea6b18425fe137d9170701107b1ee01173a4085", + "324366803a3d2864bac4b65995263f321485835d", "support" ], "conformance/ogles/GL/mat3/mat3arraysimple_frag.frag": [ @@ -32380,39 +33300,39 @@ "support" ], "conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html": [ - "af5a9cd9f6087d85fac83e5c84ebd6c1dd99aec0", + "bacbc87b42172d1ed723b0705083ab072b8229e1", "testharness" ], "conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag.frag": [ - "a2598f0769de02bd0c4122dee6451b87a62931a9", + "8db7ddf3df32f313d5a653a10fe3fba4e130ea55", "support" ], "conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag_ref.frag": [ - "9beec96ad76f7369e27dac20d04f12416526c4fd", + "fed33bea1aff36d1a3e05f280c19e34da12136d8", "support" ], "conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert.vert": [ - "1e31afaac671ba1bd5e683d1614312de53f5a8f9", + "e912de35c851776fbcff0e5b9e28f8dfa7ca4aa0", "support" ], "conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert_ref.vert": [ - "09705342fe4ea8a7884b07701f55d6d9e41f4321", + "cda02927d1b4189e76a8fcb04db697b7cb28fef9", "support" ], "conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag.frag": [ - "ea92126a2cddc9d368072ca1f9cc451add74bf01", + "9392716ddb46f6288a2236490158b94517f5d2d8", "support" ], "conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag_ref.frag": [ - "b3e044f9d3d7efa3243f2c068ca5e606a8d9d510", + "21365a0dcc6a7ec5b98583b7faeb9ef8578b45e6", "support" ], "conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert.vert": [ - "d40ac2c4e353c5e75fd35b8d085f192984f696c7", + "cd4f31873236b7c523497a50e8bdee1aeae03636", "support" ], "conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert_ref.vert": [ - "62186af26d596f98e5613414b91a4862aa6dfa9e", + "2288096cb928cff989b09bbab6d15165b46fe2ff", "support" ], "conformance/ogles/GL/max/input.run.txt": [ @@ -32420,55 +33340,55 @@ "support" ], "conformance/ogles/GL/max/max_001_to_006.html": [ - "9f6fb6e0489c256675e84121cf5a757605fc72c1", + "8cc3f478f3786bd2062495f5fb8cc34b16395507", "testharness" ], "conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf.frag": [ - "4911e9e7cba73079261f810f47698cabb4f8ba41", + "1dc582375644d8cdbfe30485859150ce1d5cd227", "support" ], "conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf_ref.frag": [ - "7f2408f21065257b41554967a27b2b2537493507", + "44188757ee4ecab8bb06bb1b757c1f42c9d088ae", "support" ], "conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf.vert": [ - "1790d41b4ee93b1652934ffe456ccb02baefc282", + "18df63489a52eaff57eb7f53fece33241990b941", "support" ], "conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf_ref.vert": [ - "c7b99fdce36c84c69c3596ccfa952ea7211414e4", + "44602be927b9dbd21e19085abb5960c1ecb0c6ac", "support" ], "conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf.frag": [ - "e1343f0b85b1753b9e924f6858526fff6abb8d13", + "12cccbaf5a2b0548381fe43b07c853b50d15f581", "support" ], "conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf_ref.frag": [ - "487473f4cc5eedbfcb3b6d714788ac2c4d4d0768", + "63d52b2ff0c572b2b0e1620c41d367294f20351c", "support" ], "conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf.vert": [ - "5a72576b16f021bd90fdead13110e20cb2135e40", + "54a94edf52a06204f52ece9182f27889d2a04e3a", "support" ], "conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf_ref.vert": [ - "c3e21ff299e8ed0ae1abe222ce01f8a43261b644", + "b8ad06aa831c1993b9a9a3260bca7ea747d8c1f9", "support" ], "conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf.frag": [ - "8dde46f9a1e00eb90c836ecf5c79289d638cba0d", + "b44d0c8513591904aebad652a4c44bd1f249d0f6", "support" ], "conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf_ref.frag": [ - "54ce8ee7ce531ebce69e3490e659373e460f749f", + "d17d8cdea45139e4457566af10050860b3ac7e73", "support" ], "conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf.vert": [ - "c03084e74abd7209e2e373126033ef951feede9a", + "549f510fc316d5e3ab588d5781780cf76ed80981", "support" ], "conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf_ref.vert": [ - "1f2e781ff1df8df7d378b3c6aaac94c6eb7c6257", + "84de202744b50c72ff013197b322de280c59cfc5", "support" ], "conformance/ogles/GL/min/input.run.txt": [ @@ -32476,55 +33396,55 @@ "support" ], "conformance/ogles/GL/min/min_001_to_006.html": [ - "10d0cd6516e8f0abb21da066835ceb6e8d65bc4b", + "a9dd90c99e9350e3c7383c519226943cd80ea773", "testharness" ], "conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf.frag": [ - "05181b2632d179183ddb03a8cc6ff62c0f2aded5", + "fdc3e23a67d47083134903c6d02ed424e4c3fe1d", "support" ], "conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf_ref.frag": [ - "b1c076cef1fba8530e8c3c6e0880893411b54c27", + "acf1eebb266411ae4a6d6e0c833a52759a2dd856", "support" ], "conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf.vert": [ - "33e2ee5f420e8322fcb7b316f3fe4e06c7a0d2d7", + "b854733dd5b1115286e13150400d3e85b4389980", "support" ], "conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf_ref.vert": [ - "a4bde4f096c5cff4f5e880e08bf4eac63a02ec01", + "73849e092c5c1e84e96c85c349bee43b2ee1192f", "support" ], "conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf.frag": [ - "e3eeee482bb63c4b6d7c477cd1c6216f4d6b593a", + "ea5563eb19ecd6534514cacd572565e4b8060d52", "support" ], "conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf_ref.frag": [ - "0ac216fbc1dc5f886a8f99d12570426e7b1f40c1", + "82ae1b891aee97901551bff8646cd2f8ad42c822", "support" ], "conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf.vert": [ - "79c87d0307fe79d003338abd7295d22292377a14", + "ae6459783d4ee81d985614cb081de17e603d8d39", "support" ], "conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf_ref.vert": [ - "5f57db4241306afc9a2f69fef1352135be350b55", + "1f8d54b3a51f38082c488205734f0b4f8da8b6d2", "support" ], "conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf.frag": [ - "588e5b53ce82c09fb5667fb2256a1c899927dbe7", + "80232206f99fc4a05ca86d1508c052e75865ee77", "support" ], "conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf_ref.frag": [ - "d0224def0b9b83f119b696532f4970f5a93d3af0", + "2432efe93a8cc98936287a1bfe523bd9808ed84d", "support" ], "conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf.vert": [ - "86797649d16c1d7c1806db1d0299e8dcb9ab056f", + "96629e770a5b27b5ff4671590213be8f8e5d61b3", "support" ], "conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf_ref.vert": [ - "d35953319dc7a6c2d8d119bb928cdf8e1dc5da1d", + "65d273dc3d1ce5ab8fd345c0cf89bf2b60936aa5", "support" ], "conformance/ogles/GL/mix/input.run.txt": [ @@ -32532,55 +33452,55 @@ "support" ], "conformance/ogles/GL/mix/mix_001_to_006.html": [ - "84b5abc206c21ef06d4c8e687de6961d7f32b176", + "abeb8c20e9f2e089cc8f1553676cfa5e6913ecd4", "testharness" ], "conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf.frag": [ - "adab32f714f2863cf594ce9a023e84982950dc10", + "c04c6ba63f8f388b5611ddabe83f2bded071ade9", "support" ], "conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf_ref.frag": [ - "152afc9bf786ea8179e1044c2a8c377fc40ca6a0", + "74f96295902648ef868b0ef1234b95b063fbc040", "support" ], "conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf.vert": [ - "ea29b91b899d0e94181fd5e189e35202b32f3682", + "bce9965068d3a985c07b156ec62ef8ec53257b79", "support" ], "conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf_ref.vert": [ - "96af8a085002d3dafcf3a982bb22688655323649", + "adce952197ae689164d5c2f6853b0776f59c0637", "support" ], "conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf.frag": [ - "88acd6a192e16651116dfe5892b5bdd82674a393", + "4578aa893faaeb5626d652f328a547a184f19521", "support" ], "conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf_ref.frag": [ - "a49ea52d3963376c4c7424e35a4e4d00d10e0630", + "b75166792d348feda7277a09d38f9ed147979274", "support" ], "conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf.vert": [ - "c5a8f01bf1025de4ead5413127d0444826b14aa9", + "ffdbd26777f3c91ddc47c87a1cc3c13156f1e9ab", "support" ], "conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf_ref.vert": [ - "c510d58d11d45a95e30a10a82fe5b93b23b4e912", + "38d2de727993cb128dd7f1a6b67b1c45cd05b08f", "support" ], "conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf.frag": [ - "fe749977745f2ee454586da149195d04599e5223", + "fef30dcedcb4c494f4b983128602f712510860e8", "support" ], "conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf_ref.frag": [ - "a366790b46399c3f183540307fd1d5b6e256ed0f", + "fda46efc75fcdc535c0193cbeb471000edbb1cff", "support" ], "conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf.vert": [ - "12e20e0bb59fab350ba5b1e3c0f1e94eaa8fab9e", + "690f41ec9931eae6687e1881a88472f51622cdd1", "support" ], "conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf_ref.vert": [ - "e952039cf9f8fe896c978bd642e780edcc8b99c5", + "d9dec9bbba9f8e3edf40cf6c763f5e58d1a1cb6c", "support" ], "conformance/ogles/GL/mod/input.run.txt": [ @@ -32588,63 +33508,63 @@ "support" ], "conformance/ogles/GL/mod/mod_001_to_008.html": [ - "62e390125397a490b8ef0dab14c107f3ab40535a", + "dcf5ac2405ee0facdd82d0c756a28209d8226b8a", "testharness" ], "conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1.frag": [ - "c658351bb439e2815fbf5a85e54e9170f666ba25", + "9f22543d9bc2d820981d781837796be56c0b734c", "support" ], "conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1_ref.frag": [ - "ad369a4ee6ca0437114002cbb446d75f34a96d49", + "2c35298a701bb48ce7d3db69aff8324b5eff3fc0", "support" ], "conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1.vert": [ - "87e6bc07cb742dbee918c0b5378590e9922135e6", + "17d54ce2125791403bf11b876875eabfa9205187", "support" ], "conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1_ref.vert": [ - "84f024cd347fc825fb7da9fad12b804ba6da08f2", + "ad6fc8185ba6bf3d75e1fb35963623a0187ef9ab", "support" ], "conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1.frag": [ - "31e1f41c840c071cecf7b06d69e9c66a982b057d", + "335b8ff4904e3f1921d5a7d93e57dc0a150ff0ed", "support" ], "conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1_ref.frag": [ - "6e37eb07cb1a835d9cd7ee042303616f9474a735", + "143a832ff9038b8b0f3360903f0aa7981599bb15", "support" ], "conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1.vert": [ - "4772cf96ed1189e849183bad03111b98adf7580e", + "dad066a142bc824ebe3b3dc88b9cc3d941f544dc", "support" ], "conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1_ref.vert": [ - "ac9063e1342ac2f282a0191eaf5f00c32870b690", + "1f583fd97dc804d18699c4413d9cbcf1c2c9b0b5", "support" ], "conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1.frag": [ - "a8f78b236b9623b8dd18ccc29138cd528af5acd3", + "1b8bd31d2d839e1ec639dfc8209ccaaa87248cb6", "support" ], "conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1_ref.frag": [ - "6b5bd394186bfed92e3e68a4f191f7c9de212b0e", + "6f934b601811fadef40c0dc4cef0d830050c8ad5", "support" ], "conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1.vert": [ - "cb13f8c18f4b2e5b4afc335fa7d6e17d201e37ea", + "468dd4d3a108b0d9952e5662221877d23c50d55f", "support" ], "conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1_ref.vert": [ - "a96268a0ba8514dab8dbfca22338581a195f99c4", + "1eb6c4ffc495a5202b90d2b1261b6783c5885b15", "support" ], "conformance/ogles/GL/mod/mod_x_large_y_large_frag.frag": [ - "cd169627da0549f17918d49df699bbd41d96d07d", + "a56c581252ef3feb89add9cbaff94fc97d63bfda", "support" ], "conformance/ogles/GL/mod/mod_x_large_y_large_vert.vert": [ - "ad8eb573dcdbdb5fe05efadedaf20d8e15c6c9f8", + "9d126ea2f560ce35eed8ac11aea5203ef32db18b", "support" ], "conformance/ogles/GL/normalize/input.run.txt": [ @@ -32652,55 +33572,55 @@ "support" ], "conformance/ogles/GL/normalize/normalize_001_to_006.html": [ - "9149efe830bf87b485a41817e2ed0971b1d7fb85", + "d711520fa49827f609146162b607ff9166372ad6", "testharness" ], "conformance/ogles/GL/normalize/normalize_float_frag_xvary.frag": [ - "70494371b053c3b5beed364d503ad018dbb101ba", + "9d07f0390bafba31b8086ad20a5e328b9ebf3d9c", "support" ], "conformance/ogles/GL/normalize/normalize_float_frag_xvary_ref.frag": [ - "14feccefb65a63036b226a6ea2bddf309eae14ef", + "1e96c743e2ff9371895e82e7024d42ddca86777e", "support" ], "conformance/ogles/GL/normalize/normalize_float_vert_xvary.vert": [ - "edf1ae51fb6ba65fa0eed1e6b5d5c9a9e770c8c7", + "81e999b8bd1d96e11dd5b4d142c78ab51624210e", "support" ], "conformance/ogles/GL/normalize/normalize_float_vert_xvary_ref.vert": [ - "f8c6422a6c084bc285eca7e3b2d46758e7ed1b36", + "29e23f5cb59b8b2b0c5a7a775bcd95a928367e87", "support" ], "conformance/ogles/GL/normalize/normalize_vec2_frag_xvary.frag": [ - "fb4fae1b3f1b94d501a8e1d838659f45439f02a9", + "be1756b5bb6af084b64c3bf27c84f92a54b2c43a", "support" ], "conformance/ogles/GL/normalize/normalize_vec2_frag_xvary_ref.frag": [ - "489f2d62f700d889e9fd216279d9ff0c3e6a3c28", + "0e4e031ea60b7454ff0e7d4b0bead91791cb7666", "support" ], "conformance/ogles/GL/normalize/normalize_vec2_vert_xvary.vert": [ - "cac5feacb37f4d0a09bfe4236fee2dc404d7bba7", + "4bea42efd6e371ff7a5630951d1bad0342507682", "support" ], "conformance/ogles/GL/normalize/normalize_vec2_vert_xvary_ref.vert": [ - "6ee067bd7608ecbb93009aaeb3aeb297b073f60e", + "b03a2c70b6e3ee3a3a2a13152bed0102973b80af", "support" ], "conformance/ogles/GL/normalize/normalize_vec3_frag_xvary.frag": [ - "47417ce8569d160e388ba57ffdaf155b3d92f888", + "3f7e6eb1d9e17f36d0959b7a1bb37eae58325ff2", "support" ], "conformance/ogles/GL/normalize/normalize_vec3_frag_xvary_ref.frag": [ - "ed0ef171c51ed96db3e87daff9701ce169e52441", + "62f0cea72f458a46f4d13f6d13c26fa61f163fd1", "support" ], "conformance/ogles/GL/normalize/normalize_vec3_vert_xvary.vert": [ - "3750471460c5e11c6019d0fabc0a270fd4b1dff0", + "33121c03487bcb5942d5802a5eab311a69ee9182", "support" ], "conformance/ogles/GL/normalize/normalize_vec3_vert_xvary_ref.vert": [ - "344ab14890072e0852f814b13d2528644dc1b551", + "665730a3df833771cdb62de63c37bb07852bac18", "support" ], "conformance/ogles/GL/not/input.run.txt": [ @@ -32708,39 +33628,39 @@ "support" ], "conformance/ogles/GL/not/not_001_to_004.html": [ - "5f0aa41ec80e21482f012a9333ef48834bfcf90b", + "2376898aba72785e88ecacbac5b9b240ddff57ea", "testharness" ], "conformance/ogles/GL/not/not_bvec2_frag.frag": [ - "d95705aae9fbd6510be9e04556ce4396131968b1", + "129ba6669eda8a5776e2d066b017cb0e1d3d02bd", "support" ], "conformance/ogles/GL/not/not_bvec2_frag_ref.frag": [ - "4e26e47a97b2ca295efca53137ddc248e8d3cd38", + "3a94ec0faabd106674876efe55fd2d0b8a6393a1", "support" ], "conformance/ogles/GL/not/not_bvec2_vert.vert": [ - "6c386c3bf897a16687d6d2e5c1003a28064969a3", + "3fb1ff9722dbb617d6ef482023b474f10f407be1", "support" ], "conformance/ogles/GL/not/not_bvec2_vert_ref.vert": [ - "00c065a556af9f43577ea22afd837b66aaeb0410", + "974d7864517256d2f441bab35709013e405ac7ea", "support" ], "conformance/ogles/GL/not/not_bvec3_frag.frag": [ - "b549b0f5bce84d9b3b44fd6d0dd642e3ac6ebb97", + "8b2d4e3e9eea2e4ae2c0d6eeed20f42201290bcd", "support" ], "conformance/ogles/GL/not/not_bvec3_frag_ref.frag": [ - "e8f3ddad02d5185020f51b13bd38cfd83703ca9f", + "2172e7683778e3d6dc50b4fbd8a0c7b2977b14e7", "support" ], "conformance/ogles/GL/not/not_bvec3_vert.vert": [ - "2f4cae0185668fee5b1af37af5ba464fb7dbef1f", + "554724cb63ee2f6124d7dcc7668b554d29c49555", "support" ], "conformance/ogles/GL/not/not_bvec3_vert_ref.vert": [ - "1313fdb82bd62d3b223894ab35a31a82a4ddc114", + "d2a4a5d2e5015baf3bee40a5027f8655b39b45bd", "support" ], "conformance/ogles/GL/notEqual/input.run.txt": [ @@ -32748,139 +33668,139 @@ "support" ], "conformance/ogles/GL/notEqual/notEqual_001_to_008.html": [ - "808471be9a054be31b456db0bc593a605a03a754", + "ea39e3045a1fb80884bb5391f58e13c44c6c92fb", "testharness" ], "conformance/ogles/GL/notEqual/notEqual_009_to_012.html": [ - "2e715b846e3cfa5edda8d3ff78ca8e6ea8a67e6b", + "3c2b81ee9d00e16799a8dd41097147c62e01235d", "testharness" ], "conformance/ogles/GL/notEqual/notEqual_bvec2_frag.frag": [ - "1b26d9c289c247b1bcecabbb41eb9821d742722f", + "6c98f0de66df15b1ab3d1828a5cea564060d9ec8", "support" ], "conformance/ogles/GL/notEqual/notEqual_bvec2_frag_ref.frag": [ - "29b71312070061b0a80b955c3fdfe6e5fa27154b", + "f51b8b6d4ba33d84d5fdbc77d89ecb13d1a36376", "support" ], "conformance/ogles/GL/notEqual/notEqual_bvec2_vert.vert": [ - "a8d46262725d1864ff41b1a5cc3828cf875cb4b9", + "97fe2e9abe223912246737f1d1bc5a675dd31c70", "support" ], "conformance/ogles/GL/notEqual/notEqual_bvec2_vert_ref.vert": [ - "2e4cc6cf8969a6da9901d9c49eca8fd6e34e1c01", + "7944e8ac813d84d61a4c99b61b6cf5ea965edf8d", "support" ], "conformance/ogles/GL/notEqual/notEqual_bvec3_frag.frag": [ - "d6929483a46e8950c2c5a83b559453191e11d840", + "36d6169af5c2a1215e741151592e257d8aaf595a", "support" ], "conformance/ogles/GL/notEqual/notEqual_bvec3_frag_ref.frag": [ - "f5b2732bae4eaebb720be2121029e456fc79692c", + "7f4654dcc52f43c26affa7cd2918155a8514be85", "support" ], "conformance/ogles/GL/notEqual/notEqual_bvec3_vert.vert": [ - "ee0e89aab4c8d59749335fab1860f898b1fdc747", + "7688b8c9151b1f2a13944af0b990aa43593ad716", "support" ], "conformance/ogles/GL/notEqual/notEqual_bvec3_vert_ref.vert": [ - "40ac457732280b5d91ae5ad6983a954d9b1895c3", + "4384aae39392671dd05eac4de5a1d92dc5cde152", "support" ], "conformance/ogles/GL/notEqual/notEqual_ivec2_frag.frag": [ - "55c48f342528a3fe50e3ab5e306a07b663be3371", + "d8cb50a3c04539fde702b9041991dcf1bac9267a", "support" ], "conformance/ogles/GL/notEqual/notEqual_ivec2_frag_ref.frag": [ - "dc40e254128bac3f991857c36f647f9138e97179", + "f96b4d896f5101979b24ad09cddab2d479daa28e", "support" ], "conformance/ogles/GL/notEqual/notEqual_ivec2_vert.vert": [ - "2e8fd5a1c88d6a569b1ce9f35824dfaa0d318873", + "b49070b8e1981095e79ec2923d797c5899b65ed7", "support" ], "conformance/ogles/GL/notEqual/notEqual_ivec2_vert_ref.vert": [ - "729fc50fa9927aa45151fd7adbf6e62190ef113d", + "065b0e56006dae580aced09fc7d08989976021c5", "support" ], "conformance/ogles/GL/notEqual/notEqual_ivec3_frag.frag": [ - "8cd1f9c4ab6cfc9f13f96a0cf7c7a98965bd0bdb", + "492456793c64eca7782822c56601448ea2c5678c", "support" ], "conformance/ogles/GL/notEqual/notEqual_ivec3_frag_ref.frag": [ - "43157ff017fd09e0c40f8d8479167b683c90a2bf", + "069dd39afc919f51c329d252b957c0deab020e17", "support" ], "conformance/ogles/GL/notEqual/notEqual_ivec3_vert.vert": [ - "a620e58dd874eab0b843fbc79e05aee3ebfdf4a1", + "a63d944eaa7131c629839683e930c535281037e5", "support" ], "conformance/ogles/GL/notEqual/notEqual_ivec3_vert_ref.vert": [ - "cb17fa406a0dba3a115c4007796f449fc513c2d3", + "c2de0814f598626d2d35bcf931cdf1a931fb1108", "support" ], "conformance/ogles/GL/notEqual/notEqual_vec2_frag.frag": [ - "3ba76f0f17dd631a632c857afe2037066da75a64", + "95c56263f792a38d08cade266401b4ad259bf375", "support" ], "conformance/ogles/GL/notEqual/notEqual_vec2_frag_ref.frag": [ - "66bf48615dda0367406f91143d06a29ee521e9d5", + "1d4bd306adcc0ddd79d52b904602a4e088301ea1", "support" ], "conformance/ogles/GL/notEqual/notEqual_vec2_vert.vert": [ - "13f788ce2ba76fa983af27473b491272cc6640e0", + "01b8e8a39e845c9c6efc3cbc63cee427c379be83", "support" ], "conformance/ogles/GL/notEqual/notEqual_vec2_vert_ref.vert": [ - "c24f17be33d1618874fa5a106c9a684f7c8aac1f", + "0aaa9166579e6be6537bb2a4f5cb12a5243a60fe", "support" ], "conformance/ogles/GL/notEqual/notEqual_vec3_frag.frag": [ - "45d2cba00218cf3986cd68c9db86011c6ff2b990", + "2f96471c5f7e63d50267c07de8b0361de5ba5d2d", "support" ], "conformance/ogles/GL/notEqual/notEqual_vec3_frag_ref.frag": [ - "afb0afb0205734945b07a8b75cee741aa6704f79", + "56009be519a4bb9e0602d614ff775dd5d948297c", "support" ], "conformance/ogles/GL/notEqual/notEqual_vec3_vert.vert": [ - "711c31709e2f8f6a09fbb4e72b11bde346289572", + "b6f115140035abf136992c84622434b50dbfd675", "support" ], "conformance/ogles/GL/notEqual/notEqual_vec3_vert_ref.vert": [ - "85a6a0aa9a402cc341c3a966d4d22f2fd92c0c32", + "78053b0f2df48e0254bca258daf3f8035a2cd44d", "support" ], "conformance/ogles/GL/operators/addsubtract_frag.frag": [ - "7bba6780a9c36577998a8b6bc294330aeefd2df1", + "2967fc0d00aab29a06a09b6a6acf333637e5a0fe", "support" ], "conformance/ogles/GL/operators/addsubtract_vert.vert": [ - "98100e5db2c023304df81a19b784f3ce80c011b8", + "4eaa2f93d630fddb145beb3feadbe5d925831b48", "support" ], "conformance/ogles/GL/operators/assignments_frag.frag": [ - "3bb626a43843b3bcb22a55cf45de933809195f16", + "b31965674878e534c7a28a0180203f4a640c0217", "support" ], "conformance/ogles/GL/operators/assignments_vert.vert": [ - "748ce9ccf1810feb0b06b3f4e3f76bbd99853243", + "a4728ed986bb433699a97d6b5c32582255e32138", "support" ], "conformance/ogles/GL/operators/division_frag.frag": [ - "529825f34b926628cb75e33a00b7777716165dd1", + "e65ab2e474c5ff379d0b2061b91d773827c0a557", "support" ], "conformance/ogles/GL/operators/division_vert.vert": [ - "00d0e3a8a4ea58e8b284024c60650c1ff3a1a03b", + "3c9639884015ff3f3db8a19aca18a553aec6fc9b", "support" ], "conformance/ogles/GL/operators/equality_frag.frag": [ - "756094238e1613622273c4159dffe14166375cf5", + "a8a5d471b5d5621867edb712b529712ee94a2a1d", "support" ], "conformance/ogles/GL/operators/equality_vert.vert": [ - "e4a884ab95a345de2bf54daeb2a0732e24b3a1ae", + "34ef88e6270dbbd349bcf7205984d990cab794ff", "support" ], "conformance/ogles/GL/operators/input.run.txt": [ @@ -32888,91 +33808,91 @@ "support" ], "conformance/ogles/GL/operators/logical_frag.frag": [ - "df06d8cad0bc41f66ec967b6c931a57483379ea6", + "223557025d1b283103c5a220fc8b31c50ef1a73f", "support" ], "conformance/ogles/GL/operators/logical_vert.vert": [ - "bef0262c83baa34b2ec2971b26516b776a7b16b0", + "8de9aafc00560caab39bec36d6e5e3241f818650", "support" ], "conformance/ogles/GL/operators/multiplicative_frag.frag": [ - "bc3ca7addd35c9deb64ef73838526864430076b1", + "dd23c5b132c6ee494a412b36597a0e082613f0a1", "support" ], "conformance/ogles/GL/operators/multiplicative_vert.vert": [ - "c28ff98277e37de195b37b40d7a17bcab88faf61", + "138b12d9c7596433e11b633497b219f0b69fcfd9", "support" ], "conformance/ogles/GL/operators/operators_001_to_008.html": [ - "f0481526d2951481b7022a429ae5418d1b9cdcbf", + "8e59e71d2d1e09fa15305698fba3c6ecace3f13b", "testharness" ], "conformance/ogles/GL/operators/operators_009_to_016.html": [ - "b9ee688a779334d56ee42a80cba1d7d05fdfffd0", + "e19f146b757934ad4de74790eaccace479ef1492", "testharness" ], "conformance/ogles/GL/operators/operators_017_to_024.html": [ - "b77a70cbd7c84576ddb81e371e74c7cefc08106c", + "14da8ea63e8dc5c4aaae5da2ac01a9627a3cf667", "testharness" ], "conformance/ogles/GL/operators/operators_025_to_026.html": [ - "f57266ba9110468cbb5bf160740fdb091ce231c9", + "812f24dc9a36a21edab5240c08a5144d641ae7b9", "testharness" ], "conformance/ogles/GL/operators/postfixdecrement_frag.frag": [ - "304b8ccb207d5d1509019d488ddcd69c9cf1dc1a", + "70da817094f22feaa924fc91aba79b7d46031fd0", "support" ], "conformance/ogles/GL/operators/postfixdecrement_vert.vert": [ - "0be357f8b5c3e89d5fd61e3ed712a6bd677ca527", + "27782385e65df59604506c7d42b5a4830722abc3", "support" ], "conformance/ogles/GL/operators/postfixincrement_frag.frag": [ - "3879dd2c37bc03e0caeb08856f11180a8f54eae0", + "0fecc5d2dc3b33f07040cffa9513013390ad86e4", "support" ], "conformance/ogles/GL/operators/postfixincrement_vert.vert": [ - "f705026cadb91593a678ff614620019c44ea35ff", + "30fa784e95b23e87e81783e1cee0aabe32785846", "support" ], "conformance/ogles/GL/operators/prefixdecrement_frag.frag": [ - "8efef4877086fd98a39d23b8e327a685c6dc0403", + "92b04b78556af342e80342973b0b06cdba0db581", "support" ], "conformance/ogles/GL/operators/prefixdecrement_vert.vert": [ - "5b74e416b6fe3d0bb83a12ea33d1515665bd5b3b", + "4509b9b41a575a7bfadbd5dcdf9dea53970070d4", "support" ], "conformance/ogles/GL/operators/prefixincrement_frag.frag": [ - "19a4dafaaab5954edca0a93b353a5ea391fbf19b", + "534b826a974b650f7be41712d4cc69db993ccc4e", "support" ], "conformance/ogles/GL/operators/prefixincrement_vert.vert": [ - "fbaf51b259a459d7ba17b673e3f7f0df6e69dfcd", + "4b51c6a32f99cc68a304008d9852cea10b4304b6", "support" ], "conformance/ogles/GL/operators/relational_frag.frag": [ - "82a05ac732f3ef4e078211d7567d4b6c739b6013", + "fe2716d0d2b2fbc82a874caa02ee6b8090eacadf", "support" ], "conformance/ogles/GL/operators/relational_vert.vert": [ - "b3707797b3ad625341dc157e4f93608b09418e4f", + "322bb841687a32238ece9e4042833d5740221866", "support" ], "conformance/ogles/GL/operators/selection_frag.frag": [ - "e3ff303f815bdec0130a9eb011c86519ceb489a3", + "9611e2c101e44b5d6c9d36f6cfb17dd4facb5799", "support" ], "conformance/ogles/GL/operators/selection_vert.vert": [ - "fbe9d472ecb626a8d5bbc5f855c08693d8f7158e", + "091d76456824a742994cc2c70deda5f91f7eed95", "support" ], "conformance/ogles/GL/operators/unary_frag.frag": [ - "7f62cb7e91064d80b57f1e6720d0a1cbc03a0dd8", + "6be2b3b447f03471e3090972345364a570ba7847", "support" ], "conformance/ogles/GL/operators/unary_vert.vert": [ - "e451b60159be77141a18de7dce1c80216beadccd", + "26179f69b9fd6d1eb151bca0c40b6567971fbdb1", "support" ], "conformance/ogles/GL/pow/input.run.txt": [ @@ -32980,207 +33900,207 @@ "support" ], "conformance/ogles/GL/pow/pow_001_to_008.html": [ - "f10ef1290ab7b84ff8e2bc24effcdeb3865f5d28", + "cfd6e3b4f870587a106c17cdce49021d5a26d907", "testharness" ], "conformance/ogles/GL/pow/pow_009_to_016.html": [ - "54418535ca0ff1443b1798e5f4d2334db5f1f03a", + "1ae02f1f31c7c61fe569a9329d7028ae12f18e2c", "testharness" ], "conformance/ogles/GL/pow/pow_017_to_024.html": [ - "d58567809d97042275d82fa9eb6125366387526d", + "06420c91960788321099f0b986d82fede1b314eb", "testharness" ], "conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary.frag": [ - "b41875ca5022eb2d703f78dc1ef62c9dc2394295", + "dc2534ce429758311e23eb871f4b8151a410fca8", "support" ], "conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary_ref.frag": [ - "a76a586c1e499b5d3a932276b3a00de535554fa0", + "8e2cd4eefeaac59ee054a9bc2d5298cc99138544", "support" ], "conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary.frag": [ - "4f7bdf7a4d5903f03993345bc5e6f359d7d49972", + "60d20306ae3f70621782f30a749dae4b8b28bb96", "support" ], "conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary_ref.frag": [ - "49b5722c1761e8204c7ab23a8c32ddbdb7cf6913", + "96be455a3c9214e20efc5796a953fb7df104476f", "support" ], "conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2.frag": [ - "c0fde40cc022970522384bcff9547c0a2a779b2b", + "8682a0e9f38cbe836c4c3bce9fbcd5ae735f7e96", "support" ], "conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2_ref.frag": [ - "18a895caabbb91f5d976f634cc591fb73d465063", + "0b82bded59688903aa34346b504edef686b7c627", "support" ], "conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf.frag": [ - "0383e8105994015d7ca9df9b7e507b19c5f48d5a", + "e071d29a5949811ac67f2d99541fd580f11fa1bb", "support" ], "conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf_ref.frag": [ - "d629859397ebfbfb45ef0ff84378c7ecf11a8c55", + "5ff3ddbe9f74852fe4af46236f7aebdc26db7891", "support" ], "conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary.vert": [ - "5161aac2354d144ca4ae22ba441be00bc7add1d6", + "83f22bb80db37b7424067d5a6c0b64a706d86584", "support" ], "conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary_ref.vert": [ - "5acd78eb3a9fa5ebab6da1a4a687ed3d916220ab", + "130327c6ee2d03910c6fa40cbd6a0e69da03db0e", "support" ], "conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary.vert": [ - "0f96a73470abef28175e44f432fce394d49610a0", + "0533c7560bbac49060bf0eb8b23a64fc951d980a", "support" ], "conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary_ref.vert": [ - "fbc1ae23518e81be0abb0ca83050e2052c470bf0", + "fe9bdc84eebf3ad3f1949b954664a2361ae6e776", "support" ], "conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2.vert": [ - "7041566778bc7227140facc2dc43e97b83938218", + "f0be45abe88797eae7998d3024f500c6ecac47f5", "support" ], "conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2_ref.vert": [ - "dc7cf45776c027c90e33b8ba1275b5d2fbc70975", + "f76054b2ba279eeffb56c842f0cd640b0e03c0e1", "support" ], "conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf.vert": [ - "dd3f9bd0c6934c9439cb7689b315f92019af91c9", + "7609fa589912705bba4fcb9b8e834aeb5798cd60", "support" ], "conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf_ref.vert": [ - "e0dcde9bcbc86c63b0c4e0bab19a31ad4820b651", + "f58d044b212181cc3b3219ce41c0006a29af37de", "support" ], "conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary.frag": [ - "ec3ac352a19646137c283b6e68e111692e939b60", + "e47822c0a89e9d629d398de13fedf4a6a6108a63", "support" ], "conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary_ref.frag": [ - "f195c633b2871114b9c44ebcb5274199cd09d9dd", + "30b36043597e91aae20f0066bcd54a066b823163", "support" ], "conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary.frag": [ - "cfd9aba80dae29181b33dcf3eaa21aa2f27a1f2e", + "67daa472056ffeaddc32e039671711eac5e87b70", "support" ], "conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary_ref.frag": [ - "0468e6c302c958a6b09d47616aa36bf669c4f53f", + "e7cc4c966ff1bbedfb3c6418a2c4b6044bce793d", "support" ], "conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2.frag": [ - "7e587e4c63667f644b2859bb461e950b3e6b919c", + "6ae78c70dcdea06e2867461048d4f23a8958d990", "support" ], "conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2_ref.frag": [ - "dd825de3733ab7f6b78db880fdcafc78a21ccc9d", + "0540ebe0f5a9655b3793f5412609fe5223cc9d6f", "support" ], "conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf.frag": [ - "674333a2ab8931e6ebf950261c22d861a39c8980", + "196535a8c61b99fce713628e7e372edd5ebe298a", "support" ], "conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf_ref.frag": [ - "97fb36e04e74289416b5619b3f013c3837322cca", + "cb591dc5f77b0c744cab330359159b25812f47e8", "support" ], "conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary.vert": [ - "f11d38607e8a6762533337620c8b66469168e0af", + "ec59a85bc42ea8c4fd592d04b685d4d771ea1c5a", "support" ], "conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary_ref.vert": [ - "f9923017d87a7be94a6705c8d751f7d0031d86c5", + "35f12854d188804825876ccc480b00693d1c201d", "support" ], "conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary.vert": [ - "138b9c95eda3f0378b52806a0e759342734f1aea", + "ab3c56d49ed799cc0ca445d25072a7f58fb23405", "support" ], "conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary_ref.vert": [ - "91c969519c80e9f7f591d383fc9e11b8d46bfddb", + "d5a1a62028811557da2584010e6906ed7e1ddbef", "support" ], "conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2.vert": [ - "8a5393761232e812dccc1a45ee7691a654d7f8ee", + "0411d3f0eba3404dcbf62d39da3ff00da36aa6c6", "support" ], "conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2_ref.vert": [ - "b7427d8611acd7aa93b46919b9da51e549621579", + "c83de730290997ee9aa1976bd1c50561d7843442", "support" ], "conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf.vert": [ - "ccd858066f7829c5a2450b999bbd9973a61ad6ea", + "80e7e176b86ee56e5e1d1f7ee9b12320f689db29", "support" ], "conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf_ref.vert": [ - "dd363da6a23776bd8e8c4758d8cf0b607805952e", + "abf19d3b0eca9bf5dabeead82b7a42ec6b62e5c6", "support" ], "conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary.frag": [ - "0719f119b05a0727253b97869dbd8aa6cb0515b6", + "7aa24fb92c30d3da250428b19e5d2fe02aeb960d", "support" ], "conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary_ref.frag": [ - "3f969eda7c0f938651b48207320f5d0adf431af3", + "339406c5e324b38e8c5088f5e996ecd7699349bb", "support" ], "conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary.frag": [ - "e1b28ad23bbeab308a077bd9937d2f00c31b0b90", + "7b35c8664409601d4cd2fabfb8dcd03639f10ea4", "support" ], "conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary_ref.frag": [ - "1f124278b13f364d18c14e92add04cd5af8fd32f", + "9000d040fad00c96c19e2c9575e87bcd55f55cef", "support" ], "conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2.frag": [ - "b09934293af5c48d55c5ed714f05ac39a8d346c5", + "319fb17a840172c435e592e4c92b7eabea3fbe5c", "support" ], "conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2_ref.frag": [ - "81ae4b470ddf2fb2f6d1c811d22b14c4ac3b949a", + "439476d70312e7ad3932381ba7077f3ffa0e1393", "support" ], "conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf.frag": [ - "eeb6e3295008df50e9ead88068b9a9c93e58b3c7", + "82b120f153dff47544b2819c25de90ce659bb3c0", "support" ], "conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf_ref.frag": [ - "e920fa050e24543c9cb2fac32f0cdb108c95c468", + "407bc1db273aea28b1291c5b1ec41c976155df99", "support" ], "conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary.vert": [ - "96b8d76d4115f6d77397f7ce95f7518bade49c32", + "875ff7f93257e8501cd0186989461476d2f9189b", "support" ], "conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary_ref.vert": [ - "453ec7a35b0dfe28f667ebf01ab3ef6c97b72f7e", + "155519ef1717a992eb66e53a0280ddc183e34631", "support" ], "conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary.vert": [ - "89515fb85af1090bc50694ae9748c6aa25ee48cf", + "ebb4c42a5c433ae9c272bbaeef9e248082bb7635", "support" ], "conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary_ref.vert": [ - "c47679707d2bd6191e7365b7e6787d64303ac4af", + "d797011e1afb6c1d1bb7d4b46b535f7053d78944", "support" ], "conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2.vert": [ - "833718eadc243ba8a64bbdb748e1eabdded29d12", + "38ef59d3e164a3dfecca1dd4b02b3efbbbf4d1c7", "support" ], "conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2_ref.vert": [ - "04e0c46c0cf981e68205af72661d04fba8a814d7", + "0cd2ef6ff58ff0b224739976f472f194e68dde54", "support" ], "conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf.vert": [ - "071cc344d61fdd7c8283050d3c55a77ef4964fa3", + "3ab2361996545ff789e37ef2855151d9f020830d", "support" ], "conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf_ref.vert": [ - "4dcb1952de7047966ecfb5bcffaf7b5263fa8fd2", + "da90056737b1c8cb13608b919ef5829f96cea40b", "support" ], "conformance/ogles/GL/radians/input.run.txt": [ @@ -33188,55 +34108,55 @@ "support" ], "conformance/ogles/GL/radians/radians_001_to_006.html": [ - "eb0b952675c17f352f59d852eade7e71ee4b0378", + "3d03c34a79a744aac609a94c2ecb18dda8f2e274", "testharness" ], "conformance/ogles/GL/radians/radians_float_frag_xvary.frag": [ - "3c90b9a25bbb224beef32fb4afeee979d5917acf", + "141c45d5323aaffda3e8a4d735506696fc98f0c2", "support" ], "conformance/ogles/GL/radians/radians_float_frag_xvary_ref.frag": [ - "a0f208a511763d8a1fd1c1f7b6e93cbce29ac377", + "5e9ba0b4586b756d157b0bd93415b4c0545d7918", "support" ], "conformance/ogles/GL/radians/radians_float_vert_xvary.vert": [ - "7991aff00cfb55045dfc52f0ec0fd011897250cc", + "8a858b641ed850e3a5b65706c2eeea0542553d60", "support" ], "conformance/ogles/GL/radians/radians_float_vert_xvary_ref.vert": [ - "9ca20641772e18314e626a51d4f1d850513dc980", + "2c21ac034374794cebec889029bb0d14db1b9df0", "support" ], "conformance/ogles/GL/radians/radians_vec2_frag_xvary.frag": [ - "5d510ee8d13eab71f9e188a50f78ac21f1a982ea", + "594e26ac01638761bd68d27602a65455404ec7fb", "support" ], "conformance/ogles/GL/radians/radians_vec2_frag_xvary_ref.frag": [ - "a397fe26e2d6cb4d1f4901f838500d5d8d88de93", + "6c95619e320029b9ae3d7dd0ffe4a46deea220db", "support" ], "conformance/ogles/GL/radians/radians_vec2_vert_xvary.vert": [ - "1b9cbcfb787d6c8452190376df2a3e9b21d34a68", + "b232f5646c245fa4b70b49f3215db4b21e0ab98b", "support" ], "conformance/ogles/GL/radians/radians_vec2_vert_xvary_ref.vert": [ - "2cefe718bd8c3c37c394c7fa8cd6472dad13dac2", + "9530c8b3f6795bb93c7e2a75c7087e6633213ead", "support" ], "conformance/ogles/GL/radians/radians_vec3_frag_xvary.frag": [ - "94dd67ef55903124bff931c2258dfafb850cfb29", + "5cebc76b712b8e001846771c210d4efa7bf5d17e", "support" ], "conformance/ogles/GL/radians/radians_vec3_frag_xvary_ref.frag": [ - "7e145683abbe375073641e485cb4d0dc3d551b45", + "3026b494c4a6e79ceba9e880a600f82d4d4ac980", "support" ], "conformance/ogles/GL/radians/radians_vec3_vert_xvary.vert": [ - "9baf5126999aea40147f6320d72b5c0f77e284bb", + "7f91ba404018b13b49a40f5efdfeda6735ae5d95", "support" ], "conformance/ogles/GL/radians/radians_vec3_vert_xvary_ref.vert": [ - "8e7a3b0e9b6e53d9c181b46686e9ac86219cd08c", + "74cad8da0bcae3a31f450bfb2d4a1d8b626e7acf", "support" ], "conformance/ogles/GL/reflect/input.run.txt": [ @@ -33244,55 +34164,55 @@ "support" ], "conformance/ogles/GL/reflect/reflect_001_to_006.html": [ - "47943920d5862599e47b7ddcfc65fe845e187877", + "e41fa79800989e6c282a25f18d23385598de322e", "testharness" ], "conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst.frag": [ - "2f320ffbde9b08970e3072158c2630fac81a73fc", + "23780bbec2d9e2378c761bfdb2e9c1f1733a7550", "support" ], "conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst_ref.frag": [ - "65143ab1a7dda121bd7446cde1311db7e88fd2f4", + "7c9a07eb58cba664d57353d109d7c210a96fe738", "support" ], "conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst.vert": [ - "4b73416c593e560badea82be37cbd8a273466441", + "1881b976c2c7777519ca61221cfc953bca1ccaaf", "support" ], "conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst_ref.vert": [ - "d1d66781800c53daa1dd3590f1585c31dd452e7d", + "3b6162907c3ab7e8b8916a711cedf32e8d47526f", "support" ], "conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst.frag": [ - "46acb1136aec20d8070f12b051bc981eef0e828a", + "d614676d8e04c51126dc9dc3b252d2848a746f14", "support" ], "conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst_ref.frag": [ - "8464f445acc0b2a721056e1a57dd3445b906513f", + "07a4a7c74b71718380d50f179b88637a00fb303b", "support" ], "conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst.vert": [ - "baa47dd48cae3298e6bec9da4531b69764d7a330", + "5f1e20ed116e2f5d18c90811c004b874a7eb6dd1", "support" ], "conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst_ref.vert": [ - "cdf49d2681e756331928be9a474c0f486b452c2c", + "dee1b983c7e2a9f8daca603a1f3e2e94d5e6d52b", "support" ], "conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst.frag": [ - "5014bb0772ddee80a6a2ec02434a5dbe0c1c674b", + "a7287f2304af5047277f895de068f981638aaa9c", "support" ], "conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst_ref.frag": [ - "8e214417f082ef6daa531e54381df7afc1932112", + "cd1418958234524805d2a69d84b5ff36def0b1c2", "support" ], "conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst.vert": [ - "25dcf65651b50f779c5b076fdca7397b05099e20", + "f375b86a4d4c3626d32a57c8be873f1fd1cfc4d3", "support" ], "conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst_ref.vert": [ - "86d84c33ad57bc889cd74e2afa4c0ad89b1edf04", + "58a9b84f95f47ae682014cd38ab47e01dabbf0e5", "support" ], "conformance/ogles/GL/refract/input.run.txt": [ @@ -33300,55 +34220,55 @@ "support" ], "conformance/ogles/GL/refract/refract_001_to_006.html": [ - "b5a96affb84e47a3cf2a2c7db743220579543468", + "3fdad36dabf06566edfc21a8c67f9fcba3252e0f", "testharness" ], "conformance/ogles/GL/refract/refract_float_frag_ivarynconst.frag": [ - "998443778866b6ca68039ea739b2643b9758f6bd", + "6cd7faa01006584b0d12717355bedad656f85e36", "support" ], "conformance/ogles/GL/refract/refract_float_frag_ivarynconst_ref.frag": [ - "a42f9ab98aa6b5a0b658efc3c6d13e1cb497c644", + "a0159b0f51824e4f1ae4d9485b0fb4933bd72568", "support" ], "conformance/ogles/GL/refract/refract_float_vert_ivarynconst.vert": [ - "706c7de3c05e5168b3e7ccec2ca84f3bbe10ad2e", + "83dcb5930dd31bcc46635b951909607f883d22bb", "support" ], "conformance/ogles/GL/refract/refract_float_vert_ivarynconst_ref.vert": [ - "da5d44e5926fa649d51155e4d632f1df5d9a7f30", + "31826c6c25fc06bc1eb46ea7e12e035633e2ef92", "support" ], "conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst.frag": [ - "b693807b9de4fc5d54f07cad613339d0ca4de6c9", + "189a168f82eed29f859112b466bd6eb48dbe80ef", "support" ], "conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst_ref.frag": [ - "db45136d7f1b2dc4020f65e582913e72e5cc2aaf", + "bad139c37e7dbd6bcbc9e247e1a4a806898681b7", "support" ], "conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst.vert": [ - "8d41de32067421eb349263bd15d2391506115696", + "62b77e91c8cd0e1350f95df3f4170c461e2ab07b", "support" ], "conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst_ref.vert": [ - "8f0980076f5d691abf2ac187ebae332acb7d3e11", + "d01fb22ba9fba7b894c495ac756e3b186b4dfb95", "support" ], "conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst.frag": [ - "5370f4e2328b22e629902d8922861d55359ab1c5", + "421cf9b58133769b8d9024524c729f3c222313a5", "support" ], "conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst_ref.frag": [ - "3128882b4e58e88a4a38dd557a64088366e7f771", + "16be25c1da3554abf6c483da3243f3901e97eec0", "support" ], "conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst.vert": [ - "65d22412d84562794b0830860a3d3c85f62b35a1", + "6423ca40e4e567f88747634e350d1d395564228d", "support" ], "conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst_ref.vert": [ - "12a66c66554aa7f98807240b6f8f6c4b2e5b249e", + "0fa9b7cbcaac9727047fdb4eca61671e24094f28", "support" ], "conformance/ogles/GL/sign/input.run.txt": [ @@ -33356,55 +34276,55 @@ "support" ], "conformance/ogles/GL/sign/sign_001_to_006.html": [ - "f74d7979c222f17df654769ca07423fca12635eb", + "0e4a56dbcd112c72f32a266b58ce4fb545c3d7d8", "testharness" ], "conformance/ogles/GL/sign/sign_float_frag_xvary.frag": [ - "9b272833482879c7f0e39aaaafb7e5bf9db0044d", + "0a3fcd169cd6b243f6ea7d79244b6abf0bd695bc", "support" ], "conformance/ogles/GL/sign/sign_float_frag_xvary_ref.frag": [ - "a3b31518a45679647192e03c9296917245d671fe", + "082dea1d1d8025472f73c6e38dfb7cc7d74d1dea", "support" ], "conformance/ogles/GL/sign/sign_float_vert_xvary.vert": [ - "3b82bdd427ecaad38d6b8f4bf98d85a4e1f7269c", + "e2a048f3480f51c102688f39a2955160fd998bc5", "support" ], "conformance/ogles/GL/sign/sign_float_vert_xvary_ref.vert": [ - "3c58c1f2f2a94c06326b4458e88bbcbc22ba82bd", + "7646fb736627f7e7380c004f86077ede122c1b45", "support" ], "conformance/ogles/GL/sign/sign_vec2_frag_xvary.frag": [ - "77564c11c5025e5ce30316cc12e241c05b0fa83d", + "3dbdde2079e83d62828678fd87ea09dfe2ef682f", "support" ], "conformance/ogles/GL/sign/sign_vec2_frag_xvary_ref.frag": [ - "bf01dcc0d8be840e5021df403ee93e6c2f72eb00", + "08a6c3d0343087d87c61106ea18d95d58da2be16", "support" ], "conformance/ogles/GL/sign/sign_vec2_vert_xvary.vert": [ - "862e687f110b264cf49fa1098aadf8ca7424c397", + "fde1a269c83bdaa4ce33f49ada16a6d4b98a486d", "support" ], "conformance/ogles/GL/sign/sign_vec2_vert_xvary_ref.vert": [ - "e467a409553904007427b49f226a1032ef18d42d", + "000159fc54f6ce992d2321627e1ec929c3f4e324", "support" ], "conformance/ogles/GL/sign/sign_vec3_frag_xvary.frag": [ - "c803710a11f0c1212025df45abbecabbf1421f31", + "21b915804c547a4550077e92c943bbccd6660612", "support" ], "conformance/ogles/GL/sign/sign_vec3_frag_xvary_ref.frag": [ - "802d1159aa8c8cafa2be5d7426526c21c4c7feb3", + "4646aadadf8188d8039b700c37eba128457b0087", "support" ], "conformance/ogles/GL/sign/sign_vec3_vert_xvary.vert": [ - "7f140ee760f9a388ccd06ca3f53f1feb5e2fb856", + "991fbcad8c0b12a53278ac02d9378e1ad45a8fad", "support" ], "conformance/ogles/GL/sign/sign_vec3_vert_xvary_ref.vert": [ - "8f514f8472d5d96f6d67cd5b6dec29ffe51b5fa1", + "d6cb2e711039f6b7d86b132e4b405688f8cf2ee7", "support" ], "conformance/ogles/GL/sin/input.run.txt": [ @@ -33412,55 +34332,55 @@ "support" ], "conformance/ogles/GL/sin/sin_001_to_006.html": [ - "4ea1502e2b73d1e4e96bbdc5805a68ab283945af", + "ae6a80723b5ed6f78a362418635769820fb36d42", "testharness" ], "conformance/ogles/GL/sin/sin_float_frag_xvary.frag": [ - "876149c6d0defe6c3e7b4728ae0697ba1aad6c43", + "ce1bd224fd38a7c289c6d74f4b8547bef69cb696", "support" ], "conformance/ogles/GL/sin/sin_float_frag_xvary_ref.frag": [ - "38a730d45ef4a3d07da7745af48c187afff3b1d7", + "16253c93b54b1a34ae5e61cbed393348b8212c5e", "support" ], "conformance/ogles/GL/sin/sin_float_vert_xvary.vert": [ - "9ff140011641b90af09588b8ed10f2b63fd077f9", + "e1fd79d7272171610b5d2400eed2e7bee59ec75a", "support" ], "conformance/ogles/GL/sin/sin_float_vert_xvary_ref.vert": [ - "183cee6a32af081724d0dd95667ec5d2e8c538b1", + "2e4a52afa92111516174c8979b26af9854aac674", "support" ], "conformance/ogles/GL/sin/sin_vec2_frag_xvary.frag": [ - "dd520ddef8d8342cb25bec32498aee7772042843", + "6227170b3ddf6e59507a3fb045c795e80bba3548", "support" ], "conformance/ogles/GL/sin/sin_vec2_frag_xvary_ref.frag": [ - "e8584593c33ebb35e0a698d956fe81c1fc12b7c9", + "2d3fc7f372a0da3fb481d8989b535b5dd2051e9d", "support" ], "conformance/ogles/GL/sin/sin_vec2_vert_xvary.vert": [ - "ebc2c3369f3c1737d72880542fc3aaa26ed8d6ab", + "615eb679358b89c5df64397b7c07afc1b8fa6c5e", "support" ], "conformance/ogles/GL/sin/sin_vec2_vert_xvary_ref.vert": [ - "e60dc5e6c9d3739aa6d3dfd72f5c217e9abddea8", + "9c11df9a2ad58adf6b728bd5eccf0e1f2aa80ad6", "support" ], "conformance/ogles/GL/sin/sin_vec3_frag_xvary.frag": [ - "1f7c62e3d21c01ba225bab3a1d5f63c2ce233f02", + "892e996e90028a3a37bd1aee2c93013b1f54fe38", "support" ], "conformance/ogles/GL/sin/sin_vec3_frag_xvary_ref.frag": [ - "bbed1568ba91e152a0a435abe1b0fd92c9eba285", + "44c586d2fa6e4853176261a8ba8a99127a0128fb", "support" ], "conformance/ogles/GL/sin/sin_vec3_vert_xvary.vert": [ - "80a9595d002757482a2a8a8b1e5ebf34e1354d5d", + "d60370e45094ce48db5bf7713d9c12fec3be3596", "support" ], "conformance/ogles/GL/sin/sin_vec3_vert_xvary_ref.vert": [ - "85b69f5f0b10a9d52ba8f8f991ac37f11ca78c5b", + "85578df07e4e5a19d522301b9102c0c810ddf714", "support" ], "conformance/ogles/GL/smoothstep/input.run.txt": [ @@ -33468,55 +34388,55 @@ "support" ], "conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html": [ - "4baa50406075cb0937e45c76862b86138ab9b7dd", + "06731acc3148d5fa52cde73bdd8e5a431d6a47e5", "testharness" ], "conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter.frag": [ - "bc01040681597bbc6efee95c7e828c8632a67081", + "f7b8ed3d5d55219e751a7695ad2f3e760dd4a778", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter_ref.frag": [ - "ae2c03e4139ad6c7841ee9fafe5f88646388eeff", + "92e49f0f059a5d9f50397619ac0da8e03e1c04b3", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter.vert": [ - "8556f8fbd9502a06d1b10b28415aae7d1ca00066", + "bf8ff22cce9156ed6a216af839a1e82c6c66f582", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter_ref.vert": [ - "15d3f091b2c32b200fb1b839825ab06c6e4a764b", + "55422bffd2f739cb699141ae2916d8a4253398ef", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter.frag": [ - "c6b915d2daabb278a69f7067472e5429ee495e40", + "bd235720c5bee6f02f16a19f17028d4ee4741ae9", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter_ref.frag": [ - "7ded86e8e191c97759968b864a3f85fc3f78fbdb", + "8790241d9af23cea78f348288e41a02899fbad2b", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter.vert": [ - "db7701f4058be4710cd146f944e867967c37dffc", + "06f12e328745620d10064422afed9f1eddf32b8a", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter_ref.vert": [ - "666157158c5f59260babd5040ae14d6113fe564f", + "00b4f7a25c10504c59697eae5c340468e9295247", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter.frag": [ - "20385341b351118db37303dfe52a60b989384d23", + "e7ad681e78007fb01ca08f361b416aa7657732ea", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter_ref.frag": [ - "204781c1f3c7ef26780492bf4fea92df2e773a1e", + "e07971e0f3919cc781ecfff9763143c85c8822e8", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter.vert": [ - "6dcf4b63965aabd599d33e34f1ae20f092122b67", + "e12ed931752265d200ae5260b5d744971f54cf8e", "support" ], "conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter_ref.vert": [ - "07656ac85450394b901645fe9c49b1d42eee5736", + "4798adb90733edcfeb07594dc7e3b9e39d257b64", "support" ], "conformance/ogles/GL/sqrt/input.run.txt": [ @@ -33524,55 +34444,55 @@ "support" ], "conformance/ogles/GL/sqrt/sqrt_001_to_006.html": [ - "5a323c5e46c64429992fecd6e4094b1b29573c7f", + "ff5fb1cee9905a9cd7786aec45f2fbecad49f332", "testharness" ], "conformance/ogles/GL/sqrt/sqrt_float_frag_xvary.frag": [ - "6c9555088d8d2926447345b2b3f43413fc67b339", + "bb2604b1864b66b2ac6733d8dbc70c6f3f9d9007", "support" ], "conformance/ogles/GL/sqrt/sqrt_float_frag_xvary_ref.frag": [ - "d06f8309e83343b1eb4d618491dfa25615901981", + "2055b814db8496f7ab96c6af4fbbeb66309032d1", "support" ], "conformance/ogles/GL/sqrt/sqrt_float_vert_xvary.vert": [ - "5f149d0e7d187bed213253a6c3af0a47f6afa2d8", + "7982ebf2a1eb6417dd0584b1a92c1ba0764363f5", "support" ], "conformance/ogles/GL/sqrt/sqrt_float_vert_xvary_ref.vert": [ - "51967d48b31e9401f089b97eb2b81b844661af86", + "eb4f144137725935268a9b164c97740bef3a9eaf", "support" ], "conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary.frag": [ - "0c14ebf810e468951bcf2ae41514ad86239856b1", + "e70a2ccbdfac6a542770c064dd8e8a0108b111e7", "support" ], "conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary_ref.frag": [ - "487a0a91bb2802b1c2676d5e20680692a8c555c0", + "4253e1034576e6bcb50edbe33c8102b48f129239", "support" ], "conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary.vert": [ - "76318ee6de856e824366a3b19ea44c5fa3dd1383", + "30587af1d67f9cac610bdb432807fbf21f884d2f", "support" ], "conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary_ref.vert": [ - "d10292f53b008fd0f0a2bb7bc77e6c60e3003297", + "cb61ec8f0792719379dfb48470485f422c5aa925", "support" ], "conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary.frag": [ - "cf1013b6369b5ccbbec93982f920a9b1ffdb7584", + "b4d5c281cadf6518ec06b0e617a08c2a665546dc", "support" ], "conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary_ref.frag": [ - "f53781ad62a589f659a87ba074edc60654efa922", + "1fb1f880a959365eba130fbc64d41c280c8f5cfe", "support" ], "conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary.vert": [ - "9c41688116f085787ef27b1c4560940f7d92d11f", + "1e3c8beae777ae9b37195bff3cdc954725ebdc3b", "support" ], "conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary_ref.vert": [ - "adf962d17eca5d48db73e7526e535302fb8168c7", + "e54f86babb13c6e21c6972db2b85e1378e8fe704", "support" ], "conformance/ogles/GL/step/input.run.txt": [ @@ -33580,55 +34500,55 @@ "support" ], "conformance/ogles/GL/step/step_001_to_006.html": [ - "8951b38c395cd39734cbe5d5a17d861502267935", + "b2572d445b5314dabda93f09541772ed572ea868", "testharness" ], "conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf.frag": [ - "556fb97b40e0ea756e7322ddf1f1f603d37c9d8f", + "94e69d79c7c2bd2926291668acca3585c07d33bf", "support" ], "conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf_ref.frag": [ - "bea2957bc4f48dd7a7154770d591884135f3c225", + "b601eb78bfeaa0f0f77c3b3cac79a795b7c01b46", "support" ], "conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf.vert": [ - "a57186aa6dbec914c315d84db69d0b2a7fd0a021", + "2a3834f21d6dabca9ff0a282766ed3a193b0886b", "support" ], "conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf_ref.vert": [ - "bb6cf933a2e0cfa541104b337f24f587ceff93f5", + "3db47cac60ef422e53781a33763312d994f980d8", "support" ], "conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf.frag": [ - "7d119d9f0f47c3fa9bce33ffd7ceb3e7149a64f8", + "93cc99fe2d340ab6c5b4d05887be31b570e32718", "support" ], "conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf_ref.frag": [ - "75ba101d117aa8fec5c4e2513dad58a4de5f79cb", + "d8d361010af8e4c7d0bfe8f02345135ec4fe2866", "support" ], "conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf.vert": [ - "988e14b1da9a88d468098ce89d1e43d849c6768b", + "d0df7388634a1b6072a40def2462872b834ad222", "support" ], "conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf_ref.vert": [ - "ec0f12bb6ed92de306aa670c97be457c99ff7bd3", + "11c5640e5aa986077c833637198841f23218caff", "support" ], "conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf.frag": [ - "e131d2a364ba4b00a06a3858d583d20d4004ae59", + "87c64f539f944661394a40399371f49321f3c14f", "support" ], "conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf_ref.frag": [ - "015882077d465bde2cd8bc03ef010e091a83b351", + "3d99682225af8c7266986d3c5a41273c3e4b1927", "support" ], "conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf.vert": [ - "35baf02b64671f1565ff7dcbb1f3c5e53b3b855e", + "0ac85addc0254332ab22b912cc880e7794553e6e", "support" ], "conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf_ref.vert": [ - "cf2fa4cf06b5f7d42a616541f0bcb3571e12e1c9", + "d85a52ebe7f1fa2088255d8df6394685895deeed", "support" ], "conformance/ogles/GL/struct/input.run.txt": [ @@ -33636,255 +34556,255 @@ "support" ], "conformance/ogles/GL/struct/nestedstructcomb_various_frag.frag": [ - "2cc51cfb64432e3fdffbc8929432e3a3fce83dcb", + "151888a883644f8205d8bb0fe6307c903c67f3c1", "support" ], "conformance/ogles/GL/struct/nestedstructcomb_various_vert.vert": [ - "e27de221f52b98da1bd0589e9ef587237d0afb37", + "ddc2610fdd7794df32393ffccc3d1d4de3379ae3", "support" ], "conformance/ogles/GL/struct/struct_001_to_008.html": [ - "4ed563d1f5aed36a0ce6b090ca3b56fe92927a03", + "28691b789711b9af05ef20076d12749da7d5bbc2", "testharness" ], "conformance/ogles/GL/struct/struct_009_to_016.html": [ - "add65466dcbadaaac6896f30caa7339b21adecb4", + "ce9ea01c22c605197b1160d3256209237da71fae", "testharness" ], "conformance/ogles/GL/struct/struct_017_to_024.html": [ - "3ebaea323ccd33dfa80ab6bdd1eb68a63c545301", + "5e64ae4210b703d9647cdae42cbda4d6abfb79cb", "testharness" ], "conformance/ogles/GL/struct/struct_025_to_032.html": [ - "86adf72b387b7f8ab5d6493ad38d504d7ac09275", + "1cd3af91d66ee57e9af7dcdb1c0dce594c06a5d7", "testharness" ], "conformance/ogles/GL/struct/struct_033_to_040.html": [ - "a7a1fa06eaab1177fdc4046746a8357ce090ede0", + "e81478b8bafdf283b22b5af4c3516b57af7ae0ed", "testharness" ], "conformance/ogles/GL/struct/struct_041_to_048.html": [ - "7a39a73ce02c1803d0d743e061cf5358a0018506", + "8aaa8da8e80bf8d0867b360cb2fbd76ce4eecaef", "testharness" ], "conformance/ogles/GL/struct/struct_049_to_056.html": [ - "7c5574d49d95a885723813a142ea6d8ea8bbee04", + "831ad2fb3714eddd7415187e5e1afa0a2c6bb11d", "testharness" ], "conformance/ogles/GL/struct/struct_bool_frag.frag": [ - "9c3c7fd6d327bb41576fe4a093c7721419afc98d", + "2c0439b4cd0370deb866daa1233bfc7d51aebd1f", "support" ], "conformance/ogles/GL/struct/struct_bool_vert.vert": [ - "56ee2c47dda3f16e3097e60d6bd8b6fde21a9117", + "56aade4f10263a131e48112e1dd3251efd28318e", "support" ], "conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_frag.frag": [ - "8badb0dba8a63b3b7e44a0a2a54e20fddd2812e0", + "d819f7a6177fb0db4cda68ba014a7792e9cdd217", "support" ], "conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_vert.vert": [ - "e41deca4aa3d5f5451f00951a6638f32714e0b27", + "4509de1b588cc406a7cb4ca701386a87e246777d", "support" ], "conformance/ogles/GL/struct/struct_float_frag.frag": [ - "e22c26d4a7c966bc503b7a3c3535eed3b448497a", + "57139805bb2ca2172e15d5517e39adf6c3eeb1f1", "support" ], "conformance/ogles/GL/struct/struct_float_vert.vert": [ - "75659636e50784c6b634da216961353061d1d52b", + "2bb966bf275046de830cc9fb5ec8818bd1659612", "support" ], "conformance/ogles/GL/struct/struct_mat2_frag.frag": [ - "d4994ebb499a121ed6e8e77bd81b06a20e5c3ccc", + "2859cb8d3876ecc417aefb5acf055a119f1be0e9", "support" ], "conformance/ogles/GL/struct/struct_mat2_vert.vert": [ - "6a180d034912c0e658ee426409f5af371a8f983e", + "a4c7f6df3b50ece89ab9b6dd2713227301fe89b3", "support" ], "conformance/ogles/GL/struct/struct_mat3_frag.frag": [ - "25a99d0ad84bc9366528c43dd6dbdbb3ad072dda", + "8fe6b3dbebcf2154645642f53c62448627493aa2", "support" ], "conformance/ogles/GL/struct/struct_mat3_vert.vert": [ - "1ef5d9df9105ac0797c6c8f04cf571808f9f942c", + "173085e2a6740640899d2717ecab40e7fec8f0e7", "support" ], "conformance/ogles/GL/struct/struct_mat4_frag.frag": [ - "31bb6b9287aee75cd48a08134562d9328e7910d9", + "5c7e0facf334b4fbd7a915b2526416f499a5fa04", "support" ], "conformance/ogles/GL/struct/struct_mat4_vert.vert": [ - "b28718b3f97c2c87533ee6605cf44c084c54bada", + "4fdfdc1d2350f834b13aea7defe107eca1e4386a", "support" ], "conformance/ogles/GL/struct/struct_vec2_frag.frag": [ - "cc11121898ad986235649ea2075d19722044974e", + "fbb8d7d0984cc11e23b385c153232bae2a5d5b1c", "support" ], "conformance/ogles/GL/struct/struct_vec2_vert.vert": [ - "3cea0aabea9af4a80c11e8a7d89be419b813ac40", + "a3660fe241da3a9dbc385e8123ce11f808709c02", "support" ], "conformance/ogles/GL/struct/struct_vec3_frag.frag": [ - "9f83ff65d6704d60d26b1e72b632adf4cd2163be", + "ab024562014c0ec36ea92703584d88b5591f581f", "support" ], "conformance/ogles/GL/struct/struct_vec3_vert.vert": [ - "b931e91d61c74829e0d45d38c0f99257755e21a0", + "e532d39563c06084df45641a27a68cf612ea86d9", "support" ], "conformance/ogles/GL/struct/struct_vec4_frag.frag": [ - "90f3e4f72d84b76311837403e1df909937ea176b", + "85d19e8ac11d3ad0a92af74dea4d8aecfe118faa", "support" ], "conformance/ogles/GL/struct/struct_vec4_vert.vert": [ - "7a27b27d05343df2d4b14a114861c4404bf8ddb4", + "f85a3ad87372ecae71f3f81015d4a3b949852b0b", "support" ], "conformance/ogles/GL/struct/structcopy_bool_frag.frag": [ - "0e0233ccc8758b1f759cacc8751a0f5db719b161", + "232ee1acb10a7434a5a0b7cc991bf328e14c6b9b", "support" ], "conformance/ogles/GL/struct/structcopy_bool_vert.vert": [ - "dfa5e56500f8201028f8e889fd2f4fe7c9d2057c", + "965778e40dffd60b8b83c48ca1163fb880d37bf1", "support" ], "conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_frag.frag": [ - "3c4708893699978b3e786b99e7100e676c423703", + "c84b2453b1e133858e5b8d6833dd57696bab3724", "support" ], "conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_vert.vert": [ - "307dbed0d4f35ff8b33c3d077a565375beb8d636", + "43b2aeda4c22c4ba4dfc47c1a277984386b70d16", "support" ], "conformance/ogles/GL/struct/structcopy_float_frag.frag": [ - "d9539d950cb79f6b98cb7639112bed82f6af06a6", + "b685fa4425b689a4f253c4134990759adc90898a", "support" ], "conformance/ogles/GL/struct/structcopy_float_vert.vert": [ - "5fc15a1336ca214fae5aa26e8b51afe31acb55c1", + "157e29221ea336382f48c77169fdfd9660c24419", "support" ], "conformance/ogles/GL/struct/structcopy_mat2_frag.frag": [ - "5f9cabb5f711658a470df95f72fd07fd05295371", + "35f4a0ea3c14442e440b145fc57d94a37cac059d", "support" ], "conformance/ogles/GL/struct/structcopy_mat2_vert.vert": [ - "e6ea71486072befc01552b13383d2d8b994a642b", + "e880bbbf1c42645148a9ab132f963948d1578a7d", "support" ], "conformance/ogles/GL/struct/structcopy_mat3_frag.frag": [ - "2d8678d8052c3505c5d75fb6e030165c5c51b6e2", + "6439b0180b8b838a5ad2de817cfd019b7b3f111b", "support" ], "conformance/ogles/GL/struct/structcopy_mat3_vert.vert": [ - "ed7f6470b35eb4133041f26b493ebfe6498de9b2", + "2a53277a9fe3a8f98ead96c6347b24a9c49ec5b1", "support" ], "conformance/ogles/GL/struct/structcopy_mat4_frag.frag": [ - "5ac75203e889f06f9a69a94187ee1cdf4a1ea4ba", + "53deba872a6102b2bec550bdb2b7a2311a335e56", "support" ], "conformance/ogles/GL/struct/structcopy_mat4_vert.vert": [ - "74d20240072a89ebcc4a00609cc82b01995fddcf", + "3c375279544b92185e5d6c9ff86c9991215f5131", "support" ], "conformance/ogles/GL/struct/structcopy_vec2_frag.frag": [ - "07c0f87dbad1cbd2a2cd9015512c221061aba384", + "56c15b6e9078fcb3be0ccd8ce1e4e2239ed8dbf0", "support" ], "conformance/ogles/GL/struct/structcopy_vec2_vert.vert": [ - "ab407f3ec8d05dad8eb130a26240b7d93ac0380a", + "1ec34123f3d97d9d40e5723e18dff47d5ef077f3", "support" ], "conformance/ogles/GL/struct/structcopy_vec3_frag.frag": [ - "e43dd807f09266a15e5df779fc1779ad74f88284", + "7d0530c8113eaa5c8d9ed8dc738dc1425ed0d4a4", "support" ], "conformance/ogles/GL/struct/structcopy_vec3_vert.vert": [ - "417e22ba1821580f6204cd73f8424a715d441a0a", + "a686f9c6d7f3cf8bdc971362136f15f9c391e46b", "support" ], "conformance/ogles/GL/struct/structcopy_vec4_frag.frag": [ - "58fd49bd98fbc1e367ee0cff613a21b747a5a57e", + "e628b8caf187d98d8761d9f04ad3716f16115671", "support" ], "conformance/ogles/GL/struct/structcopy_vec4_vert.vert": [ - "6b174b857ec7d7bce9aa30fdd8eb37085c4f294f", + "70f46538a91372ec2affd0d8f9389ec054519c59", "support" ], "conformance/ogles/GL/struct/structnest_bool_frag.frag": [ - "c97ffc76c91d9df3d3afa04a65704556140f4a37", + "1d0abca4105afbd0d7a933a6ab257f51ab3e5495", "support" ], "conformance/ogles/GL/struct/structnest_bool_vert.vert": [ - "caa9280ac5b400dfe574fad747d57de3588df7db", + "8a52a6ab15fb6eb205bcad3c2a3cac52a36072bc", "support" ], "conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_frag.frag": [ - "3724ea000f3af4ea202efab141ff90dcdac617d4", + "d13d2bbb6c9590dbd5dcc081ba0227bdfca038c1", "support" ], "conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_vert.vert": [ - "bb76283a3847c4b4f5039b73e17fb464bc68c1a8", + "dfc515cac2d48a3af65dbddf502c9fcef599938a", "support" ], "conformance/ogles/GL/struct/structnest_float_frag.frag": [ - "661dd52cd698c88c13aa4aae0c076a615ebd520d", + "8cb2e49b088d3c15dd83cab97b8567df056bbf19", "support" ], "conformance/ogles/GL/struct/structnest_float_vert.vert": [ - "6769dbf54653539f8e1af4609e2c3df2d89ddc08", + "18b3353c2d75a9bfcb9f99ac146b62043da964ad", "support" ], "conformance/ogles/GL/struct/structnest_mat2_frag.frag": [ - "0e942e44923249cf695e0545183b94383f079a48", + "d08a7b148ea23ff92ec38f118576204c7068efa9", "support" ], "conformance/ogles/GL/struct/structnest_mat2_vert.vert": [ - "5caff6844c20efb601b13c729418868fa6fb0ebf", + "770b63d74dc5843d3a70f7bbf0e305e2d0dc1c2e", "support" ], "conformance/ogles/GL/struct/structnest_mat3_frag.frag": [ - "7f60a690b3352db8df1437d47956b617da8e167d", + "3e01ed5b6fd9282247fe2cab03b2ecbdcaac3521", "support" ], "conformance/ogles/GL/struct/structnest_mat3_vert.vert": [ - "23629a23d25d95136ed060bd19ff00f768aa4a8c", + "0c63e231d7cd646df18796f4d9722a830e41e56c", "support" ], "conformance/ogles/GL/struct/structnest_mat4_frag.frag": [ - "35dfd46db6d24aea79c7313887787583bbb1dd61", + "03fb03c181bb10add5278a34e0f9fda9aff1611e", "support" ], "conformance/ogles/GL/struct/structnest_mat4_vert.vert": [ - "037fcb6fd9814f4ebf3433b93f43d039afedf4e4", + "89ae396b6c4fd1f178f60f9336e6ba4b21499ed6", "support" ], "conformance/ogles/GL/struct/structnest_vec2_frag.frag": [ - "ce406c86074db2f56adc91dd4c63189133f029d5", + "feff010e6c367eb1c87665f3e9429ace26bd9fe3", "support" ], "conformance/ogles/GL/struct/structnest_vec2_vert.vert": [ - "8aef5dc319762f924b3d83fb8d7aea7fd32fa14c", + "d9db7a3573fdaab48915df4765474c89d4456998", "support" ], "conformance/ogles/GL/struct/structnest_vec3_frag.frag": [ - "47a6476ae299c4d4bb9ff895a29948274ba6f128", + "6f23082574ba47c69d268cfe3b24ce22349942f9", "support" ], "conformance/ogles/GL/struct/structnest_vec3_vert.vert": [ - "b51d97fe834b4f393e1a43e52aee4118f7a1699b", + "b07d8f1fb160601f7557a3d4cded65d859687078", "support" ], "conformance/ogles/GL/struct/structnest_vec4_frag.frag": [ - "9e901e4f5e7bb98d5ad8f9df9ce8ffb9e2017055", + "0d365ea01e622cda4a5c7f5b4c1e32afef08a901", "support" ], "conformance/ogles/GL/struct/structnest_vec4_vert.vert": [ - "b553d629ccd5a75eda870e751c1e5c52648f75f6", + "7dae13b129d6ae5385234740f0e37bbde2b0d6ef", "support" ], "conformance/ogles/GL/swizzlers/input.run.txt": [ @@ -33892,543 +34812,543 @@ "support" ], "conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html": [ - "82421dd13b3b7d4a69e2ebe630b1ea4bd53815fb", + "022d14cab701918476589500ea36804ec92dae7e", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html": [ - "3ad71920d34681a754c203e06b7e4bc624d079d3", + "b4894c019ee2d8824e2563438a1a27c30bdc55d1", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html": [ - "902f4018742361e158251168af79b0d56c1b4acf", + "76e6a9a97e66715e6092af82ecce098569bcf914", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html": [ - "d5333ae4f4741b3e2ff47e846d7e5fb5796c831a", + "6a38d1f9e330ba764fe5478ecc14bb660a4f8047", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html": [ - "67d3f1220a86a55a9abf94acbacfb47fe371bf98", + "27b9a25bd09bd21f0f264ea841145ce87df298e3", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html": [ - "11d2c59562f0fd747df6b5fc0af6a0646c6870ed", + "0258666257052969f53bfc4c43bf55400a30c09d", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html": [ - "8d1cf8288956079f376524d25eada27bd31770b4", + "e0953edc174c6f0f3c0befe79e7c3262ab52749f", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html": [ - "d9f8d55befa06889481769e07f1fd1b20eeaabbf", + "6932dca56936fd85a17ad3b1ddc80b9bc1397995", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html": [ - "54f634831655fb1a3687699c1bfe2b2235c5a92c", + "8687c5dbde538322dde378f761247aee7d2a7f98", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html": [ - "066102bf67f59151ce80691601f866a00cf7413f", + "5df7f6e3bfe574c615befcc5de2dcb10b2801a41", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html": [ - "feb44c4246e708d2c1c7032adc5eb36a72fbe83d", + "f2705dd6559fe3b354bc9f3e41161d5c3c5e3c16", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html": [ - "6680b526de355de3072377d6967c8d8443f1b786", + "7f4e8ffbd31474d1e7ed94967e5d816ddc13b058", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html": [ - "b9a2be4011f3936d97341d854cf89a121fa8c3fb", + "44ad2ab8a82aebb139648cc5050df271730bff33", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html": [ - "2822db4e6bfa0424d9153b849f7540f25c105398", + "27f01167c4804364bd21cc16f33d90612c67a5c0", "testharness" ], "conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html": [ - "6ef654514f38ee73caf8149ce77dbb96968cdf7f", + "23528dea2a74c9cff0c3b99fd6300565d0a626a0", "testharness" ], "conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_frag.frag": [ - "904f37f63fd57a9c232936b1e7723920b60bacf3", + "ad4c2503097359a01defdb7a9290ddd935ba4fd1", "support" ], "conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_vert.vert": [ - "c6d2db2dc341a0ef9fe21d4dab8c9492c45b7fba", + "b4caea0eeb60f1354697182c56f5a88eeadb3f0e", "support" ], "conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_frag.frag": [ - "5c42f38268bc5c9947c429333d8f75abeb6eaca3", + "6b878fddbea629be38a62a64f3eacc3611a37814", "support" ], "conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_vert.vert": [ - "859f9a30d3eec7b34699a8bf32430faa14d7c76d", + "615ad13e2d13ff3d66d8be96804ce368e3190a42", "support" ], "conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_frag.frag": [ - "b70dd07ed2a73080ee233e0241702086fef941f3", + "c0d2fb496ba3eb1c46e6411b03bc502d25d401d0", "support" ], "conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_vert.vert": [ - "b839fa0467424fac3cb0fe12ff5c178cf90f275f", + "99ea09fc4184f2e3497c7c3cb883cfc2d086225a", "support" ], "conformance/ogles/GL/swizzlers/vec3_grb_1vec3_frag.frag": [ - "c83e4edfa4ac5ca55a2581270e3a22409b738260", + "d0fd4432f11af46bfd22c796a66d6448341c5492", "support" ], "conformance/ogles/GL/swizzlers/vec3_grb_1vec3_vert.vert": [ - "aa05b1c0de571393ede06de13a81970fa58eaab5", + "1b87fd8424bfa7d6787f2ddcf48eff6661048b32", "support" ], "conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_frag.frag": [ - "4d068c812d868797392d721c9de08ec1e57fdb2a", + "b1af38f61e296eb451046bb3547d81af6be07c63", "support" ], "conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_vert.vert": [ - "06f239c637e741fa6abafe6698bc47fb5ef66ce8", + "9ad785edab4ad483fd52f6219fbf785044b7388f", "support" ], "conformance/ogles/GL/swizzlers/vec3_pts_1vec3_frag.frag": [ - "38fa95bbb79d66ae485317d556d75c6b833dea89", + "e32c444ca3ab8caf18e0831aa8071a0ff03c5043", "support" ], "conformance/ogles/GL/swizzlers/vec3_pts_1vec3_vert.vert": [ - "1ee3ee5c70577085aa3551b527ec4155f5608036", + "56dd2a5fdb4fd8666870f22cf62eedaef72c1201", "support" ], "conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_frag.frag": [ - "793bbdaf31f4a5929de0b76022775a4624500a26", + "f3a5db36f20d9e8c5089503c0e550c3a40a6429a", "support" ], "conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_vert.vert": [ - "ba783a0e23ebf51632ce44a715cbd9120114d91b", + "eba6b333724927a79aa1bd03cdfee3a8abd83ba8", "support" ], "conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_frag.frag": [ - "d7dc421eda32a586ea67db6db6c98615f0826aa2", + "a7765ae52956fa454c0675a93050e7b117c72820", "support" ], "conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_vert.vert": [ - "4cb156c760b04fa7ee774b49c626bdc9d7be42e2", + "ff44c4bd3a8a87a3d81c1a5a0bd0f40954c59335", "support" ], "conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_frag.frag": [ - "4f1562090f1f959b4fd8c830ac0efdd6ec947060", + "16ca1bf55f03ea1a3d33f5ed24f1967f3e37057c", "support" ], "conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_vert.vert": [ - "18a3cb6d753833db9ed85ffeccdc6af45fb0de37", + "3cbb049d620b6b92ae4a64877e052d8c1ffe6519", "support" ], "conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_frag.frag": [ - "6b44706bbc97f3969760320ac784da894b51d87a", + "1246e9f9adc42180ba4a878e7ccc059d3dfc96ad", "support" ], "conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_vert.vert": [ - "b1eac1be120833f70526bb4bee5a191e80fc014d", + "4f3327c746fda3d0c714b10056360b66dbc56dc7", "support" ], "conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_frag.frag": [ - "45b3521258a27d6f44f0f6753c0f49407ac35533", + "73a9a27c50af36821b7afe0e1959e0def35ef6ce", "support" ], "conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_vert.vert": [ - "c89dafaf67b43f2616f20927918911c78deaba76", + "240354816a3241567ec98c58787088af553f6b0f", "support" ], "conformance/ogles/GL/swizzlers/vec3_stp_1vec3_frag.frag": [ - "4aac757c40fac5dbf9aa498b231f7b3fe8f6e591", + "6a96f44ecec5542e6c8db262f29d4ef31c36e736", "support" ], "conformance/ogles/GL/swizzlers/vec3_stp_1vec3_vert.vert": [ - "528cf1249a75d54f1556a59a773552c141bf6bb5", + "985e8f29894a0a4d4e0b29005cdf3a27232e6c59", "support" ], "conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_frag.frag": [ - "22687bb5181606e9df5dc38090fea8c10701dbea", + "86912c02292c35e4e72a4648a3b96df077989c0f", "support" ], "conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_vert.vert": [ - "3e67fca45e7c724a5f8cfde3aaa9135773405f5d", + "c6f48a25fc0aee546128605b2d1bae635507bdfd", "support" ], "conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_frag.frag": [ - "5a79a309ee3815f54984fbace8ff6eaca54bd284", + "672cfa9392e0bf1fda3fbb3aebabdda18c0e0430", "support" ], "conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_vert.vert": [ - "2c0ad2fdb6af0fc66fdcbc03666d98279720dfec", + "0a031f395104c1ef40c8f39939da9582bc6f586d", "support" ], "conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_frag.frag": [ - "f6af58942ca0314dc5f009dd2779fbef9f1728b1", + "ac820d26517aa266ae5b5a00c0bbd5cf497e8ad5", "support" ], "conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_vert.vert": [ - "9ea95691487043c2ba2efa75de8c0952cfc23455", + "03451256c0d51b71b436371b65a87d173ebdb98c", "support" ], "conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_frag.frag": [ - "674e1a100d0c2c9a3bc25ef5d625ee7f05a6eef1", + "011e0572efbae889953251d758035981ba63a0c6", "support" ], "conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_vert.vert": [ - "da7ef1ecd7e608f674175b62f1b7fdbb7ba76a94", + "ab46b50ff703b5ad8f1461ca9aaf9ae6975bb0f0", "support" ], "conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_frag.frag": [ - "82170b2bbbfd4ebc1efa5c9a86f366f4584343bc", + "58b59deca38fd45f23aab6da96ef7b93ba2e2e07", "support" ], "conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_vert.vert": [ - "c9f266fbcc7d5245df9dcfea5a571bbcca8ebb99", + "d747725f332b8551f68ec260359488b296f0b33a", "support" ], "conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_frag.frag": [ - "5797ea35ff5d4c48f48a12a1d374af6acf4cfe53", + "2141bf3003b63f11c1926ea03d15080149421452", "support" ], "conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_vert.vert": [ - "52b7e881286ae73c5ba9b2593364da024fef1de0", + "ebe9e6e63d7f8d534ab711a232770c2ebef90b36", "support" ], "conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_frag.frag": [ - "4e9ab94ab6c6d722ad5c25a4f7a6220989b228c3", + "92a8bd4fe9485e7d8e0fccfe747f70e684c5a9a2", "support" ], "conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_vert.vert": [ - "e7ab588c1c370e9a3c1f8454ebf0469fc5008b40", + "4e43c5be23a8507937a14df01d4cfeb15dc35ca7", "support" ], "conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_frag.frag": [ - "cfbf0b162e2daa165931cf9b4cfe2b450e9d4819", + "f3ff8238992fae542c7593eef331239bdb8328fe", "support" ], "conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_vert.vert": [ - "18140bb0ccf2b7d30c8f67c561394abbf717312c", + "121ca1f670c46d12c5786f4b2a4669610f3569c8", "support" ], "conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_frag.frag": [ - "ebfd76174075a1309785d4ab943406630163b77f", + "e3679559281569136e767ed1b865a1bc5d50bc0d", "support" ], "conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_vert.vert": [ - "5ad7348180a5ab85ba10e20dfc229233d29fe42c", + "aa1f2e2d1b66118366c4c9b8c0456841cf80490e", "support" ], "conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_frag.frag": [ - "e42011c292fb0bc873147ed467aa95172a0d10be", + "9588e4020402d99447a33987909872a44b858338", "support" ], "conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_vert.vert": [ - "9e584820a8ea8611ef51ff23d424bddb636e129e", + "4994e10937ca1ec022e3c9b80c19d4d64856fa32", "support" ], "conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_frag.frag": [ - "aa96f9d3068c123f99948e3396a4b3f0e3351251", + "c3b91a5f858c714dd526fc4dc31600e714d2526b", "support" ], "conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_vert.vert": [ - "e957f3638c2c3eddd973186a9a80e399fa32178e", + "fe1e74fed26f31a13dcce721f745607184bbef10", "support" ], "conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_frag.frag": [ - "79a497d7c2977d0d3d1fe84b32cb07fecb4b745f", + "0f78a88847fed3b0b703d5a3224865c02e2d959c", "support" ], "conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_vert.vert": [ - "dfadb88459a3e6c7dee872e7eb3d68b27f8112f1", + "e384b19ca2ddcff0f4f886ab22d381e72a07ec5d", "support" ], "conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_frag.frag": [ - "5bd6abff31597ca409803e2f052c88608d960ad0", + "0111f494e39fafecb26d86b30aeeab8afcbd61d2", "support" ], "conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_vert.vert": [ - "6c8056392516e0a7a15d67ada94145c7be2dae08", + "ab8b2b2dc180e3f8997e436d645be91c20ab43b9", "support" ], "conformance/ogles/GL/swizzlers/vec4_barg_1vec4_frag.frag": [ - "b504a29d242d3303de5e87914c65de15c535fc74", + "2569183a38a7ffce981f0783fe579493fc1ed83d", "support" ], "conformance/ogles/GL/swizzlers/vec4_barg_1vec4_vert.vert": [ - "a87174130bc69c7598afb8818cb413dc7bb11cf6", + "2142720d48f95826c8a20d0ef1e343d1360e0f81", "support" ], "conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_frag.frag": [ - "a43e9838da90fd667da42f855a6189487e91569f", + "ab9e05c0b7b8b25bd529c6b6180b04ccc2e1ce2e", "support" ], "conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_vert.vert": [ - "719fcbedc259756954b723c4db3ba52fb90509e3", + "c181e0c0c9135d81092fd39d8c52a19a9b4620d6", "support" ], "conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_frag.frag": [ - "8bd20ec2e5db8e50e773507c47665feb7f303212", + "b1462af6e68f7a0556058e95a4ce28e390f19656", "support" ], "conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_vert.vert": [ - "b513ee51e925932d4574a9a9dedb909d580bca42", + "bb3993f1b788b4e19a02859b0f561bca0e9185c0", "support" ], "conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_frag.frag": [ - "48c1680aa32d35d5cc41805403f5d945fa9ae1e7", + "3388c78fa3c05d6b2dabf7588cf87a58281b61b5", "support" ], "conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_vert.vert": [ - "96f0f593ea33685fdce440ee88272656e15f556c", + "1ec63ed751012e732f3e6e993d1981443f959c00", "support" ], "conformance/ogles/GL/swizzlers/vec4_grab_1vec4_frag.frag": [ - "3b68ac528c3cd9ee46f0613c0006e700e02cfc9d", + "f8d4f33c18fd81851302e63ce18523367ffe8a05", "support" ], "conformance/ogles/GL/swizzlers/vec4_grab_1vec4_vert.vert": [ - "4b55bd6c679bf64676242897c449130f6c52e406", + "85f8d0c7563f8b91e5199eae080950102d0ab6c7", "support" ], "conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_frag.frag": [ - "c99173785046b382751504be6a29a4714db7af68", + "84fe428ee8b2f03136138dabaad85cd611acea43", "support" ], "conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_vert.vert": [ - "b23f17642f1f179f3cf2f6ba78007f43021f15e8", + "1fa79b24bbeffe5634e5ac6157ab94a96efd31e2", "support" ], "conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_frag.frag": [ - "ca953e890d03155c51aa7ea56baede97636e68e4", + "04cdf35363e57cf4170ffe2ea193996ba86dcbff", "support" ], "conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_vert.vert": [ - "e01a4edecc6840b91eef86102d9a7a557ad306b3", + "1a4d502a4d722236e77766f8cecce78d028a4b27", "support" ], "conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_frag.frag": [ - "3c1dcf434dbe55f846438c77187b5ff674b41649", + "2f932a49af780c637cb60888c1151e7262d93c1f", "support" ], "conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_vert.vert": [ - "636d9f19f73b093edcd722e7dd1b84ea0fb4e251", + "7b6f4394d8a4d7020281408f9cd15d8856722b13", "support" ], "conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_frag.frag": [ - "6ab917e12fabe1847690f6aa1f569f9d5f7da017", + "e5d725eec607006df5158139eff248ab75293448", "support" ], "conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_vert.vert": [ - "314ebf8535af1f097e8b6ef9bb1d5d596002fca2", + "0f36642aca0294bb38449824121eae26906377b6", "support" ], "conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_frag.frag": [ - "ff1c69b09bd46da9aedaafd4d7314f6282fb23d3", + "8649155b86de138620735189650e1da3ab6badda", "support" ], "conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_vert.vert": [ - "cc9477074cdc413cf83f1b514c43d8f32a831ea3", + "cdf2a3934affca19e93126b58afdce288eac9861", "support" ], "conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_frag.frag": [ - "e98da284309c09de672a576ba10f4b27ace6b92d", + "7c7ab1ca36e27772fc60166625587fed203c3fcd", "support" ], "conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_vert.vert": [ - "831e3db6c2284edc115e05b3aa68018296d6bd1c", + "dec21c445dee7aea4797f96b210fdc3c2ec395cf", "support" ], "conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_frag.frag": [ - "80a65804cf897052ba64445273c2b73c6634145c", + "1f6ba05dbf4aae16a6e14c9c51a0362c8112dd61", "support" ], "conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_vert.vert": [ - "2caa2a6ae73698bd66d627de5a74db14399101f4", + "bd69ccbe2eaa542a98085dc297b7ce2e34de8326", "support" ], "conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_frag.frag": [ - "2ebfe00f25de64ddb066004ffec0ec79598f905d", + "7483c92f1ee57c52dd2c5a91540c2620daabac94", "support" ], "conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_vert.vert": [ - "386d0363fbe04a6cdeeefb29cd51dc30484d85e7", + "1b1fa0e25935b7771732625dd13aedce7f254d53", "support" ], "conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_frag.frag": [ - "91e1a820d06b24e5a7fa1162469075bae76fc8b0", + "91f88ab550f666f033268060d3a620d341550be0", "support" ], "conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_vert.vert": [ - "8ebd84f72d59c68ff964f86a9ba22ae06e7d291c", + "68e1a75b9627c791afcd22979a8618499c45419d", "support" ], "conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_frag.frag": [ - "99bdaba54488ee2fc640361b9ce74c95a6df1916", + "a470f51cce48969c5858cb767fc053f3c1ce17a4", "support" ], "conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_vert.vert": [ - "951332de813c702b62fc7716657aa1a077809d5d", + "adf605add9623d7ff2cfcc9df6baace8bc1bca50", "support" ], "conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_frag.frag": [ - "5b5788c255f2a83e586720bd2df7a64ac111079a", + "b848511c3be0090eb6c265fa803f09dc696f5070", "support" ], "conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_vert.vert": [ - "d1dcb69e4c75ed054d0ae6de605db7a5987554e3", + "689d7d5e7db89acc7b4f112d43613966b3542f0f", "support" ], "conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_frag.frag": [ - "ad5b7ab81c62574b5fd532275600a3e5d80a78c9", + "5d600a2cfab8c72d97e3cef9cefefe9f64d39ddc", "support" ], "conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_vert.vert": [ - "de28603ef101df0100e362e5c755cabe6ec8d8e7", + "9c57a8d5da4c34c4addf5e43689a88c8013b8e05", "support" ], "conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_frag.frag": [ - "0f18279c3bc5b1ae95eb8652e856f3ef75249fa9", + "c709061a5257079ab3ef88187242764a0c447a0c", "support" ], "conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_vert.vert": [ - "350307f5478eba87dc627fa684a1948089532be4", + "93316f4ebdc7019d2caf501087ec46dc1895e365", "support" ], "conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_frag.frag": [ - "6e08374801160b2ecc6b0ecd02c2617222b0b813", + "c97bf22073d6b23c7b69757de726d816009c8f84", "support" ], "conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_vert.vert": [ - "c37ab831c9a9d16dddccc29ed32026f3c994f475", + "e84962163896afd42301478d7783b4eccbf9539d", "support" ], "conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_frag.frag": [ - "aef088ad5218c8e18b7879f9ea00d7f397d08c6c", + "45b472c1090103f2a0152a13d1aca53a05f067f5", "support" ], "conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_vert.vert": [ - "f3b1ead75c88e26a14640cb28661bacbae07ba12", + "d433805fd5888b4e4cb2821f027f7c29b31f04c7", "support" ], "conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_frag.frag": [ - "581d9f71d4e5a27b8e95fca98b15e882d2db4749", + "b78c8e49e3a762c76be6c17ea25319aa0c4de05f", "support" ], "conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_vert.vert": [ - "2ea520f698d14c049f3c377e6c701820a2ce73ce", + "c30c6aa9529bb97a5eb453c5df16d1b97424ce3c", "support" ], "conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_frag.frag": [ - "e5396dd9c9676fac734c4e74cca637ca60466d39", + "cad5fab2c3de27a1e0c8011a38c08b5d6ec1e1d8", "support" ], "conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_vert.vert": [ - "7c441b18ebc9344e298526f99345fc96538b00c7", + "7296ff0ae9a91d92c03f764202439f443a93836a", "support" ], "conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_frag.frag": [ - "0ad485aae80e16101917e4aa4b442c86af017514", + "2c23493b67b23615173fec276ee99a0b33576625", "support" ], "conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_vert.vert": [ - "64555ff3ce9aae46f968dda1217867dfcdf84df9", + "dd3af2d9f862cc00a9afdad49b796346d5342d58", "support" ], "conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_frag.frag": [ - "d545e4f839294dfa3d3fc1eca376118b96111974", + "d0856d99a966b288dfb951b34a91479e7f5a51be", "support" ], "conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_vert.vert": [ - "0947d0e14fe18a397921cf8dfebe5e729b991e35", + "3229f29aab735c739fb7447020bc10cd3c501bb3", "support" ], "conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_frag.frag": [ - "a519c224a9b1006bb59e9ead418322fedd383636", + "500a03fcb98c551e66795ca48e33d917de8c36ae", "support" ], "conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_vert.vert": [ - "fda1510f2711a247c00072a2471aec6249268fdd", + "147c13482caae2ce0c2a93ef70afafaf7004c06e", "support" ], "conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_frag.frag": [ - "616ce284174bc6df113fd3eb148de27a22ffecca", + "8b807bfd243db7053e585d8e350d7bc7afd00617", "support" ], "conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_vert.vert": [ - "2543c3d5e6f10db5a101794524647090d0b88cac", + "1b70abe6dcad1a845718332b20c86fe639dac4bb", "support" ], "conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_frag.frag": [ - "41fa50244a5b8a0037bc77f1f3e99747aee5e073", + "89e6c8d0dc0df6fa5d87dc95b1a04d959a2338bf", "support" ], "conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_vert.vert": [ - "34d130a828f79a413197a339c30bea0bc66a5bc2", + "b0b7c276c572dea501b75892526b010a3f00177a", "support" ], "conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_frag.frag": [ - "01743837d5ee294d886045ae2eaaedf94494bdbe", + "37be342cf7518b6519c14063098b698902951df7", "support" ], "conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_vert.vert": [ - "3767b27f07993cc452b9c60d9b49828ae69409bc", + "8ae968d18400d70536fd000ed377617418b35049", "support" ], "conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_frag.frag": [ - "9bb3c7eb8950543dab28fb663802c95abbdd7900", + "4fc638f249fb3b16ca1943d7db4f48c8213bd8b2", "support" ], "conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_vert.vert": [ - "ba7ac54d9ad4d61e9ed8ad79cd27e4bc29ec8b9d", + "71b245113d4bca96915d1ff3e21951f6b85096a4", "support" ], "conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_frag.frag": [ - "364ac8ad4feea84caef7a07301a56342c7740362", + "403a9110a856a0f651fd5923575cec3182658b78", "support" ], "conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_vert.vert": [ - "e56967dd280408241fbe89f6dd348e0bf8aa038e", + "0d05df10109496c9aed32c02bb21657484f1b384", "support" ], "conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_frag.frag": [ - "83dc4a3d729f8a1a6411a57ece8a2695be819fa9", + "07757ff1a98acff97845e4f83723f7250c829a9a", "support" ], "conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_vert.vert": [ - "7cce9237b6da79a4a227fcb08ae5d242d6c03021", + "00f5f2e7e84a2faa166f26ed285a15a6552287bb", "support" ], "conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_frag.frag": [ - "1c04fc45b20ead21d62632ac875a63544a548ebb", + "9e49edde780638dd86a0ff9d6dc62966a3c99bd7", "support" ], "conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_vert.vert": [ - "fee29117f314c7d43e0a37e740c7f28c922c5394", + "99bf91c1ee9f85adba9dedb3a1e3395b4e17b092", "support" ], "conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_frag.frag": [ - "8153bdadb0320f30bca2be54a12653ff749a0834", + "d67d7b1387c743452520b2856079fcb827654aad", "support" ], "conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_vert.vert": [ - "50b379eef17b03a086641d4ac396a519d1c08758", + "9bb3028ebc69ff508a45579c99f50acbde34745b", "support" ], "conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_frag.frag": [ - "50bbfd2168345f015c3d529c8957956bd5722219", + "6af3719cbe85b840dd2e6967173482a452fe0c8f", "support" ], "conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_vert.vert": [ - "5ca0bd85fa130fc39485accc842d005e7ffa41af", + "106077653f53ec2bbc7a9f0b363c25bbda8034ca", "support" ], "conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_frag.frag": [ - "e23254f88f688154f45decc2a571fe0fb2f90406", + "059d5dcd042834a5d5584dd66d39b81faec567bc", "support" ], "conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_vert.vert": [ - "5856cd12c5aa02789d082418be6fa809fafa1551", + "ff8513507e27a3c899c97bdf4837ea1ec63b5871", "support" ], "conformance/ogles/GL/tan/input.run.txt": [ @@ -34436,63 +35356,63 @@ "support" ], "conformance/ogles/GL/tan/tan_001_to_006.html": [ - "bef02d1d4d8f0428713c9aa4b007c4cd8022b1bb", + "0d8b1d70a87f91f54d1f9391283a60d5bd710c35", "testharness" ], "conformance/ogles/GL/tan/tan_float_frag_xvary.frag": [ - "d8b1787574c52591ed2f0fcf01dd70aeea9a913c", + "f5c02d0457aab08bf2df93b09fe89d4e5e0266ea", "support" ], "conformance/ogles/GL/tan/tan_float_frag_xvary_ref.frag": [ - "0ea301ee32362e28ac77aa7a6d50930766d46e26", + "65a820e13eb0b35396bd38626e59085efc29c92c", "support" ], "conformance/ogles/GL/tan/tan_float_vert_xvary.vert": [ - "4cbf683dc896d47a8d10e3c61ee11b23133a750a", + "501b5725fe88659acd1ba07b93abfd4f6db18108", "support" ], "conformance/ogles/GL/tan/tan_float_vert_xvary_ref.vert": [ - "fa38fb1f29069e75c29e9e932d08378d2fefbd10", + "97cd3cca258a701283020fd256eb918906a7d49b", "support" ], "conformance/ogles/GL/tan/tan_vec2_frag_xvary.frag": [ - "4291ce927252755a7e14510fd7e536126f572dce", + "759e622e95e40e6f8d886af232f148734fd2638f", "support" ], "conformance/ogles/GL/tan/tan_vec2_frag_xvary_ref.frag": [ - "1cec3170ef094e8dd46f491a2b18805c77bb5724", + "0b427094bdd0e351b61923e82b13046d0468d5b1", "support" ], "conformance/ogles/GL/tan/tan_vec2_vert_xvary.vert": [ - "67fd15d11aaf928877113909ee08c553fdd419d1", + "9bb1d5b0fdb74a0ef113b138a89e40fa823699a8", "support" ], "conformance/ogles/GL/tan/tan_vec2_vert_xvary_ref.vert": [ - "00ad75c1e9aa2e677962f94fd27a2893e297d7d4", + "fdd63bc2e6df785511c69ba8a1e030d9668fe39f", "support" ], "conformance/ogles/GL/tan/tan_vec3_frag_xvary.frag": [ - "d4002a139d8fb2a51fc75405ffec5e3e3864670e", + "5e442b591a998e0528d670f8b04a5a5573810a5d", "support" ], "conformance/ogles/GL/tan/tan_vec3_frag_xvary_ref.frag": [ - "19deb191598f9b17f34acb7d3cfcf7d15a73e2cf", + "09d152b2518eb9f1353426152dd5c83a0beb5695", "support" ], "conformance/ogles/GL/tan/tan_vec3_vert_xvary.vert": [ - "375549ff46dbf78c9034dbb7653f6f1d03b56a71", + "66929bae675dfa8dd12fa7e95271a91880ee04e5", "support" ], "conformance/ogles/GL/tan/tan_vec3_vert_xvary_ref.vert": [ - "53e10c04b0af5be8e706275748be3d4d577f9874", + "fd99616bac6d67acddbe0d3ea2311afd67d4ef94", "support" ], "conformance/ogles/GL/vec/bvec4_2int_2float_frag.frag": [ - "27b4aa1de37eea0bbb6e60ab2db7bcbc57ebc22a", + "91f6ba0695060866a02899b91dfe228212705845", "support" ], "conformance/ogles/GL/vec/bvec4_2int_2float_vert.vert": [ - "e9ad4f444f4a084d559979a20b67ddd50d632b62", + "9a672e0ef73f7fe707ab204bbb7ba623ef7ae60f", "support" ], "conformance/ogles/GL/vec/input.run.txt": [ @@ -34500,79 +35420,79 @@ "support" ], "conformance/ogles/GL/vec/ivec3_3int_frag.frag": [ - "fbe878e2140d7e058f87088837565a458ea5a86e", + "a603bad89cb554545569ac5c866c62a7f4733bd4", "support" ], "conformance/ogles/GL/vec/ivec3_3int_vert.vert": [ - "ced476a5b83064f4b4c012537775c3728ff835a8", + "81d0b3701ff3ae6c61187683fee8abf43c8124e1", "support" ], "conformance/ogles/GL/vec/vec2_2float_frag.frag": [ - "138f4bd5a889b386ebf645cd55ba1cfafd8e1d5e", + "d2b17980a70b8e7b49e5a1a3c565e62550e3ec6a", "support" ], "conformance/ogles/GL/vec/vec2_2float_vert.vert": [ - "8d7cff9392f6f99446a1f42ca38ab5f8a6f63a48", + "0a1854c81297ae65c7ec58c44906b86dfea38cc9", "support" ], "conformance/ogles/GL/vec/vec2_vec3_frag.frag": [ - "aa553d87ef8421b7eb864e76b79608d7fc40630c", + "6dae4e49bd10393509ff2d8c7a677fba15ea1bdf", "support" ], "conformance/ogles/GL/vec/vec2_vec3_vert.vert": [ - "4425357ee060f492844216a115a7cf851c7bf1b7", + "b0be5bb6f25bd201439f3ab27a0a8ef3c5f6d2b5", "support" ], "conformance/ogles/GL/vec/vec3_float_vec2_frag.frag": [ - "8e1509968621e9277cddfcc02034a56a44896460", + "50f3b951b9c77c51e0c5f524e6084f170b0a0953", "support" ], "conformance/ogles/GL/vec/vec3_float_vec2_vert.vert": [ - "8ec60c166bb619f1dbc0f8935c02b6ea9f6708e9", + "cb6dbca18ffa532f7966cef9c88912360aca0196", "support" ], "conformance/ogles/GL/vec/vec3_vec2_float_frag.frag": [ - "e51890bb252c4ed4264c4ce12080473d7359186a", + "d093aa29fdd368381085281314af15ca8bb3ca66", "support" ], "conformance/ogles/GL/vec/vec3_vec2_float_vert.vert": [ - "af4463f059dd42af9a08bebdc8ac95ef8ae4e31e", + "21da106893cf22043121fa0a8d2cc3b6ffce7bdc", "support" ], "conformance/ogles/GL/vec/vec3_vec4_frag.frag": [ - "9a2573416d2f24da4817e4f36e4bf5d3d20ecd3e", + "b0c8e3b6cfeab64d6305e7248c4ccf84ea99356d", "support" ], "conformance/ogles/GL/vec/vec3_vec4_vert.vert": [ - "4f2d19bc1d50e93bb1a0106189ba460a9315e39b", + "60e3e4d79a355ad2e6e9d7d95172b53b10c8dc69", "support" ], "conformance/ogles/GL/vec/vec4_ivec4_frag.frag": [ - "616c784b26e42e6b770856668eaff7fd75f8f441", + "15ce47066dc5fd642379054a13982b3e78abfef0", "support" ], "conformance/ogles/GL/vec/vec4_ivec4_vert.vert": [ - "4d7876a8f89353e53e6b933b4d5584fd47f5d287", + "510fd123a32154a86ff8087e1a21c1644c68f985", "support" ], "conformance/ogles/GL/vec/vec4_vec3_float_frag.frag": [ - "96929536717f352ffb0ada0ac2f39336100b322d", + "6e330f797afa1fbd7867f1d9babf00095fb3c76f", "support" ], "conformance/ogles/GL/vec/vec4_vec3_float_vert.vert": [ - "8d1c4a0f950acdd9f97635267be879ee8a505f5d", + "3ad46ce59d8f90ce4fb9c6313aa77e6c14ab60ae", "support" ], "conformance/ogles/GL/vec/vec_001_to_008.html": [ - "1bc3cd6c34a56b8895659fed604a832a092eff1c", + "5f55e7321768b944a13e6979caa0898740c3d821", "testharness" ], "conformance/ogles/GL/vec/vec_009_to_016.html": [ - "4e81d4cff92533581f58867257f0fbef924972ae", + "d8573af715c5ec2530babdbd5933ab3fc4276dfe", "testharness" ], "conformance/ogles/GL/vec/vec_017_to_018.html": [ - "6fd7f05dfc19f4573aa71d0045646d80455d1997", + "0b4c05e43092c1989c642c3a3c7c78d43fc6905e", "testharness" ], "conformance/ogles/GL/vec3/input.run.txt": [ @@ -34580,7 +35500,7 @@ "support" ], "conformance/ogles/GL/vec3/vec3_001_to_008.html": [ - "776df70f05fa5bb683cc82c8c182e44cea0a5564", + "b88ba393ff64480bf0e33191c5106c3104111432", "testharness" ], "conformance/ogles/GL/vec3/vec3array_frag.frag": [ @@ -34600,7 +35520,7 @@ "support" ], "conformance/ogles/GL/vec3/vec3arrayindirect_frag.frag": [ - "2f884a2018463a750bf57abb72db58e049a2e926", + "7e6e26e49c4d22d8245704fbdde658b1d49045bd", "support" ], "conformance/ogles/GL/vec3/vec3arrayindirect_vert.vert": [ @@ -34616,219 +35536,219 @@ "support" ], "conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.frag": [ - "8711f9fba19423131f90ce17dcd1aee1735b21b6", + "dc65a5a7183d2a2104e1d4927f339296dff836e8", "support" ], "conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.vert": [ - "aa4a0fc57f299b7445ff41a3a23b455ca3230ec6", + "16a2c2a72b6274d58b405a7887f21741646d463f", "support" ], "conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.frag": [ - "410d2051b308af9927f2637f443ea6c65b4357df", + "e605bf75854c40b89b9751f1e65d312c65334ea7", "support" ], "conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.vert": [ - "45621b7622b4c6b5d661a35545a5aa54b5d39c95", + "19f17bd5edc92ed535bcca506c5daa33d6fff794", "support" ], "conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.frag": [ - "80aa8c3e391716a5098dbff12f0e93f772e63358", + "6cae5b9557d62573f535ad7694f9380414be32e0", "support" ], "conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.vert": [ - "45621b7622b4c6b5d661a35545a5aa54b5d39c95", + "19f17bd5edc92ed535bcca506c5daa33d6fff794", "support" ], "conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.frag": [ - "427d31552e5b95d273947c2b895fdbb25c06f9e1", + "dfeb3db7c15fa4564c88bc006d6eaa4cb6039e59", "support" ], "conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.vert": [ - "dd1378f46c32de9c0214b06b21f8c298d97acade", + "a373ce6249992aa25636bda407b69441d1a63478", "support" ], "conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.frag": [ - "c988b0e07b483fa1c218172bc0669922371be865", + "1036de455515201a35109c81ea9445b86775c710", "support" ], "conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.vert": [ - "dd1378f46c32de9c0214b06b21f8c298d97acade", + "a373ce6249992aa25636bda407b69441d1a63478", "support" ], "conformance/ogles/GL2ExtensionTests/default_shaders/default.frag": [ - "90478e8490bfb2b513600c2932654196c3e6475c", + "e9d460fb20cd92ad8fbf7a833e75f74de6920192", "support" ], "conformance/ogles/GL2ExtensionTests/default_shaders/default.vert": [ - "15ce4de99ac07f6de3b475a9c1f9afad19e5b187", + "4cb92aa773da7613a32ec9c6b5d9634c2c63db67", "support" ], "conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.frag": [ - "bf905fab9b1dcf31f2765264317bf167e78c81c3", + "8db3c6954f76459f3aa5a48607e421d7aeb80553", "support" ], "conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.vert": [ - "56e028240b74ca7d3b55ecf23b359c4c10f928f2", + "1b5b7831a4637cdd5a91f5967fc63f2a132db820", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.frag": [ - "3c59847835a9a16fb1d0f764949c8514d319d0c0", + "cae6f567444d6744054d52180b27d76cd8a63ef1", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.vert": [ - "45621b7622b4c6b5d661a35545a5aa54b5d39c95", + "19f17bd5edc92ed535bcca506c5daa33d6fff794", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.frag": [ - "83a198d553d468328aa67a7431213f7a9b4edd01", + "023f07111a1e071ad7538dc226c8f9be3fdcaa92", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.vert": [ - "45621b7622b4c6b5d661a35545a5aa54b5d39c95", + "19f17bd5edc92ed535bcca506c5daa33d6fff794", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.frag": [ - "ff4dda6eb630627f34f7dfbab96c4ff9cbe770cc", + "24e6be0133379561be9084e4663e0576c10f6588", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.vert": [ - "45621b7622b4c6b5d661a35545a5aa54b5d39c95", + "19f17bd5edc92ed535bcca506c5daa33d6fff794", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.frag": [ - "26e1b40416fc2d40f995c3303392ecc319122163", + "6dc825a7865c9af548b7d7754e918e30bee1e475", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.vert": [ - "45621b7622b4c6b5d661a35545a5aa54b5d39c95", + "19f17bd5edc92ed535bcca506c5daa33d6fff794", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.frag": [ - "cbb4cd00c5f7c53887f6183a81e64b62b690cfe2", + "5f7173c3e884b65c0bf3642996d5f1171baea5ec", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.vert": [ - "45621b7622b4c6b5d661a35545a5aa54b5d39c95", + "19f17bd5edc92ed535bcca506c5daa33d6fff794", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.frag": [ - "0b171011419a375da78b68109bab5780d76dc109", + "1f25729b44e22edad8a6927a47eb3f162425fc2d", "support" ], "conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.vert": [ - "45621b7622b4c6b5d661a35545a5aa54b5d39c95", + "19f17bd5edc92ed535bcca506c5daa33d6fff794", "support" ], "conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.frag": [ - "60293df815b5f6758af8ec4d466127cf1a13bfd9", + "b25540e1e6ea9bc6a449a7f1ba0033b2fbb09d12", "support" ], "conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.vert": [ - "eaff41129f89d18e751a51447b1c95bc2fab25f4", + "3c0c0e0764a1f98534721d5aa410dde8bf697b77", "support" ], "conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.frag": [ - "27f68c20410289c16b530cfc076c611a6fc15575", + "30115c372b2c6b39a664867deaa217a0499dd8ca", "support" ], "conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.vert": [ - "b496ac1d9a4b3658e42a2aca159e3a0cb9237595", + "a327a7e0d865e1d052f8a0b9622e157d93834a5b", "support" ], "conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.frag": [ - "90478e8490bfb2b513600c2932654196c3e6475c", + "e9d460fb20cd92ad8fbf7a833e75f74de6920192", "support" ], "conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.vert": [ - "fe4fa52c295543066b1928cf0d776297d0fa760f", + "2811521b7fb4667b76bea04fbab9290a6344f123", "support" ], "conformance/ogles/GL2FixedTests/copy_texture/copy_texture.frag": [ - "abab5fe58e1bfce724659f8747ec8769e4adef77", + "3fc499ba0b062c998d65f5145ec52904581e0e69", "support" ], "conformance/ogles/GL2FixedTests/default_shaders/default.frag": [ - "90478e8490bfb2b513600c2932654196c3e6475c", + "e9d460fb20cd92ad8fbf7a833e75f74de6920192", "support" ], "conformance/ogles/GL2FixedTests/default_shaders/default.vert": [ - "2943d817bcfd6303cb1d7fc41ef0488455eef926", + "72e83fd0322a92a0d9c8d6c27085a284cc43b820", "support" ], "conformance/ogles/GL2FixedTests/default_shaders/default_textured.frag": [ - "bf905fab9b1dcf31f2765264317bf167e78c81c3", + "8db3c6954f76459f3aa5a48607e421d7aeb80553", "support" ], "conformance/ogles/GL2FixedTests/default_shaders/default_textured.vert": [ - "56e028240b74ca7d3b55ecf23b359c4c10f928f2", + "1b5b7831a4637cdd5a91f5967fc63f2a132db820", "support" ], "conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.frag": [ - "90478e8490bfb2b513600c2932654196c3e6475c", + "2f751e7062b5c53c3d211c0349ec39f34b7276d3", "support" ], "conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.vert": [ - "106752f68a2049331c1457ce259f84e72e8cb713", + "aafe53fbba469b0a911fb83c14654bf2f5233b66", "support" ], "conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.frag": [ - "90478e8490bfb2b513600c2932654196c3e6475c", + "e9d460fb20cd92ad8fbf7a833e75f74de6920192", "support" ], "conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.vert": [ - "428a664dd898d40db523f2c949f38d45636f7611", + "da6387dcc6770aa97860e9576d3b7ee7471fdce0", "support" ], "conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.frag": [ - "90478e8490bfb2b513600c2932654196c3e6475c", + "e9d460fb20cd92ad8fbf7a833e75f74de6920192", "support" ], "conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.vert": [ - "1495d97065a34ab97c44e48dc7b82d12c3aa368a", + "5ff012587419e67f0f6aa5a6b5b3de6838f5c2de", "support" ], "conformance/ogles/GL2FixedTests/point_sprites/point_sprites.frag": [ - "3b45776b9976aeba3b23ba336f409dfea8bc4c9b", + "96a04a9ce24ec7fd245333740518fa4d850f442f", "support" ], "conformance/ogles/GL2FixedTests/point_sprites/point_sprites.vert": [ - "11ee23e76258d1037e6b03896b883f5bde970169", + "a85dd66bb8adfea3eef96591f9b3c30544665fbc", "support" ], "conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.frag": [ - "c0f674a1e7bb5ed478fb708c75d88f42b8e46ef2", + "f91d4b0e8d5eb8e2a183ed2038a27dfa9ac4d87b", "support" ], "conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.vert": [ - "79a8817fc40fc1880d39945000059756f53f9a25", + "ed27fe77e4575b654160db875f19bd183ad7d05c", "support" ], "conformance/ogles/GL2Tests/attach_shader/successfulcompile_frag.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/attach_shader/successfulcompile_vert.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_frag.frag": [ - "c95c8273764c75744d9d2fdbf11a0f5461189488", + "fd471888521d6020fc1c35128a57991892f78024", "support" ], "conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_vert.vert": [ - "6f761866b4c9c072ffcd7086adfaf72fbc0967d5", + "c73892a4cab7dfc4b696e65f6cf7826d638f5cc5", "support" ], "conformance/ogles/GL2Tests/bind_attribute_location/brick.frag": [ - "fb1e02735d181eeff7b274d0b2e73d067bfbe80f", + "870d53d0533be6de15ba4fc102f05d66693ee448", "support" ], "conformance/ogles/GL2Tests/bind_attribute_location/brick.vert": [ - "d09c29a47133024339cad6da8c2ed41b894aea90", + "8895eba8810497fc8d7dc1bbb43cf629396485ce", "support" ], "conformance/ogles/GL2Tests/compile_shader/brick.vert": [ - "6f761866b4c9c072ffcd7086adfaf72fbc0967d5", + "c73892a4cab7dfc4b696e65f6cf7826d638f5cc5", "support" ], "conformance/ogles/GL2Tests/compile_shader/texture.frag": [ @@ -34836,27 +35756,27 @@ "support" ], "conformance/ogles/GL2Tests/compile_shader/wood.frag": [ - "c95c8273764c75744d9d2fdbf11a0f5461189488", + "fd471888521d6020fc1c35128a57991892f78024", "support" ], "conformance/ogles/GL2Tests/compile_shader/wood.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/delete_object/successfulcompile_frag.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/delete_object/successfulcompile_vert.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/detach_shader/successfulcompile_frag.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/detach_shader/successfulcompile_vert.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/framebuffer_objects/fboShader0.frag": [ @@ -34868,31 +35788,31 @@ "support" ], "conformance/ogles/GL2Tests/get_active_attribute/brick.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/get_active_attribute/brick_mat2.vert": [ - "2e15c39882886c1e634d32955c4e61b0e32d9f30", + "2f30ce654172c67dc045f9232b8af487f3966627", "support" ], "conformance/ogles/GL2Tests/get_active_attribute/brick_mat3.vert": [ - "35b393eb119406e52e2826ebb9ff7289c8803d9d", + "6653570d694d78ab28d59834b9258626ade44848", "support" ], "conformance/ogles/GL2Tests/get_active_attribute/brick_mat4.vert": [ - "70c9744cd4acf1a475238eada92c5726bc0ce039", + "41cbc95b24f8a6acb54c8a83d99e6d2c772c15fa", "support" ], "conformance/ogles/GL2Tests/get_active_attribute/brick_vec.vert": [ - "9d038e189a802c8d964e8ecffffc11a6edc01189", + "cbb971545b213ad003b8835a61635e1aef17d829", "support" ], "conformance/ogles/GL2Tests/get_active_uniform/brick.frag": [ - "3bae9ffd9f515ba711c84c9185a89ca71ebf7ff3", + "41c8d30a202ca4f837d27b1bf2dc5a99b91e2d65", "support" ], "conformance/ogles/GL2Tests/get_active_uniform/brick.vert": [ - "292c2ec1b051b764a22b56574dbbb8dad4787207", + "cc24e815f70a0ece4d10ed9df2561ca9b547575f", "support" ], "conformance/ogles/GL2Tests/get_attribute_location/brick.frag": [ @@ -34900,295 +35820,295 @@ "support" ], "conformance/ogles/GL2Tests/get_attribute_location/brick.vert": [ - "3214a60419783ba0897e49d2b6e8a735fe1020bd", + "2a94ead4fbc0462b99794e505c10ec184e706246", "support" ], "conformance/ogles/GL2Tests/get_handle/successfulcompile_frag.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/get_handle/successfulcompile_vert.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/get_uniform_location/brick.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/get_uniform_location/brick.vert": [ - "13bea9af933c31d80137be7fc065bbf340ad5578", + "24227d48f74366bd79fe727d2cfa5cc0d238912a", "support" ], "conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.frag": [ - "865f9d8e55df7bbcfcdc75a58bb133ad72aba9a5", + "99c78e207392a911d8fdef8760069e1b5eaf13c5", "support" ], "conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.vert": [ - "ca6fb335b50bee67c49411850e7d29e0087fff1d", + "cc4028a5f7d92ab5bd3018da81e1c9099612c38c", "support" ], "conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.vert": [ - "13bea9af933c31d80137be7fc065bbf340ad5578", + "24227d48f74366bd79fe727d2cfa5cc0d238912a", "support" ], "conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.frag": [ - "865f9d8e55df7bbcfcdc75a58bb133ad72aba9a5", + "99c78e207392a911d8fdef8760069e1b5eaf13c5", "support" ], "conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.vert": [ - "ca6fb335b50bee67c49411850e7d29e0087fff1d", + "cc4028a5f7d92ab5bd3018da81e1c9099612c38c", "support" ], "conformance/ogles/GL2Tests/glGetUniform/bvec_tests.frag": [ - "ae223718cc8c870f146cc65025ad82fabb4611aa", + "5ca53807ea2425864133ecaa73fb4de733bdea0a", "support" ], "conformance/ogles/GL2Tests/glGetUniform/bvec_tests.vert": [ - "4eeb4ea8f9433e76d29b25ee585f813cb541f5c9", + "1d9153361e368f80f72f832757a874c8ec0e1baa", "support" ], "conformance/ogles/GL2Tests/glGetUniform/ivec_tests.frag": [ - "a64461d8b81bbc8078511aa8b3ddf0011c235df6", + "6d7e37eba35f69f55d942ccbb7db9e5ee59d182d", "support" ], "conformance/ogles/GL2Tests/glGetUniform/ivec_tests.vert": [ - "96ab2a45d92ee7da81e88ee8e48589114fad3f32", + "d854d0f4b4be4355fac93a7cdc0dd20f4d2f4d60", "support" ], "conformance/ogles/GL2Tests/glGetUniform/mat_tests.frag": [ - "87049a71414a79067f8694666c44db93c88db824", + "ea3f8599515e4b5353b48cec62966d3dc23487d8", "support" ], "conformance/ogles/GL2Tests/glGetUniform/mat_tests.vert": [ - "f1171ef1e663834bf9f2ce72bc189726cff71000", + "f3f6e0dcc758b2b729174afe078820b062b78510", "support" ], "conformance/ogles/GL2Tests/glGetUniform/vec_tests.frag": [ - "c10c18b132216b687a18bd4687da81e8bc00edbc", + "e3f2c84db2c15a85aa4527746ed2762a44d2f638", "support" ], "conformance/ogles/GL2Tests/glGetUniform/vec_tests.vert": [ - "63f5521fc9e40b13103120da6408ba36c3761fe7", + "86138149d75f09302743e3381df8e9016f07d65a", "support" ], "conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests.vert": [ - "be44b11b5342817c6e3f13b757fe30ff68e10b31", + "e9b83a4909445dfff80ce05acf7cb2b8a01c41c0", "support" ], "conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests2.vert": [ - "9d426534c93db55e54b66fa47c5e6c844f131349", + "2d0fbeea7d105178233440d6a13b6f99d21dfd44", "support" ], "conformance/ogles/GL2Tests/glGetVertexAttrib/vec_tests.vert": [ - "3f576d3943850d88c8a2ef666a6384ec146518e9", + "fc870e7393f1b350f58062ba73f727c2047e86b2", "support" ], "conformance/ogles/GL2Tests/glUniform/1b_frag.frag": [ - "6e1f02155693e08053244ba6920883a62abe5f35", + "a8d9f3fe430d845a143b30470241a38d48b53797", "support" ], "conformance/ogles/GL2Tests/glUniform/1b_vert.frag": [ - "41eb65ff1f2f71ad13c1e679b0326f514eb03636", + "ba62f2f2d93eb0e9dffab17075199a6be1c02afe", "support" ], "conformance/ogles/GL2Tests/glUniform/1b_vert.vert": [ - "7b8afb7953bbbd02ae5a3f888d8a4d4f2b9b8084", + "a28e76a77ad47dde68f3707132f0e80177a481ab", "support" ], "conformance/ogles/GL2Tests/glUniform/1f_frag.frag": [ - "175d2c26eac5c889cb92b83580ae6fb85a49df0e", + "9156be3c0ae9e809f31c94f6fe650f5e7a0f55b7", "support" ], "conformance/ogles/GL2Tests/glUniform/1f_vert.frag": [ - "975a5611ec1cd1c42b351ac590ce97f65166fe27", + "ac8f2b4ccaaaa3eb52f03bbfe0a83ef3991a314f", "support" ], "conformance/ogles/GL2Tests/glUniform/1f_vert.vert": [ - "e76b40b69c9b67cdd5f30c775f24d33f847580c8", + "06699439726cf59c496531e85c607a1d6770a1ea", "support" ], "conformance/ogles/GL2Tests/glUniform/1i_frag.frag": [ - "384638e32d5e9e1a9723a15d0cf5bafc90845155", + "35d70bce9ce4488b1ef6baa200bf09bc0a06e551", "support" ], "conformance/ogles/GL2Tests/glUniform/1i_vert.frag": [ - "975a5611ec1cd1c42b351ac590ce97f65166fe27", + "ac8f2b4ccaaaa3eb52f03bbfe0a83ef3991a314f", "support" ], "conformance/ogles/GL2Tests/glUniform/1i_vert.vert": [ - "087b59823655ef74f83740e30a50343266b87406", + "7f22a96747d7c475be3753aa72949ed7774ff85f", "support" ], "conformance/ogles/GL2Tests/glUniform/21f_frag.frag": [ - "8bfcabbc7bf795b132832d066e8daff631e17b30", + "c60e5e07d6067273e2460b3da91e301d7b5f73d1", "support" ], "conformance/ogles/GL2Tests/glUniform/21i_frag.frag": [ - "e2c32ef2055ec82d9c22306049a451caf7dde100", + "16960a59babda09b63521b9d61f7ec61c49e46f8", "support" ], "conformance/ogles/GL2Tests/glUniform/22f_frag.frag": [ - "dab986a61ecb7ea262637a4f274f33a650112304", + "dd823e3617253b366cd498fe7059b61acf3f2ba6", "support" ], "conformance/ogles/GL2Tests/glUniform/22i_frag.frag": [ - "e9ec4153d3162f649f2fbf2777252412ccfc6c1d", + "67577430b1407c3d37cc487edbf3e247e8bec22e", "support" ], "conformance/ogles/GL2Tests/glUniform/23f_frag.frag": [ - "1421659b57dd2ff48f5a992b7660fb71d1426506", + "8d7a6c3ba68a863c2b129f40eb642632d2e79f66", "support" ], "conformance/ogles/GL2Tests/glUniform/23i_frag.frag": [ - "6959d439a41a3eb184d0d1750a3d30e6e45fd497", + "c4574b87078488730d431666f156f7c13320be38", "support" ], "conformance/ogles/GL2Tests/glUniform/24f_frag.frag": [ - "7e5218f0c03fe1c9f62a489a18845a81f769b7d7", + "5363d5e4970376c8f1da530eab2c2f523f451a17", "support" ], "conformance/ogles/GL2Tests/glUniform/24i_frag.frag": [ - "ceec76b0ff05686cc163a4fd33fb8ef586e165d6", + "8427354158f33e7831789560561b8611070b0cff", "support" ], "conformance/ogles/GL2Tests/glUniform/2b_frag.frag": [ - "fa5de60ed6f75797728399a9b62321743a24d2ee", + "83e9039ca81f2d7000275d3803f834dae5d9434c", "support" ], "conformance/ogles/GL2Tests/glUniform/2b_vert.frag": [ - "8a13fe2453db70695c3baaff21322532e8f7f75a", + "7ce39a19131e5a190ba1a1c99e7eb2859cf119d5", "support" ], "conformance/ogles/GL2Tests/glUniform/2b_vert.vert": [ - "ae4645b6a8d00c5acaab18f70182e161411e7f8e", + "b40967528876aea86306733fd3af0cdada3bc1a2", "support" ], "conformance/ogles/GL2Tests/glUniform/2f_frag.frag": [ - "30f599cbfd633b63ca42e53fab148027f6cf15d0", + "655e0d31d64d5b288d6096a52650e5a81316e960", "support" ], "conformance/ogles/GL2Tests/glUniform/2f_vert.frag": [ - "0527342d8e479eabc3ddc12e37d084c94b857bf0", + "14a4b29599f871a77f3a1307155686b10e65ef17", "support" ], "conformance/ogles/GL2Tests/glUniform/2f_vert.vert": [ - "11b0100908e02e7bf3677f4b82afc68e6e19200c", + "41ecaf70ebfb8fd5f2cf2b3625975a155e5c7335", "support" ], "conformance/ogles/GL2Tests/glUniform/2i_frag.frag": [ - "db99c160bb84779ede8aafc175886caaca9e3a0f", + "edb986a0b4f8e7e5542fe4d103e6de8d26c8d8f3", "support" ], "conformance/ogles/GL2Tests/glUniform/2i_vert.frag": [ - "0527342d8e479eabc3ddc12e37d084c94b857bf0", + "14a4b29599f871a77f3a1307155686b10e65ef17", "support" ], "conformance/ogles/GL2Tests/glUniform/2i_vert.vert": [ - "e08189f5b639aaa34a743fbfcd88a6a1e5e3ccc7", + "8cd247668f310da541997b05b0b56639077ac323", "support" ], "conformance/ogles/GL2Tests/glUniform/2m_frag.frag": [ - "3675d7ac815ce7239abc1b430d2e7e1685e9760a", + "98e98ac4a5ec834002cb208e739cf658c3b29754", "support" ], "conformance/ogles/GL2Tests/glUniform/3b_frag.frag": [ - "9b6e36922b21b24568f1c9571bec07707ede93f1", + "80f1ef9f87103e94cd519bbaa90fd98d92f80ae6", "support" ], "conformance/ogles/GL2Tests/glUniform/3b_vert.frag": [ - "8fdba432c7d03f30eaadf712c2be2709dc3ed526", + "be8e7b195feaef8a4b5f6f181c7af1146cf287d3", "support" ], "conformance/ogles/GL2Tests/glUniform/3b_vert.vert": [ - "f3f4fc79cc1e8fc8ee31b8efec57f5882357c74e", + "d74e4a37f55c05bcdd41896006e2fabc92abdb90", "support" ], "conformance/ogles/GL2Tests/glUniform/3f_frag.frag": [ - "4959173b8f5630eb7b18a91cc059ab16fd41572c", + "00e8aa71d2ed9e237cbdfa1137cedb9de1bad134", "support" ], "conformance/ogles/GL2Tests/glUniform/3f_vert.frag": [ - "3dc299202f3fa2ea0e593a85ad6b351e3c530c13", + "603ba0d653728d20fbe571a6b9ca0be4321b7a4d", "support" ], "conformance/ogles/GL2Tests/glUniform/3f_vert.vert": [ - "7797add0378387bc9f7f6db42162ff3681a2d0ad", + "d35becff12fa8983ef1b66e353a5fee3c1f168e4", "support" ], "conformance/ogles/GL2Tests/glUniform/3i_frag.frag": [ - "77b26a58588e082e4454603c9131720f7571bfdb", + "a2f0a3cddbe020945e9b0202fb4da3aa4eba5367", "support" ], "conformance/ogles/GL2Tests/glUniform/3i_vert.frag": [ - "3dc299202f3fa2ea0e593a85ad6b351e3c530c13", + "603ba0d653728d20fbe571a6b9ca0be4321b7a4d", "support" ], "conformance/ogles/GL2Tests/glUniform/3i_vert.vert": [ - "250252654fa15316012300e905cf25e2f86b678a", + "d27c38f58863e720d45e3f8a101bbcf1e3ea33fa", "support" ], "conformance/ogles/GL2Tests/glUniform/3m_frag.frag": [ - "5434484c110e65a274db7578a3494e35d7ada913", + "9de572884062008d83a1f7e80385217422e30b0a", "support" ], "conformance/ogles/GL2Tests/glUniform/4b_firstthree_frag.frag": [ - "6dabc44a64b9e1eb813eed96a8093cb18938de13", + "1700c2b7635c4237823dfc45dca36335b51e2549", "support" ], "conformance/ogles/GL2Tests/glUniform/4b_firstthree_vert.frag": [ - "bd970b1d2ef43573ee5f57aecf525c06cd7e50f7", + "ee81a869b36e8797553270d7f4c48c2bb00648fb", "support" ], "conformance/ogles/GL2Tests/glUniform/4b_lastthree_frag.frag": [ - "a5070b8aacdc875964a9b4c4b6758c44be1995d0", + "024f3ca5443af86725fde18b83350a3be9c3f2e4", "support" ], "conformance/ogles/GL2Tests/glUniform/4b_lastthree_vert.frag": [ - "3296c3dd1dadb07bd1b8746b44f78771f75aea5a", + "408d60354311367de478081a9276bc1d370c2779", "support" ], "conformance/ogles/GL2Tests/glUniform/4b_vert.vert": [ - "eea548c17434885279902767a7c193616ff4affa", + "a8ce5e1d7ead50b2354884d74c93e6cadc843567", "support" ], "conformance/ogles/GL2Tests/glUniform/4f_frag.frag": [ - "4241b239d9661579a27032718c7542b07851aa63", + "bda6bc1394bc1aed3405c8f98d6fec243e31e542", "support" ], "conformance/ogles/GL2Tests/glUniform/4f_vert.frag": [ - "cac3a29ca1aa783d3219ea6560a71565023fc879", + "4f771b09f908af7e629172a10c510e497dd1b0da", "support" ], "conformance/ogles/GL2Tests/glUniform/4f_vert.vert": [ - "f158a535638067afe9aa6162cec8d016392403bf", + "531294884138d9f14911bd96e676e686bf752578", "support" ], "conformance/ogles/GL2Tests/glUniform/4i_frag.frag": [ - "781bc6b01b77206a55ee610287032975fac29d10", + "bd00e3c3309e6f856c664d1e9c0eef79fe2d7813", "support" ], "conformance/ogles/GL2Tests/glUniform/4i_vert.frag": [ - "cac3a29ca1aa783d3219ea6560a71565023fc879", + "4f771b09f908af7e629172a10c510e497dd1b0da", "support" ], "conformance/ogles/GL2Tests/glUniform/4i_vert.vert": [ - "1f51c992a701770248af1c97595904dbab5e31a4", + "ea97a42551bb84e9bc96399394b1df6a46c871a3", "support" ], "conformance/ogles/GL2Tests/glUniform/4m_frag.frag": [ - "4cc23468570a404ac3457ac177577d14ec203a58", + "030ef608f1ee8efc22be4cedcb3587196533ee7d", "support" ], "conformance/ogles/GL2Tests/glUniform/default.vert": [ - "b41b6ec79309c9400b89fb5855864a0baeccb182", + "45426238de0682969219853291decb841c909fcd", "support" ], "conformance/ogles/GL2Tests/glUniform/matrix2VSU.frag": [ - "d5c1dafc337991cdf27e5f63386098cf81502fed", + "fc4b633d3826678adfe5cc5c1c9ce492661860f6", "support" ], "conformance/ogles/GL2Tests/glUniform/matrix2VSU.vert": [ @@ -35196,7 +36116,7 @@ "support" ], "conformance/ogles/GL2Tests/glUniform/matrix2arrayVSU.frag": [ - "d5c1dafc337991cdf27e5f63386098cf81502fed", + "fc4b633d3826678adfe5cc5c1c9ce492661860f6", "support" ], "conformance/ogles/GL2Tests/glUniform/matrix2arrayVSU.vert": [ @@ -35204,99 +36124,99 @@ "support" ], "conformance/ogles/GL2Tests/glUniform/matrixVSU.frag": [ - "d5c1dafc337991cdf27e5f63386098cf81502fed", + "fc4b633d3826678adfe5cc5c1c9ce492661860f6", "support" ], "conformance/ogles/GL2Tests/glUniform/matrixVSU.vert": [ - "49ab3d401b6e6cec8cb2280390c1b83b4cbe01f4", + "1e4264cbccea8719fa479a217b73d856f7ff02b6", "support" ], "conformance/ogles/GL2Tests/link_program/successfulcompile_frag.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/link_program/successfulcompile_vert.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_frag.frag": [ - "c95c8273764c75744d9d2fdbf11a0f5461189488", + "fd471888521d6020fc1c35128a57991892f78024", "support" ], "conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_vert.vert": [ - "6f761866b4c9c072ffcd7086adfaf72fbc0967d5", + "c73892a4cab7dfc4b696e65f6cf7826d638f5cc5", "support" ], "conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.frag": [ - "08d9a602f0b2c9f9231aa5abe82bcc80d0776a0a", + "9010f5a1212674b3e136bb9e68a24a794266a8f8", "support" ], "conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.vert": [ - "847011fceac2926ce07305647a1e366f86da5574", + "4cc0174c81c00fde80ed907dfbeb8c55d3251dfc", "support" ], "conformance/ogles/GL2Tests/relink_program/simple.frag": [ - "af5458fe8affc5647afa058c548df68df9105b66", + "966495e61c6c094fffa6bc6f8d7e0cb409b22d01", "support" ], "conformance/ogles/GL2Tests/relink_program/simple.vert": [ - "bf2e956a7298b909227289211e79106f2c61b59f", + "703847d5ff52b3410046e6fa3f96b044102ac4c9", "support" ], "conformance/ogles/GL2Tests/shader_source/successfulcompile_frag.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/shader_source/successfulcompile_vert.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_frag.frag": [ - "c95c8273764c75744d9d2fdbf11a0f5461189488", + "fd471888521d6020fc1c35128a57991892f78024", "support" ], "conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_vert.vert": [ - "7565bb316fdaca5d2420704b6bf13c5727c9b890", + "6e3536513c3448e8bcb8ac093eb0064a705ee4c8", "support" ], "conformance/ogles/GL2Tests/three_uniforms/4f_frag.frag": [ - "1fb51e2fea07d1a175e872b0e259f6600bbca019", + "b37c5a0e03ae5b672f1e310f51a17f9c720384a0", "support" ], "conformance/ogles/GL2Tests/use_program/successfulcompile_frag.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/use_program/successfulcompile_vert.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_frag.frag": [ - "c95c8273764c75744d9d2fdbf11a0f5461189488", + "fd471888521d6020fc1c35128a57991892f78024", "support" ], "conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_vert.vert": [ - "6f761866b4c9c072ffcd7086adfaf72fbc0967d5", + "c73892a4cab7dfc4b696e65f6cf7826d638f5cc5", "support" ], "conformance/ogles/GL2Tests/validate_program/successfulcompile_frag.frag": [ - "714318a048a47d127af1d11a822bf445ee996e4c", + "9069489545a6c7d293d5ce677346c4ada6885950", "support" ], "conformance/ogles/GL2Tests/validate_program/successfulcompile_vert.vert": [ - "7de9e4bf05351dfa9df63f74cb66a23295515cf4", + "3b42e9d1595206e96ca49f56ee80cc2aae359a3e", "support" ], "conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_frag.frag": [ - "c95c8273764c75744d9d2fdbf11a0f5461189488", + "fd471888521d6020fc1c35128a57991892f78024", "support" ], "conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_vert.vert": [ - "6f761866b4c9c072ffcd7086adfaf72fbc0967d5", + "c73892a4cab7dfc4b696e65f6cf7826d638f5cc5", "support" ], "conformance/ogles/GL2Tests/vertex_program_point_size/point_size.vert": [ - "dbd70a85507b26cf86488c0b1d918e27246e5982", + "6d5b454fb062078ba6679f5526a08b1e724b7f8d", "support" ], "conformance/ogles/README.md": [ @@ -35308,47 +36228,47 @@ "support" ], "conformance/ogles/ogles-utils.js": [ - "73be9240ea35a852158b6b766bcf19925e3c0560", + "bcf58f27f40c23201eaa19c94468d5744e48e025", "support" ], "conformance/ogles/process-ogles2-tests.py": [ - "c7afc6ae6d1c7cfca4a0b3a00f5bf0f71f2cddc3", + "5ef710a68fdeee3c851e29301956991f98039d78", "support" ], "conformance/programs/00_test_list.txt": [ - "fd5efc7363a4236ccdbca97728bf61c93c2a6e4a", + "fe74ff96d78b2c9be8c0fb7bf0bbd68b37f71cff", "support" ], "conformance/programs/get-active-test.html": [ - "03c67a0d0b9c47b72080b70f31293249cda0ed47", + "e6be4061c5fc0d740f59a98b5cbd958da237c0d2", "testharness" ], "conformance/programs/gl-bind-attrib-location-long-names-test.html": [ - "e77725e790f3ff6dd7bab19a6a44ec9af38d1dea", + "d5f76358513487bf97d1dfadacd540e8b9241169", "testharness" ], "conformance/programs/gl-bind-attrib-location-test.html": [ - "abdcb0ce1c2d940f24f98b9e4ddb66128777cdf1", + "ee9c98db347f49c84db60462ee62fb6a8a62c6b4", "testharness" ], "conformance/programs/gl-get-active-attribute.html": [ - "a5db952621dade9708293d26ddce2c574f260dee", + "dcf13fb3c873c142a97f0366285d71b98c82d73d", "testharness" ], "conformance/programs/gl-get-active-uniform.html": [ - "3bb7dd1c54f8c2b8d15945bae9c0bf24f3a19fcc", + "9ea5591b6fe2ff60d3c757b23e7191c0b3a9e065", "testharness" ], "conformance/programs/gl-getshadersource.html": [ - "d337b65f1e0afe4baabc464b6f102a02f28570f1", + "25f49790b22d9442be22be2e9b520b05ec2cdeb0", "testharness" ], "conformance/programs/gl-shader-test.html": [ - "8c0ced55a9036f77c5ea26e3206cb736ff53f822", + "ed13f23a963842cafd8a1ca0ef09c68e58ec6def", "testharness" ], "conformance/programs/invalid-UTF-16.html": [ - "3f28fc95b1497bf65414506b453b3f94c57b6780", + "e360cb46ab254de06295d8825f7f5688b21ee858", "testharness" ], "conformance/programs/program-infolog.html": [ @@ -35356,59 +36276,75 @@ "testharness" ], "conformance/programs/program-test.html": [ - "18759f64af341b587064e3f99539dfa07affe4c6", + "854c5ea0b9ae27f5204bd2c99b6dfd0cab446bf7", "testharness" ], "conformance/programs/use-program-crash-with-discard-in-fragment-shader.html": [ - "3277e94ecbe6c876383b978d7eaa907635ac46ed", + "4c100867104abf082b987f9f521a2ca05224a75b", "testharness" ], "conformance/reading/00_test_list.txt": [ - "bff4db57ee6646a6dce2a1f0fc9bc4b2d1165bec", + "8651fbd83fcb1b0bc7f573658e8390fab66203a9", "support" ], + "conformance/reading/fbo-remains-unchanged-after-read-pixels.html": [ + "595b20e52237a865c8cbcd52cf16eacce881e161", + "testharness" + ], "conformance/reading/read-pixels-pack-alignment.html": [ - "d1e812befe978ad1aa5c60bfa1080b78902b041c", + "a6e74c9da559a47de6447e1533603f46d65f291c", "testharness" ], "conformance/reading/read-pixels-test.html": [ - "f3334d5b6ba80b97ac03c4a41096e7a0b19c6c21", + "bf949e15c417b6561532d03f8fa490efee2e893a", "testharness" ], "conformance/renderbuffers/00_test_list.txt": [ - "82a471c2ab25f7f871387b4e6f9fe89d66a90e3d", + "af2c30e473bdc6bee0e20c5dc6a74371aad68e68", "support" ], + "conformance/renderbuffers/depth-renderbuffer-initialization.html": [ + "615052019b8363e6d831b256c4e7ef5f45ae7f2a", + "testharness" + ], "conformance/renderbuffers/feedback-loop.html": [ - "3c4567a1244ec69f9a4b0a6baf2506f1c8c9686d", + "035b87aa8cddaa3f5f00cbb664cfe8ea6bf2bc75", "testharness" ], "conformance/renderbuffers/framebuffer-object-attachment.html": [ - "d1f4753e64577e15153c5bc61f51a3026681a17e", + "f1681cccb93c4afe17585b3309d65b168d04027e", "testharness" ], "conformance/renderbuffers/framebuffer-state-restoration.html": [ - "c4ff2589e64ac745cd6cb7a1dfe9ecd0d650f84f", + "4028029e468238e6506bef01797e6ad04b4fb784", "testharness" ], "conformance/renderbuffers/framebuffer-test.html": [ - "80d038c4668a54fea2e45b051ab0a60b2a0aa9e7", + "98a63076154dce721343a8c75c08906664b773e4", "testharness" ], "conformance/renderbuffers/renderbuffer-initialization.html": [ - "1a1392e61f6f5b4d4a2ccd68bbc884a758c98688", + "19d23eb68d2f349f99ea209f645234bbd511c1ae", + "testharness" + ], + "conformance/renderbuffers/stencil-renderbuffer-initialization.html": [ + "878cd206bf59eb4b1235566786628f506d3f9651", "testharness" ], "conformance/rendering/00_test_list.txt": [ - "1f58bb448b7d7c1807f775c925ba5011c9d56ba0", + "7a65c10e08405b79469c7171f1465089ffd86851", "support" ], + "conformance/rendering/clear-after-copyTexImage2D.html": [ + "cd38d2df3dbb954650a9b33d4e39aa570c77f8ab", + "testharness" + ], "conformance/rendering/clipping-wide-points.html": [ "fcc1c7a5895ab1e9ea80f2fc12d5da3d16c4ae17", "testharness" ], "conformance/rendering/culling.html": [ - "bb462c999d4a5dab73c775001d5a4d754464746a", + "8f6a8ffaa93893d9efd223b471222507331fcd03", "testharness" ], "conformance/rendering/default-texture-draw-bug.html": [ @@ -35416,11 +36352,11 @@ "testharness" ], "conformance/rendering/draw-arrays-out-of-bounds.html": [ - "75741aeb0fc1fbc5c94ba32fe0d61bd8b4864301", + "515649c8a2b5d3abc7b09a46d6ccb3aec8aebf15", "testharness" ], "conformance/rendering/draw-elements-out-of-bounds.html": [ - "0d4e05e27bbfbcdce2919db92e42ed196be81ff1", + "1e8d3d5d08d665fe4f1c1df8896a604d64c299a1", "testharness" ], "conformance/rendering/draw-with-changing-start-vertex-bug.html": [ @@ -35428,59 +36364,67 @@ "testharness" ], "conformance/rendering/framebuffer-switch.html": [ - "7d208ff88a0ef54b8dff1e94c42b72789d57c616", + "943f571b3b15f9794e2a9e3f89fcdadf1d49b6dd", + "testharness" + ], + "conformance/rendering/framebuffer-texture-clear.html": [ + "374effc066eb7e4aafee869f5fb1c54688daa997", "testharness" ], "conformance/rendering/framebuffer-texture-switch.html": [ - "a2e7904a759479af1123c5914bb6e1f379d32b6b", + "5b677f79ad9378638624dab7c001f8381eed5e87", "testharness" ], "conformance/rendering/gl-clear.html": [ - "6d1a5b58607f5ae692ec3b4908f44a29fa82f5d2", + "30bbe8d42399544a2f9b1847246a0ac6848588ca", "testharness" ], "conformance/rendering/gl-drawarrays.html": [ - "c9241b8505337f5df054a1cdda38b8016f93bd8b", + "23bf439a7a43e10cc9d6ef2ed348e5784671e55b", "testharness" ], "conformance/rendering/gl-drawelements.html": [ - "e8c5200ccfdbb653b7651adcd77077c4c1e4c952", + "3afe6774c5602cfd714513accf2d526665fa2db3", "testharness" ], "conformance/rendering/gl-scissor-canvas-dimensions.html": [ - "5e7cd59a0f95d01c4022f3d606ed244f9900be71", + "7bba50fb3fbe75ca671a61d253f7a874e5842b40", "testharness" ], "conformance/rendering/gl-scissor-fbo-test.html": [ - "89941d95519ab4ecd8626df70e18acaadf77e260", + "ae9244c42332483f141945627ed870399a88a0f6", "testharness" ], "conformance/rendering/gl-scissor-test.html": [ - "0bf1ecb5aa25a853a547992ef7bcbb1afc1df073", + "a6376f8e2e3e288df98454a113da50a4ee0db0a4", "testharness" ], "conformance/rendering/gl-viewport-test.html": [ - "d659cc7d54950a06aa5484a3b7d4bd113410eb75", + "43401fbe73a4402e140f5a19d636e5d337780d77", "testharness" ], "conformance/rendering/line-loop-tri-fan.html": [ - "e6e25a2675d992c297c47d7aa8bff17b71a949df", + "c037f033b77c9f70f63c03647ca51e4f9d201065", + "testharness" + ], + "conformance/rendering/line-rendering-quality.html": [ + "5c58304045751bb2f5be53182a1dba48d09c1327", "testharness" ], "conformance/rendering/many-draw-calls.html": [ - "b3ee786e0b2272dd1ef8cb79f81b8f647613e913", + "bdda119d0d313e8950a5ad6f7705e9836adffa8e", "testharness" ], "conformance/rendering/more-than-65536-indices.html": [ - "683efba5dd66cbf8e2e062b8182f4ea6bdc472c5", + "15e8391600c3608230560516f653904fd97f9442", "testharness" ], "conformance/rendering/multisample-corruption.html": [ - "f6da01dd9d6055415a6a4b02921b59e9ed1b7f20", + "d3d25e0a876973ea397097823ed9132dc892ddcc", "testharness" ], "conformance/rendering/negative-one-index.html": [ - "f619aa4f77085b58418659c68492002dc18971bc", + "866f4f4ed675b7d8d0d119ac927b09781f0a8c05", "testharness" ], "conformance/rendering/out-of-bounds-index-buffers.html": [ @@ -35488,11 +36432,11 @@ "testharness" ], "conformance/rendering/point-no-attributes.html": [ - "e813e0220dd549e43befc1ee69fa11b29ce2a28d", + "40ba90cee419514667c4f84a6c9796ea0fd73901", "testharness" ], "conformance/rendering/point-size.html": [ - "55971ecc231a1845a545ba5cf59c2b59dc5f6189", + "dc077445590ebe0fa431e23bd7a32dee5100b708", "testharness" ], "conformance/rendering/point-specific-shader-variables.html": [ @@ -35500,291 +36444,59 @@ "testharness" ], "conformance/rendering/point-with-gl-pointcoord-in-fragment-shader.html": [ - "4e7a97afdd566c6213eb7cacca72f8c2f29e25b4", + "d5322ebb65dfb54429b6d6a55383cbdb73db0abb", "testharness" ], "conformance/rendering/polygon-offset.html": [ - "d24811c3391cbcfdd7a3c5b25f56a719e0defcbb", + "ce644fe11c22a3e1e0da8dab6c1d56965ff29722", + "testharness" + ], + "conformance/rendering/preservedrawingbuffer-leak.html": [ + "bd1dccbdeea10de6d62f31ce9e6c46048134b276", + "testharness" + ], + "conformance/rendering/rendering-stencil-large-viewport.html": [ + "3d1f609ba319197ca969ea9cf2be2e19716e579d", + "testharness" + ], + "conformance/rendering/scissor-rect-repeated-rendering.html": [ + "0ea32b4bf9fcf622eb3ea55f016bc3cb37cca9e0", "testharness" ], "conformance/rendering/simple.html": [ - "1b705224c1c09afcef0947801ff5c8ffb47fd9aa", + "449250b16c4dbae5249368d8af16d83b375fe9fc", + "testharness" + ], + "conformance/rendering/texture-switch-performance.html": [ + "bd48a3115ea4a5839c67aab1920a8c8c81ff03cd", "testharness" ], "conformance/rendering/triangle.html": [ - "7fa99f0f881e80c886ef289291524ce28dac0dea", + "4f69ab020c5051c140865a570bcafff1c7363bd7", "testharness" ], - "conformance/resources/1-channel.jpg": [ - "2b16f42abc3fcb946489f13bdc03630ce50776e5", - "support" - ], - "conformance/resources/3x3.png": [ - "6cf1e7447a3a9aca40a80383b755001789941e6d", - "support" - ], - "conformance/resources/blue-1x1.jpg": [ - "a70bbb0219db91035d8e37d56a65498c10851b6b", - "support" - ], - "conformance/resources/boolUniformShader.vert": [ - "9226b3b5c0fa77dc96638aeb4b33d1d1628d8178", - "support" - ], - "conformance/resources/bug-32888-texture.png": [ - "e78cfe79979b85202bec19b8a454e669361ee8ca", - "support" - ], - "conformance/resources/floatUniformShader.vert": [ - "58991b474164f3ce97cdfdd0259bb76a0664ee7e", - "support" - ], - "conformance/resources/fragmentShader.frag": [ - "08596ed5db12206d1c8146c056b2283bdecb7cd8", - "support" - ], - "conformance/resources/glsl-conformance-test.js": [ - "b259a946d4e88cbad74aa8cdfac763fdbe90c25f", - "support" - ], - "conformance/resources/glsl-constructor-tests-generator.js": [ - "558458b04ad556f48a8af3d426dc60caf9a5a759", - "support" - ], - "conformance/resources/glsl-feature-tests.css": [ - "c8063d92b2a591df37940944ce03f39feef8dc53", - "support" - ], - "conformance/resources/glsl-generator.js": [ - "dbb97eb020c3d1264364f9a9aed8369770834cd6", - "support" - ], - "conformance/resources/gray-ramp-256-with-128-alpha.png": [ - "183e55de2190bb62612513c3e6dde674df002b79", - "support" - ], - "conformance/resources/gray-ramp-256.png": [ - "01e486b5a92e405158cf38f6dfbb44440fdfbd6d", - "support" - ], - "conformance/resources/gray-ramp-default-gamma.png": [ - "a5a89beb709b4f0c87877266daf284165b21ea1e", - "support" - ], - "conformance/resources/gray-ramp-gamma0.1.png": [ - "637c792da03ba633b708a3a8086017fe91e1eb43", - "support" - ], - "conformance/resources/gray-ramp-gamma1.0.png": [ - "40ceeb0465168d1ae32190720fd844b3a1bd9b0b", - "support" - ], - "conformance/resources/gray-ramp-gamma2.0.png": [ - "73fcf7b41b6b43d273549f6b103002daa226e4e6", - "support" - ], - "conformance/resources/gray-ramp-gamma4.0.png": [ - "d878f1e967dc4dd26d8e3e2b5d6cd9e3bd2ef00f", - "support" - ], - "conformance/resources/gray-ramp-gamma9.0.png": [ - "8a69ed1f3d3168ce3462d193234ec309d76e07c1", - "support" - ], - "conformance/resources/gray-ramp.png": [ - "a5a89beb709b4f0c87877266daf284165b21ea1e", - "support" - ], - "conformance/resources/green-2x2-16bit.png": [ - "7fcb96960e142ccca49f44755d6294352caf0e42", - "support" - ], - "conformance/resources/intArrayUniformShader.vert": [ - "d82074e4737011e38202a63c4ac966c2310ea00c", - "support" - ], - "conformance/resources/intUniformShader.vert": [ - "051c05e2b8581040d23ec0aedc6832dc1398675a", - "support" - ], - "conformance/resources/iterable-test.js": [ - "31abe501120eb4c06ff54ccfac4d11676683e496", - "support" - ], - "conformance/resources/matUniformShader.vert": [ - "123a4be03bc805832889d74fee1fde7971841731", - "support" - ], - "conformance/resources/noopUniformShader.frag": [ - "b2dfc9f1d4ed8374c130501a52ab2599a379f52d", - "support" - ], - "conformance/resources/noopUniformShader.vert": [ - "821e440d4c2637444afe3cb587aa3b8bdfbac0cd", - "support" - ], - "conformance/resources/npot-video.mp4": [ - "59f5f774a783b459385451b4c5df238001cb9f1d", - "support" - ], - "conformance/resources/npot-video.theora.ogv": [ - "4458678fbfd81997ee5eff54f8b5e7fbd855264a", - "support" - ], - "conformance/resources/npot-video.webmvp8.webm": [ - "47277bdaac1f47f803bbe696913a53fa28548f59", - "support" - ], - "conformance/resources/oes-texture-float-and-half-float-linear.js": [ - "7cc06312d8c93687ca674ce6e32b66d4cfc57e21", - "support" - ], - "conformance/resources/ogles-tests.css": [ - "42269c8b604199320db4a0e1659f7192f45c7158", - "support" - ], - "conformance/resources/opengl_logo.jpg": [ - "e3b70bef3f2c78736c72e263b63acea8d9a9467a", - "support" - ], - "conformance/resources/out-of-bounds-test.js": [ - "9059cdf5c1012a754b2fd9506bcf2f517af55daf", - "support" - ], - "conformance/resources/pnglib.js": [ - "d2a9b99e085ca98032b565beb78d5e6ca8f6ec12", - "support" - ], - "conformance/resources/red-green.mp4": [ - "4bd6d59658906d23566f1aa14443c3dc1eab4610", - "support" - ], - "conformance/resources/red-green.png": [ - "605ac9ba1bb8444b0495b34654f0eb4bd43b5a44", - "support" - ], - "conformance/resources/red-green.svg": [ - "9f8adfae53231da320a14334d7696ace18b5aa99", - "support" - ], - "conformance/resources/red-green.theora.ogv": [ - "1543915a1080c8bac5ded8b16554baec290d1c81", - "support" - ], - "conformance/resources/red-green.webmvp8.webm": [ - "fde59a18b4dde9a13f37c3f462af88ad4b0f3c3a", - "support" - ], - "conformance/resources/red-indexed.png": [ - "3188d2d75b470db8f73861ca7159f7f4d8e82121", - "support" - ], - "conformance/resources/samplerUniformShader.frag": [ - "11cba127460f60886b6bb860764d898eba9a067e", - "support" - ], - "conformance/resources/small-square-with-cie-rgb-profile.png": [ - "aa8bf377179eb9abb443514c73e1c1fb02ec71e5", - "support" - ], - "conformance/resources/small-square-with-colormatch-profile.png": [ - "63454ec0dd7ced88d82c82ae7a72c86993da4342", - "support" - ], - "conformance/resources/small-square-with-colorspin-profile.jpg": [ - "a9186968fbd03385fde3d278ca80a5b1d8166ac3", - "support" - ], - "conformance/resources/small-square-with-colorspin-profile.png": [ - "59226273768e5095f230a39dcbc35df973bdec1a", - "support" - ], - "conformance/resources/small-square-with-e-srgb-profile.png": [ - "2792b0ac5703f306856d228f135f4ac92ff97371", - "support" - ], - "conformance/resources/small-square-with-smpte-c-profile.png": [ - "2904e895235c885a2fdaab2469751e873a9df243", - "support" - ], - "conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png": [ - "a0201f113fdc8e971faa17dbff8954192ea866fd", - "support" - ], - "conformance/resources/structUniformShader.vert": [ - "77e5a675dc99c736fc28eafa6b2edc9700408707", - "support" - ], - "conformance/resources/tex-image-and-sub-image-2d-with-canvas.js": [ - "665236b5ab5678b4981a10fc1a49b300b58992fb", - "support" - ], - "conformance/resources/tex-image-and-sub-image-2d-with-image-data.js": [ - "7b6d98fffa38700313a14d34c43a8a0bb370f3da", - "support" - ], - "conformance/resources/tex-image-and-sub-image-2d-with-image.js": [ - "0b6404247cb182be831de3a1231d9fcd01e29b46", - "support" - ], - "conformance/resources/tex-image-and-sub-image-2d-with-svg-image.js": [ - "bcc497eb476fe964de2ab438dacb35cc9306d7e9", - "support" - ], - "conformance/resources/tex-image-and-sub-image-2d-with-video.js": [ - "e59d3b1a755d467ac5b9b7a903c4d4859ce820b3", - "support" - ], - "conformance/resources/tex-image-and-sub-image-2d-with-webgl-canvas.js": [ - "4a8c6bf034c53f27b971ad4b15331558063427a5", - "support" - ], - "conformance/resources/thunderbird-logo-64x64.png": [ - "e2326f5510a0d2f89601c62459032be9d64585da", - "support" - ], - "conformance/resources/transparent-on-left-indexed.png": [ - "2be3127440403e6016888dbb3667c2bef215ef83", - "support" - ], - "conformance/resources/vertexShader.vert": [ - "fe6640b75baeacbd3041d3b2697e8d077950db20", - "support" - ], - "conformance/resources/webgl-test-utils.js": [ - "c98cde2180451c83d2275753f1a979d9e8f285b2", - "support" - ], - "conformance/resources/zero-alpha.png": [ - "e55630c116038f90ef72cdd02b664f8f0daa06e3", - "support" - ], "conformance/state/00_test_list.txt": [ - "7ffc67eb7d83fa3c33307d14823870cb8bc87302", - "support" - ], - "conformance/state/diffs.txt": [ - "24a17204fe887ac7f01dbf296b5ae98f5bc6f3ff", + "a76c2f09fba4e02a8e1b0f1c23b57d628ad4e289", "support" ], "conformance/state/gl-enable-enum-test.html": [ - "e01d445c4b4841398014de862c4d4169149223b3", + "f3b6aea905424eca0616da6aa428856a79e7e214", "testharness" ], "conformance/state/gl-enum-tests.html": [ - "18facdf1c2c5e986492ff51ec79c7dedf5683535", + "adfd447bd2270614ff2ff48c742ae46ded43140f", "testharness" ], "conformance/state/gl-get-calls.html": [ - "186bba44d9547828f330c44b18817b7d7714f770", + "aecc8abda5435bbcf85b9cf14e4a49f2a58ca388", "testharness" ], "conformance/state/gl-geterror.html": [ - "fb44941caf738fa49bd1dbf079ea6a07fc8f0812", + "6a7013de2d5fe60c2bcadc68fa834b493643e562", "testharness" ], "conformance/state/gl-getstring.html": [ - "fa4d51551dcf82a57cc43a0f07ee598c359e3827", + "1d533f35c44f30b5567cb9b864945089a30a01f5", "testharness" ], "conformance/state/gl-initial-state.html": [ @@ -35792,21 +36504,33 @@ "testharness" ], "conformance/state/gl-object-get-calls.html": [ - "f0d9a479e1713924f65f98fcf198b4b7d91fc4de", + "eb79155c535550200b7f8069e92d45ea95ca091d", "testharness" ], "conformance/state/state-uneffected-after-compositing.html": [ - "b60efc2a7c8c0ce33a11bda1b4fe1cf4d8a6e086", + "1cee75591f93845773c7746c75eda5ea089ba84a", "testharness" ], "conformance/textures/00_test_list.txt": [ - "0bd6281955cd1047545924230b9fa8a17847f944", + "c6041ff82f41997006a457ced1befb1f82fdfff2", "support" ], "conformance/textures/canvas/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/canvas/tex-2d-alpha-alpha-unsigned_byte.html": [ + "f0f0ab67638519aef1093c1881f8061d3e27a09c", + "testharness" + ], + "conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html": [ + "bab92b76c95cedf661c930bef47934462508805e", + "testharness" + ], + "conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "21608854fc5557a460baa017c92fc824ce7ae6f8", + "testharness" + ], "conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_byte.html": [ "d30e000328afdf05c681ef48f919be0b494eb951", "testharness" @@ -35828,9 +36552,21 @@ "testharness" ], "conformance/textures/canvas_sub_rectangle/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/canvas_sub_rectangle/tex-2d-alpha-alpha-unsigned_byte.html": [ + "d0509d420c765ea2c7aee5cc2b5997d3d929f3fe", + "testharness" + ], + "conformance/textures/canvas_sub_rectangle/tex-2d-luminance-luminance-unsigned_byte.html": [ + "2760f9300b2240f06ee7cc3f7cc0f9f52149de83", + "testharness" + ], + "conformance/textures/canvas_sub_rectangle/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "5c219ab88f5a9c13adf844e071f5b1c6dac4a9c9", + "testharness" + ], "conformance/textures/canvas_sub_rectangle/tex-2d-rgb-rgb-unsigned_byte.html": [ "e8098b780dfe9d214d649b477bb2d416a0b5c418", "testharness" @@ -35851,38 +36587,22 @@ "698e65527c90c32774d0e94405192efa9e5dc330", "testharness" ], - "conformance/textures/compressed-tex-image.html": [ - "d99f54af168a9ce813f67b02ddd8681b68d1660a", - "testharness" - ], - "conformance/textures/copy-tex-image-2d-formats.html": [ - "2706526230e448d5465d65b79dcd29963dc3af74", - "testharness" - ], - "conformance/textures/copy-tex-image-and-sub-image-2d.html": [ - "63280be933bf05c12ccbf4bcdbfed213855e2483", - "testharness" - ], - "conformance/textures/default-texture.html": [ - "fb83dce24b4f351d0d42a7955d927a18bbab94f8", - "testharness" - ], - "conformance/textures/gl-get-tex-parameter.html": [ - "dce30a011cf71f009ab990e15130064fee4bb477", - "testharness" - ], - "conformance/textures/gl-pixelstorei.html": [ - "103f3d923d6558893e4c49eb5f3c793501a0a44f", - "testharness" - ], - "conformance/textures/gl-teximage.html": [ - "26e46e7cc86f2c3197659f75f700f0438e1c9caf", - "testharness" - ], "conformance/textures/image/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/image/tex-2d-alpha-alpha-unsigned_byte.html": [ + "09d45a0fe1c71662fe6bc0bdb37b9c56d9018388", + "testharness" + ], + "conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html": [ + "cdd8635a993cdaf7939c1c34d8b9d762093e895d", + "testharness" + ], + "conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "7b0e72a142d16c0dcca8f6a3356dbe203e1994d5", + "testharness" + ], "conformance/textures/image/tex-2d-rgb-rgb-unsigned_byte.html": [ "b5ce8debc4edb1da088d97a681be8c316bc0300a", "testharness" @@ -35904,9 +36624,21 @@ "testharness" ], "conformance/textures/image_bitmap_from_blob/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/image_bitmap_from_blob/tex-2d-alpha-alpha-unsigned_byte.html": [ + "64519a1ba004a154fe141a5fb7703ba69d99d593", + "testharness" + ], + "conformance/textures/image_bitmap_from_blob/tex-2d-luminance-luminance-unsigned_byte.html": [ + "b7a88833e3d0ca9cad32b0accc9d8adb283e861a", + "testharness" + ], + "conformance/textures/image_bitmap_from_blob/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "9a3abeb19079b48862eb0a88168aa13ee7d80cfe", + "testharness" + ], "conformance/textures/image_bitmap_from_blob/tex-2d-rgb-rgb-unsigned_byte.html": [ "467dff857a3c6588abd065bcc98c01d82fa93864", "testharness" @@ -35928,9 +36660,21 @@ "testharness" ], "conformance/textures/image_bitmap_from_canvas/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/image_bitmap_from_canvas/tex-2d-alpha-alpha-unsigned_byte.html": [ + "187a6c46b5b7bf826a39b8c0046ef4ded49e455b", + "testharness" + ], + "conformance/textures/image_bitmap_from_canvas/tex-2d-luminance-luminance-unsigned_byte.html": [ + "7370671ef41694ae4958e3f62682ece417de6ee3", + "testharness" + ], + "conformance/textures/image_bitmap_from_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "24a8eba887b2959612964552770ee875406b93a2", + "testharness" + ], "conformance/textures/image_bitmap_from_canvas/tex-2d-rgb-rgb-unsigned_byte.html": [ "13a590c0e8ed1624e0ad7e7c675b306d6a21cd88", "testharness" @@ -35952,9 +36696,21 @@ "testharness" ], "conformance/textures/image_bitmap_from_image/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/image_bitmap_from_image/tex-2d-alpha-alpha-unsigned_byte.html": [ + "4660af1298e39d6dee9cc6b0df02fd1d73126b2e", + "testharness" + ], + "conformance/textures/image_bitmap_from_image/tex-2d-luminance-luminance-unsigned_byte.html": [ + "ce5dc4bdbe84b031bff7b62d4830c2ae538f039a", + "testharness" + ], + "conformance/textures/image_bitmap_from_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "9840b8afd1ae23fc40f476464bc572029a88f533", + "testharness" + ], "conformance/textures/image_bitmap_from_image/tex-2d-rgb-rgb-unsigned_byte.html": [ "c971e7170b2098b4c247873cd95dd74e8b062bee", "testharness" @@ -35976,9 +36732,21 @@ "testharness" ], "conformance/textures/image_bitmap_from_image_bitmap/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/image_bitmap_from_image_bitmap/tex-2d-alpha-alpha-unsigned_byte.html": [ + "db74654abd9668ecc452e2130d5f6674ebadaf5f", + "testharness" + ], + "conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance-luminance-unsigned_byte.html": [ + "51f05b78b6215186b5aca97e4fdfa3134f2a9e15", + "testharness" + ], + "conformance/textures/image_bitmap_from_image_bitmap/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "2c6a338f1761dc4c1e3d745c002ad371e7d3b33c", + "testharness" + ], "conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgb-rgb-unsigned_byte.html": [ "5229e03c75dd7b25eacb83348c4062f61e2bcba0", "testharness" @@ -36000,9 +36768,21 @@ "testharness" ], "conformance/textures/image_bitmap_from_image_data/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/image_bitmap_from_image_data/tex-2d-alpha-alpha-unsigned_byte.html": [ + "44d5c262bab9dbfea9579f414f1ec795d58c8d1e", + "testharness" + ], + "conformance/textures/image_bitmap_from_image_data/tex-2d-luminance-luminance-unsigned_byte.html": [ + "8ea72c8081b6b711e2a4f0cd3e06458cd0c44571", + "testharness" + ], + "conformance/textures/image_bitmap_from_image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "786e5de01dc59e3a30974c28478c8ed82eac409d", + "testharness" + ], "conformance/textures/image_bitmap_from_image_data/tex-2d-rgb-rgb-unsigned_byte.html": [ "8467d4cb72044bb659c4da278546d70f5ee4e9b6", "testharness" @@ -36024,9 +36804,21 @@ "testharness" ], "conformance/textures/image_bitmap_from_video/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/image_bitmap_from_video/tex-2d-alpha-alpha-unsigned_byte.html": [ + "cec442197533e7648cf9cac4f90e47c467228d78", + "testharness" + ], + "conformance/textures/image_bitmap_from_video/tex-2d-luminance-luminance-unsigned_byte.html": [ + "7a5264c3098b47c3283caee1fcf6b7b7fb5baed2", + "testharness" + ], + "conformance/textures/image_bitmap_from_video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "76036c12bab326720989c328bd8fee3ff4ffce18", + "testharness" + ], "conformance/textures/image_bitmap_from_video/tex-2d-rgb-rgb-unsigned_byte.html": [ "f9f73e65ef1f33fd3ec0d693eb3da5d398a76527", "testharness" @@ -36048,9 +36840,21 @@ "testharness" ], "conformance/textures/image_data/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/image_data/tex-2d-alpha-alpha-unsigned_byte.html": [ + "180cae9216e8c6d53b1dfe4524746e15fd92a044", + "testharness" + ], + "conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html": [ + "e9717df007d23d329ff21559e74f3c6b28e6315b", + "testharness" + ], + "conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "621c02d7062e6f55b159630e267e75f36180be4d", + "testharness" + ], "conformance/textures/image_data/tex-2d-rgb-rgb-unsigned_byte.html": [ "453a5e39e6ecca6781d009fe36f67522c630c135", "testharness" @@ -36071,12 +36875,8 @@ "60969818397d7d35ea78b20232855b2a29354a5a", "testharness" ], - "conformance/textures/mipmap-fbo.html": [ - "2ad3c17b559d9061f273dd21d87f072536c92f87", - "testharness" - ], "conformance/textures/misc/00_test_list.txt": [ - "505826de4a938eb033435b766c7e9ff4151d8904", + "3c7636158223c16d24707ee209016b4c715d88c9", "support" ], "conformance/textures/misc/compressed-tex-image.html": [ @@ -36091,14 +36891,26 @@ "1088287724b60417a480e047633366f0a32afc80", "testharness" ], - "conformance/textures/misc/copy-tex-sub-image-2d-partial-texture.html": [ + "conformance/textures/misc/copy-tex-image-crash.html": [ + "1d750665564287d9068f1c9c7a0132ada483ae08", + "testharness" + ], + "conformance/textures/misc/copytexsubimage2d-large-partial-copy-corruption.html": [ "e276f816dbf0fffeb8cc92a39bed5102ce0aebcf", "testharness" ], + "conformance/textures/misc/copytexsubimage2d-subrects.html": [ + "17c5930848f2c4a87ba5d1a140a6e1895657a807", + "testharness" + ], "conformance/textures/misc/cube-incomplete-fbo.html": [ "709573a7fddfc4d9af34c39e0dbf0f347ece9ab8", "testharness" ], + "conformance/textures/misc/cube-map-uploads-out-of-order.html": [ + "1c48afcffcfb746f69ab803d299ff88fcc31522c", + "testharness" + ], "conformance/textures/misc/default-texture.html": [ "d6a4dc610dc68577f21f95188195981d623a8fd5", "testharness" @@ -36119,6 +36931,10 @@ "ee77670f9ad08560e03db9f50966f831848ad527", "testharness" ], + "conformance/textures/misc/origin-clean-conformance-offscreencanvas.html": [ + "f949a6dc9e001de0d80befbfb36baf820e28de99", + "testharness" + ], "conformance/textures/misc/origin-clean-conformance.html": [ "ed55a00b797853f30a089a04266df04c55c120a8", "testharness" @@ -36159,6 +36975,10 @@ "e42a6c173822d011597a5eeb8c987af84f67431a", "testharness" ], + "conformance/textures/misc/tex-video-using-tex-unit-non-zero.html": [ + "8db7d43610e820a46b9662103cffe9c86f819edc", + "testharness" + ], "conformance/textures/misc/texparameter-test.html": [ "1fa2021422b982a582687b3c8fb96ab01ac0ff4f", "testharness" @@ -36187,6 +37007,10 @@ "7a0379aa09a8dcc4cf5e4879e8f7d89540a5dab6", "testharness" ], + "conformance/textures/misc/texture-corner-case-videos.html": [ + "28bc2909f8d48fb7a3a1871fa8b5c5b0d5db7e94", + "testharness" + ], "conformance/textures/misc/texture-cube-as-fbo-attachment.html": [ "ada472f9166a7cee570ff60e2a780c9ec62663ba", "testharness" @@ -36224,11 +37048,11 @@ "testharness" ], "conformance/textures/misc/texture-size-limit.html": [ - "6576773e58a7a3dff74e833323d1e4c1863347cd", + "2dd1fb3462340e7d1eeb553c6aa8c2280bb9a3fb", "testharness" ], "conformance/textures/misc/texture-size.html": [ - "3a752d8087df620f949cfd8b67493a7b3891ae9a", + "11697ca0f3d086dd86c3deddc3d287f7175815bf", "testharness" ], "conformance/textures/misc/texture-sub-image-cube-maps.html": [ @@ -36247,14 +37071,26 @@ "59934e4ede1ab612ad2c7342bac79ddbe4db4d68", "testharness" ], - "conformance/textures/origin-clean-conformance.html": [ - "d0221e7a91922b30a1a361cdd2d6a0efabd6b7a4", + "conformance/textures/misc/texture-with-flip-y-and-premultiply-alpha.html": [ + "f37f1fdf2ed24ac8ceba62ab064e9522553467ed", "testharness" ], "conformance/textures/svg_image/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/svg_image/tex-2d-alpha-alpha-unsigned_byte.html": [ + "1ee9f621c451416e05b61ca9312100ee61f8c3ef", + "testharness" + ], + "conformance/textures/svg_image/tex-2d-luminance-luminance-unsigned_byte.html": [ + "7635ea8f0529972054e8b6d970ff9f519e50b7ec", + "testharness" + ], + "conformance/textures/svg_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "59cf076053910c799e9164c2b9cca3feec16a7de", + "testharness" + ], "conformance/textures/svg_image/tex-2d-rgb-rgb-unsigned_byte.html": [ "447f8e6392057a570d5e14d16cd6dedbe28b0a14", "testharness" @@ -36275,214 +37111,22 @@ "51cc1f30e4942bde82203a4cb985c07ac5b57215", "testharness" ], - "conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html": [ - "a21f2de5e559e4f14a86dfb559310658aabe3922", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html": [ - "82c4c5eac5cb9816375d0e93584e48bb86a92a45", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html": [ - "e6f5060327d039db07fe536428eefe734f3a4720", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html": [ - "e1f546c2fc3f05b8e4289003b6583cf992303759", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-canvas.html": [ - "be6e2e0a08f821062ca4c922028f63427c51e15c", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgb565.html": [ - "240a4072816a2f204b29d85ec65f413480eae161", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba4444.html": [ - "11d5f9112fc07aee2d1ac38f7b9f178389c24163", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba5551.html": [ - "c154ed6828fff773e75c343561cac76de16ca436", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-data.html": [ - "ca3c77c4788a1dab684adc4054af4e2fecdbe962", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html": [ - "09f13c2c59f3b4bf14207f1007699ec5b3f30094", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html": [ - "c72824ba1a3b47b2cede289719bb21252bf86cf0", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html": [ - "d238fe92bf1b804421890ae931cae69f1bbcc471", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-image.html": [ - "27ebfe851192cff24392ddb14a03ea6208ff0883", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-svg-image.html": [ - "21cd651851290d6bbfb201a4da25ad91dca33e33", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html": [ - "73a7e5cdce73b393a9915bd6efe8883368bd4407", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html": [ - "e6fdf95de014393f5c8abc73a2cbe09477c06cd4", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html": [ - "ded4438aa6fca89930eb86c88d3b1efa619df197", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-video.html": [ - "261c069a6eafebd527231d1320df332d04de3957", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgb565.html": [ - "21e6a872ce6e0589b4a7e1411c558a99b24de62c", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba4444.html": [ - "e8fdb8752eb432883e6ba1ffdd35fd12953f9453", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba5551.html": [ - "0b60cf8f0d4bcc7ed1d843dce0c743fa75962bc7", - "testharness" - ], - "conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas.html": [ - "1e713831515f98dcbe013cac903347b247c39f92", - "testharness" - ], - "conformance/textures/tex-image-and-uniform-binding-bugs.html": [ - "ff1a44710ca7e51bea7318b42a006544b4bcf74c", - "testharness" - ], - "conformance/textures/tex-image-canvas-corruption.html": [ - "28bce9f39a4778384dbc4b1534c2d9f1bfe88213", - "testharness" - ], - "conformance/textures/tex-image-webgl.html": [ - "e24822bd2085507aed7310c213513d70248bc9e9", - "testharness" - ], - "conformance/textures/tex-image-with-format-and-type.html": [ - "84e69042370fe6c9a3c043ce2874e27aacd42a51", - "testharness" - ], - "conformance/textures/tex-image-with-invalid-data.html": [ - "a025b3be0b32dd1790ccc425197c0116a619b260", - "testharness" - ], - "conformance/textures/tex-input-validation.html": [ - "d6904d648f7c25845e3da43cc644cf35c6140e48", - "testharness" - ], - "conformance/textures/tex-sub-image-2d-bad-args.html": [ - "4ae7170cdf877a45bbe43de270ba5cfa0a9d1166", - "testharness" - ], - "conformance/textures/tex-sub-image-2d.html": [ - "e5f825d54764edfd7053f47d9562f62838f7b7ba", - "testharness" - ], - "conformance/textures/texparameter-test.html": [ - "c719e650150649318ddc3ed0204b4ef8ddae041e", - "testharness" - ], - "conformance/textures/texture-active-bind-2.html": [ - "44452b0ac6aa219ee23d2c29ac0e2f240e8f167a", - "testharness" - ], - "conformance/textures/texture-active-bind.html": [ - "31c1eb79bc4ad66deb1fdb40926955289e709044", - "testharness" - ], - "conformance/textures/texture-attachment-formats.html": [ - "f171839b5d7796007c9ab836b4f409084af796e9", - "testharness" - ], - "conformance/textures/texture-clear.html": [ - "06282aa91d375f72fdef8f4a7970b09f1eec506a", - "testharness" - ], - "conformance/textures/texture-complete.html": [ - "d9f0767af00a223498054de39ad4c7af49cac9f4", - "testharness" - ], - "conformance/textures/texture-copying-feedback-loops.html": [ - "5ee7a47d11286c0ed231c7f17de47afc30ca4af7", - "testharness" - ], - "conformance/textures/texture-draw-with-2d-and-cube.html": [ - "60d881d966178902588473cfac5b639ccb325ffa", - "testharness" - ], - "conformance/textures/texture-fakeblack.html": [ - "c6cfc585114c36a1f91c28ecb56d854f5a58362f", - "testharness" - ], - "conformance/textures/texture-formats-test.html": [ - "80adad6c6ed6fbb9e710840db29469ffdfe7ac34", - "testharness" - ], - "conformance/textures/texture-hd-dpi.html": [ - "9fe480befea44989836fdcfa311b4a869d900eac", - "testharness" - ], - "conformance/textures/texture-mips.html": [ - "d435f90e004ada022553d8fde54d9489ce3a2924", - "testharness" - ], - "conformance/textures/texture-npot-video.html": [ - "87973b63c875cc84fd62f909944559c535cabc0f", - "testharness" - ], - "conformance/textures/texture-npot.html": [ - "c19d1bbdecea266b4955f4c8e0c08941528154eb", - "testharness" - ], - "conformance/textures/texture-size-cube-maps.html": [ - "c04d571c4c8f741e287b919f8ab933cc8d6b9515", - "testharness" - ], - "conformance/textures/texture-size-limit.html": [ - "73bc6a7dfff9ebdbfacfefbccfeaf6a54c055f54", - "testharness" - ], - "conformance/textures/texture-size.html": [ - "01ed89eb6ab972440fbf0e1434286d9b8e290a5d", - "testharness" - ], - "conformance/textures/texture-sub-image-cube-maps.html": [ - "d4d860671f3b529fc33c8a7fd129d90051e4ccbf", - "testharness" - ], - "conformance/textures/texture-transparent-pixels-initialized.html": [ - "f64b95be3c10795e71bfee007e442586235c69ad", - "testharness" - ], - "conformance/textures/texture-upload-cube-maps.html": [ - "831e318dd343f0fe906e757426757b11ff4cdb44", - "testharness" - ], - "conformance/textures/texture-upload-size.html": [ - "78ff5ef4fbbf917523dffbaaec237b722df6e0f6", - "testharness" - ], "conformance/textures/video/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/video/tex-2d-alpha-alpha-unsigned_byte.html": [ + "3c895d2de3f02cda8014103a2ea61bac1653f0ec", + "testharness" + ], + "conformance/textures/video/tex-2d-luminance-luminance-unsigned_byte.html": [ + "7022d32045f19d47245219f54bf198acc3309048", + "testharness" + ], + "conformance/textures/video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "678cef14cf473499b042ec1160a0f1997df37bde", + "testharness" + ], "conformance/textures/video/tex-2d-rgb-rgb-unsigned_byte.html": [ "099fb7fea8ef5d1836e051dbd370c767978173bc", "testharness" @@ -36504,9 +37148,21 @@ "testharness" ], "conformance/textures/webgl_canvas/00_test_list.txt": [ - "07f29f64063d92a7ac15ecf8cd221c850f966def", + "66a3a8445684f60f6daa3325ffb35b2c6283048f", "support" ], + "conformance/textures/webgl_canvas/tex-2d-alpha-alpha-unsigned_byte.html": [ + "8883c9b8d58587d2a427d057b51a6d0b13af6bcf", + "testharness" + ], + "conformance/textures/webgl_canvas/tex-2d-luminance-luminance-unsigned_byte.html": [ + "7f2ef4e684a53fb48e16fb3c8f1b5c604606685d", + "testharness" + ], + "conformance/textures/webgl_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html": [ + "226b2e80759fa23cf27032cfc5989dbe673cbec9", + "testharness" + ], "conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_byte.html": [ "368e0d1a89625b06689b0f15adbe982d9c570b3c", "testharness" @@ -36532,111 +37188,187 @@ "support" ], "conformance/typedarrays/array-buffer-crash.html": [ - "c0540c9d34b07d97875883dc9eb3db85c5661a1a", + "6899aa7c7de439059ff1e46b71b50c4ccd7e3523", "testharness" ], "conformance/typedarrays/array-buffer-view-crash.html": [ - "0bcaaf4ef3424acd2ac6841422e1bf19842035c1", + "19057e8bb9b1e858556f43d9577dd00bad9d6292", "testharness" ], "conformance/typedarrays/array-large-array-tests.html": [ - "74203292e2a62a6ed05f89f9965ade0afe3e071c", + "d008f73133b1bae89fa8f7d5cb1f560974a45c16", "testharness" ], "conformance/typedarrays/array-unit-tests.html": [ - "7555ed335d380e5f4700197ab6290486f6732562", + "01e31567c63ee46914f5a4cee75edcc6303f5925", "testharness" ], "conformance/typedarrays/data-view-crash.html": [ - "a1c518ee78712d8d4d6a8dec766521643d9acdb8", + "82cca1bc037a0720c36663bb8c954ee83d858b26", "testharness" ], "conformance/typedarrays/data-view-test.html": [ - "0c5e9f7f5689ef05a845e2e3cc9af2aca9f395f5", + "12918504e9f91740ef24b506fed60c50721e05dc", "testharness" ], - "conformance/typedarrays/resources/typed-array-test-cases.js": [ - "462eaae1bdea91c6e957b78046830da75421aa6e", - "support" - ], - "conformance/typedarrays/resources/typed-array-worker.js": [ - "c68ee07c29b843c7842a896b7ea4f677a8c4f87e", - "support" - ], "conformance/typedarrays/typed-arrays-in-workers.html": [ - "f9d05f5656d3b39c2088c0129fa0612c931fdf3c", + "880a3e4ad3e45ca143c8ba1f7de4c441c4aa06ff", "testharness" ], "conformance/uniforms/00_test_list.txt": [ - "008515acba13e1945b3a3786e03f46511ab7d14c", + "ac71dbad7393c723d8c994349a566c179ddaa237", "support" ], "conformance/uniforms/gl-uniform-arrays.html": [ - "47aa3a5a93adf729ac82faec8f222857de830b2b", + "54693a5c08ad720020fc362c5225f3d659614365", "testharness" ], "conformance/uniforms/gl-uniform-bool.html": [ - "9383f6f84cdde7a21056e6f4e7cbdde8ddfba41c", + "18b76e70d20d1b7af6230478f244510cae27122d", "testharness" ], "conformance/uniforms/gl-uniformmatrix4fv.html": [ - "a283b50e72cde7f46c6b436cce752bbb82c38c2c", + "2305fcb5eec647e63323e2727215b8d4fa2df988", "testharness" ], "conformance/uniforms/gl-unknown-uniform.html": [ - "e2a5987682229f767308364a63cc90cf5beedbde", + "df24622756d4e81f24c719005d03533f79f75000", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-00.html": [ + "dd8954e08e2428cb5284888072c22929e4d067f8", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-01.html": [ + "7afca1fd3836241a599bd0cbb3b21feba4a7d30e", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-02.html": [ + "89d7053822fffbc77a373d9d89971dbf98e375f8", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-03.html": [ + "7237a07a32c495bcb7d1d86aae1d54775c52c7bb", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-04.html": [ + "12ea48b11113ed290803810c28db7862f58dd0c1", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-05.html": [ + "4966f21e38f34e8b34a867f41bd6c0c0f62f17a7", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-06.html": [ + "a968be9e4150644388a729746b024dda8cb63257", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-07.html": [ + "03ede825b5e05fae9b5c64824d7d1401f70723e5", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-08.html": [ + "fe791a2828a7f7cdc8a05554e45b2df1576c7802", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-09.html": [ + "4d9833988490f8c71549f841b5c8e067085be7fe", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-10.html": [ + "151efadcf9195116ddfaf8ec36716f5c2f33a310", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-11.html": [ + "172fa3b50534d5699deb7b36354080b398bc27e4", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-12.html": [ + "bb23d939445c2bf5e7c64e7bdb14d1a1a84921c3", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-13.html": [ + "b0309a58188a00b17d47ffc356315d1e388f7b2a", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-14.html": [ + "137c9adbdf3fd4ff05ba2be4ea1fb9f3914d4c8e", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-15.html": [ + "619b822f4906e956224ad27463612967cc80bc1f", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-16.html": [ + "22b37751348b55bd0d64817a3e45ee920af94a9e", + "testharness" + ], + "conformance/uniforms/no-over-optimization-on-uniform-array-17.html": [ + "a15d2c2a3d9e2bba077f60e4567ba7d882bec8b9", "testharness" ], "conformance/uniforms/null-uniform-location.html": [ - "3151ef2ff3c905b8a4221b9e91679b3828700b4e", + "fd84df54d7435613231d2741c3b7f86a113bb62d", "testharness" ], "conformance/uniforms/out-of-bounds-uniform-array-access.html": [ - "4d85c3a53acc1a14b380c02d616b027d2fdc1051", + "a096b5ac7f771ab9b4aa1e5f046de301d22d9c93", "testharness" ], "conformance/uniforms/uniform-default-values.html": [ - "4ddd334a6f3ee043b2bbdd3bd544e0ad0aa05789", + "7d35877bd0935f334f6927a432fa42a6a6483ea5", "testharness" ], "conformance/uniforms/uniform-location.html": [ - "2d79a982402ae6c7f55403c37df72cffa1e19580", + "f7225dd1318be7a637e461cf5becc09a74e4bdce", "testharness" ], "conformance/uniforms/uniform-samplers-test.html": [ - "57b5580dced5a40b7692a837e98d84aa7597a9f3", + "8ecb7dc9fa692efd6ca95c7d3903e4d4fc785198", "testharness" ], "conformance/uniforms/uniform-values-per-program.html": [ - "622c68d8bce63c4f9591d3fc8843473876889e20", + "112bd525bdf683f123d2fe4e29510d3aba3daf77", "testharness" ], "conformance2/00_test_list.txt": [ - "ecea143d7952b3f900bbd4cce0f9613e6c469997", + "e251dc9758d06fb313aace58eb3096c17056a6a2", "support" ], "conformance2/attribs/00_test_list.txt": [ - "ae27d5e7c9d10d24f215c5e795e0b25badafc767", + "acf87749b9d508a27ccc2f65e4405e1915b70791", "support" ], + "conformance2/attribs/gl-bindAttribLocation-aliasing-inactive.html": [ + "c75336bdea17270a6b731723e94feac03dca3594", + "testharness" + ], "conformance2/attribs/gl-vertex-attrib-i-render.html": [ "b5df6d5ba4a3ffa4e8c1bfd437c11c457e14c565", "testharness" ], + "conformance2/attribs/gl-vertex-attrib-normalized-int.html": [ + "60eaa45ea982ff48e0c43bedc25df189d05df218", + "testharness" + ], "conformance2/attribs/gl-vertex-attrib.html": [ "5d5508122fe874c270eda15611d46ae4721c61a6", "testharness" ], "conformance2/attribs/gl-vertexattribipointer-offsets.html": [ - "5f524c64b05006be88601d911b11a0271167f0ae", + "cf2f72aba80a5c5bc554275ae529415433c78a52", "testharness" ], "conformance2/attribs/gl-vertexattribipointer.html": [ - "789d4bd741ae5ffae73ce8a6d2624609fdaffbd1", + "4aad0fd6230a174ef3827e3b3b6321248ead6d2e", + "testharness" + ], + "conformance2/attribs/render-no-enabled-attrib-arrays.html": [ + "94425cf025491331aa932ddeccb94cb734a3d0dd", "testharness" ], "conformance2/buffers/00_test_list.txt": [ - "96921fbea91d17d3e9431d925e1e95e250e33de9", + "21e4bb2bc4f1531fd1cf1d8bb9b84b33de3a4cb7", "support" ], "conformance2/buffers/bound-buffer-size-change-test.html": [ @@ -36663,44 +37395,84 @@ "7c19dccf3ddff8d8ccb661a80bab78144fd94fb4", "testharness" ], + "conformance2/buffers/delete-buffer.html": [ + "92ac9cacb718ccdd670a1d17c988d859c0afcbff", + "testharness" + ], + "conformance2/buffers/get-buffer-sub-data-validity.html": [ + "8899acfa0a5275d73024cb2db94be7ceff3bc109", + "testharness" + ], "conformance2/buffers/get-buffer-sub-data.html": [ "224ed861fa9f8d7890993aebe618d27d3f41e17c", "testharness" ], "conformance2/buffers/one-large-uniform-buffer.html": [ - "0d626b028ad880d4cffd71a2970dd908d39725ce", + "ca72f889793c4a0e9ac29e7fff8af0650f89b493", + "testharness" + ], + "conformance2/buffers/uniform-buffers-second-compile.html": [ + "b31c2518040173173527376205ec733a2f7a38f1", + "testharness" + ], + "conformance2/buffers/uniform-buffers-state-restoration.html": [ + "e8132565ed1b9685af68c2beb622f9e70bdc3d24", "testharness" ], "conformance2/buffers/uniform-buffers.html": [ - "a7f8b60785cb3312532240b0ec2312dda122cafd", + "04700977e5dc58aef10508876034aae864f2b3a4", + "testharness" + ], + "conformance2/canvas/00_test_list.txt": [ + "35e011f3bf7b147267dc543989d1c105b8875aa4", + "support" + ], + "conformance2/canvas/to-data-url-with-pack-params.html": [ + "59f0e427fb9bf1e8b7e95ec4ad3f67cd0d66f349", "testharness" ], "conformance2/context/00_test_list.txt": [ - "e7cf36a35c9cf8e65b4f3ea699ecab36de06d273", + "c2d13238b2991ae4e3d0ea802f6a63c2c40dd455", "support" ], "conformance2/context/constants-and-properties-2.html": [ - "ba530bf3ec725c7dcf1479ba080539a3bd557e33", + "b08ea1f1692342eecc9d93d77b7abdd0be0f0b90", "testharness" ], "conformance2/context/context-attributes-depth-stencil-antialias-obeyed.html": [ "5476f4e3a68be618c89380128f77d0b97b333457", "testharness" ], + "conformance2/context/context-resize-changes-buffer-binding-bug.html": [ + "c169eed8a573eed8ec12efea9093e55d477e8b44", + "testharness" + ], + "conformance2/context/context-sharing-texture2darray-texture3d-data-bug.html": [ + "56f0e276647b564646eba5e06e1374bce5da2838", + "testharness" + ], "conformance2/context/context-type-test-2.html": [ "d755b7ee00b7cb4d6e36b958331ccc6e39562fc2", "testharness" ], + "conformance2/context/incorrect-context-object-behaviour.html": [ + "6a219c664ea04245f3b2f15c62a18015567d6939", + "testharness" + ], "conformance2/context/methods-2.html": [ "f72c3d05c3400e65fffce5324173c2b59f1f6b93", "testharness" ], + "conformance2/context/no-experimental-webgl2.html": [ + "6f67bb572696e198a078f9c090f157027b598671", + "testharness" + ], "conformance2/extensions/00_test_list.txt": [ - "7ce7c8b57fe12ea1c3073753db19714498df2f81", + "4420e497de8b9039209d11ea023fe41164760aae", "support" ], "conformance2/extensions/ext-color-buffer-float.html": [ - "8f7eb0fe6b44dabef7d125390c749332cd14dca5", + "72a021c6600b4b1a8751d347a876cbc837aa9443", "testharness" ], "conformance2/extensions/ext-disjoint-timer-query-webgl2.html": [ @@ -36715,8 +37487,44 @@ "f34045f86e69d160b26f51db4371dd768b062424", "testharness" ], + "conformance2/extensions/webgl_multiview.html": [ + "bfecbc7c011899179441385e3c3c53f4c5c2aea3", + "testharness" + ], + "conformance2/extensions/webgl_multiview_depth.html": [ + "e4d15cbf53d3f12a12fae93fffefab7382f54f04", + "testharness" + ], + "conformance2/extensions/webgl_multiview_draw_buffers.html": [ + "be7105d9a6563f942f3f583fd97b2b6d0b5e7939", + "testharness" + ], + "conformance2/extensions/webgl_multiview_flat_varying.html": [ + "8ff992a173b4db4efd3044f3d219776be0cf4b82", + "testharness" + ], + "conformance2/extensions/webgl_multiview_instanced_draw.html": [ + "aea59bc3cf90ffa4d87479e1d3590ca9d18973b4", + "testharness" + ], + "conformance2/extensions/webgl_multiview_non_multiview_shaders.html": [ + "6d7e83bb964d8c552411b7369b9bca6cd86a704f", + "testharness" + ], + "conformance2/extensions/webgl_multiview_single_view_operations.html": [ + "2581f244d28e0e807c65674f96907f41f49283cc", + "testharness" + ], + "conformance2/extensions/webgl_multiview_timer_query.html": [ + "5db74eb308773f0e2148e34b0c24e5c6c3913503", + "testharness" + ], + "conformance2/extensions/webgl_multiview_transform_feedback.html": [ + "0b2c8f525620d75577a08ef266152b282c276edd", + "testharness" + ], "conformance2/glsl3/00_test_list.txt": [ - "6301ff5f2a492ce984e4c0a8537b83d219c1e817", + "f8879b439cff68c12e8d25783d57a66867030079", "support" ], "conformance2/glsl3/array-as-return-value.html": [ @@ -36724,7 +37532,7 @@ "testharness" ], "conformance2/glsl3/array-assign-constructor.html": [ - "578fe44bfd60a597c0137a3edfab776834f05516", + "de78096b9ecc6515f5da2815611b96e0240bc031", "testharness" ], "conformance2/glsl3/array-assign.html": [ @@ -36744,7 +37552,15 @@ "testharness" ], "conformance2/glsl3/array-in-complex-expression.html": [ - "b7c457c0865072fd4f15829deeee37cbe8e2726e", + "6330a6075e4139aa179d8fce34c7176ff2913e8f", + "testharness" + ], + "conformance2/glsl3/array-initialize-with-same-name-array.html": [ + "8c607fec672c79c3debe725db8d3928a77bf2910", + "testharness" + ], + "conformance2/glsl3/array-length-side-effects.html": [ + "519dc1ef5485b8e42e7543982fb284c9dfd07e5b", "testharness" ], "conformance2/glsl3/attrib-location-length-limits.html": [ @@ -36756,7 +37572,7 @@ "testharness" ], "conformance2/glsl3/compare-structs-containing-arrays.html": [ - "09cb7cef78fb4cd327a649262bab2c44b045e1d9", + "20f33c5e5bbb65c10242c6a54abd203d276472ef", "testharness" ], "conformance2/glsl3/compound-assignment-type-combination.html": [ @@ -36767,14 +37583,34 @@ "df994deba79e6f36865a0dce3054bd5a91d5a1c9", "testharness" ], + "conformance2/glsl3/const-struct-from-array-as-function-parameter.html": [ + "9b2d5c86a0b9ee18f71a76a15e709e4d8266f283", + "testharness" + ], + "conformance2/glsl3/float-parsing.html": [ + "1280322cc09ede54d20b0ffdb2b655f282d986c3", + "testharness" + ], "conformance2/glsl3/forbidden-operators.html": [ "b0c011b92d407ce0c19cb3bcb0a1a8107578e111", "testharness" ], + "conformance2/glsl3/forward-declaration.html": [ + "4b232c1e092951da340d77cd78e094ae1905818a", + "testharness" + ], "conformance2/glsl3/frag-depth.html": [ "80c008f9a401c2cd5ea8abcbab15678cb1438347", "testharness" ], + "conformance2/glsl3/gradient-in-discontinuous-loop.html": [ + "bf344611da75d78c44b4bd0b3175b86168a6243c", + "testharness" + ], + "conformance2/glsl3/input-with-interpotaion-as-lvalue.html": [ + "891c03777da0cad46231d91764fae50901634579", + "testharness" + ], "conformance2/glsl3/invalid-default-precision.html": [ "f033c400dd27528bd4763f230ca4df5f1abffd8c", "testharness" @@ -36832,7 +37668,15 @@ "testharness" ], "conformance2/glsl3/short-circuiting-in-loop-condition.html": [ - "03e2a6e77ff6f2c6fc8962b35a5ab5ab29ee40f8", + "7cbe0bd9f4fb4955a0b621cf192b05a236d1873c", + "testharness" + ], + "conformance2/glsl3/switch-case.html": [ + "5e09cb877d2450b1e57f179fb5976cc68f3835b8", + "testharness" + ], + "conformance2/glsl3/texture-offset-non-constant-offset.html": [ + "07a0d92eaf9aa67456e32167eea00cb18ea73ba2", "testharness" ], "conformance2/glsl3/texture-offset-out-of-range.html": [ @@ -36844,7 +37688,7 @@ "testharness" ], "conformance2/glsl3/tricky-loop-conditions.html": [ - "eb01d6d173075bfa6976388a930bd91451d9eb97", + "ce2fa009de5db0b694147689030720c830623c04", "testharness" ], "conformance2/glsl3/unary-minus-operator-in-dynamic-loop.html": [ @@ -36863,16 +37707,32 @@ "a36e8aed84b816d25328662e1b66645b1e20527f", "testharness" ], + "conformance2/glsl3/uniform-struct-with-non-square-matrix.html": [ + "dd9af9834f2e2c16372a0a5f1475ec717513a19a", + "testharness" + ], + "conformance2/glsl3/uninitialized-local-global-variables.html": [ + "2cba190c6de7ed722e2afdf18fc9262ef5cdef56", + "testharness" + ], "conformance2/glsl3/valid-invariant.html": [ "087a6a6086d3cbc49254a1b29ff60f23713fe2ff", "testharness" ], + "conformance2/glsl3/varying-struct-inline-definition.html": [ + "ee0a7caaadb4e9c94fc27451c55239dd20f21535", + "testharness" + ], "conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug.html": [ "c68b8521d9bcce32ef65ae0c87e429916c498ed7", "testharness" ], + "conformance2/glsl3/vector-dynamic-indexing-swizzled-lvalue.html": [ + "33bcff995e04465e6ee11a42e3e04618a8010fa4", + "testharness" + ], "conformance2/glsl3/vector-dynamic-indexing.html": [ - "1e2b2edc682d014875f98c75b56918bfe91c0391", + "417658e85aca58e55c05c297a0511553ee023966", "testharness" ], "conformance2/misc/00_test_list.txt": [ @@ -36892,7 +37752,7 @@ "testharness" ], "conformance2/misc/object-deletion-behaviour-2.html": [ - "b834ccc76c62b3ea20668446e0c6d11206c1b650", + "6c35137d8ea7b13aaa9e5bf37fa03748c4432d15", "testharness" ], "conformance2/misc/uninitialized-test-2.html": [ @@ -36903,14 +37763,54 @@ "18c7609cd8de199ec65b09bc8dce7bf55afce190", "testharness" ], - "conformance2/programs/00_test_list.txt": [ - "4926d0bf9be97b7a3d39874826b44557724a872a", + "conformance2/offscreencanvas/00_test_list.txt": [ + "336c01a8a44db2b6a16a79267596e49fe353a37c", "support" ], + "conformance2/offscreencanvas/context-creation-worker.html": [ + "66b41e0ce8de4126fa90eedbf75847f19fb5013e", + "testharness" + ], + "conformance2/offscreencanvas/context-creation-worker.js": [ + "c8faaf3a0e2b4b6879548bfb756491060e250edb", + "support" + ], + "conformance2/offscreencanvas/context-creation.html": [ + "404ce95ee0fabffe69f3700dee02e8e99fbbb64d", + "testharness" + ], + "conformance2/offscreencanvas/methods-2-worker.html": [ + "92fcef39c51e48878450faff41c7fa13bafc6759", + "testharness" + ], + "conformance2/offscreencanvas/methods-2-worker.js": [ + "99128bb7bc381b2feb380e068585fd18b5eee46c", + "support" + ], + "conformance2/offscreencanvas/methods-2.html": [ + "08857b7dbb8719f94c0466346279de3e4a62b149", + "testharness" + ], + "conformance2/offscreencanvas/offscreencanvas-transfer-image-bitmap.html": [ + "645aad8b4f142e7718df2cc5411446cecf7da7dc", + "testharness" + ], + "conformance2/programs/00_test_list.txt": [ + "cfc38addf1c3b6c1aff662df0eaa1a330071d861", + "support" + ], + "conformance2/programs/active-built-in-attribs.html": [ + "bd5abb3c9a87b1387ec601d87cc13abd34715572", + "testharness" + ], "conformance2/programs/gl-get-frag-data-location.html": [ "a5be9e7ced836169e0b21fac962c14d702539861", "testharness" ], + "conformance2/programs/sampler-uniforms.html": [ + "3849087d28cef8a0041a32b1161f974600c46226", + "testharness" + ], "conformance2/query/00_test_list.txt": [ "c40921bf887b79622b6383df1a84bd6ae9a5ce6a", "support" @@ -36948,11 +37848,11 @@ "testharness" ], "conformance2/renderbuffers/00_test_list.txt": [ - "6445c9d4844fa26462ef1e54d7bb494406250239", + "4b58b1a7517e4e028a99a96d4b260f9060675076", "support" ], "conformance2/renderbuffers/framebuffer-object-attachment.html": [ - "1b7ccd545a638ea0bb5c848e0ff70cd641bba244", + "ab090f840c3f1f10d417ba09958e5ba605d2795f", "testharness" ], "conformance2/renderbuffers/framebuffer-test.html": [ @@ -36971,8 +37871,16 @@ "8dba5583b10265711a71353bc1d37f794cc503ee", "testharness" ], + "conformance2/renderbuffers/multisampled-depth-renderbuffer-initialization.html": [ + "9274780fdbe72d85e7155277f47215bab58766aa", + "testharness" + ], "conformance2/renderbuffers/multisampled-renderbuffer-initialization.html": [ - "803ef04380340ebaf9d36df848527005560c1827", + "a403bc90b3e39c6ff90320b17775ce835f1bb96f", + "testharness" + ], + "conformance2/renderbuffers/multisampled-stencil-renderbuffer-initialization.html": [ + "c1be595816f979132664c23d373c8bc67e50a952", "testharness" ], "conformance2/renderbuffers/readbuffer.html": [ @@ -36980,7 +37888,7 @@ "testharness" ], "conformance2/rendering/00_test_list.txt": [ - "5550a9422fa2aab2e57bd122a097011f255fe3f0", + "da0bc0168fcacbe3a092914842684d6cea2f1287", "support" ], "conformance2/rendering/attrib-type-match.html": [ @@ -36988,39 +37896,47 @@ "testharness" ], "conformance2/rendering/blitframebuffer-filter-outofbounds.html": [ - "46fde5842748590fbfa453579b17f5d7be158d48", + "6953377c1819d550df860de36ac5f788d2984bb7", "testharness" ], "conformance2/rendering/blitframebuffer-filter-srgb.html": [ - "9efdc8cd60a8756e2c1c28c119324519529a7b6f", + "262b487a0ef255b54e1711f929056eaacc7580f6", "testharness" ], "conformance2/rendering/blitframebuffer-multisampled-readbuffer.html": [ - "835bd0ac53842b0cc73078ecff944568b80ebbf4", + "529b7b5ac8ec2ba5dd7c11b4e9228de0d89a81b1", "testharness" ], "conformance2/rendering/blitframebuffer-outside-readbuffer.html": [ - "5f3bac0c01f971a693240f546a190cde58f64198", + "6173b05cc37e4789470801bf7ae2e24bc51bed6f", + "testharness" + ], + "conformance2/rendering/blitframebuffer-r11f-g11f-b10f.html": [ + "54a5a74728386500e9fd61db12c047f3653b0d89", + "testharness" + ], + "conformance2/rendering/blitframebuffer-resolve-to-back-buffer.html": [ + "bc19c6bf2cf9f90c1d578dda0a174083b9a2d647", "testharness" ], "conformance2/rendering/blitframebuffer-scissor-enabled.html": [ - "88a2fb2135729f2ab10b33f643a056aa7ec5a86e", + "0de453f9e6f268ad3527dc850dd176ee74bed417", "testharness" ], "conformance2/rendering/blitframebuffer-size-overflow.html": [ - "fca77e9999552f4a0e5eed74bdb4621b8e06d935", + "1545ff31fe4f4a7e52c23dadb34157d60e29b945", "testharness" ], "conformance2/rendering/blitframebuffer-srgb-and-linear-drawbuffers.html": [ - "19b3b562321d11caaa845cd71783e189f26c6f3e", + "19ca1bfbf9c3d036a5e9fbf052609d8e079a37f6", "testharness" ], "conformance2/rendering/blitframebuffer-stencil-only.html": [ - "429efd80928d96688a5a6384660af4ddae02b643", + "e8aef7e6a8e6baeb46a36de29ed97ed0f0092836", "testharness" ], "conformance2/rendering/blitframebuffer-test.html": [ - "b40a3f5784c528aa786e2a6134d7242ee2ac4fe2", + "18726c9848ac5a3e4058f576954d3432bb8774a7", "testharness" ], "conformance2/rendering/canvas-resizing-with-pbo-bound.html": [ @@ -37032,23 +37948,59 @@ "testharness" ], "conformance2/rendering/clear-srgb-color-buffer.html": [ - "a5b6945350bd2368db2b1424e2336ade22b204a2", + "bcbd75c1fbe061bf671872667e7907f170e0f4b8", + "testharness" + ], + "conformance2/rendering/clearbuffer-sub-source.html": [ + "9d3831e21de49977d3f0932fd36712d6e52b613e", + "testharness" + ], + "conformance2/rendering/clearbufferfv-with-alpha-false.html": [ + "1533a313683d89d69550491f005722e641c5adb7", "testharness" ], "conformance2/rendering/clipping-wide-points.html": [ "8213c8c34b7ad7c7240778f8c4e1296aaa83ccb7", "testharness" ], + "conformance2/rendering/depth-stencil-feedback-loop.html": [ + "1593c178d9b175dba73593eb63d4a022388441c0", + "testharness" + ], + "conformance2/rendering/draw-buffers-dirty-state-bug.html": [ + "c3049dfb9fe4185f84c53d680bbb3093326f2e58", + "testharness" + ], + "conformance2/rendering/draw-buffers-driver-hang.html": [ + "abf04b91e136f4305f8557a345120a79b2e5788a", + "testharness" + ], "conformance2/rendering/draw-buffers.html": [ - "22f256f3bfb299d8fc45bc053026de0a13dd8b2d", + "e3d714388a32157c1618b9afd6298992fbc94d16", + "testharness" + ], + "conformance2/rendering/draw-with-integer-texture-base-level.html": [ + "577b677aac16170541cdd8294a9fa5e785ba2c67", "testharness" ], "conformance2/rendering/element-index-uint.html": [ - "07358dcacd7d30e76da5c3e1c3a0832857599ec5", + "927eab5ab6c2045539f59e50eccc080b5f13ad03", + "testharness" + ], + "conformance2/rendering/framebuffer-completeness-draw-framebuffer.html": [ + "6b2fabce5014125f8d8c3f5e21265a93ecb5af42", "testharness" ], "conformance2/rendering/framebuffer-completeness-unaffected.html": [ - "ede22e6e05da85bade794cea4aac5bba8d84f451", + "87e8f81a13cb46a17243de9abe2240100a14c3f2", + "testharness" + ], + "conformance2/rendering/framebuffer-texture-changing-base-level.html": [ + "06e0efbcd3f8c1a4b1b7f50ddcb0054ba7ffff7e", + "testharness" + ], + "conformance2/rendering/framebuffer-texture-level1.html": [ + "dbd464c7576398eaed91132c886e1a6aa2b58883", "testharness" ], "conformance2/rendering/framebuffer-unsupported.html": [ @@ -37060,17 +38012,29 @@ "testharness" ], "conformance2/rendering/instanced-arrays.html": [ - "6b801abf5a140af2fef46b514580303190eb1ee3", + "b192ee61a4a7c474074c5a4a8292388788ce5be5", "testharness" ], "conformance2/rendering/instanced-rendering-bug.html": [ "e7a28dafad2b0813fa07eec31028cc5897684c82", "testharness" ], + "conformance2/rendering/line-rendering-quality.html": [ + "97dadd74323128a70e04fbba4f87584e16e4f02d", + "testharness" + ], + "conformance2/rendering/multisampling-fragment-evaluation.html": [ + "5eabc145c47584c80c06f0ef152096aadceafb68", + "testharness" + ], "conformance2/rendering/out-of-bounds-index-buffers-after-copying.html": [ "4f3d21c4b51a9d5d5e8b19f940cf5062c4867545", "testharness" ], + "conformance2/rendering/read-draw-when-missing-image.html": [ + "ae1122de6499e43bc358dad7a61bd8f8a9ec8d4c", + "testharness" + ], "conformance2/rendering/rendering-sampling-feedback-loop.html": [ "f3b0902006530f31b0846f4f783f419e34510bcb", "testharness" @@ -37079,14 +38043,22 @@ "7de62ce40c3fc453beb3a0fa7af8fc730eaee640", "support" ], + "conformance2/rendering/texture-switch-performance.html": [ + "19cf2e9d20cb452150e9ac1d3e617dfd0a7df3fa", + "testharness" + ], "conformance2/rendering/uniform-block-buffer-size.html": [ - "c90419ce8ea27eb6a475c70cab0850190d04013b", + "5fd2aef4b2b211d64b1ac3aad436136cf73e3fa9", "testharness" ], "conformance2/samplers/00_test_list.txt": [ - "02901856b77734cd3c40e592d25d1a05a5d24d52", + "eeca822298d970b5f4bc6aef0ae423c567d3dd05", "support" ], + "conformance2/samplers/multi-context-sampler-test.html": [ + "f482ebf011aecec7ce3e73907d6166f366d35c27", + "testharness" + ], "conformance2/samplers/sampler-drawing-test.html": [ "2b7c8373680ed10181f908c39e972f1e9c40034a", "testharness" @@ -37120,7 +38092,7 @@ "support" ], "conformance2/sync/sync-webgl-specific.html": [ - "439f845a8fd477964cf4535a66891d0c8e39bf1b", + "a3e77486975f164021f0d6ee51074ed1139b96d9", "testharness" ], "conformance2/textures/00_test_list.txt": [ @@ -37128,7 +38100,7 @@ "support" ], "conformance2/textures/canvas/00_test_list.txt": [ - "11f7a21276e35f256f840bc56c69e40f9f2f22e1", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/canvas/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -37183,6 +38155,10 @@ "7f40c0c7fe3cbc76cfb7a5d760e1a737ff397e75", "testharness" ], + "conformance2/textures/canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "e58020a229e0d6ca2abb122ce522567eb0af6889", + "testharness" + ], "conformance2/textures/canvas/tex-2d-rgb16f-rgb-float.html": [ "080879285946f66bcb8d8361b06eabe608c0fe88", "testharness" @@ -37219,6 +38195,14 @@ "50786049891234f0664119f6f3a1a59c2e034916", "testharness" ], + "conformance2/textures/canvas/tex-2d-rgb9_e5-rgb-float.html": [ + "e9d323f1dd804e82f9cd55a5b4a50efd83cf4a09", + "testharness" + ], + "conformance2/textures/canvas/tex-2d-rgb9_e5-rgb-half_float.html": [ + "8c8279b55188cb013c6cbda74e73fdfb8d4c226d", + "testharness" + ], "conformance2/textures/canvas/tex-2d-rgba16f-rgba-float.html": [ "46467aa01701f417d4204407d3dd672c7bade550", "testharness" @@ -37307,6 +38291,10 @@ "0de57d1a7a05d5aa20d79214eefc1cb382f25d60", "testharness" ], + "conformance2/textures/canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "114d66ab008154c20cb7dd105bfa975bdbb13651", + "testharness" + ], "conformance2/textures/canvas/tex-3d-rgb16f-rgb-float.html": [ "1615165f29c05ea751efa2e5a403ea5334d041dc", "testharness" @@ -37343,6 +38331,14 @@ "cbf1f66aba3220043e40b5c0c2ab3fe9b4b50289", "testharness" ], + "conformance2/textures/canvas/tex-3d-rgb9_e5-rgb-float.html": [ + "f57bc5dd1e424bd6200013f0ec31a3f77f5b7de7", + "testharness" + ], + "conformance2/textures/canvas/tex-3d-rgb9_e5-rgb-half_float.html": [ + "bba508d97b0171ac76d8775a5eff7abccd2d2942", + "testharness" + ], "conformance2/textures/canvas/tex-3d-rgba16f-rgba-float.html": [ "d32fc7c72ed4ae28b0f2511f8355bcb97e3c9987", "testharness" @@ -37380,7 +38376,7 @@ "testharness" ], "conformance2/textures/canvas_sub_rectangle/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/canvas_sub_rectangle/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -37435,6 +38431,10 @@ "b65d021e43391c9db711b9e266f7cb7f6dd0a4b8", "testharness" ], + "conformance2/textures/canvas_sub_rectangle/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "b708ffcc0ea831c1969be01a41745ee84f20581d", + "testharness" + ], "conformance2/textures/canvas_sub_rectangle/tex-2d-rgb16f-rgb-float.html": [ "58f1d274cc5eecec0c4f0807a5de03d9ccd3cf6a", "testharness" @@ -37567,6 +38567,10 @@ "6151f7b03b019ef4e0c078aa4428879c7f27677c", "testharness" ], + "conformance2/textures/canvas_sub_rectangle/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "2f6522757c5158015727f19e135f64afd376bc43", + "testharness" + ], "conformance2/textures/canvas_sub_rectangle/tex-3d-rgb16f-rgb-float.html": [ "019348bbc84f6ab22633940b7bae828742976be0", "testharness" @@ -37648,7 +38652,7 @@ "testharness" ], "conformance2/textures/image/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/image/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -37703,6 +38707,10 @@ "7a8d51a748c5fcf8ff7b91f5fd69eeeb472ec479", "testharness" ], + "conformance2/textures/image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "3399744dfc408e18fd33d19e4392baaa43a01ec3", + "testharness" + ], "conformance2/textures/image/tex-2d-rgb16f-rgb-float.html": [ "b407d7b7f97f253aec08fd32bd6fb1aac6fca8dd", "testharness" @@ -37835,6 +38843,10 @@ "971e5ace3c8d2fee280e39444f22cd426fd69f09", "testharness" ], + "conformance2/textures/image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "082adc5c1dade6e44ff87a11d7df6b5b20309ea2", + "testharness" + ], "conformance2/textures/image/tex-3d-rgb16f-rgb-float.html": [ "0b3324f5f08f489e6382deb77d3873f4d0ed9008", "testharness" @@ -37916,7 +38928,7 @@ "testharness" ], "conformance2/textures/image_bitmap_from_blob/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/image_bitmap_from_blob/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -37971,6 +38983,10 @@ "9ab8f2ad2bd793139fdebbc3865144e6dd982464", "testharness" ], + "conformance2/textures/image_bitmap_from_blob/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "1cdb37ef51df7396fe82dfd7c62f2ba5da6ad50a", + "testharness" + ], "conformance2/textures/image_bitmap_from_blob/tex-2d-rgb16f-rgb-float.html": [ "554e6068482c19438cdc727270502b46bc93fec0", "testharness" @@ -38103,6 +39119,10 @@ "5bf442b27bc4bb7f5b734b2dec5e81f9de1fd423", "testharness" ], + "conformance2/textures/image_bitmap_from_blob/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "0d77f9af8a8d6408eeac009049e9838f254cd16d", + "testharness" + ], "conformance2/textures/image_bitmap_from_blob/tex-3d-rgb16f-rgb-float.html": [ "aafff9b0288cd889dff67a53e35d0689e7cb7cce", "testharness" @@ -38184,7 +39204,7 @@ "testharness" ], "conformance2/textures/image_bitmap_from_canvas/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/image_bitmap_from_canvas/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -38239,6 +39259,10 @@ "d8d0017692867007622c004e7ff0ecc9f145b0cb", "testharness" ], + "conformance2/textures/image_bitmap_from_canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "1c4a390e799bfc259f819414c0ceb5e795e74f79", + "testharness" + ], "conformance2/textures/image_bitmap_from_canvas/tex-2d-rgb16f-rgb-float.html": [ "6ec90dcd4e25c95f3629f95e6a2d24d2b99c6404", "testharness" @@ -38371,6 +39395,10 @@ "d3571afe3435d31ba6084a148a602b1305b4fc66", "testharness" ], + "conformance2/textures/image_bitmap_from_canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "d67c294c6b3a79ff55d7acfc65b57a8707e2b322", + "testharness" + ], "conformance2/textures/image_bitmap_from_canvas/tex-3d-rgb16f-rgb-float.html": [ "d26d0126fc46889ef81251c010fb4ade220b4d2f", "testharness" @@ -38452,7 +39480,7 @@ "testharness" ], "conformance2/textures/image_bitmap_from_image/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/image_bitmap_from_image/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -38507,6 +39535,10 @@ "4327343d8efde2311d514e124040e5e8a0c2d825", "testharness" ], + "conformance2/textures/image_bitmap_from_image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "59eb241c0eda87edfe5134787e77318ceca4e98e", + "testharness" + ], "conformance2/textures/image_bitmap_from_image/tex-2d-rgb16f-rgb-float.html": [ "666efc398d762f43e9728d13bc8a135ceb2d6f85", "testharness" @@ -38639,6 +39671,10 @@ "e94ae5c38ff76f99046043eb91888d6b4ffb6ab2", "testharness" ], + "conformance2/textures/image_bitmap_from_image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "37539654fa663004660040d0d144bc3d6b3cd740", + "testharness" + ], "conformance2/textures/image_bitmap_from_image/tex-3d-rgb16f-rgb-float.html": [ "8cfb259cd4a4e8c9d7eb388d43c878cf176716e9", "testharness" @@ -38720,7 +39756,7 @@ "testharness" ], "conformance2/textures/image_bitmap_from_image_bitmap/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/image_bitmap_from_image_bitmap/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -38775,6 +39811,10 @@ "a85d6cb581f823ab555eb8d5733df7c2071d7a77", "testharness" ], + "conformance2/textures/image_bitmap_from_image_bitmap/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "34beba7b2d2786b210cb012005323877b744f971", + "testharness" + ], "conformance2/textures/image_bitmap_from_image_bitmap/tex-2d-rgb16f-rgb-float.html": [ "e31c6b4a5733ff858c62ae1a30acc32c73538898", "testharness" @@ -38907,6 +39947,10 @@ "fd1546484ecb2a3a57873b43f613979d642d22e7", "testharness" ], + "conformance2/textures/image_bitmap_from_image_bitmap/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "3f26ee0d9b710a6072cee705093ee7ee37c637b8", + "testharness" + ], "conformance2/textures/image_bitmap_from_image_bitmap/tex-3d-rgb16f-rgb-float.html": [ "f422317ce932083b6b061fd483f84aaadde73721", "testharness" @@ -38988,7 +40032,7 @@ "testharness" ], "conformance2/textures/image_bitmap_from_image_data/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/image_bitmap_from_image_data/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -39043,6 +40087,10 @@ "8bd072c297fa9dee7f367c37df495f66fd90db3e", "testharness" ], + "conformance2/textures/image_bitmap_from_image_data/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "dd2de825c5dc3e1ff2cd8b984b19492dd27b2f88", + "testharness" + ], "conformance2/textures/image_bitmap_from_image_data/tex-2d-rgb16f-rgb-float.html": [ "1bfefb15022fa8881f320657c0e65ce95a258659", "testharness" @@ -39175,6 +40223,10 @@ "da34e4cd23e3d9d9f5030639bef222aa33556ffe", "testharness" ], + "conformance2/textures/image_bitmap_from_image_data/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "0232d45684e7c2e22488462ee083e8cbaec7e7e4", + "testharness" + ], "conformance2/textures/image_bitmap_from_image_data/tex-3d-rgb16f-rgb-float.html": [ "3523f7f307471173162205be3e6091d84183a9d4", "testharness" @@ -39256,7 +40308,7 @@ "testharness" ], "conformance2/textures/image_bitmap_from_video/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/image_bitmap_from_video/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -39311,6 +40363,10 @@ "a16d88d3401f06dfcad9dcddda8c25485e051ee1", "testharness" ], + "conformance2/textures/image_bitmap_from_video/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "856f1356e27f5ca01b69ff04515dc20b5f881ce0", + "testharness" + ], "conformance2/textures/image_bitmap_from_video/tex-2d-rgb16f-rgb-float.html": [ "3bca4b734b7f0c90898eff9e1af3f75638efce60", "testharness" @@ -39443,6 +40499,10 @@ "7e9e657e20fc7b8ba21074f7d5d02eaa8e2265f7", "testharness" ], + "conformance2/textures/image_bitmap_from_video/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "d8fc85786970a3eb57a2dc51aa6cb1f5734ec2a7", + "testharness" + ], "conformance2/textures/image_bitmap_from_video/tex-3d-rgb16f-rgb-float.html": [ "790f489e3ff76cbd88be000e0ecb2d5a1ca640f7", "testharness" @@ -39524,7 +40584,7 @@ "testharness" ], "conformance2/textures/image_data/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/image_data/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -39579,6 +40639,10 @@ "03e41e4e592a0b3ec73eba1206e0dd8066190823", "testharness" ], + "conformance2/textures/image_data/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "05bcca27ac152802ba7ec05f284b478130a26d3b", + "testharness" + ], "conformance2/textures/image_data/tex-2d-rgb16f-rgb-float.html": [ "79b809a62c512b8654277ab1e0acafd733dc94ae", "testharness" @@ -39711,6 +40775,10 @@ "a06c23af75cb0418d278e948bf315fd967a844a8", "testharness" ], + "conformance2/textures/image_data/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "472bd23a4540dfa09ab1f10bec65b44af046bd49", + "testharness" + ], "conformance2/textures/image_data/tex-3d-rgb16f-rgb-float.html": [ "ed7bcf5368ebed913107a35855a64968327687e2", "testharness" @@ -39792,15 +40860,39 @@ "testharness" ], "conformance2/textures/misc/00_test_list.txt": [ - "a25c3ec81a6ed9f26c498a5b91018dbb3a49eebf", + "168ee7747a551e745c8315e84ade5d42ae5bafbe", "support" ], "conformance2/textures/misc/active-3d-texture-bug.html": [ "98d714c29978eaa5d2163d401bfc2ea14af60968", "testharness" ], + "conformance2/textures/misc/angle-stuck-depth-textures.html": [ + "3bf844275ae8e64ea9157d58726d0846984dd2e6", + "testharness" + ], + "conformance2/textures/misc/canvas-remains-unchanged-after-used-in-webgl-texture.html": [ + "edd802e72c24bd7b93a7288fa7c462ab3bfae150", + "testharness" + ], + "conformance2/textures/misc/compressed-tex-from-pbo-crash.html": [ + "55d0e526166272251480d078e67a492c93266d21", + "testharness" + ], + "conformance2/textures/misc/copy-texture-cube-map-AMD-bug.html": [ + "807ec186413fd8fb058b5ce1c559117e114d3ac6", + "testharness" + ], + "conformance2/textures/misc/copy-texture-cube-map-bug.html": [ + "ed2268425eea33c84388cfa31ec78b73940941e9", + "testharness" + ], "conformance2/textures/misc/copy-texture-image-luma-format.html": [ - "b8460e6512e71cb3488ce65e16d4f8e6919fb1fa", + "387f37723602e93c7d452ffe531c34e8769a92d3", + "testharness" + ], + "conformance2/textures/misc/copy-texture-image-same-texture.html": [ + "9ee17c2fb13ffd42e4c5b9d947d4d4acf7e11a59", "testharness" ], "conformance2/textures/misc/copy-texture-image-webgl-specific.html": [ @@ -39808,7 +40900,7 @@ "testharness" ], "conformance2/textures/misc/copy-texture-image.html": [ - "760f74eaa5255d553e6c1f722acf837cb9eda5bb", + "ec5375bc878612957a50adb16398950f234e856f", "testharness" ], "conformance2/textures/misc/gl-get-tex-parameter.html": [ @@ -39816,7 +40908,7 @@ "testharness" ], "conformance2/textures/misc/integer-cubemap-specification-order-bug.html": [ - "4070c6a24a91e36bfc8df6e5d372598988e7b0c2", + "502461643004bdb1c1d0fb1b3aadabd07bafd3fe", "testharness" ], "conformance2/textures/misc/integer-cubemap-texture-sampling.html": [ @@ -39827,24 +40919,40 @@ "6dbe245200cdc162acf195eeb0c10f9c7080c9b0", "testharness" ], + "conformance2/textures/misc/npot-video-sizing.html": [ + "602c5485b8bb1f6ac4cd016392d5f4af0bbc79db", + "testharness" + ], + "conformance2/textures/misc/origin-clean-conformance-offscreencanvas.html": [ + "309aef65933dc9a821c3c178ed055dfed6d91ae5", + "testharness" + ], + "conformance2/textures/misc/tex-3d-mipmap-levels-intel-bug.html": [ + "2f48dd94a941a4cff6abc3392c4bf86dc6c3e7a9", + "testharness" + ], "conformance2/textures/misc/tex-3d-size-limit.html": [ "caacd2d8b436d274c7d08aef4aa3970a9a23d501", "testharness" ], + "conformance2/textures/misc/tex-base-level-bug.html": [ + "dc2e930ec29e0131eee48518b98943d9d44e6e63", + "testharness" + ], "conformance2/textures/misc/tex-image-and-sub-image-with-array-buffer-view-sub-source.html": [ "88d4548329e07ce82ff5ffb8e6d4abe8e9568722", "testharness" ], "conformance2/textures/misc/tex-image-with-bad-args-from-dom-elements.html": [ - "e652b9f3e812017f07566c489db528dbb429d304", + "922424484701a1781c79e05fb7e509e31614ac62", "testharness" ], "conformance2/textures/misc/tex-image-with-bad-args.html": [ - "c459a222aea3405d19012a62261bf3e8eab955ac", + "ca7de0991c0447ca47897ada9a0edfde501b2b42", "testharness" ], "conformance2/textures/misc/tex-image-with-different-data-source.html": [ - "41fe15af6ccb9fa8e2fea9af07719afc995240a6", + "50ab8d284a81fe90ea87fcdaf872958b66b8ccd9", "testharness" ], "conformance2/textures/misc/tex-input-validation.html": [ @@ -39860,27 +40968,43 @@ "testharness" ], "conformance2/textures/misc/tex-srgb-mipmap.html": [ - "16dde03a2532d20aa0631ee560c810b314798079", + "8401b95d41dde501377dce384d385159a8763dc0", "testharness" ], "conformance2/textures/misc/tex-storage-2d.html": [ - "f3dcb729f00fdf756c52d8d993d3cf1c52653437", + "a1023536e9d97752f49bdd6b7f359f35232b1536", "testharness" ], "conformance2/textures/misc/tex-storage-and-subimage-3d.html": [ - "dad3e66c09cca814d21324dfb9e85fd1059f512e", + "f482a8f6c11ad4156dd40f7ca5073b82a59ccf3e", "testharness" ], "conformance2/textures/misc/tex-storage-compressed-formats.html": [ "80d792e3151521ecbc206f95c64fbe693afcea91", "testharness" ], + "conformance2/textures/misc/tex-subimage3d-canvas-bug.html": [ + "9ee300d2306f25c7d6ba09705f769b8498d2942a", + "testharness" + ], + "conformance2/textures/misc/tex-subimage3d-pixel-buffer-bug.html": [ + "79f1f457e2d15e6ef0f632dfed2198fdcadb3fd7", + "testharness" + ], + "conformance2/textures/misc/tex-unpack-params-imagedata.html": [ + "e87e61471b207ef00e53bfc02d5eab5304c11f81", + "testharness" + ], + "conformance2/textures/misc/tex-unpack-params-with-flip-y-and-premultiply-alpha.html": [ + "0fdf318618073c20ff684237450936d0494ff2b7", + "testharness" + ], "conformance2/textures/misc/tex-unpack-params.html": [ "8f1ce0c63e840345571913b95a803e103520b64f", "testharness" ], "conformance2/textures/misc/texel-fetch-undefined.html": [ - "ad0b4c53d8b8d1168b052be2e77ed022dc89e1fe", + "d2f7cd49f049b1c42a2c0f51aecc9e97a7ce58d0", "testharness" ], "conformance2/textures/misc/texture-npot.html": [ @@ -39888,7 +41012,7 @@ "testharness" ], "conformance2/textures/svg_image/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/svg_image/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -39943,6 +41067,10 @@ "39a0f224eef7ab4f1421de0aff2512b6941247f8", "testharness" ], + "conformance2/textures/svg_image/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "99566c62239f0a146a6d21f6ea392bdf16a68a83", + "testharness" + ], "conformance2/textures/svg_image/tex-2d-rgb16f-rgb-float.html": [ "f7ee085e686ae97e528ef700bd3ed366bfdb84b7", "testharness" @@ -40075,6 +41203,10 @@ "dc37c62daa03b63cf04a7b9e3f5cb285e19974e9", "testharness" ], + "conformance2/textures/svg_image/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "2867150563df641a664692ab57bc1153f09c1be9", + "testharness" + ], "conformance2/textures/svg_image/tex-3d-rgb16f-rgb-float.html": [ "373d3c38d5616b3ff2659763038c106cd5019a77", "testharness" @@ -40156,7 +41288,7 @@ "testharness" ], "conformance2/textures/video/00_test_list.txt": [ - "5ad5e132ffbaa1cbb7a2e151f4944bfac8c6d199", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/video/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -40211,6 +41343,10 @@ "c3151708218ad2bbb06c69cdc563f113e46a39c2", "testharness" ], + "conformance2/textures/video/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "a80d1669e8ab5fbba62f3a913ac0c1f309942665", + "testharness" + ], "conformance2/textures/video/tex-2d-rgb16f-rgb-float.html": [ "105f674a6645f5ba990ee0a89e73bbfb42a6d62d", "testharness" @@ -40343,6 +41479,10 @@ "366f1ca19deaf6760d9f13aa2f5d0c5e18f7dcc2", "testharness" ], + "conformance2/textures/video/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "d78f798a46982b84cee5421745dea9b9290914f7", + "testharness" + ], "conformance2/textures/video/tex-3d-rgb16f-rgb-float.html": [ "8a05b09d708ee9ba3ca855a51361c1296b9391c3", "testharness" @@ -40424,7 +41564,7 @@ "testharness" ], "conformance2/textures/webgl_canvas/00_test_list.txt": [ - "11f7a21276e35f256f840bc56c69e40f9f2f22e1", + "934fa86eaa72c14c9446a69934d2bb75b9f2f871", "support" ], "conformance2/textures/webgl_canvas/tex-2d-r11f_g11f_b10f-rgb-float.html": [ @@ -40479,6 +41619,10 @@ "0217abfd73959c224ab3586ef5502a4e89560c9d", "testharness" ], + "conformance2/textures/webgl_canvas/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "c43f06653eb5ccf46cfe5ed15aee46645de408b9", + "testharness" + ], "conformance2/textures/webgl_canvas/tex-2d-rgb16f-rgb-float.html": [ "9aea6a7e5549336897c064d31d11f2e8f18b2a0b", "testharness" @@ -40515,6 +41659,14 @@ "b17404e2361449b94123c6af47960b2c6f3d97db", "testharness" ], + "conformance2/textures/webgl_canvas/tex-2d-rgb9_e5-rgb-float.html": [ + "f31b5fddb6eb9c23741e858af9b7915cf8e5133c", + "testharness" + ], + "conformance2/textures/webgl_canvas/tex-2d-rgb9_e5-rgb-half_float.html": [ + "9b5db2803a9c790a4b3cfe12bbb7a54dcaa97131", + "testharness" + ], "conformance2/textures/webgl_canvas/tex-2d-rgba16f-rgba-float.html": [ "f2ddb20921711c4dbf8c35d6791905684838da02", "testharness" @@ -40603,6 +41755,10 @@ "ca168d01423285e7f0cfd62e5478b6a035439d36", "testharness" ], + "conformance2/textures/webgl_canvas/tex-3d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html": [ + "becead91a4438ef2d582498805fb0d6eacbf61fd", + "testharness" + ], "conformance2/textures/webgl_canvas/tex-3d-rgb16f-rgb-float.html": [ "a2d18ac1faaecd8e386ab5e746c108e26cd673b0", "testharness" @@ -40639,6 +41795,14 @@ "f2d3a2d74fd7eaccdc4f06c4b5d008a0a724feca", "testharness" ], + "conformance2/textures/webgl_canvas/tex-3d-rgb9_e5-rgb-float.html": [ + "2933463e4feca7a98649fc61eed37fdc2c14426f", + "testharness" + ], + "conformance2/textures/webgl_canvas/tex-3d-rgb9_e5-rgb-half_float.html": [ + "2575c95207c178ad41c65e536165e112bc156309", + "testharness" + ], "conformance2/textures/webgl_canvas/tex-3d-rgba16f-rgba-float.html": [ "9c9a18ce2750940b1d5dd26132ba65a34ecfbb44", "testharness" @@ -40676,11 +41840,31 @@ "testharness" ], "conformance2/transform_feedback/00_test_list.txt": [ - "84da3d3ca614885a3bb0a6a105f9f76141996841", + "19e9a41e519a8ea2568b73c7553a4df00b9ca651", "support" ], + "conformance2/transform_feedback/non-existent-varying.html": [ + "dad0c1e3264addf481d0d8278d48d729ca22c95f", + "testharness" + ], + "conformance2/transform_feedback/same-buffer-two-binding-points.html": [ + "0b2477cda2b6568362658873d65e0f8861b38dc7", + "testharness" + ], + "conformance2/transform_feedback/simultaneous_binding.html": [ + "34da41f745a7e208b38f3255e93deb47a8da18ea", + "testharness" + ], + "conformance2/transform_feedback/switching-objects.html": [ + "3767548d0d01a11df75c3e069d6ed1039bef27aa", + "testharness" + ], + "conformance2/transform_feedback/too-small-buffers.html": [ + "2a2c92239609a7b5678f850f08509cab74649636", + "testharness" + ], "conformance2/transform_feedback/transform_feedback.html": [ - "c8f4d1ab8c0d56f1379f82c915a51b595960d3d5", + "16f38fd9611146de43dd54069e6ae9151ee1d3a6", "testharness" ], "conformance2/transform_feedback/two-unreferenced-varyings.html": [ @@ -40691,12 +41875,44 @@ "376f169aad70f885cb9c0f68f6d58b975cd5a20f", "testharness" ], + "conformance2/uniforms/00_test_list.txt": [ + "6a9fb83b4d0bee4db5395ca70e839b4daaa5de63", + "support" + ], + "conformance2/uniforms/dependent-buffer-change.html": [ + "2a530f0301363222160e5b214798d9036d1e4d3f", + "testharness" + ], + "conformance2/uniforms/draw-with-uniform-blocks.html": [ + "24285621c5dddbad63fd4dd38c7fbb370e3cd2e6", + "testharness" + ], + "conformance2/uniforms/gl-uniform-arrays-sub-source.html": [ + "0acc7ac2d1b5eeda4a8fcb9df42eade166b37a40", + "testharness" + ], + "conformance2/uniforms/incompatible-texture-type-for-sampler.html": [ + "a2353535d07f6216a31982054cb2aeade897844e", + "testharness" + ], + "conformance2/uniforms/query-uniform-blocks-after-shader-detach.html": [ + "c0d13d6fe0f1169c31b0d677af0b2f6f049667c0", + "testharness" + ], + "conformance2/uniforms/simple-buffer-change.html": [ + "0dfa9611d9af65e59be442b499d4d6fb08b5d2f4", + "testharness" + ], + "conformance2/uniforms/uniform-blocks-with-arrays.html": [ + "8828e7929069de128054e1f945c72f4d16c46b91", + "testharness" + ], "conformance2/vertex_arrays/00_test_list.txt": [ "5b59a217393d68c2f425114c064e1c69dddabac0", "support" ], "conformance2/vertex_arrays/vertex-array-object.html": [ - "47b5d560d7f9b91ea47b59e92f2e221f0604f587", + "ca5e87f67cef768d6c359681dc4e6df7e12b0916", "testharness" ], "deqp/00_test_list.txt": [ @@ -40715,10 +41931,6 @@ "5349a6c939d3fb8b79ae0739d236efd0fc48b330", "support" ], - "deqp/compiler.jar": [ - "940f408ee5d8f8b4557f856f7f513c5c3632346f", - "support" - ], "deqp/compiler_additional_extern.js": [ "814a16e4b07220ce9f55d1d3d687629a1ba7ed67", "support" @@ -41000,7 +42212,7 @@ "support" ], "deqp/framework/common/tcuFloat.js": [ - "3d91ab5aa9415d341df39997dd3823fb40942bd2", + "0cc74fe5a9c20509e18610318157c0d4591b0a35", "support" ], "deqp/framework/common/tcuFloatFormat.js": [ @@ -41008,7 +42220,7 @@ "support" ], "deqp/framework/common/tcuFuzzyImageCompare.js": [ - "aea5bf7e090ddb1b59653929b8a932dccca0ef40", + "828d8301006675569fa51300e3b512ae1b773ef6", "support" ], "deqp/framework/common/tcuImageCompare.js": [ @@ -41040,7 +42252,7 @@ "support" ], "deqp/framework/common/tcuSkipList.js": [ - "cd34aa0145032b924413594b131cf00877379ec0", + "060901de307f21063865156ec51fba2e0def3c03", "support" ], "deqp/framework/common/tcuStringTemplate.js": [ @@ -41076,7 +42288,7 @@ "support" ], "deqp/framework/delibs/debase/deMath.js": [ - "7551d6c1b6491ea54a74b120f7848ccf1d22c897", + "fbb2a61fd71a30c98c4108f61047d8266a5186c7", "support" ], "deqp/framework/delibs/debase/deRandom.js": [ @@ -41608,7 +42820,7 @@ "support" ], "deqp/functional/gles3/es3fMultisampleTests.js": [ - "fe2120af6d3d28813d593074825c3415e47c22f1", + "50e2a21992f98fa99e8f3789d04aa0587df8b91c", "support" ], "deqp/functional/gles3/es3fNegativeBufferApiTests.js": [ @@ -41632,7 +42844,7 @@ "support" ], "deqp/functional/gles3/es3fNegativeVertexArrayApiTests.js": [ - "1321118c416fdb15ea9f5e8494f5ef460d6e2534", + "1a5f8e05fae2370fde69814b10e18d621e6699c2", "support" ], "deqp/functional/gles3/es3fOcclusionQueryTests.js": [ @@ -41640,7 +42852,7 @@ "support" ], "deqp/functional/gles3/es3fPixelBufferObjectTest.js": [ - "43f001e110fed725c376b66cbe655fe38f91e7a8", + "ac577193aa4733b35c01f1caa736f88c13810263", "support" ], "deqp/functional/gles3/es3fPrimitiveRestartTests.js": [ @@ -41704,7 +42916,7 @@ "support" ], "deqp/functional/gles3/es3fShaderPrecisionTests.js": [ - "eef5be85fd6fcbdfa5fdbea94a4c7db849b04bba", + "28a697397c41b04beafb19106d22303f706dc4c9", "support" ], "deqp/functional/gles3/es3fShaderStateQueryTests.js": [ @@ -45163,6 +46375,10 @@ "ba80dbe760fb56bf80d79f199a66951e00d61da5", "support" ], + "extra/logo-256x256.png": [ + "b6a9ef1acd9386e77c1ae527dd96751ac629f89a", + "support" + ], "extra/sample-100.png": [ "197c869b6d278f1a0724483e431d3f1a00912227", "support" @@ -45188,7 +46404,7 @@ "support" ], "js/glsl-conformance-test.js": [ - "a4c93d7aea41001da1006a30a311768a98a58422", + "f09fc255c924f6cab7fa1fff25cd55671440d501", "support" ], "js/glsl-constructor-tests-generator.js": [ @@ -45204,7 +46420,7 @@ "support" ], "js/js-test-pre.js": [ - "6b054242d99d5ff437ce0fb969b961401f4b0a69", + "f2c8167240a232d1a5480a9b7635cc250062bbdb", "support" ], "js/pnglib.js": [ @@ -45215,6 +46431,10 @@ "2d863239e927ea527d1c69f8a52272f7a9d66b40", "support" ], + "js/tests/canvas-tests-utils.js": [ + "16ffa9b12128a887bb274669bd76f3b51e81c993", + "support" + ], "js/tests/clipping-wide-points.js": [ "fd86bf5fd6e0e5b0c5233466aa0049f27e336ca8", "support" @@ -45223,6 +46443,10 @@ "d824f31944d30a798abcaf040ed17b5462e0a323", "support" ], + "js/tests/gl-bindattriblocation-aliasing.js": [ + "050c93827f98abbcca0ef11c5b03291d839f44be", + "support" + ], "js/tests/gl-enum-tests.js": [ "3a17f09b267643b0b7b77af3cb941ce5c665e15c", "support" @@ -45244,23 +46468,35 @@ "support" ], "js/tests/iterable-test.js": [ - "31abe501120eb4c06ff54ccfac4d11676683e496", + "272391655e481b765d501abed0951a9e8e5d8683", + "support" + ], + "js/tests/line-rendering-quality.js": [ + "e0de62c925c95565d91ca1af1b48d4a83e5b5506", + "support" + ], + "js/tests/no-over-optimizations-on-uniform-array.js": [ + "be2e6c5c4cf37c4d10edaaa5f85c31429aec53d7", "support" ], "js/tests/oes-texture-float-and-half-float-linear.js": [ "7cc06312d8c93687ca674ce6e32b66d4cfc57e21", "support" ], + "js/tests/offscreencanvas-transfer-image-bitmap.js": [ + "b25a7dd026b70a0d89c4d5791b50f519c47071dc", + "support" + ], "js/tests/out-of-bounds-test.js": [ - "4e5169f18d1586201a22b4e43de914c38740aaa7", + "bcddfdc394bd30ac334947407bd89fedc8716da3", "support" ], "js/tests/tex-image-and-sub-image-2d-with-canvas-sub-rectangle.js": [ - "33ab722d4caa56279dd24a3f2260a3c047553b3f", + "3e30b46a853ca6f593ee697f1a488d90dd4ffaee", "support" ], "js/tests/tex-image-and-sub-image-2d-with-canvas.js": [ - "4024a0200fa1506ffd90229197437105fb0baa35", + "2caea8341aea8f43a8317a36192aa05914503fdc", "support" ], "js/tests/tex-image-and-sub-image-2d-with-image-bitmap-from-blob.js": [ @@ -45288,23 +46524,23 @@ "support" ], "js/tests/tex-image-and-sub-image-2d-with-image-data.js": [ - "80abb697cb14c82c14d731ff0d180130f5099787", + "e149b55ca654bdd17a0a784c4918dede7317afd8", "support" ], "js/tests/tex-image-and-sub-image-2d-with-image.js": [ - "51de6018d8bc63be36e4b4abba52595f0ea73641", + "c9e6a37fe68bd301f37e762a6f0bde92b8e0bdbe", "support" ], "js/tests/tex-image-and-sub-image-2d-with-svg-image.js": [ - "be5a845b1ffe2ba30c47e626df809dafdd79a189", + "c5b79d1a66541237f5073ec8f4154f2b396afc80", "support" ], "js/tests/tex-image-and-sub-image-2d-with-video.js": [ - "823b14ba9d1c7771d5271a41f50db362417740bc", + "9cd430603a9ae74d588cadfbc0cedab4f7250385", "support" ], "js/tests/tex-image-and-sub-image-2d-with-webgl-canvas.js": [ - "534965ba317a45beba58274c2a48be07a2da00d7", + "61578ab040f12208119f9afbbf156a8aea47a9d4", "support" ], "js/tests/tex-image-and-sub-image-3d-with-canvas-sub-rectangle.js": [ @@ -45312,7 +46548,7 @@ "support" ], "js/tests/tex-image-and-sub-image-3d-with-canvas.js": [ - "c577d0f442d9712886c6d4c08fd30a40ed378301", + "291e70c75886d92c6a1a7abdcbec04065e32fbda", "support" ], "js/tests/tex-image-and-sub-image-3d-with-image-bitmap-from-blob.js": [ @@ -45356,7 +46592,7 @@ "support" ], "js/tests/tex-image-and-sub-image-3d-with-webgl-canvas.js": [ - "f9415cf85000705b019465b8117b4145ec61d046", + "ad0c394777b81a105f29109cfcff05a570ff4245", "support" ], "js/tests/tex-image-and-sub-image-utils.js": [ @@ -45364,13 +46600,17 @@ "support" ], "js/tests/tex-image-and-sub-image-with-image-bitmap-utils.js": [ - "0f040cdfc21e17ae984f2a3932fe641a74a135da", + "5691f89a3f2abd1db6f1f75057dda678095a3db0", "support" ], "js/tests/tex-input-validation.js": [ "77237fae374dab446993a76ce66824b91ee83e5a", "support" ], + "js/tests/texture-corner-case-videos.js": [ + "c97af50929339a881614365d70701a38d7d8af56", + "support" + ], "js/tests/typed-array-test-cases.js": [ "462eaae1bdea91c6e957b78046830da75421aa6e", "support" @@ -45379,12 +46619,24 @@ "c68ee07c29b843c7842a896b7ea4f677a8c4f87e", "support" ], + "js/tests/webgl-compressed-texture-size-limit.js": [ + "f1e32b514b3f45fee43b470a612107be5508a378", + "support" + ], + "js/tests/webgl-draw-buffers-utils.js": [ + "13e8db7fc9d2c9931e1980698ee131f93aff128b", + "support" + ], + "js/tests/webgl_multiview_util.js": [ + "4f4ad0e1adfd8640fb4a75ff8a21e67729ae5d41", + "support" + ], "js/webgl-test-harness.js": [ "4fb179f2b213f4b2c0514d2f65f33322147e95b2", "support" ], "js/webgl-test-utils.js": [ - "e465db87b96c132e91eeaf0187499c74e8e0d1f7", + "5ab8b2cfd0794f3c15d7afad0fe98b0f75cff38b", "support" ], "py/lint/LICENSE": [ @@ -45400,11 +46652,11 @@ "support" ], "py/lint/lint.whitelist": [ - "a6016d7e33350d2526bf6ef15879fe26f2d4fedd", + "342f5afd81415f0c234df31a656c0046b31a2402", "support" ], "py/tex_image_test_generator.py": [ - "609e878dbabfed05dc365053adf1f3e703dc4611", + "9097b7bcbd32fdfb305099452c19c55fdf54fd88", "support" ], "resources/1-channel.jpg": [ @@ -45427,14 +46679,6 @@ "e78cfe79979b85202bec19b8a454e669361ee8ca", "support" ], - "resources/cookies.js": [ - "7ec7a4b4d32500cdcf8526a3f1ba40e59ffaeb77", - "support" - ], - "resources/desktop-gl-constants.js": [ - "6bea0acb4e4fa88fa16834d24c40b09c27e474c6", - "support" - ], "resources/floatUniformShader.vert": [ "58991b474164f3ce97cdfdd0259bb76a0664ee7e", "support" @@ -45503,14 +46747,6 @@ "051c05e2b8581040d23ec0aedc6832dc1398675a", "support" ], - "resources/js-test-post.js": [ - "ae4031cbaa27219680e4246433dce2003114e289", - "support" - ], - "resources/js-test-pre.js": [ - "3c5f2c6e9087a137e39033f10f14fdb3b1b606ad", - "support" - ], "resources/js-test-style.css": [ "bb7d5148e5a22212169d14e0fcda2893a0abd718", "support" @@ -45539,8 +46775,12 @@ "e213a4bb3b31af21b83c56d4a84665423601a690", "support" ], + "resources/npot-video-1920x1080.mp4": [ + "2ce5baaee8508dbc9afc8f2112ea67917c56261a", + "support" + ], "resources/npot-video.mp4": [ - "59f5f774a783b459385451b4c5df238001cb9f1d", + "a263a2bba803b1b7a1b47829758b48ec9b072740", "support" ], "resources/npot-video.theora.ogv": [ @@ -45559,6 +46799,14 @@ "e3b70bef3f2c78736c72e263b63acea8d9a9467a", "support" ], + "resources/red-green-480x272-sar-136x135-dar-16x9.mp4": [ + "4843a436eb568f744dc7cb800dbd4bc5dcd8a9eb", + "support" + ], + "resources/red-green-480x272.png": [ + "413bafeaaae9ffc971101c30f9d07c8013ec1284", + "support" + ], "resources/red-green-blue-cyan-4x4.png": [ "80b2d1d4230dea2249da175075c9bd6a67ae4393", "support" @@ -45567,6 +46815,14 @@ "9cf26f941384b26016577c84f18728a4042d4b04", "support" ], + "resources/red-green-hard.hdr": [ + "bf26f2842be674f713d97225e6b73289096b00de", + "support" + ], + "resources/red-green-hard.png": [ + "a33d9301f44b276e9ed7c5bed78d14e58c8d3a53", + "support" + ], "resources/red-green-semi-transparent.png": [ "11f2928ae2c93829e8d352fc069816c9d5bc2132", "support" @@ -45576,7 +46832,7 @@ "support" ], "resources/red-green.mp4": [ - "4bd6d59658906d23566f1aa14443c3dc1eab4610", + "79e810be81ec297f86a59b0410687c5f9ba0fab7", "support" ], "resources/red-green.png": [ @@ -45639,10 +46895,6 @@ "59c719a0014a0455e0714103ac2a670ed400f092", "support" ], - "resources/test-eval.js": [ - "2d863239e927ea527d1c69f8a52272f7a9d66b40", - "support" - ], "resources/thunderbird-logo-64x64.png": [ "e2326f5510a0d2f89601c62459032be9d64585da", "support" @@ -45671,16 +46923,12 @@ "b9b22e1ab45e9340a5f2e5b72d8bdf79c9d97994", "support" ], - "resources/webgl-test-harness.js": [ - "a55f6837b71f06147d7f576473ffd0e929513a20", - "support" - ], "resources/zero-alpha.png": [ "e55630c116038f90ef72cdd02b664f8f0daa06e3", "support" ], "test-guidelines.md": [ - "909738ceeae6114872d61e9dd0f63674254c0fcf", + "675d9c442465e5dddfdce13c93cb335c823599c4", "support" ] }, diff --git a/tests/wpt/webgl/meta/conformance/attribs/gl-vertex-attrib.html.ini b/tests/wpt/webgl/meta/conformance/attribs/gl-vertex-attrib.html.ini new file mode 100644 index 00000000000..e8cfa8be8e7 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/attribs/gl-vertex-attrib.html.ini @@ -0,0 +1,25 @@ +[gl-vertex-attrib.html] + [WebGL test #979: getError expected: INVALID_VALUE. Was INVALID_OPERATION : ] + expected: FAIL + + [WebGL test #978: getError expected: INVALID_VALUE. Was INVALID_OPERATION : ] + expected: FAIL + + [WebGL test #976: getError expected: INVALID_VALUE. Was INVALID_OPERATION : ] + expected: FAIL + + [WebGL test #980: getError expected: INVALID_VALUE. Was INVALID_OPERATION : ] + expected: FAIL + + [WebGL test #975: getError expected: INVALID_VALUE. Was INVALID_OPERATION : ] + expected: FAIL + + [WebGL test #977: getError expected: INVALID_VALUE. Was INVALID_OPERATION : ] + expected: FAIL + + [WebGL test #982: getError expected: INVALID_VALUE. Was INVALID_OPERATION : ] + expected: FAIL + + [WebGL test #981: getError expected: INVALID_VALUE. Was INVALID_OPERATION : ] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/attribs/gl-vertexattribpointer.html.ini b/tests/wpt/webgl/meta/conformance/attribs/gl-vertexattribpointer.html.ini new file mode 100644 index 00000000000..3a5cca32db1 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/attribs/gl-vertexattribpointer.html.ini @@ -0,0 +1,4 @@ +[gl-vertexattribpointer.html] + [WebGL test #3: getError expected: NO_ERROR. Was INVALID_OPERATION : vertexAttribPointer should succeed if no buffer is bound and `offset` is zero.] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/canvas/buffer-offscreen-test.html.ini b/tests/wpt/webgl/meta/conformance/canvas/buffer-offscreen-test.html.ini index 3f0f3fd2bdf..fe8ae2e3aae 100644 --- a/tests/wpt/webgl/meta/conformance/canvas/buffer-offscreen-test.html.ini +++ b/tests/wpt/webgl/meta/conformance/canvas/buffer-offscreen-test.html.ini @@ -1,6 +1,5 @@ [buffer-offscreen-test.html] bug: https://github.com/servo/servo/issues/21132 - type: testharness - [WebGL test #5: at (0, 0) expected: 0,0,0,0 was 255,0,0,255] + [WebGL test #5: remainder of buffer should be cleared\nat (0, 0) expected: 0,0,0,0 was 255,0,0,255] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/canvas/buffer-preserve-test.html.ini b/tests/wpt/webgl/meta/conformance/canvas/buffer-preserve-test.html.ini index f62c123292a..60559132389 100644 --- a/tests/wpt/webgl/meta/conformance/canvas/buffer-preserve-test.html.ini +++ b/tests/wpt/webgl/meta/conformance/canvas/buffer-preserve-test.html.ini @@ -1,6 +1,5 @@ [buffer-preserve-test.html] bug: https://github.com/servo/servo/issues/21132 - type: testharness - [WebGL test #3: at (0, 0) expected: 0,0,0,0 was 255,0,0,255] + [WebGL test #3: remainder of buffer should be cleared\nat (0, 0) expected: 0,0,0,0 was 255,0,0,255] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/canvas/rapid-resizing.html.ini b/tests/wpt/webgl/meta/conformance/canvas/rapid-resizing.html.ini new file mode 100644 index 00000000000..d5958c6cbe9 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/canvas/rapid-resizing.html.ini @@ -0,0 +1,11 @@ +[rapid-resizing.html] + expected: TIMEOUT + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] + expected: FAIL + + [Overall test] + expected: NOTRUN + + [WebGL test #1: context does not exist] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/canvas/viewport-unchanged-upon-resize.html.ini b/tests/wpt/webgl/meta/conformance/canvas/viewport-unchanged-upon-resize.html.ini index ca9dd90cc48..080a619c46e 100644 --- a/tests/wpt/webgl/meta/conformance/canvas/viewport-unchanged-upon-resize.html.ini +++ b/tests/wpt/webgl/meta/conformance/canvas/viewport-unchanged-upon-resize.html.ini @@ -1,5 +1,4 @@ [viewport-unchanged-upon-resize.html] - type: testharness - [WebGL test #3: at (6, 6) expected: 0,0,255,255 was 255,0,0,255] + [WebGL test #3: should be 0,0,255,255\nat (6, 6) expected: 0,0,255,255 was 255,0,0,255] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/context/constants-and-properties.html.ini b/tests/wpt/webgl/meta/conformance/context/constants-and-properties.html.ini new file mode 100644 index 00000000000..49434267629 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/context/constants-and-properties.html.ini @@ -0,0 +1,7 @@ +[constants-and-properties.html] + [WebGL test #2: Also found the following extra properties:] + expected: FAIL + + [WebGL test #3: STENCIL_INDEX] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/glsl/misc/shader-uniform-packing-restrictions.html.ini b/tests/wpt/webgl/meta/conformance/context/context-creation-and-destruction.html.ini similarity index 57% rename from tests/wpt/webgl/meta/conformance/glsl/misc/shader-uniform-packing-restrictions.html.ini rename to tests/wpt/webgl/meta/conformance/context/context-creation-and-destruction.html.ini index 594360ffb15..fbdc89a8f0d 100644 --- a/tests/wpt/webgl/meta/conformance/glsl/misc/shader-uniform-packing-restrictions.html.ini +++ b/tests/wpt/webgl/meta/conformance/context/context-creation-and-destruction.html.ini @@ -1,4 +1,4 @@ -[shader-uniform-packing-restrictions.html] +[context-creation-and-destruction.html] expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/ogles/GL/atan/atan_001_to_008.html.ini b/tests/wpt/webgl/meta/conformance/context/context-creation.html.ini similarity index 71% rename from tests/wpt/webgl/meta/conformance/ogles/GL/atan/atan_001_to_008.html.ini rename to tests/wpt/webgl/meta/conformance/context/context-creation.html.ini index 7e17f982259..393e42df192 100644 --- a/tests/wpt/webgl/meta/conformance/ogles/GL/atan/atan_001_to_008.html.ini +++ b/tests/wpt/webgl/meta/conformance/context/context-creation.html.ini @@ -1,4 +1,4 @@ -[atan_001_to_008.html] +[context-creation.html] expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/extensions/angle-instanced-arrays-out-of-bounds.html.ini b/tests/wpt/webgl/meta/conformance/extensions/angle-instanced-arrays-out-of-bounds.html.ini index a9d5d9cf2d9..16f534368c1 100644 --- a/tests/wpt/webgl/meta/conformance/extensions/angle-instanced-arrays-out-of-bounds.html.ini +++ b/tests/wpt/webgl/meta/conformance/extensions/angle-instanced-arrays-out-of-bounds.html.ini @@ -1,26 +1,29 @@ [angle-instanced-arrays-out-of-bounds.html] bug: https://github.com/servo/servo/issues/20599 - [WebGL test #175: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 1)] + [WebGL test #32: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 0, gl.UNSIGNED_BYTE, 0, 1)] expected: FAIL - [WebGL test #178: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 1)] + [WebGL test #166: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 1)] expected: FAIL - [WebGL test #180: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 2)] + [WebGL test #178: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 5)] expected: FAIL - [WebGL test #182: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 4)] + [WebGL test #176: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 3)] expected: FAIL - [WebGL test #183: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 10000)] + [WebGL test #173: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 4)] expected: FAIL - [WebGL test #184: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 0x7fffffff)] + [WebGL test #169: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 1)] expected: FAIL - [WebGL test #186: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 3)] + [WebGL test #171: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 2)] expected: FAIL - [WebGL test #188: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 5)] + [WebGL test #106: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 0, gl.UNSIGNED_BYTE, 0, 2)] + expected: FAIL + + [WebGL test #174: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: ext.drawElementsInstancedANGLE(gl.TRIANGLES, 9, gl.UNSIGNED_BYTE, 0, 10000)] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/extensions/oes-texture-float-with-canvas.html.ini b/tests/wpt/webgl/meta/conformance/extensions/oes-texture-float-with-canvas.html.ini index 99fb4b08932..fd84608b919 100644 --- a/tests/wpt/webgl/meta/conformance/extensions/oes-texture-float-with-canvas.html.ini +++ b/tests/wpt/webgl/meta/conformance/extensions/oes-texture-float-with-canvas.html.ini @@ -1,6 +1,5 @@ [oes-texture-float-with-canvas.html] - type: testharness - expected: ERROR + expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/extensions/oes-texture-float.html.ini b/tests/wpt/webgl/meta/conformance/extensions/oes-texture-float.html.ini new file mode 100644 index 00000000000..46627ffc718 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/extensions/oes-texture-float.html.ini @@ -0,0 +1,4 @@ +[oes-texture-float.html] + [WebGL test #24: RGBA/FLOAT is color renderable but WEBGL_color_buffer_float not exposed] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/extensions/oes-texture-half-float-with-canvas.html.ini b/tests/wpt/webgl/meta/conformance/extensions/oes-texture-half-float-with-canvas.html.ini index aeb4d66638d..c37d9af94f1 100644 --- a/tests/wpt/webgl/meta/conformance/extensions/oes-texture-half-float-with-canvas.html.ini +++ b/tests/wpt/webgl/meta/conformance/extensions/oes-texture-half-float-with-canvas.html.ini @@ -1,6 +1,5 @@ [oes-texture-half-float-with-canvas.html] - type: testharness - expected: ERROR + expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/extensions/oes-texture-half-float.html.ini b/tests/wpt/webgl/meta/conformance/extensions/oes-texture-half-float.html.ini new file mode 100644 index 00000000000..7b42fd6ba4e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/extensions/oes-texture-half-float.html.ini @@ -0,0 +1,2 @@ +[oes-texture-half-float.html] + expected: CRASH diff --git a/tests/wpt/webgl/meta/conformance/extensions/oes-vertex-array-object.html.ini b/tests/wpt/webgl/meta/conformance/extensions/oes-vertex-array-object.html.ini new file mode 100644 index 00000000000..6afc852b104 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/extensions/oes-vertex-array-object.html.ini @@ -0,0 +1,25 @@ +[oes-vertex-array-object.html] + [WebGL test #74: References from unbound VAOs keep Color buffer alive] + expected: FAIL + + [WebGL test #65: References from unbound VAOs keep Color buffer alive] + expected: FAIL + + [WebGL test #68: References from unbound VAOs keep Color buffer alive] + expected: FAIL + + [WebGL test #73: References from unbound VAOs keep Position buffer alive.] + expected: FAIL + + [WebGL test #71: References from unbound VAOs keep Color buffer alive] + expected: FAIL + + [WebGL test #70: References from unbound VAOs keep Position buffer alive.] + expected: FAIL + + [WebGL test #64: References from unbound VAOs keep Position buffer alive.] + expected: FAIL + + [WebGL test #67: References from unbound VAOs keep Position buffer alive.] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/extensions/webgl-compressed-texture-size-limit.html.ini b/tests/wpt/webgl/meta/conformance/extensions/webgl-compressed-texture-size-limit.html.ini new file mode 100644 index 00000000000..9c170c8b179 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/extensions/webgl-compressed-texture-size-limit.html.ini @@ -0,0 +1,5 @@ +[webgl-compressed-texture-size-limit.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/glsl/misc/fragcolor-fragdata-invariant.html.ini b/tests/wpt/webgl/meta/conformance/glsl/misc/fragcolor-fragdata-invariant.html.ini new file mode 100644 index 00000000000..f5143fe976b --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/glsl/misc/fragcolor-fragdata-invariant.html.ini @@ -0,0 +1,4 @@ +[fragcolor-fragdata-invariant.html] + [WebGL test #0: [unexpected fragment shader compile status\] (expected: true) Declaring both gl_FragColor and gl_FragData invariant should succeed.] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/glsl/misc/shaders-with-invariance.html.ini b/tests/wpt/webgl/meta/conformance/glsl/misc/shaders-with-invariance.html.ini index 81c5672ab91..a5af6d1b7af 100644 --- a/tests/wpt/webgl/meta/conformance/glsl/misc/shaders-with-invariance.html.ini +++ b/tests/wpt/webgl/meta/conformance/glsl/misc/shaders-with-invariance.html.ini @@ -1,24 +1,11 @@ [shaders-with-invariance.html] bug: https://github.com/servo/servo/issues/20601 - type: testharness - [WebGL test #0: [unexpected fragment shader compile status\] (expected: true) vertex shader with variant varying and fragment shader with invariant varying must fail] + [WebGL test #17: [unexpected link status\] vertex shader with invariant varying and fragment shader with invariant (global setting) varying must succeed] expected: FAIL - [WebGL test #1: [unexpected vertex shader compile status\] (expected: true) vertex shader with invariant varying and fragment shader with variant varying must fail] + [WebGL test #9: [unexpected link status\] vertex shader with variant gl_Position and fragment shader with invariant gl_FragCoord must fail] expected: FAIL - [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 link status\] 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] + [WebGL test #12: [unexpected link status\] vertex shader with variant gl_PointSize and fragment shader with invariant gl_PointCoord must fail] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/glsl/variables/gl-pointcoord.html.ini b/tests/wpt/webgl/meta/conformance/glsl/variables/gl-pointcoord.html.ini index 3072d149182..0bf86fb81c2 100644 --- a/tests/wpt/webgl/meta/conformance/glsl/variables/gl-pointcoord.html.ini +++ b/tests/wpt/webgl/meta/conformance/glsl/variables/gl-pointcoord.html.ini @@ -1,193 +1,193 @@ [gl-pointcoord.html] - [WebGL test #7: at (32, 32) expected: 1,253,0 was 0,0,0] + [WebGL test #48: pixel 48,192 should be 65,125,0\nat (48, 192) expected: 65,125,0 was 0,0,0] expected: FAIL - [WebGL test #8: at (48, 32) expected: 65,253,0 was 0,0,0] + [WebGL test #67: pixel 160,208 should be 1,61,0\nat (160, 208) expected: 1,61,0 was 0,0,0] expected: FAIL - [WebGL test #9: at (64, 32) expected: 129,253,0 was 0,0,0] + [WebGL test #15: pixel 32,64 should be 1,125,0\nat (32, 64) expected: 1,125,0 was 0,0,0] expected: FAIL - [WebGL test #10: at (80, 32) expected: 193,253,0 was 0,0,0] + [WebGL test #45: pixel 64,176 should be 129,189,0\nat (64, 176) expected: 129,189,0 was 0,0,0] expected: FAIL - [WebGL test #11: at (32, 48) expected: 1,189,0 was 0,0,0] + [WebGL test #18: pixel 80,64 should be 193,125,0\nat (80, 64) expected: 193,125,0 was 0,0,0] expected: FAIL - [WebGL test #12: at (48, 48) expected: 65,189,0 was 0,0,0] + [WebGL test #47: pixel 32,192 should be 1,125,0\nat (32, 192) expected: 1,125,0 was 0,0,0] expected: FAIL - [WebGL test #13: at (64, 48) expected: 129,189,0 was 0,0,0] + [WebGL test #42: pixel 80,160 should be 193,253,0\nat (80, 160) expected: 193,253,0 was 0,0,0] expected: FAIL - [WebGL test #14: at (80, 48) expected: 193,189,0 was 0,0,0] + [WebGL test #34: pixel 208,64 should be 193,125,0\nat (208, 64) expected: 193,125,0 was 0,0,0] expected: FAIL - [WebGL test #15: at (32, 64) expected: 1,125,0 was 0,0,0] + [WebGL test #53: pixel 64,208 should be 129,61,0\nat (64, 208) expected: 129,61,0 was 0,0,0] expected: FAIL - [WebGL test #16: at (48, 64) expected: 65,125,0 was 0,0,0] + [WebGL test #29: pixel 192,48 should be 129,189,0\nat (192, 48) expected: 129,189,0 was 0,0,0] expected: FAIL - [WebGL test #17: at (64, 64) expected: 129,125,0 was 0,0,0] + [WebGL test #40: pixel 48,160 should be 65,253,0\nat (48, 160) expected: 65,253,0 was 0,0,0] expected: FAIL - [WebGL test #18: at (80, 64) expected: 193,125,0 was 0,0,0] + [WebGL test #59: pixel 160,176 should be 1,189,0\nat (160, 176) expected: 1,189,0 was 0,0,0] expected: FAIL - [WebGL test #19: at (32, 80) expected: 1,61,0 was 0,0,0] + [WebGL test #26: pixel 208,32 should be 193,253,0\nat (208, 32) expected: 193,253,0 was 0,0,0] expected: FAIL - [WebGL test #20: at (48, 80) expected: 65,61,0 was 0,0,0] + [WebGL test #62: pixel 208,176 should be 193,189,0\nat (208, 176) expected: 193,189,0 was 0,0,0] expected: FAIL - [WebGL test #21: at (64, 80) expected: 129,61,0 was 0,0,0] + [WebGL test #8: pixel 48,32 should be 65,253,0\nat (48, 32) expected: 65,253,0 was 0,0,0] expected: FAIL - [WebGL test #22: at (80, 80) expected: 193,61,0 was 0,0,0] + [WebGL test #31: pixel 160,64 should be 1,125,0\nat (160, 64) expected: 1,125,0 was 0,0,0] expected: FAIL - [WebGL test #23: at (160, 32) expected: 1,253,0 was 0,0,0] + [WebGL test #65: pixel 192,192 should be 129,125,0\nat (192, 192) expected: 129,125,0 was 0,0,0] expected: FAIL - [WebGL test #24: at (176, 32) expected: 65,253,0 was 0,0,0] + [WebGL test #55: pixel 160,160 should be 1,253,0\nat (160, 160) expected: 1,253,0 was 0,0,0] expected: FAIL - [WebGL test #25: at (192, 32) expected: 129,253,0 was 0,0,0] + [WebGL test #10: pixel 80,32 should be 193,253,0\nat (80, 32) expected: 193,253,0 was 0,0,0] expected: FAIL - [WebGL test #26: at (208, 32) expected: 193,253,0 was 0,0,0] + [WebGL test #11: pixel 32,48 should be 1,189,0\nat (32, 48) expected: 1,189,0 was 0,0,0] expected: FAIL - [WebGL test #27: at (160, 48) expected: 1,189,0 was 0,0,0] + [WebGL test #50: pixel 80,192 should be 193,125,0\nat (80, 192) expected: 193,125,0 was 0,0,0] expected: FAIL - [WebGL test #28: at (176, 48) expected: 65,189,0 was 0,0,0] + [WebGL test #51: pixel 32,208 should be 1,61,0\nat (32, 208) expected: 1,61,0 was 0,0,0] expected: FAIL - [WebGL test #29: at (192, 48) expected: 129,189,0 was 0,0,0] + [WebGL test #21: pixel 64,80 should be 129,61,0\nat (64, 80) expected: 129,61,0 was 0,0,0] expected: FAIL - [WebGL test #30: at (208, 48) expected: 193,189,0 was 0,0,0] + [WebGL test #54: pixel 80,208 should be 193,61,0\nat (80, 208) expected: 193,61,0 was 0,0,0] expected: FAIL - [WebGL test #31: at (160, 64) expected: 1,125,0 was 0,0,0] + [WebGL test #33: pixel 192,64 should be 129,125,0\nat (192, 64) expected: 129,125,0 was 0,0,0] expected: FAIL - [WebGL test #32: at (176, 64) expected: 65,125,0 was 0,0,0] + [WebGL test #17: pixel 64,64 should be 129,125,0\nat (64, 64) expected: 129,125,0 was 0,0,0] expected: FAIL - [WebGL test #33: at (192, 64) expected: 129,125,0 was 0,0,0] + [WebGL test #38: pixel 208,80 should be 193,61,0\nat (208, 80) expected: 193,61,0 was 0,0,0] expected: FAIL - [WebGL test #34: at (208, 64) expected: 193,125,0 was 0,0,0] + [WebGL test #49: pixel 64,192 should be 129,125,0\nat (64, 192) expected: 129,125,0 was 0,0,0] expected: FAIL - [WebGL test #35: at (160, 80) expected: 1,61,0 was 0,0,0] + [WebGL test #7: pixel 32,32 should be 1,253,0\nat (32, 32) expected: 1,253,0 was 0,0,0] expected: FAIL - [WebGL test #36: at (176, 80) expected: 65,61,0 was 0,0,0] + [WebGL test #13: pixel 64,48 should be 129,189,0\nat (64, 48) expected: 129,189,0 was 0,0,0] expected: FAIL - [WebGL test #37: at (192, 80) expected: 129,61,0 was 0,0,0] + [WebGL test #46: pixel 80,176 should be 193,189,0\nat (80, 176) expected: 193,189,0 was 0,0,0] expected: FAIL - [WebGL test #38: at (208, 80) expected: 193,61,0 was 0,0,0] + [WebGL test #9: pixel 64,32 should be 129,253,0\nat (64, 32) expected: 129,253,0 was 0,0,0] expected: FAIL - [WebGL test #39: at (32, 160) expected: 1,253,0 was 0,0,0] + [WebGL test #28: pixel 176,48 should be 65,189,0\nat (176, 48) expected: 65,189,0 was 0,0,0] expected: FAIL - [WebGL test #40: at (48, 160) expected: 65,253,0 was 0,0,0] + [WebGL test #25: pixel 192,32 should be 129,253,0\nat (192, 32) expected: 129,253,0 was 0,0,0] expected: FAIL - [WebGL test #41: at (64, 160) expected: 129,253,0 was 0,0,0] + [WebGL test #20: pixel 48,80 should be 65,61,0\nat (48, 80) expected: 65,61,0 was 0,0,0] expected: FAIL - [WebGL test #42: at (80, 160) expected: 193,253,0 was 0,0,0] + [WebGL test #57: pixel 192,160 should be 129,253,0\nat (192, 160) expected: 129,253,0 was 0,0,0] expected: FAIL - [WebGL test #43: at (32, 176) expected: 1,189,0 was 0,0,0] + [WebGL test #30: pixel 208,48 should be 193,189,0\nat (208, 48) expected: 193,189,0 was 0,0,0] expected: FAIL - [WebGL test #44: at (48, 176) expected: 65,189,0 was 0,0,0] + [WebGL test #36: pixel 176,80 should be 65,61,0\nat (176, 80) expected: 65,61,0 was 0,0,0] expected: FAIL - [WebGL test #45: at (64, 176) expected: 129,189,0 was 0,0,0] + [WebGL test #37: pixel 192,80 should be 129,61,0\nat (192, 80) expected: 129,61,0 was 0,0,0] expected: FAIL - [WebGL test #46: at (80, 176) expected: 193,189,0 was 0,0,0] + [WebGL test #52: pixel 48,208 should be 65,61,0\nat (48, 208) expected: 65,61,0 was 0,0,0] expected: FAIL - [WebGL test #47: at (32, 192) expected: 1,125,0 was 0,0,0] + [WebGL test #23: pixel 160,32 should be 1,253,0\nat (160, 32) expected: 1,253,0 was 0,0,0] expected: FAIL - [WebGL test #48: at (48, 192) expected: 65,125,0 was 0,0,0] + [WebGL test #16: pixel 48,64 should be 65,125,0\nat (48, 64) expected: 65,125,0 was 0,0,0] expected: FAIL - [WebGL test #49: at (64, 192) expected: 129,125,0 was 0,0,0] + [WebGL test #32: pixel 176,64 should be 65,125,0\nat (176, 64) expected: 65,125,0 was 0,0,0] expected: FAIL - [WebGL test #50: at (80, 192) expected: 193,125,0 was 0,0,0] + [WebGL test #24: pixel 176,32 should be 65,253,0\nat (176, 32) expected: 65,253,0 was 0,0,0] expected: FAIL - [WebGL test #51: at (32, 208) expected: 1,61,0 was 0,0,0] + [WebGL test #60: pixel 176,176 should be 65,189,0\nat (176, 176) expected: 65,189,0 was 0,0,0] expected: FAIL - [WebGL test #52: at (48, 208) expected: 65,61,0 was 0,0,0] + [WebGL test #43: pixel 32,176 should be 1,189,0\nat (32, 176) expected: 1,189,0 was 0,0,0] expected: FAIL - [WebGL test #53: at (64, 208) expected: 129,61,0 was 0,0,0] + [WebGL test #63: pixel 160,192 should be 1,125,0\nat (160, 192) expected: 1,125,0 was 0,0,0] expected: FAIL - [WebGL test #54: at (80, 208) expected: 193,61,0 was 0,0,0] + [WebGL test #64: pixel 176,192 should be 65,125,0\nat (176, 192) expected: 65,125,0 was 0,0,0] expected: FAIL - [WebGL test #55: at (160, 160) expected: 1,253,0 was 0,0,0] + [WebGL test #44: pixel 48,176 should be 65,189,0\nat (48, 176) expected: 65,189,0 was 0,0,0] expected: FAIL - [WebGL test #56: at (176, 160) expected: 65,253,0 was 0,0,0] + [WebGL test #56: pixel 176,160 should be 65,253,0\nat (176, 160) expected: 65,253,0 was 0,0,0] expected: FAIL - [WebGL test #57: at (192, 160) expected: 129,253,0 was 0,0,0] + [WebGL test #19: pixel 32,80 should be 1,61,0\nat (32, 80) expected: 1,61,0 was 0,0,0] expected: FAIL - [WebGL test #58: at (208, 160) expected: 193,253,0 was 0,0,0] + [WebGL test #35: pixel 160,80 should be 1,61,0\nat (160, 80) expected: 1,61,0 was 0,0,0] expected: FAIL - [WebGL test #59: at (160, 176) expected: 1,189,0 was 0,0,0] + [WebGL test #70: pixel 208,208 should be 193,61,0\nat (208, 208) expected: 193,61,0 was 0,0,0] expected: FAIL - [WebGL test #60: at (176, 176) expected: 65,189,0 was 0,0,0] + [WebGL test #58: pixel 208,160 should be 193,253,0\nat (208, 160) expected: 193,253,0 was 0,0,0] expected: FAIL - [WebGL test #61: at (192, 176) expected: 129,189,0 was 0,0,0] + [WebGL test #68: pixel 176,208 should be 65,61,0\nat (176, 208) expected: 65,61,0 was 0,0,0] expected: FAIL - [WebGL test #62: at (208, 176) expected: 193,189,0 was 0,0,0] + [WebGL test #22: pixel 80,80 should be 193,61,0\nat (80, 80) expected: 193,61,0 was 0,0,0] expected: FAIL - [WebGL test #63: at (160, 192) expected: 1,125,0 was 0,0,0] + [WebGL test #66: pixel 208,192 should be 193,125,0\nat (208, 192) expected: 193,125,0 was 0,0,0] expected: FAIL - [WebGL test #64: at (176, 192) expected: 65,125,0 was 0,0,0] + [WebGL test #69: pixel 192,208 should be 129,61,0\nat (192, 208) expected: 129,61,0 was 0,0,0] expected: FAIL - [WebGL test #65: at (192, 192) expected: 129,125,0 was 0,0,0] + [WebGL test #39: pixel 32,160 should be 1,253,0\nat (32, 160) expected: 1,253,0 was 0,0,0] expected: FAIL - [WebGL test #66: at (208, 192) expected: 193,125,0 was 0,0,0] + [WebGL test #14: pixel 80,48 should be 193,189,0\nat (80, 48) expected: 193,189,0 was 0,0,0] expected: FAIL - [WebGL test #67: at (160, 208) expected: 1,61,0 was 0,0,0] + [WebGL test #12: pixel 48,48 should be 65,189,0\nat (48, 48) expected: 65,189,0 was 0,0,0] expected: FAIL - [WebGL test #68: at (176, 208) expected: 65,61,0 was 0,0,0] + [WebGL test #61: pixel 192,176 should be 129,189,0\nat (192, 176) expected: 129,189,0 was 0,0,0] expected: FAIL - [WebGL test #69: at (192, 208) expected: 129,61,0 was 0,0,0] + [WebGL test #27: pixel 160,48 should be 1,189,0\nat (160, 48) expected: 1,189,0 was 0,0,0] expected: FAIL - [WebGL test #70: at (208, 208) expected: 193,61,0 was 0,0,0] + [WebGL test #41: pixel 64,160 should be 129,253,0\nat (64, 160) expected: 129,253,0 was 0,0,0] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/misc/invalid-passed-params.html.ini b/tests/wpt/webgl/meta/conformance/misc/invalid-passed-params.html.ini index 56d552a95b2..6f42f87c602 100644 --- a/tests/wpt/webgl/meta/conformance/misc/invalid-passed-params.html.ini +++ b/tests/wpt/webgl/meta/conformance/misc/invalid-passed-params.html.ini @@ -1,75 +1,74 @@ [invalid-passed-params.html] bug: https://github.com/servo/servo/issues/21287 - type: testharness [WebGL test #44: context.getError() should be 1281. Was 0.] expected: FAIL + [WebGL test #55: context.getError() should be 1281. Was 0.] + expected: FAIL + + [WebGL test #58: context.getError() should be 1281. Was 0.] + expected: FAIL + + [WebGL test #53: context.getError() should be 1281. Was 0.] + expected: FAIL + [WebGL test #46: context.getError() should be 1281. Was 0.] expected: FAIL + [WebGL test #62: context.getError() should be 1281. Was 0.] + expected: FAIL + [WebGL test #48: context.getError() should be 1281. Was 0.] expected: FAIL [WebGL test #50: context.getError() should be 1281. Was 0.] expected: FAIL - [WebGL test #52: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #54: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #55: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #56: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #57: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #58: context.getError() should be 1281. Was 0.] + [WebGL test #34: context.getError() should be 1281. Was 0.] expected: FAIL [WebGL test #59: context.getError() should be 1281. Was 0.] expected: FAIL + [WebGL test #51: context.getError() should be 1281. Was 0.] + expected: FAIL + + [WebGL test #47: context.getError() should be 1281. Was 0.] + expected: FAIL + + [WebGL test #57: context.getError() should be 1281. Was 0.] + expected: FAIL + + [WebGL test #49: context.getError() should be 1281. Was 0.] + expected: FAIL + + [WebGL test #42: context.getError() should be 1281. Was 0.] + expected: FAIL + + [WebGL test #36: context.getError() should be 1281. Was 0.] + expected: FAIL + [WebGL test #60: context.getError() should be 1281. Was 0.] expected: FAIL + [WebGL test #56: context.getError() should be 1281. Was 0.] + expected: FAIL + + [WebGL test #54: context.getError() should be 1281. Was 0.] + expected: FAIL + [WebGL test #61: context.getError() should be 1281. Was 0.] expected: FAIL - [WebGL test #62: context.getError() should be 1281. Was 0.] + [WebGL test #45: context.getError() should be 1281. Was 0.] expected: FAIL - [WebGL test #63: context.getError() should be 1281. Was 0.] + [WebGL test #52: context.getError() should be 1281. Was 0.] expected: FAIL - [WebGL test #64: context.getError() should be 1281. Was 0.] + [WebGL test #40: context.getError() should be 1281. Was 0.] expected: FAIL - [WebGL test #65: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #66: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #67: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #68: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #69: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #70: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #71: context.getError() should be 1281. Was 0.] - expected: FAIL - - [WebGL test #72: context.getError() should be 1281. Was 0.] + [WebGL test #38: context.getError() should be 1281. Was 0.] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/misc/object-deletion-behaviour.html.ini b/tests/wpt/webgl/meta/conformance/misc/object-deletion-behaviour.html.ini new file mode 100644 index 00000000000..7e2b1a96a2e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/misc/object-deletion-behaviour.html.ini @@ -0,0 +1,4 @@ +[object-deletion-behaviour.html] + [WebGL test #76: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.bindRenderbuffer(gl.RENDERBUFFER, rbo)] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/misc/webgl-specific-stencil-settings.html.ini b/tests/wpt/webgl/meta/conformance/misc/webgl-specific-stencil-settings.html.ini new file mode 100644 index 00000000000..11bb2398b5f --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/misc/webgl-specific-stencil-settings.html.ini @@ -0,0 +1,2 @@ +[webgl-specific-stencil-settings.html] + expected: CRASH diff --git a/tests/wpt/webgl/meta/conformance/misc/webgl-specific.html.ini b/tests/wpt/webgl/meta/conformance/misc/webgl-specific.html.ini index b7ef8d94ad1..2a09e0f1a62 100644 --- a/tests/wpt/webgl/meta/conformance/misc/webgl-specific.html.ini +++ b/tests/wpt/webgl/meta/conformance/misc/webgl-specific.html.ini @@ -1,26 +1,11 @@ [webgl-specific.html] - type: testharness - [WebGL test #21: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0)] - bug: https://github.com/servo/servo/issues/20555 + bug: https://github.com/servo/servo/issues/20552 + [WebGL test #25: getError expected: NO_ERROR. Was INVALID_ENUM : set/get UNPACK_COLORSPACE_CONVERSION_WEBGL should generate no error] expected: FAIL - [WebGL test #27: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0)] - bug: https://github.com/servo/servo/issues/20555 + [WebGL test #23: gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL) should be 37444 (of type number). Was null (of type object).] expected: FAIL - [WebGL test #31: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0)] - bug: https://github.com/servo/servo/issues/20555 - expected: FAIL - - [WebGL test #39: gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL) should be 37444 (of type number). Was null (of type object).] - bug: https://github.com/servo/servo/issues/20552 - expected: FAIL - - [WebGL test #40: gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL) should be 0 (of type number). Was null (of type object).] - bug: https://github.com/servo/servo/issues/20552 - expected: FAIL - - [WebGL test #41: getError expected: NO_ERROR. Was INVALID_ENUM : set/get UNPACK_COLORSPACE_CONVERSION_WEBGL should generate no error] - bug: https://github.com/servo/servo/issues/20552 + [WebGL test #24: gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL) should be 0 (of type number). Was null (of type object).] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/more/functions/vertexAttribPointerBadArgs.html.ini b/tests/wpt/webgl/meta/conformance/more/functions/vertexAttribPointerBadArgs.html.ini new file mode 100644 index 00000000000..bdc03ee11ea --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/more/functions/vertexAttribPointerBadArgs.html.ini @@ -0,0 +1,4 @@ +[vertexAttribPointerBadArgs.html] + [WebGL test #0: testVertexAttribPointerVBO] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/renderbuffers/depth-renderbuffer-initialization.html.ini b/tests/wpt/webgl/meta/conformance/renderbuffers/depth-renderbuffer-initialization.html.ini new file mode 100644 index 00000000000..fd3c531dd7b --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/renderbuffers/depth-renderbuffer-initialization.html.ini @@ -0,0 +1,3 @@ +[depth-renderbuffer-initialization.html] + type: testharness + disabled: https://github.com/servo/servo/issues/13710 diff --git a/tests/wpt/webgl/meta/conformance/renderbuffers/stencil-renderbuffer-initialization.html.ini b/tests/wpt/webgl/meta/conformance/renderbuffers/stencil-renderbuffer-initialization.html.ini new file mode 100644 index 00000000000..1a24372dade --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/renderbuffers/stencil-renderbuffer-initialization.html.ini @@ -0,0 +1,3 @@ +[stencil-renderbuffer-initialization.html] + type: testharness + disabled: https://github.com/servo/servo/issues/13710 diff --git a/tests/wpt/webgl/meta/conformance/rendering/draw-elements-out-of-bounds.html.ini b/tests/wpt/webgl/meta/conformance/rendering/draw-elements-out-of-bounds.html.ini new file mode 100644 index 00000000000..d6d1e0ab2cb --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/rendering/draw-elements-out-of-bounds.html.ini @@ -0,0 +1,4 @@ +[draw-elements-out-of-bounds.html] + [WebGL test #0: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLES, 0, gl.UNSIGNED_BYTE, 0)] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/rendering/point-size.html.ini b/tests/wpt/webgl/meta/conformance/rendering/point-size.html.ini index 216fd7dd0dc..08ac9e564ff 100644 --- a/tests/wpt/webgl/meta/conformance/rendering/point-size.html.ini +++ b/tests/wpt/webgl/meta/conformance/rendering/point-size.html.ini @@ -1,7 +1,7 @@ [point-size.html] - [WebGL test #9: at (0, 0) expected: 255,0,0 was 0,0,0] + [WebGL test #9: should be 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] expected: FAIL - [WebGL test #18: at (0, 0) expected: 255,0,0 was 0,0,0] + [WebGL test #18: should be 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/rendering/point-with-gl-pointcoord-in-fragment-shader.html.ini b/tests/wpt/webgl/meta/conformance/rendering/point-with-gl-pointcoord-in-fragment-shader.html.ini index 1bc97e5fde8..f37a16c994a 100644 --- a/tests/wpt/webgl/meta/conformance/rendering/point-with-gl-pointcoord-in-fragment-shader.html.ini +++ b/tests/wpt/webgl/meta/conformance/rendering/point-with-gl-pointcoord-in-fragment-shader.html.ini @@ -1,4 +1,4 @@ [point-with-gl-pointcoord-in-fragment-shader.html] - [WebGL test #0: at (32, 32) expected: 0,255,0,255 was 0,0,0,255] + [WebGL test #0: Center pixel should be green\nat (32, 32) expected: 0,255,0,255 was 0,0,0,255] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/rendering/preservedrawingbuffer-leak.html.ini b/tests/wpt/webgl/meta/conformance/rendering/preservedrawingbuffer-leak.html.ini new file mode 100644 index 00000000000..fa212fcc5b5 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/rendering/preservedrawingbuffer-leak.html.ini @@ -0,0 +1,8 @@ +[preservedrawingbuffer-leak.html] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] + expected: FAIL + + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/rendering/rendering-stencil-large-viewport.html.ini b/tests/wpt/webgl/meta/conformance/rendering/rendering-stencil-large-viewport.html.ini new file mode 100644 index 00000000000..ef257e40bc2 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/rendering/rendering-stencil-large-viewport.html.ini @@ -0,0 +1,2 @@ +[rendering-stencil-large-viewport.html] + expected: CRASH diff --git a/tests/wpt/webgl/meta/conformance/state/gl-object-get-calls.html.ini b/tests/wpt/webgl/meta/conformance/state/gl-object-get-calls.html.ini new file mode 100644 index 00000000000..5b15c214ff1 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/state/gl-object-get-calls.html.ini @@ -0,0 +1,4 @@ +[gl-object-get-calls.html] + [WebGL test #121: getError expected: INVALID_OPERATION. Was NO_ERROR : ] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..df505cbab41 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini new file mode 100644 index 00000000000..d55c52bdf01 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,11 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + expected: TIMEOUT + [WebGL test #1: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] + expected: FAIL + + [Overall test] + expected: NOTRUN + + [WebGL test #0: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..c2c977c3f51 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,11 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + expected: TIMEOUT + [WebGL test #1: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] + expected: FAIL + + [Overall test] + expected: NOTRUN + + [WebGL test #0: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini index c716eda28ca..db7310c69ac 100644 --- a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -1,5 +1,5 @@ [tex-2d-rgb-rgb-unsigned_byte.html] - expected: ERROR + expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini index 395216ec64a..a991e224bc2 100644 --- a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -1,5 +1,5 @@ [tex-2d-rgb-rgb-unsigned_short_5_6_5.html] - expected: ERROR + expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini index 5d324a0e7dd..8749093a15d 100644 --- a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -1,5 +1,5 @@ [tex-2d-rgba-rgba-unsigned_byte.html] - expected: ERROR + expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini index f7c9148eb99..73bba4ac28e 100644 --- a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -1,5 +1,5 @@ [tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] - expected: ERROR + expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini index 6c2981c0adf..d014f432f89 100644 --- a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -1,5 +1,5 @@ [tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] - expected: ERROR + expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html.ini new file mode 100644 index 00000000000..f3a2412525e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,25 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + [WebGL test #3: shouldBe 0,0,0\nat (4, 24) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #1: shouldBe 255,255,255\nat (4, 24) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #7: shouldBe 0,0,0\nat (4, 24) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #2: shouldBe 255,255,255\nat (4, 4) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #0: shouldBe 0,0,0\nat (4, 4) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #6: shouldBe 255,255,255\nat (4, 4) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #4: shouldBe 0,0,0\nat (4, 4) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #5: shouldBe 255,255,255\nat (4, 24) expected: 255,255,255 was 54,54,54] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..4a319cad454 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,25 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + [WebGL test #3: shouldBe 0,0,0\nat (4, 24) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #1: shouldBe 255,255,255\nat (4, 24) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #7: shouldBe 0,0,0\nat (4, 24) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #2: shouldBe 255,255,255\nat (4, 4) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #0: shouldBe 0,0,0\nat (4, 4) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #6: shouldBe 255,255,255\nat (4, 4) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #4: shouldBe 0,0,0\nat (4, 4) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #5: shouldBe 255,255,255\nat (4, 24) expected: 255,255,255 was 54,54,54] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini new file mode 100644 index 00000000000..e4b4939efdc --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,505 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + [WebGL test #137: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #92: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #1: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #102: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #206: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #184: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #96: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #64: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #69: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #176: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #159: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #143: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #33: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #41: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #106: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #167: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #124: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #108: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #162: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #26: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #73: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #37: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #139: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #10: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #43: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #210: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #70: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #84: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #22: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #58: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #190: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #188: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #144: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #130: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #146: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #65: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #170: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #21: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #75: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #142: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #0: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #67: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #79: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #28: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #90: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #71: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #212: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #19: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #76: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #145: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #35: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #47: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #49: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #120: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #18: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #68: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #178: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #157: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #12: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #72: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #151: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #45: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #3: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #6: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #62: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #198: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #155: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #82: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #98: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #222: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #141: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #192: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #156: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #168: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #53: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #46: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #54: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #172: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #166: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #147: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #78: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #194: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #59: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #140: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #182: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #110: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #132: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #30: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #44: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #174: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #216: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #63: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #5: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #42: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #133: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #134: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #171: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #24: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #131: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #116: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #165: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #163: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #128: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #23: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #161: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #94: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #34: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #136: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #122: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #52: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #148: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #8: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #20: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #158: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #36: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #39: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #186: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #129: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #175: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #173: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #169: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #150: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #160: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #60: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #208: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #48: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #196: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #14: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #164: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #218: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #2: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #7: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #61: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #86: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #202: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #16: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #88: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #66: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #100: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #38: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #149: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #104: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #135: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #50: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #154: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #77: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #200: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #4: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #17: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #214: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #138: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #80: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #55: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #152: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #153: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #74: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #220: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #118: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #114: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #57: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #180: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #40: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #112: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #204: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #126: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #51: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #32: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #56: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..a8b5b7d25a4 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,505 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + [WebGL test #137: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #92: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #1: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #102: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #206: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #184: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #96: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #64: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #69: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #176: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #159: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #143: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #33: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #41: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #106: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #167: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #124: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #108: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #162: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #26: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #73: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #37: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #139: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #10: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #43: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #210: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #70: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #84: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #22: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #58: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #190: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #188: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #144: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #130: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #146: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #65: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #170: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #21: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #75: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #142: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #0: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #67: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #79: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #28: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #90: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #71: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #212: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #19: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #76: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #145: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #35: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #47: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #49: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #120: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #18: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #68: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #178: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #157: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #12: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #72: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #151: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #45: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #3: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #6: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #62: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #198: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #155: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #82: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #98: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #222: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #141: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #192: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #156: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #168: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #53: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #46: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #54: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #172: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #166: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #147: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #78: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #194: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #59: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #140: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #182: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #110: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #132: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #30: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #44: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #174: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #216: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #63: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #5: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #42: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #133: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #134: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #171: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #24: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #131: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #116: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #165: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #163: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #128: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #23: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #161: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #94: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #34: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #136: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #122: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #52: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #148: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #8: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #20: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #158: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #36: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #39: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #186: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #129: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #175: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #173: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #169: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #150: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #160: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #60: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #208: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #48: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #196: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #14: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #164: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #218: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #2: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #7: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #61: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #86: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #202: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #16: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #88: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #66: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #100: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #38: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #149: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #104: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #135: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #50: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #154: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #77: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #200: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #4: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #17: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #214: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #138: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #80: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #55: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #152: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #153: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #74: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #220: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #118: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #114: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #57: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #180: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #40: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #112: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #204: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #126: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #51: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] + expected: FAIL + + [WebGL test #32: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + + [WebGL test #56: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance/textures/misc/tex-video-using-tex-unit-non-zero.html.ini b/tests/wpt/webgl/meta/conformance/textures/misc/tex-video-using-tex-unit-non-zero.html.ini new file mode 100644 index 00000000000..aebccec6d32 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/misc/tex-video-using-tex-unit-non-zero.html.ini @@ -0,0 +1,8 @@ +[tex-video-using-tex-unit-non-zero.html] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] + expected: FAIL + + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/glsl/misc/shader-with-non-reserved-words.html.ini b/tests/wpt/webgl/meta/conformance/textures/misc/texture-corner-case-videos.html.ini similarity index 60% rename from tests/wpt/webgl/meta/conformance/glsl/misc/shader-with-non-reserved-words.html.ini rename to tests/wpt/webgl/meta/conformance/textures/misc/texture-corner-case-videos.html.ini index fb8852c9e7a..77fda77e79d 100644 --- a/tests/wpt/webgl/meta/conformance/glsl/misc/shader-with-non-reserved-words.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/misc/texture-corner-case-videos.html.ini @@ -1,4 +1,4 @@ -[shader-with-non-reserved-words.html] +[texture-corner-case-videos.html] expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/ogles/GL/log/log_001_to_008.html.ini b/tests/wpt/webgl/meta/conformance/textures/misc/texture-size-limit.html.ini similarity index 69% rename from tests/wpt/webgl/meta/conformance/ogles/GL/log/log_001_to_008.html.ini rename to tests/wpt/webgl/meta/conformance/textures/misc/texture-size-limit.html.ini index 0bcf8268f38..ed30fb1af9c 100644 --- a/tests/wpt/webgl/meta/conformance/ogles/GL/log/log_001_to_008.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/misc/texture-size-limit.html.ini @@ -1,4 +1,4 @@ -[log_001_to_008.html] +[texture-size-limit.html] expected: TIMEOUT [Overall test] expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-alpha-alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..df505cbab41 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-luminance-luminance-unsigned_byte.html.ini new file mode 100644 index 00000000000..94b45973cb3 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..8c1ea97dfcb --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/svg_image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-alpha-alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..df505cbab41 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-luminance-luminance-unsigned_byte.html.ini new file mode 100644 index 00000000000..94b45973cb3 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..8c1ea97dfcb --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/video/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,5 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + expected: TIMEOUT + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..ca71a6cfea9 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-alpha-alpha-unsigned_byte.html.ini @@ -0,0 +1,8 @@ +[tex-2d-alpha-alpha-unsigned_byte.html] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] + expected: FAIL + + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini new file mode 100644 index 00000000000..d92f71199a8 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -0,0 +1,8 @@ +[tex-2d-luminance-luminance-unsigned_byte.html] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] + expected: FAIL + + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini new file mode 100644 index 00000000000..622bd20a935 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -0,0 +1,8 @@ +[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] + expected: FAIL + + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini index 831d479d708..cd4a90bdeb0 100644 --- a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_byte.html.ini @@ -1,1345 +1,8 @@ [tex-2d-rgb-rgb-unsigned_byte.html] - [WebGL test #21: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] expected: FAIL - [WebGL test #136: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #11: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #373: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #24: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #13: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #154: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #307: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #244: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #108: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #388: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #86: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #47: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #133: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #217: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #280: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #130: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #279: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #156: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #410: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #434: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #385: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #60: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #292: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #399: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #302: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #405: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #77: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #321: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #243: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #65: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #84: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #438: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #345: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #384: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #261: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #326: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #128: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #61: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #76: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #350: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #113: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #440: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #58: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #335: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #309: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #111: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #116: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #255: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #368: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #109: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #131: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #56: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #359: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #354: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #178: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #88: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #66: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #125: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #331: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #420: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #272: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #293: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #429: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #16: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #245: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #8: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #222: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #195: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #447: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #377: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #175: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #151: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #389: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #433: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #351: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #167: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #172: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #93: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #422: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #370: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #188: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #427: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #426: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #72: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #249: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #99: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #430: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #301: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #191: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #139: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #90: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #164: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #333: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #365: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #312: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #299: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #318: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #186: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #50: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #200: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #2: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #242: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #126: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #421: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #230: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #232: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #97: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #196: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #403: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #226: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #397: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #187: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #41: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #361: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #383: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #387: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #44: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #382: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #300: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #100: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #419: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #439: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #193: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #247: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #184: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #320: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #224: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #32: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #225: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #213: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #140: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #411: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #1: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #287: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #112: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #357: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #23: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #103: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #95: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #228: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #161: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #171: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #30: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #281: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #416: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #254: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #55: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #194: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #256: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #10: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #409: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #123: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #183: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #205: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #7: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #338: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #59: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #12: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #290: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #327: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #393: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #425: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #36: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #62: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #135: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #369: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #240: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #85: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #22: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #231: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #180: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #319: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #235: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #414: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #353: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #246: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #303: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #170: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #176: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #142: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #101: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #379: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #202: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #74: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #17: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #119: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #173: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #340: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #305: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #102: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #282: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #80: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #141: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #278: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #236: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #220: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #148: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #262: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #294: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #73: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #163: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #54: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #179: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #53: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #248: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #89: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #19: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #276: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #118: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #64: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #273: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #347: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #35: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #28: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #296: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #15: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #190: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #336: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #446: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #145: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #253: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #115: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #325: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #322: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #14: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #275: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #69: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #324: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #378: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #306: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #328: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #367: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #20: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #435: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #158: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #329: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #234: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #117: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #203: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #381: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #431: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #358: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #428: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #332: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #144: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #288: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #182: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #374: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #257: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #87: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #406: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #63: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #26: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #67: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #199: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #143: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #29: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #239: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #442: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #189: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #121: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #185: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #386: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #346: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #260: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #237: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #33: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #417: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #219: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #153: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #270: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #229: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #81: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #259: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #206: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #233: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #210: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #400: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #75: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #277: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #165: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #334: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #91: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #349: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #274: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #432: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #132: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #323: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #209: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #71: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #437: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #316: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #297: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #267: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #127: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #371: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #174: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #372: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #395: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #218: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #444: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #138: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #52: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #107: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #216: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #39: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #150: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #83: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #181: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #311: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #310: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #314: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #398: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #4: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #122: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #40: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #251: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #25: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #418: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #424: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #34: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #0: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #264: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #110: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #360: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #252: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #415: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #212: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #391: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #317: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #308: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #169: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #211: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #177: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #51: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #137: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #258: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #375: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #376: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #285: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #423: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #402: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #227: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #408: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #412: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #445: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #356: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #352: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #404: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #104: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #78: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #330: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #9: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #436: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #192: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #341: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #157: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #159: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #5: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #105: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #79: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #49: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #344: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #106: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #298: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #342: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #18: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #166: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #6: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #204: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #46: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #45: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #348: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #37: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #250: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #265: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #124: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #155: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #413: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #380: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #92: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #168: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #315: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #407: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #313: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #201: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #3: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #147: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #362: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #304: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #441: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #48: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #98: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #129: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #82: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #283: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #268: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #214: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #295: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #197: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #238: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #394: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #70: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #149: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #27: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #284: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #291: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #355: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #343: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #339: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #31: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #266: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #396: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #43: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #392: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #42: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #114: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #68: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #223: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #443: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #363: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #57: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #263: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #96: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #162: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #134: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #286: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #269: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #337: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #241: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #152: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #38: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #221: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #401: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #364: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #289: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #390: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #366: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #207: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #198: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #146: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #208: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #271: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #215: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #120: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #94: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #160: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL + [Overall test] + expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini index c419db05f3b..8db787d12ae 100644 --- a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgb-rgb-unsigned_short_5_6_5.html.ini @@ -1,1345 +1,8 @@ [tex-2d-rgb-rgb-unsigned_short_5_6_5.html] - [WebGL test #21: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] expected: FAIL - [WebGL test #136: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #11: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #373: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #24: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #13: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #154: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #307: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #244: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #108: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #388: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #86: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #47: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #133: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #217: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #280: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #130: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #279: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #156: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #410: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #434: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #385: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #60: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #292: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #399: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #302: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #405: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #77: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #321: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #243: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #65: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #84: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #438: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #345: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #384: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #261: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #326: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #128: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #61: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #76: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #350: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #113: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #440: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #58: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #335: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #309: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #111: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #116: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #255: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #368: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #109: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #131: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #56: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #359: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #354: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #178: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #88: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #66: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #125: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #331: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #420: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #272: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #293: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #429: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #16: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #245: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #8: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #222: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #195: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #447: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #377: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #175: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #151: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #389: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #433: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #351: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #167: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #172: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #93: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #422: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #370: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #188: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #427: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #426: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #72: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #249: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #99: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #430: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #301: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #191: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #139: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #90: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #164: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #333: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #365: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #312: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #299: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #318: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #186: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #50: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #200: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #2: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #242: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #126: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #421: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #230: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #232: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #97: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #196: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #403: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #226: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #397: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #187: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #41: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #361: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #383: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #387: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #44: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #382: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #300: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #100: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #419: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #439: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #193: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #247: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #184: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #320: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #224: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #32: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #225: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #213: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #140: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #411: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #1: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #287: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #112: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #357: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #23: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #103: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #95: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #228: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #161: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #171: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #30: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #281: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #416: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #254: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #55: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #194: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #256: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #10: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #409: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #123: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #183: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #205: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #7: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #338: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #59: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #12: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #290: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #327: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #393: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #425: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #36: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #62: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #135: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #369: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #240: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #85: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #22: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #231: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #180: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #319: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #235: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #414: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #353: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #246: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #303: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #170: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #176: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #142: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #101: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #379: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #202: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #74: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #17: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #119: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #173: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #340: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #305: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #102: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #282: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #80: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #141: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #278: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #236: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #220: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #148: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #262: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #294: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #73: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #163: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #54: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #179: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #53: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #248: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #89: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #19: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #276: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #118: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #64: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #273: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #347: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #35: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #28: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #296: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #15: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #190: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #336: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #446: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #145: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #253: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #115: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #325: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #322: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #14: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #275: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #69: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #324: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #378: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #306: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #328: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #367: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #20: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #435: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #158: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #329: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #234: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #117: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #203: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #381: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #431: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #358: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #428: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #332: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #144: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #288: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #182: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #374: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #257: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #87: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #406: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #63: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #26: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #67: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #199: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #143: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #29: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #239: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #442: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #189: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #121: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #185: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #386: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #346: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #260: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #237: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #33: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #417: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #219: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #153: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #270: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #229: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #81: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #259: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #206: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #233: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #210: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #400: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #75: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #277: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #165: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #334: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #91: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #349: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #274: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #432: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #132: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #323: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #209: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #71: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #437: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #316: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #297: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #267: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #127: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #371: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #174: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #372: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #395: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #218: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #444: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #138: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #52: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #107: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #216: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #39: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #150: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #83: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #181: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #311: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #310: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #314: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #398: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #4: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #122: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #40: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #251: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #25: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #418: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #424: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #34: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #0: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #264: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #110: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #360: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #252: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #415: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #212: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #391: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #317: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #308: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #169: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #211: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #177: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #51: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #137: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #258: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #375: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #376: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #285: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #423: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #402: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #227: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #408: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #412: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #445: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #356: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #352: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #404: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #104: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #78: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #330: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #9: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #436: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #192: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #341: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #157: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #159: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #5: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #105: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #79: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #49: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #344: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #106: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #298: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #342: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #18: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #166: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #6: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #204: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #46: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #45: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #348: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #37: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #250: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #265: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #124: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #155: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #413: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #380: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #92: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #168: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #315: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #407: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #313: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #201: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #3: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #147: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #362: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #304: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #441: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #48: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #98: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #129: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #82: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #283: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #268: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #214: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #295: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #197: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #238: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #394: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #70: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #149: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #27: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #284: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #291: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #355: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #343: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #339: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #31: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #266: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #396: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #43: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #392: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #42: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #114: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #68: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #223: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #443: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #363: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #57: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #263: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #96: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #162: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #134: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #286: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #269: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #337: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #241: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #152: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #38: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #221: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #401: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #364: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #289: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #390: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #366: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #207: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #198: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #146: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #208: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #271: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #215: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #120: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #94: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #160: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL + [Overall test] + expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini index 6172ce28b74..31b05a79f9c 100644 --- a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_byte.html.ini @@ -1,1345 +1,8 @@ [tex-2d-rgba-rgba-unsigned_byte.html] - [WebGL test #21: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] expected: FAIL - [WebGL test #136: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #11: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #373: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #24: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #13: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #154: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #307: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #244: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #108: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #388: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #86: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #47: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #133: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #217: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #280: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #130: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #279: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #156: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #410: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #434: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #385: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #60: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #292: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #399: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #302: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #405: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #77: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #321: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #243: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #65: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #84: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #438: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #345: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #384: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #261: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #326: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #128: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #61: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #76: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #350: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #113: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #440: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #58: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #335: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #309: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #111: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #116: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #255: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #368: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #109: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #131: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #56: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #359: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #354: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #178: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #88: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #66: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #125: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #331: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #420: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #272: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #293: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #429: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #16: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #245: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #8: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #222: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #195: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #447: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #377: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #175: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #151: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #389: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #433: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #351: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #167: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #172: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #93: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #422: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #370: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #188: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #427: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #426: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #72: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #249: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #99: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #430: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #301: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #191: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #139: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #90: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #164: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #333: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #365: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #312: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #299: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #318: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #186: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #50: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #200: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #2: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #242: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #126: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #421: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #230: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #232: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #97: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #196: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #403: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #226: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #397: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #187: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #41: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #361: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #383: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #387: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #44: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #382: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #300: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #100: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #419: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #439: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #193: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #247: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #184: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #320: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #224: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #32: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #225: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #213: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #140: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #411: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #1: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #287: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #112: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #357: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #23: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #103: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #95: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #228: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #161: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #171: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #30: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #281: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #416: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #254: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #55: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #194: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #256: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #10: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #409: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #123: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #183: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #205: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #7: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #338: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #59: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #12: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #290: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #327: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #393: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #425: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #36: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #62: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #135: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #369: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #240: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #85: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #22: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #231: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #180: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #319: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #235: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #414: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #353: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #246: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #303: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #170: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #176: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #142: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #101: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #379: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #202: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #74: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #17: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #119: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #173: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #340: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #305: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #102: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #282: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #80: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #141: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #278: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #236: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #220: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #148: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #262: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #294: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #73: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #163: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #54: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #179: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #53: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #248: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #89: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #19: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #276: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #118: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #64: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #273: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #347: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #35: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #28: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #296: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #15: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #190: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #336: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #446: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #145: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #253: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #115: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #325: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #322: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #14: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #275: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #69: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #324: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #378: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #306: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #328: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #367: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #20: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #435: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #158: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #329: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #234: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #117: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #203: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #381: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #431: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #358: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #428: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #332: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #144: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #288: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #182: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #374: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #257: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #87: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #406: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #63: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #26: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #67: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #199: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #143: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #29: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #239: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #442: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #189: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #121: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #185: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #386: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #346: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #260: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #237: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #33: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #417: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #219: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #153: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #270: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #229: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #81: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #259: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #206: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #233: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #210: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #400: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #75: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #277: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #165: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #334: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #91: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #349: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #274: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #432: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #132: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #323: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #209: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #71: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #437: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #316: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #297: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #267: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #127: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #371: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #174: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #372: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #395: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #218: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #444: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #138: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #52: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #107: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #216: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #39: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #150: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #83: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #181: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #311: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #310: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #314: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #398: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #4: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #122: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #40: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #251: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #25: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #418: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #424: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #34: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #0: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #264: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #110: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #360: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #252: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #415: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #212: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #391: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #317: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #308: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #169: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #211: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #177: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #51: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #137: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #258: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #375: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #376: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #285: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #423: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #402: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #227: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #408: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #412: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #445: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #356: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #352: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #404: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #104: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #78: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #330: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #9: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #436: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #192: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #341: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #157: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #159: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #5: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #105: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #79: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #49: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #344: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #106: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #298: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #342: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #18: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #166: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #6: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #204: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #46: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #45: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #348: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #37: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #250: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #265: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #124: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #155: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #413: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #380: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #92: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #168: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #315: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #407: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #313: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #201: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #3: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #147: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #362: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #304: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #441: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #48: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #98: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #129: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #82: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #283: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #268: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #214: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #295: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #197: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #238: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #394: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #70: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #149: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #27: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #284: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #291: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #355: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #343: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #339: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #31: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #266: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #396: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #43: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #392: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #42: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #114: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #68: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #223: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #443: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #363: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #57: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #263: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #96: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #162: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #134: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #286: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #269: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #337: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #241: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #152: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #38: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #221: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #401: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #364: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #289: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #390: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #366: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #207: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #198: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #146: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #208: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #271: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #215: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #120: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #94: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #160: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL + [Overall test] + expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini index fcce4dea12d..cc446c5d068 100644 --- a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html.ini @@ -1,1345 +1,8 @@ [tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html] - [WebGL test #21: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] expected: FAIL - [WebGL test #136: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #11: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #373: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #24: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #13: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #154: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #307: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #244: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #108: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #388: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #86: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #47: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #133: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #217: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #280: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #130: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #279: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #156: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #410: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #434: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #385: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #60: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #292: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #399: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #302: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #405: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #77: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #321: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #243: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #65: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #84: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #438: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #345: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #384: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #261: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #326: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #128: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #61: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #76: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #350: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #113: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #440: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #58: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #335: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #309: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #111: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #116: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #255: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #368: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #109: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #131: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #56: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #359: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #354: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #178: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #88: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #66: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #125: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #331: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #420: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #272: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #293: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #429: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #16: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #245: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #8: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #222: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #195: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #447: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #377: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #175: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #151: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #389: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #433: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #351: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #167: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #172: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #93: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #422: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #370: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #188: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #427: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #426: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #72: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #249: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #99: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #430: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #301: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #191: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #139: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #90: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #164: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #333: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #365: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #312: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #299: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #318: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #186: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #50: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #200: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #2: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #242: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #126: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #421: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #230: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #232: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #97: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #196: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #403: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #226: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #397: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #187: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #41: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #361: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #383: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #387: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #44: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #382: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #300: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #100: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #419: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #439: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #193: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #247: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #184: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #320: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #224: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #32: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #225: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #213: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #140: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #411: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #1: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #287: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #112: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #357: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #23: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #103: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #95: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #228: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #161: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #171: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #30: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #281: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #416: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #254: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #55: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #194: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #256: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #10: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #409: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #123: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #183: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #205: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #7: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #338: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #59: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #12: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #290: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #327: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #393: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #425: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #36: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #62: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #135: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #369: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #240: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #85: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #22: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #231: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #180: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #319: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #235: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #414: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #353: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #246: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #303: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #170: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #176: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #142: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #101: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #379: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #202: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #74: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #17: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #119: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #173: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #340: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #305: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #102: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #282: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #80: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #141: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #278: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #236: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #220: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #148: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #262: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #294: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #73: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #163: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #54: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #179: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #53: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #248: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #89: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #19: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #276: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #118: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #64: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #273: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #347: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #35: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #28: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #296: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #15: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #190: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #336: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #446: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #145: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #253: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #115: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #325: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #322: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #14: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #275: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #69: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #324: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #378: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #306: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #328: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #367: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #20: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #435: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #158: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #329: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #234: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #117: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #203: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #381: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #431: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #358: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #428: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #332: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #144: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #288: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #182: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #374: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #257: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #87: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #406: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #63: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #26: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #67: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #199: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #143: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #29: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #239: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #442: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #189: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #121: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #185: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #386: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #346: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #260: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #237: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #33: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #417: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #219: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #153: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #270: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #229: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #81: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #259: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #206: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #233: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #210: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #400: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #75: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #277: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #165: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #334: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #91: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #349: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #274: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #432: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #132: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #323: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #209: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #71: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #437: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #316: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #297: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #267: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #127: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #371: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #174: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #372: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #395: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #218: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #444: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #138: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #52: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #107: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #216: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #39: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #150: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #83: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #181: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #311: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #310: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #314: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #398: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #4: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #122: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #40: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #251: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #25: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #418: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #424: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #34: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #0: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #264: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #110: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #360: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #252: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #415: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #212: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #391: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #317: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #308: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #169: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #211: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #177: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #51: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #137: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #258: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #375: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #376: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #285: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #423: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #402: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #227: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #408: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #412: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #445: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #356: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #352: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #404: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #104: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #78: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #330: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #9: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #436: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #192: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #341: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #157: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #159: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #5: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #105: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #79: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #49: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #344: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #106: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #298: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #342: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #18: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #166: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #6: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #204: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #46: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #45: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #348: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #37: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #250: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #265: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #124: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #155: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #413: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #380: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #92: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #168: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #315: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #407: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #313: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #201: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #3: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #147: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #362: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #304: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #441: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #48: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #98: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #129: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #82: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #283: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #268: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #214: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #295: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #197: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #238: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #394: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #70: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #149: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #27: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #284: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #291: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #355: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #343: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #339: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #31: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #266: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #396: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #43: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #392: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #42: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #114: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #68: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #223: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #443: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #363: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #57: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #263: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #96: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #162: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #134: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #286: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #269: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #337: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #241: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #152: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #38: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #221: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #401: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #364: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #289: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #390: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #366: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #207: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #198: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #146: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #208: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #271: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #215: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #120: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #94: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #160: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL + [Overall test] + expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini index 35f7ad239c3..12eb2792afb 100644 --- a/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/webgl_canvas/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html.ini @@ -1,1345 +1,8 @@ [tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html] - [WebGL test #21: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] + expected: ERROR + [WebGL test #0: Unable to fetch WebGL rendering context for Canvas] expected: FAIL - [WebGL test #136: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #11: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #373: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #24: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #13: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #154: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #307: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #244: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #108: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #388: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #86: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #47: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #133: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #217: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #280: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #130: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #279: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #156: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #410: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #434: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #385: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #60: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #292: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #399: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #302: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #405: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #77: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #321: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #243: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #65: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #84: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #438: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #345: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #384: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #261: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #326: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #128: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #61: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #76: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #350: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #113: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #440: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #58: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #335: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #309: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #111: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #116: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #255: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #368: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #109: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #131: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #56: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #359: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #354: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #178: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #88: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #66: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #125: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #331: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #420: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #272: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #293: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #429: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #16: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #245: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #8: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #222: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #195: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #447: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #377: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #175: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #151: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #389: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #433: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #351: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #167: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #172: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #93: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #422: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #370: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #188: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #427: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #426: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #72: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #249: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #99: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #430: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #301: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #191: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #139: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #90: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #164: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #333: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #365: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #312: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #299: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #318: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #186: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #50: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #200: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #2: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #242: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #126: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #421: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #230: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #232: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #97: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #196: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #403: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #226: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #397: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #187: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #41: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #361: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #383: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #387: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #44: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #382: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #300: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #100: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #419: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #439: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #193: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #247: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #184: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #320: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #224: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #32: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #225: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #213: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #140: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #411: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #1: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #287: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #112: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #357: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #23: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #103: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #95: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #228: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #161: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #171: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #30: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #281: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #416: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #254: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #55: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #194: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #256: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #10: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #409: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #123: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #183: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #205: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #7: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #338: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #59: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #12: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #290: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #327: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #393: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #425: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #36: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #62: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #135: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #369: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #240: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #85: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #22: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #231: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #180: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #319: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #235: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #414: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #353: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #246: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #303: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #170: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #176: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #142: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #101: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #379: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #202: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #74: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #17: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #119: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #173: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #340: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #305: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #102: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #282: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #80: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #141: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #278: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #236: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #220: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #148: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #262: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #294: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #73: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #163: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #54: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #179: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #53: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #248: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #89: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #19: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #276: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #118: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #64: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #273: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #347: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #35: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #28: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #296: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #15: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #190: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #336: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #446: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #145: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #253: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #115: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #325: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #322: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #14: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #275: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #69: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #324: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #378: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #306: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #328: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #367: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #20: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #435: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #158: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #329: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #234: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #117: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #203: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #381: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #431: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #358: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #428: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #332: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #144: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #288: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #182: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #374: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #257: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #87: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #406: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #63: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #26: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #67: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #199: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #143: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #29: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #239: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #442: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #189: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #121: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #185: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #386: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #346: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #260: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #237: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #33: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #417: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #219: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #153: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #270: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #229: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #81: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #259: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #206: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #233: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #210: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #400: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #75: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #277: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #165: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #334: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #91: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #349: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #274: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #432: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #132: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #323: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #209: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #71: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #437: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #316: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #297: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #267: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #127: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #371: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #174: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #372: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #395: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #218: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #444: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #138: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #52: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #107: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #216: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #39: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #150: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #83: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #181: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #311: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #310: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #314: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #398: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #4: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #122: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #40: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #251: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #25: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #418: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #424: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #34: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #0: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #264: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #110: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #360: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #252: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #415: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #212: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #391: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #317: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #308: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #169: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #211: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #177: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #51: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #137: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #258: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #375: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #376: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #285: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #423: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #402: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #227: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #408: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #412: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #445: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #356: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #352: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #404: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #104: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #78: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #330: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #9: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #436: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #192: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #341: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #157: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #159: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #5: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #105: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #79: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #49: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #344: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #106: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #298: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #342: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #18: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #166: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #6: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #204: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #46: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #45: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #348: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #37: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #250: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #265: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #124: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #155: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #413: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #380: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #92: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #168: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #315: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #407: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #313: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #201: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #3: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #147: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #362: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #304: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #441: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #48: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #98: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #129: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #82: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #283: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #268: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #214: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #295: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #197: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #238: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #394: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #70: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #149: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #27: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #284: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #291: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #355: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #343: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #339: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #31: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #266: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #396: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #43: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #392: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #42: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #114: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #68: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #223: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #443: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #363: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #57: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #263: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #96: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #162: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #134: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #286: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #269: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #337: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #241: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #152: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #38: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #221: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #401: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #364: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #289: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #390: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #366: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #207: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #198: shouldBe 255,0,0\nat (0, 16) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #146: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #208: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #271: shouldBe 0,255,0\nat (0, 0) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #215: shouldBe 0,255,0\nat (0, 16) expected: 0,255,0 was 0,0,0] - expected: FAIL - - [WebGL test #120: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #94: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL - - [WebGL test #160: shouldBe 255,0,0\nat (0, 0) expected: 255,0,0 was 0,0,0] - expected: FAIL + [Overall test] + expected: NOTRUN diff --git a/tests/wpt/webgl/meta/conformance2/attribs/gl-bindAttribLocation-aliasing-inactive.html.ini b/tests/wpt/webgl/meta/conformance2/attribs/gl-bindAttribLocation-aliasing-inactive.html.ini new file mode 100644 index 00000000000..42dd8da7473 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/attribs/gl-bindAttribLocation-aliasing-inactive.html.ini @@ -0,0 +1,1537 @@ +[gl-bindAttribLocation-aliasing-inactive.html] + [WebGL test #240: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #394: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #486: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #149: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #101: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #49: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #261: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #62: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #335: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #70: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #107: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #86: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #518: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #529: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #465: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #198: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #498: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #317: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #181: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #109: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #157: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #75: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #13: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #26: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #118: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #190: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #311: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #278: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #318: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #254: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #501: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #525: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #280: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #316: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #80: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #456: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #368: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #349: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #40: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #35: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #144: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #151: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #130: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #328: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #477: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #438: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #346: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #61: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #528: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #241: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #426: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #378: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #513: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #471: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #381: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #226: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #397: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #44: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #326: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #214: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #52: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #271: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #450: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #283: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #276: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #308: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #248: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #58: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #95: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #46: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #543: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #132: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #361: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #291: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #116: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #267: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #380: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #520: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #418: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #90: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #188: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #532: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #313: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #92: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #515: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #348: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #43: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #121: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #286: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #468: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #424: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #250: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #137: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #398: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #217: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #39: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #448: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #341: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #129: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #124: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #344: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #200: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #218: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #351: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #177: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #223: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #33: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #120: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #453: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #71: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #273: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #375: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #347: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #364: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #331: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #236: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #337: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #150: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #154: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #458: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #230: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #373: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #334: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #138: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #469: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #145: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #206: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #59: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #409: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #307: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #302: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #500: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #539: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #4: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #31: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #168: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #125: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #440: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #363: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #422: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #64: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #260: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #423: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #526: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #460: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #66: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #184: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #269: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #540: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #191: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #542: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #512: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #179: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #382: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #111: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #475: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #141: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #485: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #355: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #445: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #244: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #253: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #376: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #410: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #427: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #457: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #36: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #213: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #152: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #360: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #479: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #78: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #11: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #524: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #503: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #247: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #431: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #104: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #288: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #161: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #389: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #329: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #134: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #56: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #203: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #509: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #502: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #122: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #284: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #189: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #282: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #106: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #139: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #415: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #166: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #366: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #370: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #209: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #304: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #388: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #231: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #281: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #82: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #229: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #419: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #298: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #403: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #53: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #437: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #195: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #342: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #54: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #165: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #462: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #499: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #285: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #517: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #420: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #287: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #385: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #1: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #133: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #97: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #12: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #392: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #490: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #531: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #100: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #516: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #356: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #186: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #523: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #466: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #455: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #264: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #164: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #487: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #491: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #114: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #277: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #30: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #47: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #201: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #224: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #514: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #432: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #362: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #320: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #169: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #492: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #324: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #482: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #79: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #77: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #84: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #387: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #444: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #147: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #3: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #333: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #72: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #65: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #294: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #6: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #478: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #183: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #148: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #128: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #538: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #140: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #76: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #412: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #27: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #67: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #300: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #259: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #194: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #256: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #212: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #369: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #142: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #421: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #402: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #292: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #314: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #193: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #483: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #81: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #55: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #436: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #322: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #135: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #73: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #227: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #99: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #105: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #345: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #246: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #310: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #14: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #222: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #20: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #384: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #93: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #489: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #536: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #48: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #467: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #87: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #235: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #463: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #29: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #332: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #297: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #325: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #22: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #23: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #505: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #117: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #265: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #497: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #299: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #470: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #220: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #353: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #156: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #162: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #266: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #173: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #196: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #98: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #96: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #481: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #219: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #234: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #383: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #275: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #108: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #268: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #541: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #160: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #367: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #439: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #208: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #449: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #94: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #537: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #472: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #263: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #192: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #158: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #290: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #454: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #5: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #9: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #24: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #339: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #10: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #69: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #400: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #207: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #32: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #233: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #377: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #406: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #232: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #393: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #488: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #443: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #126: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #110: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #7: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #123: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #202: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #205: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #171: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #88: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #417: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #258: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #399: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #251: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #435: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #63: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #494: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #386: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #215: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #242: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #395: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #507: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #182: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #430: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #309: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #506: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #60: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #16: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #25: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #18: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #429: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #535: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #319: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #451: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #504: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #352: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #252: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #372: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #239: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #8: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #295: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #91: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #461: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #359: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #464: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #210: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #484: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #45: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #496: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #336: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #131: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #396: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #447: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #41: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #257: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #533: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #180: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #434: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #274: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #185: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #473: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #480: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #315: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #338: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #371: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #321: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #197: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #74: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #303: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #354: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #146: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #327: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #452: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #404: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #127: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #495: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #225: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #112: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #508: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #305: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #199: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #163: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #519: Link should fail when both attributes are aliased to location 8] + expected: FAIL + + [WebGL test #42: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #390: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #159: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #270: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #413: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #38: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #474: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #407: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #2: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #28: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #175: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #172: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #143: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #21: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #530: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #89: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #405: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #343: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #358: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #83: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #211: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #312: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #19: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #511: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #243: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #245: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #416: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #522: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #296: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #411: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #167: Link should fail when both attributes are aliased to location 13] + expected: FAIL + + [WebGL test #379: Link should fail when both attributes are aliased to location 4] + expected: FAIL + + [WebGL test #174: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #521: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #50: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #113: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #216: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #176: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #155: Link should fail when both attributes are aliased to location 1] + expected: FAIL + + [WebGL test #401: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #365: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #15: Link should fail when both attributes are aliased to location 14] + expected: FAIL + + [WebGL test #57: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #446: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #293: Link should fail when both attributes are aliased to location 3] + expected: FAIL + + [WebGL test #534: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #279: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #414: Link should fail when both attributes are aliased to location 5] + expected: FAIL + + [WebGL test #37: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #433: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #428: Link should fail when both attributes are aliased to location 2] + expected: FAIL + + [WebGL test #237: Link should fail when both attributes are aliased to location 15] + expected: FAIL + + [WebGL test #178: Link should fail when both attributes are aliased to location 7] + expected: FAIL + + [WebGL test #262: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #103: Link should fail when both attributes are aliased to location 0] + expected: FAIL + + [WebGL test #249: Link should fail when both attributes are aliased to location 10] + expected: FAIL + + [WebGL test #330: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #350: Link should fail when both attributes are aliased to location 9] + expected: FAIL + + [WebGL test #115: Link should fail when both attributes are aliased to location 12] + expected: FAIL + + [WebGL test #228: Link should fail when both attributes are aliased to location 6] + expected: FAIL + + [WebGL test #301: Link should fail when both attributes are aliased to location 11] + expected: FAIL + + [WebGL test #441: Link should fail when both attributes are aliased to location 15] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/buffers/delete-buffer.html.ini b/tests/wpt/webgl/meta/conformance2/buffers/delete-buffer.html.ini new file mode 100644 index 00000000000..97bcc1ac12a --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/buffers/delete-buffer.html.ini @@ -0,0 +1,5 @@ +[delete-buffer.html] + expected: ERROR + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/buffers/get-buffer-sub-data-validity.html.ini b/tests/wpt/webgl/meta/conformance2/buffers/get-buffer-sub-data-validity.html.ini new file mode 100644 index 00000000000..6b5cc31216a --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/buffers/get-buffer-sub-data-validity.html.ini @@ -0,0 +1,5 @@ +[get-buffer-sub-data-validity.html] + expected: ERROR + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers-second-compile.html.ini b/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers-second-compile.html.ini new file mode 100644 index 00000000000..0d72ad9b1bf --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers-second-compile.html.ini @@ -0,0 +1,5 @@ +[uniform-buffers-second-compile.html] + expected: ERROR + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers-state-restoration.html.ini b/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers-state-restoration.html.ini new file mode 100644 index 00000000000..de2c2b2cad6 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers-state-restoration.html.ini @@ -0,0 +1,5 @@ +[uniform-buffers-state-restoration.html] + expected: ERROR + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers.html.ini b/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers.html.ini index db86111ca04..5794eae6012 100644 --- a/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers.html.ini +++ b/tests/wpt/webgl/meta/conformance2/buffers/uniform-buffers.html.ini @@ -1,32 +1,26 @@ [uniform-buffers.html] expected: ERROR - [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : UNIFORM_BUFFER_BINDING query should succeed] + [WebGL test #12: getError expected: INVALID_OPERATION. Was INVALID_ENUM : binding a deleted buffer should generate INVALID_OPERATION] expected: FAIL - [WebGL test #6: getError expected: NO_ERROR. Was INVALID_ENUM : should be able to bind uniform buffer] + [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : UNIFORM_BUFFER_BINDING query should succeed] expected: FAIL [WebGL test #7: gl.getParameter(gl.UNIFORM_BUFFER_BINDING) should be [object WebGLBuffer\]. Was null.] expected: FAIL - [WebGL test #8: getError expected: NO_ERROR. Was INVALID_ENUM : should be able to update uniform buffer binding] + [WebGL test #9: gl.getParameter(gl.UNIFORM_BUFFER_BINDING) should be [object WebGLBuffer\]. Was null.] expected: FAIL - [WebGL test #9: gl.getParameter(gl.UNIFORM_BUFFER_BINDING) should be [object WebGLBuffer\]. Was null.] + [WebGL test #16: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] expected: FAIL [WebGL test #10: getError expected: NO_ERROR. Was INVALID_ENUM : should be able to unbind uniform buffer] expected: FAIL - [WebGL test #12: getError expected: INVALID_OPERATION. Was INVALID_ENUM : binding a deleted buffer should generate INVALID_OPERATION] + [WebGL test #6: getError expected: NO_ERROR. Was INVALID_ENUM : should be able to bind uniform buffer] expected: FAIL - [WebGL test #15: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] - expected: FAIL - - [WebGL test #16: Could not compile shader with named uniform blocks without error] - expected: FAIL - - [WebGL test #17: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + [WebGL test #8: getError expected: NO_ERROR. Was INVALID_ENUM : should be able to update uniform buffer binding] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance2/canvas/to-data-url-with-pack-params.html.ini b/tests/wpt/webgl/meta/conformance2/canvas/to-data-url-with-pack-params.html.ini new file mode 100644 index 00000000000..1dc5a598bbc --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/canvas/to-data-url-with-pack-params.html.ini @@ -0,0 +1,13 @@ +[to-data-url-with-pack-params.html] + [WebGL test #4: getError expected: NO_ERROR. Was INVALID_ENUM : Test should not generate GL error] + expected: FAIL + + [WebGL test #1: getError expected: NO_ERROR. Was INVALID_ENUM : Test should not generate GL error] + expected: FAIL + + [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : Test should not generate GL error] + expected: FAIL + + [WebGL test #3: getError expected: NO_ERROR. Was INVALID_ENUM : Test should not generate GL error] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/context/constants-and-properties-2.html.ini b/tests/wpt/webgl/meta/conformance2/context/constants-and-properties-2.html.ini new file mode 100644 index 00000000000..b53d451d67b --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/context/constants-and-properties-2.html.ini @@ -0,0 +1,7 @@ +[constants-and-properties-2.html] + [WebGL test #2: Also found the following extra properties:] + expected: FAIL + + [WebGL test #3: STENCIL_INDEX] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/context/context-resize-changes-buffer-binding-bug.html.ini b/tests/wpt/webgl/meta/conformance2/context/context-resize-changes-buffer-binding-bug.html.ini new file mode 100644 index 00000000000..5a5a0d10eff --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/context/context-resize-changes-buffer-binding-bug.html.ini @@ -0,0 +1,5 @@ +[context-resize-changes-buffer-binding-bug.html] + expected: ERROR + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/context/context-sharing-texture2darray-texture3d-data-bug.html.ini b/tests/wpt/webgl/meta/conformance2/context/context-sharing-texture2darray-texture3d-data-bug.html.ini new file mode 100644 index 00000000000..22be7fd9bdb --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/context/context-sharing-texture2darray-texture3d-data-bug.html.ini @@ -0,0 +1,5 @@ +[context-sharing-texture2darray-texture3d-data-bug.html] + expected: ERROR + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/context/incorrect-context-object-behaviour.html.ini b/tests/wpt/webgl/meta/conformance2/context/incorrect-context-object-behaviour.html.ini new file mode 100644 index 00000000000..ce40e588ab4 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/context/incorrect-context-object-behaviour.html.ini @@ -0,0 +1,5 @@ +[incorrect-context-object-behaviour.html] + expected: ERROR + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/context/no-experimental-webgl2.html.ini b/tests/wpt/webgl/meta/conformance2/context/no-experimental-webgl2.html.ini new file mode 100644 index 00000000000..bb1ac5f3aa3 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/context/no-experimental-webgl2.html.ini @@ -0,0 +1,4 @@ +[no-experimental-webgl2.html] + [WebGL test #0: canvas.getContext("experimental-webgl2") should be null. Was [object WebGL2RenderingContext\].] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/extensions/ext-color-buffer-float.html.ini b/tests/wpt/webgl/meta/conformance2/extensions/ext-color-buffer-float.html.ini index 5dae9ee86da..44ce3f63f74 100644 --- a/tests/wpt/webgl/meta/conformance2/extensions/ext-color-buffer-float.html.ini +++ b/tests/wpt/webgl/meta/conformance2/extensions/ext-color-buffer-float.html.ini @@ -1,25 +1,52 @@ [ext-color-buffer-float.html] - [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] - expected: FAIL - - [WebGL test #5: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] - expected: FAIL - - [WebGL test #8: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] - expected: FAIL - [WebGL test #11: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] expected: FAIL - [WebGL test #14: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] + [WebGL test #57: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] expected: FAIL [WebGL test #17: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] expected: FAIL - [WebGL test #20: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] + [WebGL test #8: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] + expected: FAIL + + [WebGL test #48: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #5: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] + expected: FAIL + + [WebGL test #45: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #42: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] expected: FAIL [WebGL test #30: getError expected: NO_ERROR. Was INVALID_ENUM : RGB16F texture allocation should succeed] expected: FAIL + [WebGL test #33: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] + expected: FAIL + + [WebGL test #14: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] + expected: FAIL + + [WebGL test #20: getError expected: NO_ERROR. Was INVALID_ENUM : floating-point texture allocation should succeed] + expected: FAIL + + [WebGL test #51: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #54: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #36: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #39: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/extensions/webgl_multiview.html.ini b/tests/wpt/webgl/meta/conformance2/extensions/webgl_multiview.html.ini new file mode 100644 index 00000000000..3bd2103548e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/extensions/webgl_multiview.html.ini @@ -0,0 +1,7 @@ +[webgl_multiview.html] + [WebGL test #3: getError expected: INVALID_ENUM. Was INVALID_OPERATION : Can't query FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR without enabling WEBGL_multiview] + expected: FAIL + + [WebGL test #2: getError expected: INVALID_ENUM. Was INVALID_OPERATION : Can't query FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR without enabling WEBGL_multiview] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/glsl3/float-parsing.html.ini b/tests/wpt/webgl/meta/conformance2/glsl3/float-parsing.html.ini new file mode 100644 index 00000000000..064bcf9b57a --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/glsl3/float-parsing.html.ini @@ -0,0 +1,7 @@ +[float-parsing.html] + [WebGL test #6: [unexpected link status\] Test that a non-constant float that has negative infinity as a value is processed correctly by isinf().] + expected: FAIL + + [WebGL test #5: [unexpected link status\] Test that a non-constant float that has infinity as a value is processed correctly by isinf().] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/glsl3/switch-case.html.ini b/tests/wpt/webgl/meta/conformance2/glsl3/switch-case.html.ini new file mode 100644 index 00000000000..8f7d150ecd4 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/glsl3/switch-case.html.ini @@ -0,0 +1,4 @@ +[switch-case.html] + [WebGL test #8: [unexpected link status\] Case statements must not be nested inside blocks.] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/glsl3/texture-offset-non-constant-offset.html.ini b/tests/wpt/webgl/meta/conformance2/glsl3/texture-offset-non-constant-offset.html.ini new file mode 100644 index 00000000000..4ee1273aadb --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/glsl3/texture-offset-non-constant-offset.html.ini @@ -0,0 +1,4 @@ +[texture-offset-non-constant-offset.html] + [WebGL test #6: [unexpected link status\] texelFetchOffset with non-constant offset is invalid] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/glsl3/varying-struct-inline-definition.html.ini b/tests/wpt/webgl/meta/conformance2/glsl3/varying-struct-inline-definition.html.ini new file mode 100644 index 00000000000..111799e7461 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/glsl3/varying-struct-inline-definition.html.ini @@ -0,0 +1,4 @@ +[varying-struct-inline-definition.html] + [WebGL test #0: [unexpected link status\] Vertex output struct / fragment input struct with an inline definition should compile and link] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/glsl3/vector-dynamic-indexing-swizzled-lvalue.html.ini b/tests/wpt/webgl/meta/conformance2/glsl3/vector-dynamic-indexing-swizzled-lvalue.html.ini new file mode 100644 index 00000000000..63977b9c965 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/glsl3/vector-dynamic-indexing-swizzled-lvalue.html.ini @@ -0,0 +1,4 @@ +[vector-dynamic-indexing-swizzled-lvalue.html] + [WebGL test #0: should be green\nat (0, 0) expected: 0,255,0,255 was 255,0,0,255] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/programs/sampler-uniforms.html.ini b/tests/wpt/webgl/meta/conformance2/programs/sampler-uniforms.html.ini new file mode 100644 index 00000000000..1a904ce96ee --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/programs/sampler-uniforms.html.ini @@ -0,0 +1,2 @@ +[sampler-uniforms.html] + expected: CRASH diff --git a/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-depth-renderbuffer-initialization.html.ini b/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-depth-renderbuffer-initialization.html.ini new file mode 100644 index 00000000000..3d222babfcc --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-depth-renderbuffer-initialization.html.ini @@ -0,0 +1,5 @@ +[multisampled-depth-renderbuffer-initialization.html] + expected: ERROR + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-renderbuffer-initialization.html.ini b/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-renderbuffer-initialization.html.ini index f83f2f3eebb..5abddb90d28 100644 --- a/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-renderbuffer-initialization.html.ini +++ b/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-renderbuffer-initialization.html.ini @@ -1,14 +1,5 @@ [multisampled-renderbuffer-initialization.html] expected: ERROR - [WebGL test #1: gl.checkFramebufferStatus(gl.FRAMEBUFFER) should be 36053. Was 36054.] - expected: FAIL - - [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : should be no errors] - expected: FAIL - - [WebGL test #3: user buffer has been cleared to green\nat (0, 0) expected: 0,255,0,255 was 0,0,0,0] - expected: FAIL - - [WebGL test #4: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-stencil-renderbuffer-initialization.html.ini b/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-stencil-renderbuffer-initialization.html.ini new file mode 100644 index 00000000000..98a35d80252 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/renderbuffers/multisampled-stencil-renderbuffer-initialization.html.ini @@ -0,0 +1,5 @@ +[multisampled-stencil-renderbuffer-initialization.html] + expected: ERROR + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/blitframebuffer-resolve-to-back-buffer.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/blitframebuffer-resolve-to-back-buffer.html.ini new file mode 100644 index 00000000000..82844ff40e4 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/blitframebuffer-resolve-to-back-buffer.html.ini @@ -0,0 +1,5 @@ +[blitframebuffer-resolve-to-back-buffer.html] + expected: ERROR + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/blitframebuffer-test.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/blitframebuffer-test.html.ini index ef06c74b492..5acba4c63d4 100644 --- a/tests/wpt/webgl/meta/conformance2/rendering/blitframebuffer-test.html.ini +++ b/tests/wpt/webgl/meta/conformance2/rendering/blitframebuffer-test.html.ini @@ -1,8 +1,5 @@ [blitframebuffer-test.html] expected: ERROR - [WebGL test #1: Framebuffer incomplete.] - expected: FAIL - - [WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance2/rendering/clear-srgb-color-buffer.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/clear-srgb-color-buffer.html.ini index a442fbba644..afe03f0cc80 100644 --- a/tests/wpt/webgl/meta/conformance2/rendering/clear-srgb-color-buffer.html.ini +++ b/tests/wpt/webgl/meta/conformance2/rendering/clear-srgb-color-buffer.html.ini @@ -3,9 +3,9 @@ [WebGL test #1: Framebuffer incomplete.] expected: FAIL - [WebGL test #2: should be 124,193,222,255\nat (0, 0) expected: 124,193,222,255 was 0,0,0,0] - expected: FAIL - [WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] expected: FAIL + [WebGL test #2: \nat (0, 0) expected: 124,193,222,255 was 0,0,0,0] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/clearbuffer-sub-source.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/clearbuffer-sub-source.html.ini new file mode 100644 index 00000000000..e5cfaa20221 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/clearbuffer-sub-source.html.ini @@ -0,0 +1,8 @@ +[clearbuffer-sub-source.html] + expected: ERROR + [WebGL test #1: gl.checkFramebufferStatus(gl.FRAMEBUFFER) should be 36053. Was 36054.] + expected: FAIL + + [WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/clearbufferfv-with-alpha-false.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/clearbufferfv-with-alpha-false.html.ini new file mode 100644 index 00000000000..11034a14305 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/clearbufferfv-with-alpha-false.html.ini @@ -0,0 +1,5 @@ +[clearbufferfv-with-alpha-false.html] + expected: ERROR + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/depth-stencil-feedback-loop.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/depth-stencil-feedback-loop.html.ini new file mode 100644 index 00000000000..d1271d22577 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/depth-stencil-feedback-loop.html.ini @@ -0,0 +1,7 @@ +[depth-stencil-feedback-loop.html] + [WebGL test #3: Framebuffer incomplete.] + expected: FAIL + + [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : Succeed to create textures.] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers-dirty-state-bug.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers-dirty-state-bug.html.ini new file mode 100644 index 00000000000..7908dfc91f2 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers-dirty-state-bug.html.ini @@ -0,0 +1,22 @@ +[draw-buffers-dirty-state-bug.html] + [WebGL test #6: should be green\nat (0, 0) expected: 0,255,0,255 was 0,0,0,0] + expected: FAIL + + [WebGL test #3: should be red\nat (0, 0) expected: 255,0,0,255 was 0,0,0,0] + expected: FAIL + + [WebGL test #7: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : there should be no errors] + expected: FAIL + + [WebGL test #4: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : Clear and draw should cause no GL errors] + expected: FAIL + + [WebGL test #2: getError expected: NO_ERROR. Was INVALID_FRAMEBUFFER_OPERATION : Clear and draw should cause no GL errors] + expected: FAIL + + [WebGL test #1: getError expected: NO_ERROR. Was INVALID_ENUM : Setup should cause no GL errors] + expected: FAIL + + [WebGL test #5: should be red\nat (0, 0) expected: 255,0,0,255 was 0,0,0,0] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers-driver-hang.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers-driver-hang.html.ini new file mode 100644 index 00000000000..a6cc4f523a5 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers-driver-hang.html.ini @@ -0,0 +1,5 @@ +[draw-buffers-driver-hang.html] + expected: ERROR + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/draw-with-integer-texture-base-level.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/draw-with-integer-texture-base-level.html.ini new file mode 100644 index 00000000000..34f8a63c0d7 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/draw-with-integer-texture-base-level.html.ini @@ -0,0 +1,7 @@ +[draw-with-integer-texture-base-level.html] + [WebGL test #0: getError expected: NO_ERROR. Was INVALID_ENUM : ] + expected: FAIL + + [WebGL test #2: should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,0,255] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/element-index-uint.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/element-index-uint.html.ini index 98632c5c59b..bd1a4cd1d47 100644 --- a/tests/wpt/webgl/meta/conformance2/rendering/element-index-uint.html.ini +++ b/tests/wpt/webgl/meta/conformance2/rendering/element-index-uint.html.ini @@ -1,43 +1,13 @@ [element-index-uint.html] - [WebGL test #11: getError expected: INVALID_OPERATION. Was NO_ERROR : ] + [WebGL test #51: should be 0,255,0,255\nat (1, 0) expected: 0,255,0,255 was 0,0,255,255] expected: FAIL - [WebGL test #20: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0)] + [WebGL test #49: should be 0,255,0,255\nat (1, 0) expected: 0,255,0,255 was 0,0,255,255] expected: FAIL - [WebGL test #21: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8)] + [WebGL test #20: should be 0,255,0,255\nat (1, 0) expected: 0,255,0,255 was 0,0,255,255] expected: FAIL - [WebGL test #23: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0)] - expected: FAIL - - [WebGL test #24: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8)] - expected: FAIL - - [WebGL test #33: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0)] - expected: FAIL - - [WebGL test #34: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8)] - expected: FAIL - - [WebGL test #49: getError expected: INVALID_OPERATION. Was NO_ERROR : ] - expected: FAIL - - [WebGL test #58: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0)] - expected: FAIL - - [WebGL test #59: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8)] - expected: FAIL - - [WebGL test #61: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0)] - expected: FAIL - - [WebGL test #62: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8)] - expected: FAIL - - [WebGL test #71: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0)] - expected: FAIL - - [WebGL test #72: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8)] + [WebGL test #18: should be 0,255,0,255\nat (1, 0) expected: 0,255,0,255 was 0,0,255,255] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-completeness-draw-framebuffer.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-completeness-draw-framebuffer.html.ini new file mode 100644 index 00000000000..12d39f65f15 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-completeness-draw-framebuffer.html.ini @@ -0,0 +1,5 @@ +[framebuffer-completeness-draw-framebuffer.html] + expected: ERROR + [WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-texture-changing-base-level.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-texture-changing-base-level.html.ini new file mode 100644 index 00000000000..e99f92686ba --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-texture-changing-base-level.html.ini @@ -0,0 +1,16 @@ +[framebuffer-texture-changing-base-level.html] + [WebGL test #11: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #5: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #8: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #13: getError expected: NO_ERROR. Was INVALID_ENUM : Drawing the texture to default framebuffer with base level 0 should succeed.] + expected: FAIL + + [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : Setup framebuffer with texture should succeed.] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-texture-level1.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-texture-level1.html.ini new file mode 100644 index 00000000000..cb4a718b2b5 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/framebuffer-texture-level1.html.ini @@ -0,0 +1,10 @@ +[framebuffer-texture-level1.html] + [WebGL test #1: gl.checkFramebufferStatus(gl.FRAMEBUFFER) should be 36054. Was 36061.] + expected: FAIL + + [WebGL test #3: getError expected: NO_ERROR. Was INVALID_VALUE : Setup framebuffer with texture should succeed.] + expected: FAIL + + [WebGL test #2: gl.checkFramebufferStatus(gl.FRAMEBUFFER) should be 36053. Was 36061.] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/instanced-arrays.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/instanced-arrays.html.ini new file mode 100644 index 00000000000..c1a32a0db36 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/instanced-arrays.html.ini @@ -0,0 +1,13 @@ +[instanced-arrays.html] + [WebGL test #27: getError expected: NO_ERROR. Was INVALID_OPERATION : It's allowed for all vertex attributes to have non-zero divisors when calling drawArraysInstanced] + expected: FAIL + + [WebGL test #44: getError expected: NO_ERROR. Was INVALID_OPERATION : It's allowed for all vertex attributes to have non-zero divisors when calling drawElements] + expected: FAIL + + [WebGL test #28: getError expected: NO_ERROR. Was INVALID_OPERATION : It's allowed for all vertex attributes to have non-zero divisors when calling drawArrays] + expected: FAIL + + [WebGL test #43: getError expected: NO_ERROR. Was INVALID_OPERATION : It's allowed for all vertex attributes to have non-zero divisors when calling drawElementsInstanced] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/line-rendering-quality.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/line-rendering-quality.html.ini new file mode 100644 index 00000000000..9068b4e65bb --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/line-rendering-quality.html.ini @@ -0,0 +1,5 @@ +[line-rendering-quality.html] + expected: ERROR + [WebGL test #6: successfullyParsed should be true. Threw exception ReferenceError: can't access lexical declaration `successfullyParsed' before initialization] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/multisampling-fragment-evaluation.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/multisampling-fragment-evaluation.html.ini new file mode 100644 index 00000000000..edb36e9c82c --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/multisampling-fragment-evaluation.html.ini @@ -0,0 +1,5 @@ +[multisampling-fragment-evaluation.html] + expected: ERROR + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/rendering/read-draw-when-missing-image.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/read-draw-when-missing-image.html.ini new file mode 100644 index 00000000000..511d437a930 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/rendering/read-draw-when-missing-image.html.ini @@ -0,0 +1,8 @@ +[read-draw-when-missing-image.html] + expected: ERROR + [WebGL test #1: Framebuffer incomplete.] + expected: FAIL + + [WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/samplers/multi-context-sampler-test.html.ini b/tests/wpt/webgl/meta/conformance2/samplers/multi-context-sampler-test.html.ini new file mode 100644 index 00000000000..ce4e1b279d5 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/samplers/multi-context-sampler-test.html.ini @@ -0,0 +1,5 @@ +[multi-context-sampler-test.html] + expected: ERROR + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/sync/sync-webgl-specific.html.ini b/tests/wpt/webgl/meta/conformance2/sync/sync-webgl-specific.html.ini index 97c2b93fb33..261b5db8e17 100644 --- a/tests/wpt/webgl/meta/conformance2/sync/sync-webgl-specific.html.ini +++ b/tests/wpt/webgl/meta/conformance2/sync/sync-webgl-specific.html.ini @@ -1,8 +1,8 @@ [sync-webgl-specific.html] expected: ERROR + [Overall test] + expected: NOTRUN + [WebGL test #3: gl.getError() should be 0. Was 1280.] expected: FAIL - [WebGL test #5: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] - expected: FAIL - diff --git a/tests/wpt/webgl/meta/conformance2/transform_feedback/non-existent-varying.html.ini b/tests/wpt/webgl/meta/conformance2/transform_feedback/non-existent-varying.html.ini new file mode 100644 index 00000000000..01d3af8a6fe --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/transform_feedback/non-existent-varying.html.ini @@ -0,0 +1,5 @@ +[non-existent-varying.html] + expected: ERROR + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/transform_feedback/same-buffer-two-binding-points.html.ini b/tests/wpt/webgl/meta/conformance2/transform_feedback/same-buffer-two-binding-points.html.ini new file mode 100644 index 00000000000..942d8ac93df --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/transform_feedback/same-buffer-two-binding-points.html.ini @@ -0,0 +1,5 @@ +[same-buffer-two-binding-points.html] + expected: ERROR + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance2/transform_feedback/simultaneous_binding.html.ini b/tests/wpt/webgl/meta/conformance2/transform_feedback/simultaneous_binding.html.ini new file mode 100644 index 00000000000..b16b96f8084 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/transform_feedback/simultaneous_binding.html.ini @@ -0,0 +1,5 @@ +[simultaneous_binding.html] + expected: ERROR + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance2/transform_feedback/switching-objects.html.ini b/tests/wpt/webgl/meta/conformance2/transform_feedback/switching-objects.html.ini new file mode 100644 index 00000000000..146c7c06d7a --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/transform_feedback/switching-objects.html.ini @@ -0,0 +1,5 @@ +[switching-objects.html] + expected: ERROR + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance2/transform_feedback/too-small-buffers.html.ini b/tests/wpt/webgl/meta/conformance2/transform_feedback/too-small-buffers.html.ini new file mode 100644 index 00000000000..3571f1037b9 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/transform_feedback/too-small-buffers.html.ini @@ -0,0 +1,5 @@ +[too-small-buffers.html] + expected: ERROR + [Overall test] + expected: NOTRUN + diff --git a/tests/wpt/webgl/meta/conformance2/uniforms/dependent-buffer-change.html.ini b/tests/wpt/webgl/meta/conformance2/uniforms/dependent-buffer-change.html.ini new file mode 100644 index 00000000000..0fdfee2664e --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/uniforms/dependent-buffer-change.html.ini @@ -0,0 +1,5 @@ +[dependent-buffer-change.html] + expected: ERROR + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/uniforms/draw-with-uniform-blocks.html.ini b/tests/wpt/webgl/meta/conformance2/uniforms/draw-with-uniform-blocks.html.ini new file mode 100644 index 00000000000..9b785f7fb1c --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/uniforms/draw-with-uniform-blocks.html.ini @@ -0,0 +1,5 @@ +[draw-with-uniform-blocks.html] + expected: ERROR + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/uniforms/gl-uniform-arrays-sub-source.html.ini b/tests/wpt/webgl/meta/conformance2/uniforms/gl-uniform-arrays-sub-source.html.ini new file mode 100644 index 00000000000..211f51c15a9 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/uniforms/gl-uniform-arrays-sub-source.html.ini @@ -0,0 +1,83 @@ +[gl-uniform-arrays-sub-source.html] + expected: ERROR + [WebGL test #49: value put in (99) matches value pulled out (16)] + expected: FAIL + + [WebGL test #149: getError expected: INVALID_VALUE. Was NO_ERROR : gl.uniform1iv with 0 data] + expected: FAIL + + [WebGL test #144: value put in (99) matches value pulled out (16)] + expected: FAIL + + [WebGL test #46: value put in (15) matches value pulled out (0)] + expected: FAIL + + [WebGL test #69: value put in (99) matches value pulled out (16)] + expected: FAIL + + [WebGL test #147: getError expected: INVALID_VALUE. Was NO_ERROR : gl.uniform1iv with srcLength out-of-bounds] + expected: FAIL + + [WebGL test #72: getError expected: INVALID_VALUE. Was NO_ERROR : gl.uniform1fv with srcLength out-of-bounds] + expected: FAIL + + [WebGL test #118: value put in (16) matches value pulled out (0)] + expected: FAIL + + [WebGL test #131: value put in (15) matches value pulled out (0)] + expected: FAIL + + [WebGL test #43: value put in (16) matches value pulled out (0)] + expected: FAIL + + [WebGL test #146: getError expected: INVALID_VALUE. Was NO_ERROR : gl.uniform1iv with srcOffset out-of-bounds] + expected: FAIL + + [WebGL test #73: getError expected: INVALID_VALUE. Was NO_ERROR : gl.uniform1fv with srcOffset + srcLength out-of-bounds] + expected: FAIL + + [WebGL test #53: value put in (16) matches value pulled out (0)] + expected: FAIL + + [WebGL test #74: getError expected: INVALID_VALUE. Was NO_ERROR : gl.uniform1fv with 0 data] + expected: FAIL + + [WebGL test #138: value put in (16) matches value pulled out (0)] + expected: FAIL + + [WebGL test #150: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + + [WebGL test #134: value put in (99) matches value pulled out (16)] + expected: FAIL + + [WebGL test #56: value put in (15) matches value pulled out (0)] + expected: FAIL + + [WebGL test #128: value put in (16) matches value pulled out (0)] + expected: FAIL + + [WebGL test #121: value put in (15) matches value pulled out (0)] + expected: FAIL + + [WebGL test #63: value put in (16) matches value pulled out (0)] + expected: FAIL + + [WebGL test #141: value put in (15) matches value pulled out (0)] + expected: FAIL + + [WebGL test #66: value put in (15) matches value pulled out (0)] + expected: FAIL + + [WebGL test #124: value put in (99) matches value pulled out (16)] + expected: FAIL + + [WebGL test #59: value put in (99) matches value pulled out (16)] + expected: FAIL + + [WebGL test #71: getError expected: INVALID_VALUE. Was NO_ERROR : gl.uniform1fv with srcOffset out-of-bounds] + expected: FAIL + + [WebGL test #148: getError expected: INVALID_VALUE. Was NO_ERROR : gl.uniform1iv with srcOffset + srcLength out-of-bounds] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/uniforms/incompatible-texture-type-for-sampler.html.ini b/tests/wpt/webgl/meta/conformance2/uniforms/incompatible-texture-type-for-sampler.html.ini new file mode 100644 index 00000000000..ead79e969c8 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/uniforms/incompatible-texture-type-for-sampler.html.ini @@ -0,0 +1,182 @@ +[incompatible-texture-type-for-sampler.html] + expected: ERROR + [WebGL test #45: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA16UI] + expected: FAIL + + [WebGL test #18: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG32F] + expected: FAIL + + [WebGL test #8: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB5_A1] + expected: FAIL + + [WebGL test #31: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA32F] + expected: FAIL + + [WebGL test #52: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB16I] + expected: FAIL + + [WebGL test #55: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R8_SNORM] + expected: FAIL + + [WebGL test #25: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG8I] + expected: FAIL + + [WebGL test #29: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG32I] + expected: FAIL + + [WebGL test #11: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D DEPTH_COMPONENT16] + expected: FAIL + + [WebGL test #7: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA4] + expected: FAIL + + [WebGL test #41: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D DEPTH32F_STENCIL8] + expected: FAIL + + [WebGL test #20: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R8UI] + expected: FAIL + + [WebGL test #12: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D DEPTH_COMPONENT24] + expected: FAIL + + [WebGL test #16: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R32F] + expected: FAIL + + [WebGL test #42: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB565] + expected: FAIL + + [WebGL test #5: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D LUMINANCE_ALPHA] + expected: FAIL + + [WebGL test #53: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA8I] + expected: FAIL + + [WebGL test #34: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB16F] + expected: FAIL + + [WebGL test #38: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D SRGB8] + expected: FAIL + + [WebGL test #39: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D SRGB8_ALPHA8] + expected: FAIL + + [WebGL test #36: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R11F_G11F_B10F] + expected: FAIL + + [WebGL test #6: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB8] + expected: FAIL + + [WebGL test #54: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB8I] + expected: FAIL + + [WebGL test #24: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R32UI] + expected: FAIL + + [WebGL test #49: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA32I] + expected: FAIL + + [WebGL test #33: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA16F] + expected: FAIL + + [WebGL test #35: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D DEPTH24_STENCIL8] + expected: FAIL + + [WebGL test #40: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D DEPTH_COMPONENT32F] + expected: FAIL + + [WebGL test #15: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R16F] + expected: FAIL + + [WebGL test #60: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + + [WebGL test #23: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R32I] + expected: FAIL + + [WebGL test #26: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG8UI] + expected: FAIL + + [WebGL test #14: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG8] + expected: FAIL + + [WebGL test #3: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA] + expected: FAIL + + [WebGL test #58: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA8_SNORM] + expected: FAIL + + [WebGL test #37: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB9_E5] + expected: FAIL + + [WebGL test #4: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D LUMINANCE] + expected: FAIL + + [WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB] + expected: FAIL + + [WebGL test #10: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB10_A2] + expected: FAIL + + [WebGL test #27: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG16I] + expected: FAIL + + [WebGL test #47: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA8UI] + expected: FAIL + + [WebGL test #51: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA16I] + expected: FAIL + + [WebGL test #17: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG16F] + expected: FAIL + + [WebGL test #59: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB10_A2UI] + expected: FAIL + + [WebGL test #43: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA32UI] + expected: FAIL + + [WebGL test #13: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R8] + expected: FAIL + + [WebGL test #28: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG16UI] + expected: FAIL + + [WebGL test #22: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R16UI] + expected: FAIL + + [WebGL test #57: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB8_SNORM] + expected: FAIL + + [WebGL test #19: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R8I] + expected: FAIL + + [WebGL test #56: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG8_SNORM] + expected: FAIL + + [WebGL test #48: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB8UI] + expected: FAIL + + [WebGL test #46: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB16UI] + expected: FAIL + + [WebGL test #1: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D ALPHA] + expected: FAIL + + [WebGL test #32: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB32F] + expected: FAIL + + [WebGL test #21: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D R16I] + expected: FAIL + + [WebGL test #50: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB32I] + expected: FAIL + + [WebGL test #44: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGB32UI] + expected: FAIL + + [WebGL test #30: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RG32UI] + expected: FAIL + + [WebGL test #9: getError expected: NO_ERROR. Was INVALID_ENUM : No errors from setup for TEXTURE_2D RGBA8] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/uniforms/query-uniform-blocks-after-shader-detach.html.ini b/tests/wpt/webgl/meta/conformance2/uniforms/query-uniform-blocks-after-shader-detach.html.ini new file mode 100644 index 00000000000..4bc81e2a556 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/uniforms/query-uniform-blocks-after-shader-detach.html.ini @@ -0,0 +1,5 @@ +[query-uniform-blocks-after-shader-detach.html] + expected: ERROR + [WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/uniforms/simple-buffer-change.html.ini b/tests/wpt/webgl/meta/conformance2/uniforms/simple-buffer-change.html.ini new file mode 100644 index 00000000000..5b2cb9e8efb --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/uniforms/simple-buffer-change.html.ini @@ -0,0 +1,5 @@ +[simple-buffer-change.html] + expected: ERROR + [WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/meta/conformance2/uniforms/uniform-blocks-with-arrays.html.ini b/tests/wpt/webgl/meta/conformance2/uniforms/uniform-blocks-with-arrays.html.ini new file mode 100644 index 00000000000..592adcd17c2 --- /dev/null +++ b/tests/wpt/webgl/meta/conformance2/uniforms/uniform-blocks-with-arrays.html.ini @@ -0,0 +1,5 @@ +[uniform-blocks-with-arrays.html] + expected: ERROR + [WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).] + expected: FAIL + diff --git a/tests/wpt/webgl/tests/README.md b/tests/wpt/webgl/tests/README.md index 6baee99dd45..9574d8458e8 100644 --- a/tests/wpt/webgl/tests/README.md +++ b/tests/wpt/webgl/tests/README.md @@ -75,5 +75,6 @@ The dates below are when work on the conformance suite version was started. - 2012/02/23: Version 1.0.1 - 2012/03/20: Version 1.0.2 - 2013/02/14: Version 1.0.3 -- 2013/10/11: Version 2.0.0 (beta) +- 2013/10/11: Version 2.0.0 - 2014/11/14: Version 1.0.4 +- 2016/11/21: Version 2.0.1 \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/00_readme.txt b/tests/wpt/webgl/tests/conformance/00_readme.txt deleted file mode 100644 index a04eaa37b33..00000000000 --- a/tests/wpt/webgl/tests/conformance/00_readme.txt +++ /dev/null @@ -1,13 +0,0 @@ -This file "00_test_list.txt" lists which files the test harness should run. - -If you add new tests you can update it with - -on windows - - dir /b *.html >00_test_list.txt - -on OSX / Linux - - ls -1 *.html >00_test_list.txt - - diff --git a/tests/wpt/webgl/tests/conformance/00_test_list.txt b/tests/wpt/webgl/tests/conformance/00_test_list.txt index 309d3abd8c3..96a88cac2ae 100644 --- a/tests/wpt/webgl/tests/conformance/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/00_test_list.txt @@ -7,6 +7,7 @@ glsl/00_test_list.txt limits/00_test_list.txt misc/00_test_list.txt --min-version 1.0.2 ogles/00_test_list.txt +--min-version 1.0.4 offscreencanvas/00_test_list.txt programs/00_test_list.txt reading/00_test_list.txt renderbuffers/00_test_list.txt diff --git a/tests/wpt/webgl/tests/conformance/attribs/00_test_list.txt b/tests/wpt/webgl/tests/conformance/attribs/00_test_list.txt index 87a479cc71a..362d6c0fd22 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/attribs/00_test_list.txt @@ -1,10 +1,13 @@ --min-version 1.0.3 gl-bindAttribLocation-aliasing.html --min-version 1.0.3 gl-bindAttribLocation-matrix.html +--min-version 1.0.4 gl-bindAttribLocation-nonexistent-attribute.html +--min-version 1.0.4 gl-bindAttribLocation-repeated.html --min-version 1.0.2 gl-disabled-vertex-attrib.html gl-enable-vertex-attrib.html --min-version 1.0.3 gl-matrix-attributes.html -gl-vertex-attrib.html +--max-version 1.9.9 gl-vertex-attrib.html gl-vertexattribpointer.html gl-vertexattribpointer-offsets.html --min-version 1.0.2 gl-vertex-attrib-render.html gl-vertex-attrib-zero-issues.html +--min-version 1.0.4 gl-vertex-attrib-unconsumed-out-of-bounds.html diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-aliasing.html b/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-aliasing.html index 62d341c60b9..d5723d09404 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-aliasing.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-aliasing.html @@ -29,8 +29,9 @@ - - + + + bindAttribLocation with aliasing @@ -51,42 +52,12 @@ description("This test verifies combinations of valid, active attribute types ca var wtu = WebGLTestUtils; var canvas = document.getElementById("canvas"); var gl = wtu.create3DContext(canvas, {antialias: false}); -var glFragmentShader = wtu.setupSimpleColorFragmentShader(gl); -var typeInfo = [ - { type: 'float', asVec4: 'vec4(0.0, $(var), 0.0, 1.0)' }, - { type: 'vec2', asVec4: 'vec4($(var), 0.0, 1.0)' }, - { type: 'vec3', asVec4: 'vec4($(var), 1.0)' }, - { type: 'vec4', asVec4: '$(var)' }, -]; -var maxAttributes = gl.getParameter(gl.MAX_VERTEX_ATTRIBS); -// Test all type combinations of a_1 and a_2. -typeInfo.forEach(function(typeInfo1) { - typeInfo.forEach(function(typeInfo2) { - debug('attribute_1: ' + typeInfo1.type + ' attribute_2: ' + typeInfo2.type); - var replaceParams = { - type_1: typeInfo1.type, - type_2: typeInfo2.type, - gl_Position_1: wtu.replaceParams(typeInfo1.asVec4, {var: 'a_1'}), - gl_Position_2: wtu.replaceParams(typeInfo2.asVec4, {var: 'a_2'}) - }; - var strVertexShader = wtu.replaceParams(wtu.getScript('vertexShader'), replaceParams); - var glVertexShader = wtu.loadShader(gl, strVertexShader, gl.VERTEX_SHADER); - assertMsg(glVertexShader != null, "Vertex shader compiled successfully."); - // Bind both a_1 and a_2 to the same position and verify the link fails. - // Do so for all valid positions available. - for (var l = 0; l < maxAttributes; l++) { - var glProgram = gl.createProgram(); - gl.bindAttribLocation(glProgram, l, 'a_1'); - gl.bindAttribLocation(glProgram, l, 'a_2'); - gl.attachShader(glProgram, glVertexShader); - gl.attachShader(glProgram, glFragmentShader); - gl.linkProgram(glProgram); - assertMsg(!gl.getProgramParameter(glProgram, gl.LINK_STATUS), "Link should fail when both types are aliased to location " + l); - } - }); -}); +var glFragmentShader = wtu.loadShader(gl, wtu.simpleColorFragmentShader, gl.FRAGMENT_SHADER); + +runBindAttribLocationAliasingTest(wtu, gl, glFragmentShader, wtu.getScript('vertexShader')); + var successfullyParsed = true; - + - \ No newline at end of file + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-matrix.html b/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-matrix.html index 54950393752..75d747171f0 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-matrix.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-matrix.html @@ -31,8 +31,8 @@ - - + + WebGL bindAttribLocation with Matrix Attributes Conformance Test @@ -52,7 +52,7 @@ var maxAttributes = gl.getParameter(gl.MAX_VERTEX_ATTRIBS); debug('MAX_VERTEX_ATTRIBUTES is ' + maxAttributes); shouldBeGreaterThanOrEqual('maxAttributes', '4'); -var glFragmentShader = wtu.setupSimpleColorFragmentShader(gl); +var glFragmentShader = wtu.loadShader(gl, wtu.simpleColorFragmentShader, gl.FRAGMENT_SHADER); // Given a matrix dimension, load a vertex shader with a matrix of that dimension // and a vector. Ensure that both the vector and matrix are active attributes. @@ -116,6 +116,6 @@ for (var mm = 2; mm <= 4; ++mm) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-nonexistent-attribute.html b/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-nonexistent-attribute.html new file mode 100644 index 00000000000..7b4b3d72719 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-bindAttribLocation-nonexistent-attribute.html @@ -0,0 +1,103 @@ + + + + + + + + + + +bindAttribLocation with nonexistent attribute name + + +
+
+ + + + + + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-disabled-vertex-attrib.html b/tests/wpt/webgl/tests/conformance/attribs/gl-disabled-vertex-attrib.html index 5f6f993e292..eb41b2c4043 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-disabled-vertex-attrib.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-disabled-vertex-attrib.html @@ -33,8 +33,8 @@ - - + + @@ -95,7 +95,7 @@ wtu.glErrorShouldBe(gl, gl.NO_ERROR, "should be no errors"); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-enable-vertex-attrib.html b/tests/wpt/webgl/tests/conformance/attribs/gl-enable-vertex-attrib.html index c3838070dcf..8966a5c070f 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-enable-vertex-attrib.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-enable-vertex-attrib.html @@ -33,8 +33,8 @@ - - + + @@ -77,7 +77,7 @@ wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-matrix-attributes.html b/tests/wpt/webgl/tests/conformance/attribs/gl-matrix-attributes.html index 6f62d6025be..8449fdfc1bf 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-matrix-attributes.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-matrix-attributes.html @@ -31,8 +31,8 @@ - - + + WebGL Matrix Attribute Conformance Test @@ -52,7 +52,7 @@ var maxAttributes = gl.getParameter(gl.MAX_VERTEX_ATTRIBS); debug('MAX_VERTEX_ATTRIBUTES is ' + maxAttributes); shouldBeGreaterThanOrEqual('maxAttributes', '4'); -var glFragmentShader = wtu.setupSimpleColorFragmentShader(gl); +var glFragmentShader = wtu.loadShader(gl, wtu.simpleColorFragmentShader, gl.FRAGMENT_SHADER); // prepareMatrixProgram creates a program with glFragmentShader as the fragment shader. // The vertex shader has numVector number of vectors and a matrix with numMatrixDimensions @@ -154,6 +154,6 @@ for (var mm = 2; mm <= 4; ++mm) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-render.html b/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-render.html index 4c0966dda7c..8789309f584 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-render.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-render.html @@ -27,86 +27,86 @@ - - - - - - - - - - + + + + + + - - - -
-
- - - + if (checkRedPortion(gl, 50, 50 * 0.7, 50 * 0.8)) { + testPassed('Attribute of size ' + (j+1) + ' was set correctly'); + } else { + testFailed('Attribute of size ' + (j+1) + ' was not set correctly'); + } + } +} + + + + +
+
+ + + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-unconsumed-out-of-bounds.html b/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-unconsumed-out-of-bounds.html new file mode 100644 index 00000000000..740e5ee7481 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-unconsumed-out-of-bounds.html @@ -0,0 +1,212 @@ + + + + + + +WebGL Unconsumed Vertex Attributes Out of Bounds Test + + + + + + + + + +
+
+ + + + + + + + + + + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-zero-issues.html b/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-zero-issues.html index 11a83ac00a7..35ba12302b7 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-zero-issues.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib-zero-issues.html @@ -34,8 +34,8 @@ - - + + @@ -131,7 +131,7 @@ for (var ii = 0; ii < 5; ++ii) { wtu.checkCanvas(gl, [0, 255, 0, 255], "canvas should be green"); gl.disableVertexAttribArray(3); - // This second test of drawing without attrib0 unconvered a bug in chrome + // This second test of drawing without attrib0 uncovered a bug in chrome // where after the draw without attrib0 the attrib 0 emulation code disabled // attrib 0 and it was never re-enabled so this next draw failed. gl.useProgram(p3); @@ -148,7 +148,7 @@ for (var ii = 0; ii < 5; ++ii) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib.html b/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib.html index b284c130045..8a095e5bc73 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-vertex-attrib.html @@ -33,88 +33,19 @@ - - + +
+ - + + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-vertexattribpointer-offsets.html b/tests/wpt/webgl/tests/conformance/attribs/gl-vertexattribpointer-offsets.html index 64dfacfbf2c..ccbc8d00515 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-vertexattribpointer-offsets.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-vertexattribpointer-offsets.html @@ -33,8 +33,8 @@ - - + + @@ -177,7 +177,7 @@ There is supposed to be an example drawing here, but it's not important. init(); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/attribs/gl-vertexattribpointer.html b/tests/wpt/webgl/tests/conformance/attribs/gl-vertexattribpointer.html index 89cb8bbb371..91d93ddba8f 100644 --- a/tests/wpt/webgl/tests/conformance/attribs/gl-vertexattribpointer.html +++ b/tests/wpt/webgl/tests/conformance/attribs/gl-vertexattribpointer.html @@ -33,8 +33,8 @@ - - + +
@@ -61,34 +61,58 @@ if (!gl) { gl.FIXED = 0x140C; } - gl.vertexAttribPointer(0, 3, gl.FLOAT, 0, 0, 12); - wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, - "vertexAttribPointer should fail if no buffer is bound"); - var vertexObject = gl.createBuffer(); gl.bindBuffer(gl.ARRAY_BUFFER, vertexObject); gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(0), gl.STATIC_DRAW); - gl.vertexAttribPointer(0, 1, gl.INT, 0, 0, 0); - wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, - "vertexAttribPointer should not support INT"); - gl.vertexAttribPointer(0, 1, gl.UNSIGNED_INT, 0, 0, 0); - wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, - "vertexAttribPointer should not support UNSIGNED_INT"); - gl.vertexAttribPointer(0, 1, gl.FIXED, 0, 0, 0); - wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, - "vertexAttribPointer should not support FIXED"); + + gl.bindBuffer(gl.ARRAY_BUFFER, null); + gl.vertexAttribPointer(0, 1, gl.FLOAT, false, 0, 4); + wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, + "vertexAttribPointer should fail if no buffer is bound and `offset` is non-zero."); + + gl.bindBuffer(gl.ARRAY_BUFFER, vertexObject); + gl.vertexAttribPointer(0, 1, gl.FLOAT, false, 0, 0); + wtu.glErrorShouldBe(gl, gl.NO_ERROR); + + gl.bindBuffer(gl.ARRAY_BUFFER, null); + gl.vertexAttribPointer(0, 1, gl.FLOAT, false, 0, 0); + wtu.glErrorShouldBe(gl, gl.NO_ERROR, + "vertexAttribPointer should succeed if no buffer is bound and `offset` is zero."); + + gl.bindBuffer(gl.ARRAY_BUFFER, vertexObject); + + + if (wtu.getDefault3DContextVersion() < 2) { + gl.vertexAttribPointer(0, 1, gl.INT, 0, 0, 0); + wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, + "vertexAttribPointer should not support INT"); + gl.vertexAttribPointer(0, 1, gl.UNSIGNED_INT, 0, 0, 0); + wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, + "vertexAttribPointer should not support UNSIGNED_INT"); + gl.vertexAttribPointer(0, 1, gl.FIXED, 0, 0, 0); + wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, + "vertexAttribPointer should not support FIXED"); + } var checkVertexAttribPointer = function( gl, err, reason, size, type, normalize, stride, offset) { gl.vertexAttribPointer(0, size, type, normalize, stride, offset); + var succeeded = (err == gl.NO_ERROR); wtu.glErrorShouldBe(gl, err, "gl.vertexAttribPointer(0, " + size + ", gl." + wtu.glEnumToString(gl, type) + ", " + normalize + ", " + stride + ", " + offset + - ") should " + (err == gl.NO_ERROR ? "succeed " : "fail ") + reason); + ") should " + (succeeded ? "succeed " : "fail ") + reason); + if (succeeded) { + shouldBe('gl.getVertexAttrib(0, gl.VERTEX_ATTRIB_ARRAY_SIZE)', size.toString()); + shouldBe('gl.getVertexAttrib(0, gl.VERTEX_ATTRIB_ARRAY_TYPE)', 'gl.' + wtu.glEnumToString(gl, type)); + shouldBe('gl.getVertexAttrib(0, gl.VERTEX_ATTRIB_ARRAY_NORMALIZED)', normalize.toString()); + shouldBe('gl.getVertexAttrib(0, gl.VERTEX_ATTRIB_ARRAY_STRIDE)', stride.toString()); + shouldBe('gl.getVertexAttribOffset(0, gl.VERTEX_ATTRIB_ARRAY_POINTER)', offset.toString()); + } } var types = [ @@ -150,7 +174,7 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/buffers/00_test_list.txt b/tests/wpt/webgl/tests/conformance/buffers/00_test_list.txt index 374a86ed963..4b67780ec6c 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/buffers/00_test_list.txt @@ -1,6 +1,8 @@ buffer-bind-test.html -buffer-data-array-buffer.html +buffer-data-and-buffer-sub-data.html --min-version 1.0.3 buffer-data-array-buffer-delete.html +--min-version 1.0.4 buffer-data-dynamic-delay.html +--min-version 1.0.4 buffer-uninitialized.html --min-version 1.0.2 element-array-buffer-delete-recreate.html index-validation-copies-indices.html index-validation-crash-with-buffer-sub-data.html diff --git a/tests/wpt/webgl/tests/conformance/buffers/buffer-bind-test.html b/tests/wpt/webgl/tests/conformance/buffers/buffer-bind-test.html index ce596706c08..fed515fc133 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/buffer-bind-test.html +++ b/tests/wpt/webgl/tests/conformance/buffers/buffer-bind-test.html @@ -33,8 +33,8 @@ - - + + @@ -82,7 +82,7 @@ if (!gl) { debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/buffers/buffer-data-array-buffer-delete.html b/tests/wpt/webgl/tests/conformance/buffers/buffer-data-array-buffer-delete.html index 5887743e2aa..c2a8d35e1a9 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/buffer-data-array-buffer-delete.html +++ b/tests/wpt/webgl/tests/conformance/buffers/buffer-data-array-buffer-delete.html @@ -32,8 +32,8 @@ - - + +
diff --git a/tests/wpt/webgl/tests/conformance/buffers/buffer-data-array-buffer.html b/tests/wpt/webgl/tests/conformance/buffers/buffer-data-array-buffer.html deleted file mode 100644 index 6c989addb2b..00000000000 --- a/tests/wpt/webgl/tests/conformance/buffers/buffer-data-array-buffer.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - -
-
- - - - - - diff --git a/tests/wpt/webgl/tests/conformance/buffers/buffer-data-dynamic-delay.html b/tests/wpt/webgl/tests/conformance/buffers/buffer-data-dynamic-delay.html new file mode 100644 index 00000000000..65fe5b89b5a --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/buffers/buffer-data-dynamic-delay.html @@ -0,0 +1,135 @@ + + + + + + +bufferData with DYNAMIC_DRAW and delay between updating data + + + + + + + + +
+
+ + + + + + + diff --git a/tests/wpt/webgl/tests/conformance/buffers/element-array-buffer-delete-recreate.html b/tests/wpt/webgl/tests/conformance/buffers/element-array-buffer-delete-recreate.html index c9afea561eb..07df297ca22 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/element-array-buffer-delete-recreate.html +++ b/tests/wpt/webgl/tests/conformance/buffers/element-array-buffer-delete-recreate.html @@ -32,8 +32,8 @@ - - + + @@ -87,6 +87,6 @@ function init() init(); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/buffers/index-validation-copies-indices.html b/tests/wpt/webgl/tests/conformance/buffers/index-validation-copies-indices.html index f5589f6e32f..5f0645f3dca 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/index-validation-copies-indices.html +++ b/tests/wpt/webgl/tests/conformance/buffers/index-validation-copies-indices.html @@ -29,8 +29,8 @@ - - + +
@@ -72,6 +72,6 @@ debug("") var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/buffers/index-validation-crash-with-buffer-sub-data.html b/tests/wpt/webgl/tests/conformance/buffers/index-validation-crash-with-buffer-sub-data.html index 1b0f7cbc0b8..20704bae3fd 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/index-validation-crash-with-buffer-sub-data.html +++ b/tests/wpt/webgl/tests/conformance/buffers/index-validation-crash-with-buffer-sub-data.html @@ -32,8 +32,8 @@ - - + +
@@ -56,6 +56,6 @@ testPassed("bufferSubData, when buffer object was initialized with null, did not var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/buffers/index-validation-large-buffer.html b/tests/wpt/webgl/tests/conformance/buffers/index-validation-large-buffer.html index 75429115964..e15aaca94da 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/index-validation-large-buffer.html +++ b/tests/wpt/webgl/tests/conformance/buffers/index-validation-large-buffer.html @@ -32,8 +32,8 @@ - - + +
@@ -74,6 +74,6 @@ debug("") var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/buffers/index-validation-verifies-too-many-indices.html b/tests/wpt/webgl/tests/conformance/buffers/index-validation-verifies-too-many-indices.html index 95088070521..e2dd74df2ea 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/index-validation-verifies-too-many-indices.html +++ b/tests/wpt/webgl/tests/conformance/buffers/index-validation-verifies-too-many-indices.html @@ -32,8 +32,8 @@ - - + +
@@ -68,6 +68,6 @@ debug("") var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/buffers/index-validation-with-resized-buffer.html b/tests/wpt/webgl/tests/conformance/buffers/index-validation-with-resized-buffer.html index 95a17ff2faf..0d2434f3293 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/index-validation-with-resized-buffer.html +++ b/tests/wpt/webgl/tests/conformance/buffers/index-validation-with-resized-buffer.html @@ -32,8 +32,8 @@ - - + + @@ -125,6 +125,6 @@ debug("") var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/buffers/index-validation.html b/tests/wpt/webgl/tests/conformance/buffers/index-validation.html index 1572381dc9b..5cee5126344 100644 --- a/tests/wpt/webgl/tests/conformance/buffers/index-validation.html +++ b/tests/wpt/webgl/tests/conformance/buffers/index-validation.html @@ -29,8 +29,8 @@ - - + +
@@ -135,6 +135,6 @@ shouldBeUndefined('gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0)'); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/canvas/00_test_list.txt b/tests/wpt/webgl/tests/conformance/canvas/00_test_list.txt index bfa21995c84..45bff4ed861 100644 --- a/tests/wpt/webgl/tests/conformance/canvas/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/canvas/00_test_list.txt @@ -8,8 +8,9 @@ drawingbuffer-test.html --min-version 1.0.3 draw-webgl-to-canvas-test.html --min-version 1.0.3 draw-static-webgl-to-multiple-canvas-test.html --min-version 1.0.2 framebuffer-bindings-unaffected-on-resize.html +--min-version 1.0.4 framebuffer-bindings-affected-by-to-data-url.html --min-version 1.0.3 rapid-resizing.html +--min-version 1.0.4 render-after-resize-test.html --min-version 1.0.2 texture-bindings-unaffected-on-resize.html --min-version 1.0.2 to-data-url-test.html viewport-unchanged-upon-resize.html - diff --git a/tests/wpt/webgl/tests/conformance/canvas/buffer-offscreen-test.html b/tests/wpt/webgl/tests/conformance/canvas/buffer-offscreen-test.html index 1adbbd12f7f..26c148f7d44 100644 --- a/tests/wpt/webgl/tests/conformance/canvas/buffer-offscreen-test.html +++ b/tests/wpt/webgl/tests/conformance/canvas/buffer-offscreen-test.html @@ -32,8 +32,8 @@ - - + + - + + + + + - - -
- - - -
- should look like -
-
-
-
-
-
-
- - - -
- should look like -
-
-
-
-
-
-
- - +function runTest(preserve) { + var c1 = document.getElementById('c' + (preserve * 3 + 1)); + var c2 = document.getElementById('c' + (preserve * 3 + 2)); + var c3 = document.getElementById('c' + (preserve * 3 + 3)); + var ctx1 = c1.getContext('2d'); + var ctx2 = c2.getContext('2d'); + var gl = wtu.create3DContext(c3, { alpha:false, preserveDrawingBuffer:preserve }); + gl.clearColor(1, 0, 0, 1); + gl.clear(gl.COLOR_BUFFER_BIT); + ctx1.drawImage(c3, 0, 0); + wtu.waitForComposite(function() { + ctx2.drawImage(c3, 0, 0); + checkResult(ctx1, ctx2, preserve); + }); +} + + + +
+ + + +
+should look like +
+
+
+
+
+
+
+ + + +
+should look like +
+
+
+
+
+
+
+ + diff --git a/tests/wpt/webgl/tests/conformance/context/context-attributes-alpha-depth-stencil-antialias.html b/tests/wpt/webgl/tests/conformance/context/context-attributes-alpha-depth-stencil-antialias.html index f0f21c4e109..703662faaa4 100644 --- a/tests/wpt/webgl/tests/conformance/context/context-attributes-alpha-depth-stencil-antialias.html +++ b/tests/wpt/webgl/tests/conformance/context/context-attributes-alpha-depth-stencil-antialias.html @@ -32,8 +32,8 @@ - - + + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/context/context-creation.html b/tests/wpt/webgl/tests/conformance/context/context-creation.html index c7e4bcefb73..237258cc9d9 100644 --- a/tests/wpt/webgl/tests/conformance/context/context-creation.html +++ b/tests/wpt/webgl/tests/conformance/context/context-creation.html @@ -34,9 +34,9 @@ - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/context/context-eviction-with-garbage-collection.html b/tests/wpt/webgl/tests/conformance/context/context-eviction-with-garbage-collection.html index d7d04151b06..5cec355425e 100644 --- a/tests/wpt/webgl/tests/conformance/context/context-eviction-with-garbage-collection.html +++ b/tests/wpt/webgl/tests/conformance/context/context-eviction-with-garbage-collection.html @@ -34,8 +34,8 @@ - - + +
@@ -74,7 +74,7 @@ for (var iter = 0; iter < total_iteration; ++iter) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/context/context-hidden-alpha.html b/tests/wpt/webgl/tests/conformance/context/context-hidden-alpha.html index 0f1193898f9..24e4fb3c294 100644 --- a/tests/wpt/webgl/tests/conformance/context/context-hidden-alpha.html +++ b/tests/wpt/webgl/tests/conformance/context/context-hidden-alpha.html @@ -32,8 +32,8 @@ - - + + - - + + - - + + - - + + diff --git a/tests/wpt/webgl/tests/conformance/context/context-release-with-workers.html b/tests/wpt/webgl/tests/conformance/context/context-release-with-workers.html index 3bd94469b07..74127d165d3 100644 --- a/tests/wpt/webgl/tests/conformance/context/context-release-with-workers.html +++ b/tests/wpt/webgl/tests/conformance/context/context-release-with-workers.html @@ -33,8 +33,8 @@ - - + + diff --git a/tests/wpt/webgl/tests/conformance/context/context-type-test.html b/tests/wpt/webgl/tests/conformance/context/context-type-test.html index d197a24cba0..49427a0970b 100644 --- a/tests/wpt/webgl/tests/conformance/context/context-type-test.html +++ b/tests/wpt/webgl/tests/conformance/context/context-type-test.html @@ -33,8 +33,8 @@ - - + +
@@ -70,7 +70,7 @@ if (!gl) { debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/context/incorrect-context-object-behaviour.html b/tests/wpt/webgl/tests/conformance/context/incorrect-context-object-behaviour.html index 445979775a2..000334f2168 100644 --- a/tests/wpt/webgl/tests/conformance/context/incorrect-context-object-behaviour.html +++ b/tests/wpt/webgl/tests/conformance/context/incorrect-context-object-behaviour.html @@ -32,8 +32,8 @@ - - + +
@@ -46,45 +46,143 @@ description("Tests calling WebGL APIs with objects from other contexts"); var wtu = WebGLTestUtils; var contextA = wtu.create3DContext(); var contextB = wtu.create3DContext(); +var bufferA = contextA.createBuffer(); +var bufferB = contextB.createBuffer(); +var frameBufferA = contextA.createFramebuffer(); +var frameBufferB = contextB.createFramebuffer(); var programA = wtu.loadStandardProgram(contextA); var programB = wtu.loadStandardProgram(contextB); +var renderBufferA = contextA.createRenderbuffer(); +var renderBufferB = contextB.createRenderbuffer(); var shaderA = wtu.loadStandardVertexShader(contextA); var shaderB = wtu.loadStandardVertexShader(contextB); var textureA = contextA.createTexture(); var textureB = contextB.createTexture(); -var frameBufferA = contextA.createFramebuffer(); -var frameBufferB = contextB.createFramebuffer(); -var renderBufferA = contextA.createRenderbuffer(); -var renderBufferB = contextB.createRenderbuffer(); var locationA = contextA.getUniformLocation(programA, 'u_modelViewProjMatrix'); var locationB = contextB.getUniformLocation(programB, 'u_modelViewProjMatrix'); +var uniformData = []; + +function generateFloat32Array(length) { + uniformData = new Float32Array(length); +} + +function generateFloatArray(length) { + uniformData = new Array(length); + for (var i = 0; i < length; i++) { + uniformData[i] = 0.0; + } +} + +function generateInt32Array(length) { + uniformData = new Int32Array(length); +} + +function generateIntArray(length) { + uniformData = new Array(length); + for (var i = 0; i < length; i++) { + uniformData[i] = 0; + } +} + +// Make the bindable objects valid in both contexts first. +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.bindBuffer(contextA.ARRAY_BUFFER, bufferA)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.bindBuffer(contextA.ARRAY_BUFFER, null)"); +wtu.shouldGenerateGLError(contextB, contextB.NO_ERROR, "contextB.bindBuffer(contextB.ARRAY_BUFFER, bufferB)"); +wtu.shouldGenerateGLError(contextB, contextB.NO_ERROR, "contextB.bindBuffer(contextB.ARRAY_BUFFER, null)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.bindFramebuffer(contextA.FRAMEBUFFER, frameBufferA)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.bindFramebuffer(contextA.FRAMEBUFFER, null)"); +wtu.shouldGenerateGLError(contextB, contextB.NO_ERROR, "contextB.bindFramebuffer(contextB.FRAMEBUFFER, frameBufferB)"); +wtu.shouldGenerateGLError(contextB, contextB.NO_ERROR, "contextB.bindFramebuffer(contextB.FRAMEBUFFER, null)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.bindRenderbuffer(contextA.RENDERBUFFER, renderBufferA)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.bindRenderbuffer(contextA.RENDERBUFFER, null)"); +wtu.shouldGenerateGLError(contextB, contextB.NO_ERROR, "contextB.bindRenderbuffer(contextB.RENDERBUFFER, renderBufferB)"); +wtu.shouldGenerateGLError(contextB, contextB.NO_ERROR, "contextB.bindRenderbuffer(contextB.RENDERBUFFER, null)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.bindTexture(contextA.TEXTURE_2D, textureA)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.bindTexture(contextA.TEXTURE_2D, null)"); +wtu.shouldGenerateGLError(contextB, contextB.NO_ERROR, "contextB.bindTexture(contextB.TEXTURE_2D, textureB)"); +wtu.shouldGenerateGLError(contextB, contextB.NO_ERROR, "contextB.bindTexture(contextB.TEXTURE_2D, null)"); -wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.compileShader(shaderB)"); -wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.linkProgram(programB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.attachShader(programA, shaderB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.attachShader(programB, shaderA)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.attachShader(programB, shaderB)"); -wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.detachShader(programA, shaderB)"); -wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.detachShader(programB, shaderA)"); -wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.detachShader(programB, shaderB)"); -wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.shaderSource(shaderB, 'foo')"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.bindAttribLocation(programB, 0, 'foo')"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.bindBuffer(contextA.ARRAY_BUFFER, bufferB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.bindFramebuffer(contextA.FRAMEBUFFER, frameBufferB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.bindRenderbuffer(contextA.RENDERBUFFER, renderBufferB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.bindTexture(contextA.TEXTURE_2D, textureB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.compileShader(shaderB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.deleteBuffer(bufferB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.deleteFramebuffer(frameBufferB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.deleteProgram(programB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.deleteRenderbuffer(renderBufferB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.deleteShader(shaderB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.deleteShader(shaderB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.deleteTexture(textureB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.detachShader(programA, shaderB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.detachShader(programB, shaderA)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.detachShader(programB, shaderB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.framebufferRenderbuffer(contextA.FRAMEBUFFER, contextA.DEPTH_ATTACHMENT, contextA.RENDERBUFFER, renderBufferB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.framebufferTexture2D(contextA.FRAMEBUFFER, contextA.COLOR_ATTACHMENT0, contextA.TEXTURE_2D, textureB, 0)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getActiveAttrib(programB, 0)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getActiveUniform(programB, 0)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getAttachedShaders(programB, 0)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getAttribLocation(programB, 'a_vertex')"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getProgramParameter(programB, 0)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getProgramInfoLog(programB, 0)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getShaderParameter(shaderB, 0)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getShaderInfoLog(shaderB, 0)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getShaderSource(shaderB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getUniform(programB, locationA)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getUniform(programA, locationB)"); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.getUniformLocation(programB, 'u_modelViewProjMatrix')"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.isBuffer(bufferB)"); +shouldBeFalse("contextA.isBuffer(bufferB)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.isFramebuffer(frameBufferB)"); +shouldBeFalse("contextA.isFramebuffer(frameBufferB)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.isProgram(programB)"); +shouldBeFalse("contextA.isProgram(programB)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.isRenderbuffer(renderBufferB)"); +shouldBeFalse("contextA.isRenderbuffer(renderBufferB)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.isShader(shaderB)"); +shouldBeFalse("contextA.isShader(shaderB)"); +wtu.shouldGenerateGLError(contextA, contextA.NO_ERROR, "contextA.isTexture(textureB)"); +shouldBeFalse("contextA.isTexture(textureB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.linkProgram(programB)"); +wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.shaderSource(shaderB, 'foo')"); + wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform1f(locationB, 0.0)"); +generateFloat32Array(1); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform1fv(locationB, uniformData)"); +generateFloatArray(1); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform1fv(locationB, uniformData)"); + wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform1i(locationB, 0)"); +generateInt32Array(1); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform1iv(locationB, uniformData)"); +generateIntArray(1); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform1iv(locationB, uniformData)"); + wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform2f(locationB, 0.0, 0.0)"); +generateFloat32Array(2); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform2fv(locationB, uniformData)"); +generateFloatArray(2); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform2fv(locationB, uniformData)"); + wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform2i(locationB, 0, 0)"); +generateInt32Array(2); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform2iv(locationB, uniformData)"); +generateIntArray(2); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform2iv(locationB, uniformData)"); + wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform3f(locationB, 0.0, 0.0, 0.0)"); +generateFloat32Array(3); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform3fv(locationB, uniformData)"); +generateFloatArray(3); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform3fv(locationB, uniformData)"); + wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform3i(locationB, 0, 0, 0)"); +generateInt32Array(3); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform3iv(locationB, uniformData)"); +generateIntArray(3); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform3iv(locationB, uniformData)"); + wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform4f(locationB, 0.0, 0.0, 0.0, 0.0)"); +generateFloat32Array(4); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform4fv(locationB, uniformData)"); +generateFloatArray(4); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform4fv(locationB, uniformData)"); + wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform4i(locationB, 0, 0, 0, 0)"); +generateInt32Array(4); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform4iv(locationB, uniformData)"); +generateIntArray(4); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniform4iv(locationB, uniformData)"); +generateFloat32Array(4); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniformMatrix2fv(locationB, false, uniformData)"); +generateFloatArray(4); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniformMatrix2fv(locationB, false, uniformData)"); +generateFloat32Array(9); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniformMatrix3fv(locationB, false, uniformData)"); +generateFloatArray(9); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniformMatrix3fv(locationB, false, uniformData)"); +generateFloat32Array(16); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniformMatrix4fv(locationB, false, uniformData)"); +generateFloatArray(16); wtu.shouldGenerateGLError(contextA, contextA.INVALID_OPERATION, "contextA.uniformMatrix4fv(locationB, false, uniformData)"); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/context/methods.html b/tests/wpt/webgl/tests/conformance/context/methods.html index d74ce21ef6f..8cef4d96ea1 100644 --- a/tests/wpt/webgl/tests/conformance/context/methods.html +++ b/tests/wpt/webgl/tests/conformance/context/methods.html @@ -32,8 +32,8 @@ - - + +
@@ -44,147 +44,150 @@ description("This test ensures that the WebGL context has all the methods in the specification."); var methods = [ -"getContextAttributes", -"activeTexture", -"attachShader", -"bindAttribLocation", -"bindBuffer", -"bindFramebuffer", -"bindRenderbuffer", -"bindTexture", -"blendColor", -"blendEquation", -"blendEquationSeparate", -"blendFunc", -"blendFuncSeparate", -"bufferData", -"bufferSubData", -"checkFramebufferStatus", -"clear", -"clearColor", -"clearDepth", -"clearStencil", -"colorMask", -"compileShader", -"compressedTexImage2D", -"compressedTexSubImage2D", -"copyTexImage2D", -"copyTexSubImage2D", -"createBuffer", -"createFramebuffer", -"createProgram", -"createRenderbuffer", -"createShader", -"createTexture", -"cullFace", -"deleteBuffer", -"deleteFramebuffer", -"deleteProgram", -"deleteRenderbuffer", -"deleteShader", -"deleteTexture", -"depthFunc", -"depthMask", -"depthRange", -"detachShader", -"disable", -"disableVertexAttribArray", -"drawArrays", -"drawElements", -"enable", -"enableVertexAttribArray", -"finish", -"flush", -"framebufferRenderbuffer", -"framebufferTexture2D", -"frontFace", -"generateMipmap", -"getActiveAttrib", -"getActiveUniform", -"getAttachedShaders", -"getAttribLocation", -"getParameter", -"getBufferParameter", -"getError", -"getExtension", -"getFramebufferAttachmentParameter", -"getProgramParameter", -"getProgramInfoLog", -"getRenderbufferParameter", -"getShaderParameter", -"getShaderInfoLog", -"getShaderPrecisionFormat", -"getShaderSource", -"getSupportedExtensions", -"getTexParameter", -"getUniform", -"getUniformLocation", -"getVertexAttrib", -"getVertexAttribOffset", -"hint", -"isBuffer", -"isContextLost", -"isEnabled", -"isFramebuffer", -"isProgram", -"isRenderbuffer", -"isShader", -"isTexture", -"lineWidth", -"linkProgram", -"pixelStorei", -"polygonOffset", -"readPixels", -"renderbufferStorage", -"sampleCoverage", -"scissor", -"shaderSource", -"stencilFunc", -"stencilFuncSeparate", -"stencilMask", -"stencilMaskSeparate", -"stencilOp", -"stencilOpSeparate", -"texImage2D", -"texParameterf", -"texParameteri", -"texSubImage2D", -"uniform1f", -"uniform1fv", -"uniform1i", -"uniform1iv", -"uniform2f", -"uniform2fv", -"uniform2i", -"uniform2iv", -"uniform3f", -"uniform3fv", -"uniform3i", -"uniform3iv", -"uniform4f", -"uniform4fv", -"uniform4i", -"uniform4iv", -"uniformMatrix2fv", -"uniformMatrix3fv", -"uniformMatrix4fv", -"useProgram", -"validateProgram", -"vertexAttrib1f", -"vertexAttrib1fv", -"vertexAttrib2f", -"vertexAttrib2fv", -"vertexAttrib3f", -"vertexAttrib3fv", -"vertexAttrib4f", -"vertexAttrib4fv", -"vertexAttribPointer", -"viewport" + "getContextAttributes", + "activeTexture", + "attachShader", + "bindAttribLocation", + "bindBuffer", + "bindFramebuffer", + "bindRenderbuffer", + "bindTexture", + "blendColor", + "blendEquation", + "blendEquationSeparate", + "blendFunc", + "blendFuncSeparate", + "bufferData", + "bufferSubData", + "checkFramebufferStatus", + "clear", + "clearColor", + "clearDepth", + "clearStencil", + "colorMask", + "compileShader", + "compressedTexImage2D", + "compressedTexSubImage2D", + "copyTexImage2D", + "copyTexSubImage2D", + "createBuffer", + "createFramebuffer", + "createProgram", + "createRenderbuffer", + "createShader", + "createTexture", + "cullFace", + "deleteBuffer", + "deleteFramebuffer", + "deleteProgram", + "deleteRenderbuffer", + "deleteShader", + "deleteTexture", + "depthFunc", + "depthMask", + "depthRange", + "detachShader", + "disable", + "disableVertexAttribArray", + "drawArrays", + "drawElements", + "enable", + "enableVertexAttribArray", + "finish", + "flush", + "framebufferRenderbuffer", + "framebufferTexture2D", + "frontFace", + "generateMipmap", + "getActiveAttrib", + "getActiveUniform", + "getAttachedShaders", + "getAttribLocation", + "getParameter", + "getBufferParameter", + "getError", + "getExtension", + "getFramebufferAttachmentParameter", + "getProgramParameter", + "getProgramInfoLog", + "getRenderbufferParameter", + "getShaderParameter", + "getShaderInfoLog", + "getShaderPrecisionFormat", + "getShaderSource", + "getSupportedExtensions", + "getTexParameter", + "getUniform", + "getUniformLocation", + "getVertexAttrib", + "getVertexAttribOffset", + "hint", + "isBuffer", + "isContextLost", + "isEnabled", + "isFramebuffer", + "isProgram", + "isRenderbuffer", + "isShader", + "isTexture", + "lineWidth", + "linkProgram", + "pixelStorei", + "polygonOffset", + "readPixels", + "renderbufferStorage", + "sampleCoverage", + "scissor", + "shaderSource", + "stencilFunc", + "stencilFuncSeparate", + "stencilMask", + "stencilMaskSeparate", + "stencilOp", + "stencilOpSeparate", + "texImage2D", + "texParameterf", + "texParameteri", + "texSubImage2D", + "uniform1f", + "uniform1fv", + "uniform1i", + "uniform1iv", + "uniform2f", + "uniform2fv", + "uniform2i", + "uniform2iv", + "uniform3f", + "uniform3fv", + "uniform3i", + "uniform3iv", + "uniform4f", + "uniform4fv", + "uniform4i", + "uniform4iv", + "uniformMatrix2fv", + "uniformMatrix3fv", + "uniformMatrix4fv", + "useProgram", + "validateProgram", + "vertexAttrib1f", + "vertexAttrib1fv", + "vertexAttrib2f", + "vertexAttrib2fv", + "vertexAttrib3f", + "vertexAttrib3fv", + "vertexAttrib4f", + "vertexAttrib4fv", + "vertexAttribPointer", + "viewport" ]; // Properties to be ignored because they were added in versions of the // spec that are backward-compatible with this version var ignoredMethods = [ + // There is no official spec for the commit API yet, the proposal link is: + // https://wiki.whatwg.org/wiki/OffscreenCanvas + "commit" ]; function assertFunction(v, f) { @@ -232,7 +235,7 @@ if (!extended) { debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/context/premultiplyalpha-test.html b/tests/wpt/webgl/tests/conformance/context/premultiplyalpha-test.html index 87b4a0320ba..4f63c2ef232 100644 --- a/tests/wpt/webgl/tests/conformance/context/premultiplyalpha-test.html +++ b/tests/wpt/webgl/tests/conformance/context/premultiplyalpha-test.html @@ -33,8 +33,8 @@ - - + +
@@ -199,7 +199,7 @@ function doNextTest() { var pngTex = gl.createTexture(); // not needed as it's the default // gl.pixelStorei(gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, false); - gl.pixelStorei(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, gl.NONE); + wtu.failIfGLError(gl, 'gl.pixelStorei(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, gl.NONE);'); gl.bindTexture(gl.TEXTURE_2D, pngTex); if (test.imageFormat) { // create texture from image diff --git a/tests/wpt/webgl/tests/conformance/context/resource-sharing-test.html b/tests/wpt/webgl/tests/conformance/context/resource-sharing-test.html deleted file mode 100644 index 10f19562a17..00000000000 --- a/tests/wpt/webgl/tests/conformance/context/resource-sharing-test.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - WebGL Resource Sharing. - - - - - - - - - -
-
- - - - - diff --git a/tests/wpt/webgl/tests/conformance/context/resources/context-release-child-with-worker.html b/tests/wpt/webgl/tests/conformance/context/resources/context-release-child-with-worker.html index f61e66a8e8f..31cba6acdc0 100644 --- a/tests/wpt/webgl/tests/conformance/context/resources/context-release-child-with-worker.html +++ b/tests/wpt/webgl/tests/conformance/context/resources/context-release-child-with-worker.html @@ -27,52 +27,50 @@ - + - Simple WebGL context with Worker - +Simple WebGL context with Worker + - - + + - + - +if (parent) { + window.glContext = gl; + parent.postMessage("Ready", "*"); +} + diff --git a/tests/wpt/webgl/tests/conformance/context/resources/context-release-upon-reload-child.html b/tests/wpt/webgl/tests/conformance/context/resources/context-release-upon-reload-child.html index 95ad1653f21..87058e9fa0d 100644 --- a/tests/wpt/webgl/tests/conformance/context/resources/context-release-upon-reload-child.html +++ b/tests/wpt/webgl/tests/conformance/context/resources/context-release-upon-reload-child.html @@ -27,51 +27,49 @@ - + - Simple WebGL context - +Simple WebGL context + - - + + - + - +if (parent) { + window.glContext = gl; + parent.postMessage("Ready", "*"); +} + diff --git a/tests/wpt/webgl/tests/conformance/extensions/00_test_list.txt b/tests/wpt/webgl/tests/conformance/extensions/00_test_list.txt index 49609cbaaf2..07707228456 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/extensions/00_test_list.txt @@ -1,34 +1,39 @@ ---min-version 1.0.3 angle-instanced-arrays.html ---min-version 1.0.3 angle-instanced-arrays-out-of-bounds.html ---min-version 1.0.3 ext-blend-minmax.html ---min-version 1.0.3 ext-frag-depth.html ---min-version 1.0.3 ext-shader-texture-lod.html ---min-version 1.0.3 ext-sRGB.html +--min-version 1.0.3 --max-version 1.9.9 angle-instanced-arrays.html +--min-version 1.0.3 --max-version 1.9.9 angle-instanced-arrays-out-of-bounds.html +--min-version 1.0.3 --max-version 1.9.9 ext-blend-minmax.html +--min-version 1.0.4 ext-disjoint-timer-query.html +--min-version 1.0.3 --max-version 1.9.9 ext-frag-depth.html +--min-version 1.0.3 --max-version 1.9.9 ext-shader-texture-lod.html +--min-version 1.0.3 --max-version 1.9.9 ext-sRGB.html --min-version 1.0.2 ext-texture-filter-anisotropic.html --min-version 1.0.2 get-extension.html -oes-standard-derivatives.html -oes-texture-float-with-canvas.html -oes-texture-float-with-image-data.html -oes-texture-float-with-image.html -oes-texture-float-with-video.html -oes-texture-float.html -oes-vertex-array-object.html ---min-version 1.0.3 oes-vertex-array-object-bufferData.html ---min-version 1.0.3 oes-texture-half-float.html +--max-version 1.9.9 oes-standard-derivatives.html +--max-version 1.9.9 oes-texture-float-with-canvas.html +--max-version 1.9.9 oes-texture-float-with-image-data.html +--max-version 1.9.9 oes-texture-float-with-image.html +--max-version 1.9.9 oes-texture-float-with-video.html +--max-version 1.9.9 oes-texture-float.html +--max-version 1.9.9 oes-vertex-array-object.html +--min-version 1.0.3 --max-version 1.9.9 oes-vertex-array-object-bufferData.html +--min-version 1.0.3 --max-version 1.9.9 oes-texture-half-float.html --min-version 1.0.3 oes-texture-float-linear.html ---min-version 1.0.3 oes-texture-half-float-linear.html ---min-version 1.0.3 oes-texture-half-float-with-canvas.html ---min-version 1.0.3 oes-texture-half-float-with-image-data.html ---min-version 1.0.3 oes-texture-half-float-with-image.html ---min-version 1.0.3 oes-texture-half-float-with-video.html ---min-version 1.0.2 oes-element-index-uint.html +--min-version 1.0.3 --max-version 1.9.9 oes-texture-half-float-linear.html +--min-version 1.0.3 --max-version 1.9.9 oes-texture-half-float-with-canvas.html +--min-version 1.0.3 --max-version 1.9.9 oes-texture-half-float-with-image-data.html +--min-version 1.0.3 --max-version 1.9.9 oes-texture-half-float-with-image.html +--min-version 1.0.3 --max-version 1.9.9 oes-texture-half-float-with-video.html +--min-version 1.0.2 --max-version 1.9.9 oes-element-index-uint.html webgl-debug-renderer-info.html webgl-debug-shaders.html ---min-version 1.0.3 webgl-compressed-texture-atc.html +--min-version 1.0.4 webgl-compressed-texture-astc.html +--min-version 1.0.4 webgl-compressed-texture-etc.html --min-version 1.0.3 webgl-compressed-texture-pvrtc.html --min-version 1.0.2 webgl-compressed-texture-s3tc.html +--min-version 1.0.4 webgl-compressed-texture-s3tc-srgb.html --min-version 1.0.3 webgl-compressed-texture-size-limit.html ---min-version 1.0.2 webgl-depth-texture.html ---min-version 1.0.3 webgl-draw-buffers.html ---min-version 1.0.3 webgl-shared-resources.html - +--min-version 1.0.2 --max-version 1.9.9 webgl-depth-texture.html +--min-version 1.0.3 --max-version 1.9.9 webgl-draw-buffers.html +--min-version 1.0.4 --max-version 1.9.9 webgl-draw-buffers-broadcast-return.html +--min-version 1.0.3 --max-version 1.9.9 webgl-draw-buffers-feedback-loop.html +--min-version 1.0.4 --max-version 1.9.9 webgl-draw-buffers-framebuffer-unsupported.html +--min-version 1.0.4 --max-version 1.9.9 webgl-draw-buffers-max-draw-buffers.html diff --git a/tests/wpt/webgl/tests/conformance/extensions/angle-instanced-arrays-out-of-bounds.html b/tests/wpt/webgl/tests/conformance/extensions/angle-instanced-arrays-out-of-bounds.html index bd9e71f0a6b..b2021708717 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/angle-instanced-arrays-out-of-bounds.html +++ b/tests/wpt/webgl/tests/conformance/extensions/angle-instanced-arrays-out-of-bounds.html @@ -32,9 +32,9 @@ - - - + + +
@@ -74,6 +74,6 @@ if (!ext) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/angle-instanced-arrays.html b/tests/wpt/webgl/tests/conformance/extensions/angle-instanced-arrays.html index ee58314179f..1dd1af2902e 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/angle-instanced-arrays.html +++ b/tests/wpt/webgl/tests/conformance/extensions/angle-instanced-arrays.html @@ -33,9 +33,9 @@ - - - + + +
@@ -61,6 +61,21 @@ void main() { } + + + + - - + +
@@ -233,15 +233,16 @@ function runUniqueObjectTest() { debug(""); debug("Testing that getExtension() returns the same object each time"); + ext = null; gl.getExtension("EXT_blend_minmax").myProperty = 2; - gc(); + webglHarnessCollectGarbage(); shouldBe('gl.getExtension("EXT_blend_minmax").myProperty', '2'); } debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/ext-disjoint-timer-query.html b/tests/wpt/webgl/tests/conformance/extensions/ext-disjoint-timer-query.html index f15b3a730a5..fbc5fb8e629 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/ext-disjoint-timer-query.html +++ b/tests/wpt/webgl/tests/conformance/extensions/ext-disjoint-timer-query.html @@ -67,19 +67,24 @@ if (!gl) { testPassed("No EXT_disjoint_timer_query support -- this is legal"); finishTest(); } else { - runSanityTests(); + if (wtu.getDefault3DContextVersion() > 1) { + testFailed("EXT_disjoint_timer_query must not be advertised on WebGL 2.0 contexts"); + finishTest(); + } else { + runSanityTests(); - // Clear disjoint value. - gl.getParameter(ext.GPU_DISJOINT_EXT); + // Clear disjoint value. + gl.getParameter(ext.GPU_DISJOINT_EXT); - runElapsedTimeTest(); - timestamp_counter_bits = ext.getQueryEXT(ext.TIMESTAMP_EXT, ext.QUERY_COUNTER_BITS_EXT); - if (timestamp_counter_bits > 0) { - runTimeStampTest(); + runElapsedTimeTest(); + timestamp_counter_bits = ext.getQueryEXT(ext.TIMESTAMP_EXT, ext.QUERY_COUNTER_BITS_EXT); + if (timestamp_counter_bits > 0) { + runTimeStampTest(); + } + verifyQueryResultsNotAvailable(); + + window.requestAnimationFrame(checkQueryResults); } - verifyQueryResultsNotAvailable(); - - window.requestAnimationFrame(checkQueryResults); } } diff --git a/tests/wpt/webgl/tests/conformance/extensions/ext-frag-depth.html b/tests/wpt/webgl/tests/conformance/extensions/ext-frag-depth.html index 4599690dc35..64630e2bec3 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/ext-frag-depth.html +++ b/tests/wpt/webgl/tests/conformance/extensions/ext-frag-depth.html @@ -33,8 +33,8 @@ - - + +
@@ -108,28 +108,44 @@ var canvas = document.getElementById("canvas"); var gl = wtu.create3DContext(canvas); var ext = null; -if (!gl) { - testFailed("WebGL context does not exist"); -} else { - testPassed("WebGL context exists"); +// Run all tests once. +runAllTests(); - runShaderTests(false); +// Run all tests against with a new context to test for any cache issues. +debug(""); +debug("Testing new context to catch cache errors"); +gl = wtu.create3DContext(); +ext = null; +runAllTests(); - // Query the extension and store globally so shouldBe can access it - ext = wtu.getExtensionWithKnownPrefixes(gl, "EXT_frag_depth"); - if (!ext) { - testPassed("No EXT_frag_depth support -- this is legal"); - - runSupportedTest(false); +function runAllTests() { + if (!gl) { + testFailed("WebGL context does not exist"); } else { - testPassed("Successfully enabled EXT_frag_depth extension"); + testPassed("WebGL context exists"); - runSupportedTest(true); + runShaderTests(false); - runShaderTests(true); - runOutputTests(); - runUniqueObjectTest(); + // Query the extension and store globally so shouldBe can access it + ext = wtu.getExtensionWithKnownPrefixes(gl, "EXT_frag_depth"); + if (!ext) { + testPassed("No EXT_frag_depth support -- this is legal"); + + runSupportedTest(false); + } else { + testPassed("Successfully enabled EXT_frag_depth extension"); + + runSupportedTest(true); + + runShaderTests(true); + runOutputTests(); + runUniqueObjectTest(); + + // Run deferred link tests. + runDeferredLinkTests(); + } } + } function runSupportedTest(extensionEnabled) { @@ -229,15 +245,68 @@ function runOutputTests() { function runUniqueObjectTest() { debug("Testing that getExtension() returns the same object each time"); + ext = null; gl.getExtension("EXT_frag_depth").myProperty = 2; - gc(); + webglHarnessCollectGarbage(); shouldBe('gl.getExtension("EXT_frag_depth").myProperty', '2'); } +function runDeferredLinkTests() { + debug(""); + debug("Testing deferred shader compilation tests."); + + // Test for compilation failures that are caused by missing extensions + // do not succeed if extensions are enabled during linking. This would + // only happen for deferred shader compilations. + + // First test if link succeeds with extension enabled. + var glEnabled = wtu.create3DContext(); + var extEnabled = glEnabled.getExtension("EXT_frag_depth"); + if (!extEnabled) { + testFailed("Deferred link test expects the extension to be supported"); + } + + var vertexShader = wtu.loadShaderFromScript(glEnabled, "goodVertexShader"); + var fragmentShader = wtu.loadShaderFromScript(glEnabled, "macroFragmentShader"); + + if (!vertexShader || !fragmentShader) { + testFailed("Could not create good shaders."); + return; + } + + var program = wtu.setupProgram(glEnabled, [vertexShader, fragmentShader]); + + if (!program) { + testFailed("Compilation with extension enabled failed."); + return; + } + + // Create new context to test link failure without extension enabled. + var glDeferred = wtu.create3DContext(); + + var vertexShader = wtu.loadShaderFromScript(glDeferred, "goodVertexShader", glDeferred.VERTEX_SHADER, undefined, undefined, true); + var fragmentShader = wtu.loadShaderFromScript(glDeferred, "macroFragmentShader", glDeferred.FRAGMENT_SHADER, undefined, undefined, true); + + if (vertexShader == null || fragmentShader == null) { + testFailed("Could not create shaders."); + return; + } + + // Shader compilations should have failed due to extensions not enabled. + glDeferred.getExtension("EXT_frag_depth"); + var program = wtu.setupProgram(glDeferred, [vertexShader, fragmentShader]); + if (program) { + testFailed("Compilation with extension disabled then linking with extension enabled should have failed."); + return; + } + + testPassed("Compilation with extension disabled then linking with extension enabled."); +} + debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/ext-sRGB.html b/tests/wpt/webgl/tests/conformance/extensions/ext-sRGB.html index e61c81035d9..0761fdada5d 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/ext-sRGB.html +++ b/tests/wpt/webgl/tests/conformance/extensions/ext-sRGB.html @@ -5,9 +5,8 @@ - - - + +
@@ -30,6 +29,27 @@ void main() { } + + + + - - diff --git a/tests/wpt/webgl/tests/conformance/extensions/ext-shader-texture-lod.html b/tests/wpt/webgl/tests/conformance/extensions/ext-shader-texture-lod.html index e63a22ed592..609ceffb29a 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/ext-shader-texture-lod.html +++ b/tests/wpt/webgl/tests/conformance/extensions/ext-shader-texture-lod.html @@ -32,13 +32,14 @@ - - - + + +
- + +
@@ -46,9 +47,11 @@ @@ -118,35 +121,50 @@ debug(""); var wtu = WebGLTestUtils; var canvas = document.getElementById("canvas"); -canvas.width = 256; canvas.height = 256; - var gl = wtu.create3DContext(canvas); var ext = null; -if (!gl) { - testFailed("WebGL context does not exist"); -} else { - testPassed("WebGL context exists"); +// Run all tests once. +runAllTests(); - // Run tests with extension disabled - runShaderTests(false); +// Run all tests against with a new context to test for any cache issues. +debug(""); +debug("Testing new context to catch cache errors"); +var canvas2 = document.getElementById("canvas2"); +gl = wtu.create3DContext(canvas2); +ext = null; +runAllTests(); - // Query the extension and store globally so shouldBe can access it - ext = gl.getExtension("EXT_shader_texture_lod"); - if (!ext) { - testPassed("No EXT_shader_texture_lod support -- this is legal"); - - runSupportedTest(false); +function runAllTests() { + if (!gl) { + testFailed("WebGL context does not exist"); } else { - testPassed("Successfully enabled EXT_shader_texture_lod extension"); + testPassed("WebGL context exists"); - runSupportedTest(true); + // Run tests with extension disabled + runShaderTests(false); - runShaderTests(true); - runOutputTests(); - runUniqueObjectTest(); - runReferenceCycleTest(); + // Query the extension and store globally so shouldBe can access it + ext = gl.getExtension("EXT_shader_texture_lod"); + if (!ext) { + testPassed("No EXT_shader_texture_lod support -- this is legal"); + + runSupportedTest(false); + } else { + testPassed("Successfully enabled EXT_shader_texture_lod extension"); + + runSupportedTest(true); + + runShaderTests(true); + runOutputTests(); + runUniqueObjectTest(); + runReferenceCycleTest(); + + // Run deferred link tests. + runDeferredLinkTests(); + } } + } function runSupportedTest(extensionEnabled) { @@ -264,8 +282,9 @@ function runUniqueObjectTest() { debug(""); debug("Testing that getExtension() returns the same object each time"); + ext = null; gl.getExtension("EXT_shader_texture_lod").myProperty = 2; - gc(); + webglHarnessCollectGarbage(); shouldBe('gl.getExtension("EXT_shader_texture_lod").myProperty', '2'); } @@ -284,10 +303,62 @@ function runReferenceCycleTest() ext.ext = ext; } +function runDeferredLinkTests() { + debug(""); + debug("Testing deferred shader compilation tests."); + + // Test for compilation failures that are caused by missing extensions + // do not succeed if extensions are enabled during linking. This would + // only happen for deferred shader compilations. + + // First test if link succeeds with extension enabled. + var glEnabled = wtu.create3DContext(); + var extEnabled = glEnabled.getExtension("EXT_shader_texture_lod"); + if (!extEnabled) { + testFailed("Deferred link test expects the extension to be supported"); + } + + var vertexShader = wtu.loadShaderFromScript(glEnabled, "goodVertexShader"); + var fragmentShader = wtu.loadShaderFromScript(glEnabled, "macroFragmentShader"); + + if (!vertexShader || !fragmentShader) { + testFailed("Could not create good shaders."); + return; + } + + var program = wtu.setupProgram(glEnabled, [vertexShader, fragmentShader]); + + if (!program) { + testFailed("Compilation with extension enabled failed."); + return; + } + + // Create new context to test link failure without extension enabled. + var glDeferred = wtu.create3DContext(); + + var vertexShader = wtu.loadShaderFromScript(glDeferred, "goodVertexShader", glDeferred.VERTEX_SHADER, undefined, undefined, true); + var fragmentShader = wtu.loadShaderFromScript(glDeferred, "macroFragmentShader", glDeferred.FRAGMENT_SHADER, undefined, undefined, true); + + if (vertexShader == null || fragmentShader == null) { + testFailed("Could not create shaders."); + return; + } + + // Shader compilations should have failed due to extensions not enabled. + glDeferred.getExtension("EXT_shader_texture_lod"); + var program = wtu.setupProgram(glDeferred, [vertexShader, fragmentShader]); + if (program) { + testFailed("Compilation with extension disabled then linking with extension enabled should have failed."); + return; + } + + testPassed("Compilation with extension disabled then linking with extension enabled."); +} + debug(""); successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/ext-texture-filter-anisotropic.html b/tests/wpt/webgl/tests/conformance/extensions/ext-texture-filter-anisotropic.html index ea6ff9c8679..b17bd439561 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/ext-texture-filter-anisotropic.html +++ b/tests/wpt/webgl/tests/conformance/extensions/ext-texture-filter-anisotropic.html @@ -33,8 +33,8 @@ - - + +
@@ -186,7 +186,7 @@ function runHintTestEnabled() { debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/get-extension.html b/tests/wpt/webgl/tests/conformance/extensions/get-extension.html index 39bba38ae13..9922b5daec7 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/get-extension.html +++ b/tests/wpt/webgl/tests/conformance/extensions/get-extension.html @@ -33,8 +33,8 @@ - - + +
@@ -91,7 +91,7 @@ for (ii = 0; ii < extensionNames.length; ++ii) { extension.testNumberProperty = kTestNumber; extension.testFunctionProperty = kTestFunction; extension.testObjectProperty = kTestObject; - gc(); + webglHarnessCollectGarbage(); var extension2 = gl.getExtension(originalName); assertMsg( extension === extension2, @@ -116,7 +116,7 @@ for (ii = 0; ii < extensionNames.length; ++ii) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-element-index-uint.html b/tests/wpt/webgl/tests/conformance/extensions/oes-element-index-uint.html index add8bdd603f..2c0dc16051d 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-element-index-uint.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-element-index-uint.html @@ -33,8 +33,8 @@ - - + + - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-standard-derivatives.html b/tests/wpt/webgl/tests/conformance/extensions/oes-standard-derivatives.html index 8f5fdb39869..190a682f83f 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-standard-derivatives.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-standard-derivatives.html @@ -33,8 +33,8 @@ - - + +
@@ -120,31 +120,47 @@ var canvas = document.getElementById("canvas"); var gl = wtu.create3DContext(canvas); var ext = null; -if (!gl) { - testFailed("WebGL context does not exist"); -} else { - testPassed("WebGL context exists"); +// Run all tests once. +runAllTests(); - // Run tests with extension disabled - runHintTestDisabled(); - runShaderTests(false); +// Run all tests against with a new context to test for any cache issues. +debug(""); +debug("Testing new context to catch cache errors"); +gl = wtu.create3DContext(); +ext = null; +runAllTests(); - // Query the extension and store globally so shouldBe can access it - ext = gl.getExtension("OES_standard_derivatives"); - if (!ext) { - testPassed("No OES_standard_derivatives support -- this is legal"); - - runSupportedTest(false); +function runAllTests() { + if (!gl) { + testFailed("WebGL context does not exist"); } else { - testPassed("Successfully enabled OES_standard_derivatives extension"); + testPassed("WebGL context exists"); - runSupportedTest(true); + // Run tests with extension disabled + runHintTestDisabled(); + runShaderTests(false); - runHintTestEnabled(); - runShaderTests(true); - runOutputTests(); - runUniqueObjectTest(); + // Query the extension and store globally so shouldBe can access it + ext = gl.getExtension("OES_standard_derivatives"); + if (!ext) { + testPassed("No OES_standard_derivatives support -- this is legal"); + + runSupportedTest(false); + } else { + testPassed("Successfully enabled OES_standard_derivatives extension"); + + runSupportedTest(true); + + runHintTestEnabled(); + runShaderTests(true); + runOutputTests(); + runUniqueObjectTest(); + + // Run deferred link tests. + runDeferredLinkTests(); + } } + } function runSupportedTest(extensionEnabled) { @@ -340,15 +356,68 @@ function runOutputTests() { function runUniqueObjectTest() { debug("Testing that getExtension() returns the same object each time"); + ext = null; gl.getExtension("OES_standard_derivatives").myProperty = 2; - gc(); + webglHarnessCollectGarbage(); shouldBe('gl.getExtension("OES_standard_derivatives").myProperty', '2'); } +function runDeferredLinkTests() { + debug(""); + debug("Testing deferred shader compilation tests."); + + // Test for compilation failures that are caused by missing extensions + // do not succeed if extensions are enabled during linking. This would + // only happen for deferred shader compilations. + + // First test if link succeeds with extension enabled. + var glEnabled = wtu.create3DContext(); + var extEnabled = glEnabled.getExtension("OES_standard_derivatives"); + if (!extEnabled) { + testFailed("Deferred link test expects the extension to be supported"); + } + + var vertexShader = wtu.loadShaderFromScript(glEnabled, "goodVertexShader"); + var fragmentShader = wtu.loadShaderFromScript(glEnabled, "macroFragmentShader"); + + if (!vertexShader || !fragmentShader) { + testFailed("Could not create good shaders."); + return; + } + + var program = wtu.setupProgram(glEnabled, [vertexShader, fragmentShader]); + + if (!program) { + testFailed("Compilation with extension enabled failed."); + return; + } + + // Create new context to test link failure without extension enabled. + var glDeferred = wtu.create3DContext(); + + var vertexShader = wtu.loadShaderFromScript(glDeferred, "goodVertexShader", glDeferred.VERTEX_SHADER, undefined, undefined, true); + var fragmentShader = wtu.loadShaderFromScript(glDeferred, "macroFragmentShader", glDeferred.FRAGMENT_SHADER, undefined, undefined, true); + + if (vertexShader == null || fragmentShader == null) { + testFailed("Could not create shaders."); + return; + } + + // Shader compilations should have failed due to extensions not enabled. + glDeferred.getExtension("OES_standard_derivatives"); + var program = wtu.setupProgram(glDeferred, [vertexShader, fragmentShader]); + if (program) { + testFailed("Compilation with extension disabled then linking with extension enabled should have failed."); + return; + } + + testPassed("Compilation with extension disabled then linking with extension enabled."); +} + debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-linear.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-linear.html index 21df7b2c382..2be7fb3d60e 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-linear.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-linear.html @@ -32,9 +32,9 @@ - - - + + + - - - + + + + - +
diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-image-data.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-image-data.html index 70070d5960e..dcea390f9a1 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-image-data.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-image-data.html @@ -32,9 +32,10 @@ - - - + + + + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-image.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-image.html index 5b9832460b1..376fedee8cb 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-image.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-image.html @@ -32,9 +32,10 @@ - - - + + + + - +
diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-video.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-video.html index d8374728238..adbe43e577b 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-video.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float-with-video.html @@ -32,9 +32,10 @@ - - - + + + + - +
diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float.html index 4c00492fe25..e9d1e20e135 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-float.html @@ -33,8 +33,8 @@ - - + +
@@ -84,41 +84,72 @@ var canvas = document.getElementById("canvas"); var gl = wtu.create3DContext(canvas); if (!gl) { - testFailed("WebGL context does not exist"); + testFailed("WebGL context does not exist"); } else { - testPassed("WebGL context exists"); + testPassed("WebGL context exists"); - var texturedShaders = [ - wtu.setupSimpleTextureVertexShader(gl), - "testFragmentShader" - ]; - var testProgram = - wtu.setupProgram(gl, - texturedShaders, - ['vPosition', 'texCoord0'], - [0, 1]); - var quadParameters = wtu.setupUnitQuad(gl, 0, 1); + var texturedShaders = [ + wtu.simpleTextureVertexShader, + "testFragmentShader" + ]; + var testProgram = + wtu.setupProgram(gl, + texturedShaders, + ['vPosition', 'texCoord0'], + [0, 1]); + var quadParameters = wtu.setupUnitQuad(gl, 0, 1); - // First verify that allocation of floating-point textures fails if - // the extension has not been enabled yet. - runTextureCreationTest(testProgram, false); + // First verify that allocation of floating-point textures fails if + // the extension has not been enabled yet. + runTextureCreationTest(testProgram, false); - if (!gl.getExtension("OES_texture_float")) { - testPassed("No OES_texture_float support -- this is legal"); - } else { - testPassed("Successfully enabled OES_texture_float extension"); - // If alpha value is missing from a texture it gets filled to 1 when sampling according to GLES2.0 table 3.12 - runTextureCreationTest(testProgram, true, gl.RGBA, 4, [10000, 10000, 10000, 10000]); - runTextureCreationTest(testProgram, true, gl.RGB, 3, [10000, 10000, 10000, 1]); - runTextureCreationTest(testProgram, true, gl.LUMINANCE, 1, [10000, 10000, 10000, 1]); - runTextureCreationTest(testProgram, true, gl.ALPHA, 1, [0, 0, 0, 10000]); - runTextureCreationTest(testProgram, true, gl.LUMINANCE_ALPHA, 2, [10000, 10000, 10000, 10000]); - runRenderTargetAndReadbackTest(testProgram, gl.RGBA, 4, [10000, 10000, 10000, 10000], 0); - runRenderTargetAndReadbackTest(testProgram, gl.RGB, 3, [10000, 10000, 10000, 1], 0); - runRenderTargetAndReadbackTest(testProgram, gl.RGBA, 4, [10000, 10000, 10000, 10000], 1); - runRenderTargetAndReadbackTest(testProgram, gl.RGBA, 4, [10000, 10000, 10000, 10000], 0.5); - runUniqueObjectTest(); - } + if (!gl.getExtension("OES_texture_float")) { + testPassed("No OES_texture_float support -- this is legal"); + } else { + testPassed("Successfully enabled OES_texture_float extension"); + // If alpha value is missing from a texture it gets filled to 1 when sampling according to GLES2.0 table 3.12 + runTextureCreationTest(testProgram, true, gl.RGBA, 4, [10000, 10000, 10000, 10000]); + runTextureCreationTest(testProgram, true, gl.RGB, 3, [10000, 10000, 10000, 1]); + runTextureCreationTest(testProgram, true, gl.LUMINANCE, 1, [10000, 10000, 10000, 1]); + runTextureCreationTest(testProgram, true, gl.ALPHA, 1, [0, 0, 0, 10000]); + runTextureCreationTest(testProgram, true, gl.LUMINANCE_ALPHA, 2, [10000, 10000, 10000, 10000]); + + (function() { + debug(""); + var renderable = isRenderable(gl); + var renderableExtName = "WEBGL_color_buffer_float"; + var supported = gl.getSupportedExtensions().includes(renderableExtName); + if (renderable && !supported) { + testFailed("RGBA/FLOAT is color renderable but " + renderableExtName + " not exposed"); + } else if (supported && !renderable) { + testFailed(renderableExtName + " is exposed but RGBA/FLOAT is not color renderable"); + } + if (supported) { + runRenderTargetAndReadbackTest(testProgram, gl.RGBA, 4, [10000, 10000, 10000, 10000], 0, true); + runRenderTargetAndReadbackTest(testProgram, gl.RGB, 3, [10000, 10000, 10000, 1], 0, false); + runRenderTargetAndReadbackTest(testProgram, gl.RGBA, 4, [10000, 10000, 10000, 10000], 1, true); + runRenderTargetAndReadbackTest(testProgram, gl.RGBA, 4, [10000, 10000, 10000, 10000], 0.5, true); + } + })(); + + runUniqueObjectTest(); + } +} + +function isRenderable(gl) { + var tex = gl.createTexture(); + gl.bindTexture(gl.TEXTURE_2D, tex); + gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 1, 1, 0, gl.RGBA, gl.FLOAT, null); + + var fb = gl.createFramebuffer(); + gl.bindFramebuffer(gl.FRAMEBUFFER, fb); + gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, tex, 0); + + var status = gl.checkFramebufferStatus(gl.FRAMEBUFFER); + gl.deleteFramebuffer(fb); + gl.deleteTexture(tex); + + return status == gl.FRAMEBUFFER_COMPLETE; } function allocateTexture() @@ -183,15 +214,15 @@ function arrayToString(arr, size) { mySize = size; var out = "["; for (var ii = 0; ii < mySize; ++ii) { - if (ii > 0) { - out += ", "; - } - out += arr[ii]; + if (ii > 0) { + out += ", "; + } + out += arr[ii]; } return out + "]"; } -function runRenderTargetAndReadbackTest(testProgram, format, numberOfChannels, subtractor, texSubImageCover) +function runRenderTargetAndReadbackTest(testProgram, format, numberOfChannels, subtractor, texSubImageCover, requireRenderable) { var formatString = wtu.glEnumToString(gl, format); debug(""); @@ -211,7 +242,10 @@ function runRenderTargetAndReadbackTest(testProgram, format, numberOfChannels, s // It is legal for a WebGL implementation exposing the OES_texture_float extension to // support floating-point textures but not as attachments to framebuffer objects. if (gl.checkFramebufferStatus(gl.FRAMEBUFFER) != gl.FRAMEBUFFER_COMPLETE) { - debug("floating-point " + formatString + " render target not supported -- this is legal"); + if (requireRenderable) + testFailed("floating-point " + formatString + " render target not supported"); + else + debug("floating-point " + formatString + " render target not supported -- this is legal"); return; } @@ -252,26 +286,26 @@ function runRenderTargetAndReadbackTest(testProgram, format, numberOfChannels, s var implType = gl.getParameter(gl.IMPLEMENTATION_COLOR_READ_TYPE); wtu.glErrorShouldBe(gl, gl.NO_ERROR, "getParameter of IMPLEMENTATION_COLOR_READ_{FORMAT|TYPE} should succeed"); if ((implFormat == gl.RGBA || implFormat == gl.RGB) && implType == gl.FLOAT) { - debug("Checking readback of floating-point values"); - var arraySize = (implFormat == gl.RGBA) ? 4 : 3 - var buf = new Float32Array(arraySize); - gl.readPixels(0, 0, 1, 1, implFormat, implType , buf); - wtu.glErrorShouldBe(gl, gl.NO_ERROR, "readPixels from floating-point renderbuffer should succeed"); - var ok = true; - var tolerance = 8.0; // TODO: factor this out from both this test and the subtractor shader above. - for (var ii = 0; ii < buf.length; ++ii) { - if (Math.abs(buf[ii] - subtractor[ii]) > tolerance) { - ok = false; - break; - } - } - if (ok) { - testPassed("readPixels of float-type data from floating-point renderbuffer succeeded"); - } else { - testFailed("readPixels of float-type data from floating-point renderbuffer failed: expected " - + arrayToString(subtractor, arraySize) + ", got " + arrayToString(buf)); + debug("Checking readback of floating-point values"); + var arraySize = (implFormat == gl.RGBA) ? 4 : 3 + var buf = new Float32Array(arraySize); + gl.readPixels(0, 0, 1, 1, implFormat, implType , buf); + wtu.glErrorShouldBe(gl, gl.NO_ERROR, "readPixels from floating-point renderbuffer should succeed"); + var ok = true; + var tolerance = 8.0; // TODO: factor this out from both this test and the subtractor shader above. + for (var ii = 0; ii < buf.length; ++ii) { + if (Math.abs(buf[ii] - subtractor[ii]) > tolerance) { + ok = false; + break; } } + if (ok) { + testPassed("readPixels of float-type data from floating-point renderbuffer succeeded"); + } else { + testFailed("readPixels of float-type data from floating-point renderbuffer failed: expected " + + arrayToString(subtractor, arraySize) + ", got " + arrayToString(buf)); + } + } } function runUniqueObjectTest() @@ -279,7 +313,7 @@ function runUniqueObjectTest() debug(""); debug("Testing that getExtension() returns the same object each time"); gl.getExtension("OES_texture_float").myProperty = 2; - gc(); + webglHarnessCollectGarbage(); shouldBe('gl.getExtension("OES_texture_float").myProperty', '2'); } @@ -287,7 +321,7 @@ function runUniqueObjectTest() debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-linear.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-linear.html index 6e130a121d3..022facfc29b 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-linear.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-linear.html @@ -32,9 +32,9 @@ - - - + + + - - - + + + + - +
diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-image-data.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-image-data.html index eaf1a568609..04a11b0783f 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-image-data.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-image-data.html @@ -32,9 +32,10 @@ - - - + + + + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-image.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-image.html index 193d424a3a7..9effa28b368 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-image.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-image.html @@ -32,9 +32,10 @@ - - - + + + + - +
diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-video.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-video.html index d325602f5b1..378e863ef74 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-video.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float-with-video.html @@ -32,9 +32,10 @@ - - - + + + + - +
diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float.html b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float.html index 792da43e263..b8ae1661ab8 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-texture-half-float.html @@ -33,8 +33,8 @@ - - + +
@@ -60,13 +60,6 @@ void main() } - - + diff --git a/tests/wpt/webgl/tests/conformance/extensions/oes-vertex-array-object-bufferData.html b/tests/wpt/webgl/tests/conformance/extensions/oes-vertex-array-object-bufferData.html index ee8db23bf36..088337ae77a 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/oes-vertex-array-object-bufferData.html +++ b/tests/wpt/webgl/tests/conformance/extensions/oes-vertex-array-object-bufferData.html @@ -33,8 +33,8 @@ - - + + + + + + + + + + + + +WebGL WEBGL_compressed_texture_astc Conformance Tests + + + +
+ +
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-atc.html b/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-atc.html deleted file mode 100644 index 7c4ff09e131..00000000000 --- a/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-atc.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - - - - - -WebGL WEBGL_compressed_texture_atc Conformance Tests - - - -
- -
- - - - - diff --git a/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-etc.html b/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-etc.html index 59d88f33a6f..ffc21ade67a 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-etc.html +++ b/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-etc.html @@ -92,7 +92,7 @@ function runTest() { } } else { if (WEBGL_compressed_texture_etc !== null) { - testFailed("WEBGL_compressed_texture_etc listed as supported but getExtension failed"); + testFailed("WEBGL_compressed_texture_etc listed as unsupported but getExtension succeeded"); return; } else { testPassed("No WEBGL_compressed_texture_etc support -- this is legal"); @@ -142,13 +142,12 @@ function runTest() { debug(""); if (contextVersion >= 2) { + var expectedError = isPositive ? gl.INVALID_OPERATION: [gl.INVALID_ENUM, gl.INVALID_OPERATION]; // `null` coerces into `0` for the PBO entrypoint, yielding INVALID_OP due to no PBO bound. - // In conformance suite 2.0.0, both throwing an exception and generating INVALID_OP are allowed so multiple browsers can pass. - // This is due to last minute spec and test change. - wtu.shouldThrowOrGenerateGLError(gl, gl.INVALID_OPERATION, "gl.compressedTexImage2D(gl.TEXTURE_2D, 0, COMPRESSED_R11_EAC, 4, 4, 0, 0, null)"); - wtu.shouldThrowOrGenerateGLError(gl, gl.INVALID_OPERATION, "gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 0, 0, COMPRESSED_R11_EAC, 0, null)"); - wtu.shouldThrowOrGenerateGLError(gl, gl.INVALID_OPERATION, "gl.compressedTexImage3D(gl.TEXTURE_2D_ARRAY, 0, COMPRESSED_R11_EAC, 4, 4, 4, 0, 0, null)"); - wtu.shouldThrowOrGenerateGLError(gl, gl.INVALID_OPERATION, "gl.compressedTexSubImage3D(gl.TEXTURE_2D_ARRAY, 0, 0, 0, 0, 0, 0, 0, COMPRESSED_R11_EAC, 0, null)"); + wtu.shouldGenerateGLError(gl, expectedError, "gl.compressedTexImage2D(gl.TEXTURE_2D, 0, COMPRESSED_R11_EAC, 4, 4, 0, 0, null)"); + wtu.shouldGenerateGLError(gl, expectedError, "gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 0, 0, COMPRESSED_R11_EAC, 0, null)"); + wtu.shouldGenerateGLError(gl, expectedError, "gl.compressedTexImage3D(gl.TEXTURE_2D_ARRAY, 0, COMPRESSED_R11_EAC, 4, 4, 4, 0, 0, null)"); + wtu.shouldGenerateGLError(gl, expectedError, "gl.compressedTexSubImage3D(gl.TEXTURE_2D_ARRAY, 0, 0, 0, 0, 0, 0, 0, COMPRESSED_R11_EAC, 0, null)"); } else { shouldThrow("gl.compressedTexImage2D(gl.TEXTURE_2D, 0, COMPRESSED_R11_EAC, 4, 4, 0, null)"); shouldThrow("gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 0, 0, COMPRESSED_R11_EAC, null)"); diff --git a/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-pvrtc.html b/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-pvrtc.html index 5c771b8dc25..0ef2be639f7 100644 --- a/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-pvrtc.html +++ b/tests/wpt/webgl/tests/conformance/extensions/webgl-compressed-texture-pvrtc.html @@ -32,8 +32,8 @@ - - + + WebGL WEBGL_compressed_texture_pvrtc Conformance Tests - - -
-
- - - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/00_test_list.txt b/tests/wpt/webgl/tests/conformance/glsl/00_test_list.txt index a2ee6edb1f6..8ab2039cc67 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/glsl/00_test_list.txt @@ -5,6 +5,7 @@ implicit/00_test_list.txt --min-version 1.0.2 literals/00_test_list.txt --min-version 1.0.2 matrices/00_test_list.txt misc/00_test_list.txt +--min-version 1.0.4 preprocessor/00_test_list.txt reserved/00_test_list.txt --min-version 1.0.2 samplers/00_test_list.txt variables/00_test_list.txt diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/00_test_list.txt b/tests/wpt/webgl/tests/conformance/glsl/bugs/00_test_list.txt index 5b60206e9b1..815e81a1b0e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/00_test_list.txt @@ -1,18 +1,50 @@ +--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.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.3 conditional-discard-in-loop.html ---min-version 1.0.3 --max-version 1.99 essl3-shaders-with-webgl1.html +--min-version 1.0.4 varying-arrays-should-not-be-reversed.html +--min-version 1.0.4 vector-scalar-arithmetic-inside-loop.html +--min-version 1.0.4 vector-scalar-arithmetic-inside-loop-complex.html \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-ambiguous-function-call.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-ambiguous-function-call.html index 5edbc4cb8b7..6a4210b567a 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-ambiguous-function-call.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-ambiguous-function-call.html @@ -55,6 +55,22 @@ void main() gl_FragColor = foo(uv) + foo(um); } + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-d3d11-compiler-error.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-d3d11-compiler-error.html index 211d36c45e5..193e8595bc8 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-d3d11-compiler-error.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-d3d11-compiler-error.html @@ -33,8 +33,8 @@ - - + + @@ -113,7 +113,7 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-dx-variable-bug.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-dx-variable-bug.html index 55f8d214d64..555d6c21d82 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-dx-variable-bug.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/angle-dx-variable-bug.html @@ -33,8 +33,8 @@ - - + + @@ -113,7 +113,7 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/array-of-struct-with-int-first-position.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/array-of-struct-with-int-first-position.html index e5a0450a502..7674153a753 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/array-of-struct-with-int-first-position.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/array-of-struct-with-int-first-position.html @@ -33,8 +33,8 @@ - - + + @@ -159,6 +159,6 @@ function test() { test(); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html new file mode 100644 index 00000000000..67acdac088a --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/assign-to-swizzled-twice-in-function.html @@ -0,0 +1,75 @@ + + + + + + +Assigning an assignment to a swizzled value inside function + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/compare-loop-index-to-uniform.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/compare-loop-index-to-uniform.html index 44e01cb4b53..576804d1aa8 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/compare-loop-index-to-uniform.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/compare-loop-index-to-uniform.html @@ -33,20 +33,13 @@ - - + + + -
- - diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/complex-glsl-does-not-crash.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/complex-glsl-does-not-crash.html index b8758762eea..8d65482d46c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/complex-glsl-does-not-crash.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/complex-glsl-does-not-crash.html @@ -31,67 +31,67 @@ Driver Bug - complex glsl should not crash - + - - - + + +
- diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-discard-in-loop.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-discard-in-loop.html index 8288a653922..deb2052e46d 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-discard-in-loop.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-discard-in-loop.html @@ -32,8 +32,8 @@ - - + + @@ -140,7 +140,7 @@ if (!gl) { gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT); var attribBuffers = wtu.setupUnitQuad(gl, 0, 1); - var program = wtu.setupProgram(gl, ["shader-vs", "shader-fs"], ["a_position", "a_tex_coords"], [0, 1]); + var program = wtu.setupProgram(gl, ["shader-vs", "shader-fs"], ["a_position", "a_tex_coords"], [0, 1], true); // Bind texture var uniformMap = wtu.getUniformMap(gl, program); @@ -158,6 +158,6 @@ if (!gl) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-discard-optimization.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-discard-optimization.html index 20d7fc659ce..4a1e9627826 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-discard-optimization.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-discard-optimization.html @@ -35,8 +35,8 @@ - - + + @@ -75,7 +75,24 @@ void main(void) { gl_FragColor = vec4(0, 1, 0, 1) + 2. * varA * 2.; } - + - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-texture-fetch.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-texture-fetch.html new file mode 100644 index 00000000000..c65e4bfc46d --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/conditional-texture-fetch.html @@ -0,0 +1,153 @@ + + + + + + +Conditional texture fetch test + + + + + + + + + +
+
+ + + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/constant-precision-qualifier.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/constant-precision-qualifier.html index da292e6fe66..23efc9e7aa9 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/constant-precision-qualifier.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/constant-precision-qualifier.html @@ -33,20 +33,13 @@ - - + + + -
- - + + - diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/essl3-shaders-with-webgl1.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/essl3-shaders-with-webgl1.html index c899ad87fcd..85560d1c790 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/essl3-shaders-with-webgl1.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/essl3-shaders-with-webgl1.html @@ -31,16 +31,31 @@ Browser bug - WebGL 1 context should not accept OpenGL ES 3 shading language shaders - + - - - + + +
+ + - - - + + + -
- diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/fragcoord-linking-bug.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/fragcoord-linking-bug.html index e9fd73ecffa..ba354b36c15 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/fragcoord-linking-bug.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/fragcoord-linking-bug.html @@ -33,8 +33,8 @@ - - + + @@ -111,6 +111,6 @@ if (!gl) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/if-return-and-elseif.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/if-return-and-elseif.html new file mode 100644 index 00000000000..1e56b802ed2 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/if-return-and-elseif.html @@ -0,0 +1,88 @@ + + + + + + +If with return and else if in fragment shader + + + + + + + + +
+
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html new file mode 100644 index 00000000000..ed8bebd1bc5 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/in-parameter-passed-as-inout-argument-and-global.html @@ -0,0 +1,75 @@ + + + + + + +Function in parameter passed as an inout argument and a global variable with the same name + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/init-array-with-loop.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/init-array-with-loop.html new file mode 100644 index 00000000000..01fc2e2a12c --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/init-array-with-loop.html @@ -0,0 +1,107 @@ + + + + + + +Initializing an array with a loop test + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/logic-inside-block-without-braces.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/logic-inside-block-without-braces.html index a7ea95a5b12..6cfe12ab281 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/logic-inside-block-without-braces.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/logic-inside-block-without-braces.html @@ -35,18 +35,11 @@ + -
- diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/long-expressions-should-not-crash.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/long-expressions-should-not-crash.html index c969f363eaf..229f0486e99 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/long-expressions-should-not-crash.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/long-expressions-should-not-crash.html @@ -33,9 +33,9 @@ - - - + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/modulo-arithmetic-accuracy.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/modulo-arithmetic-accuracy.html index 665e59a3cdc..233c95e0aa6 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/modulo-arithmetic-accuracy.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/modulo-arithmetic-accuracy.html @@ -35,21 +35,21 @@ - - + + + -
- diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/multiplication-assignment.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/multiplication-assignment.html index d4135d3e22a..e06e9f75c5c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/multiplication-assignment.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/multiplication-assignment.html @@ -33,16 +33,12 @@ - - + + + - - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/nested-functions-should-not-crash.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/nested-functions-should-not-crash.html index 2ac24590f9f..6232560db47 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/nested-functions-should-not-crash.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/nested-functions-should-not-crash.html @@ -33,9 +33,9 @@ - - - + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-array-struct-function-arg.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-array-struct-function-arg.html new file mode 100644 index 00000000000..6d3cf43ff3c --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-array-struct-function-arg.html @@ -0,0 +1,95 @@ + + + + + + +GLSL struct containing an array of samplers passed into a user-defined function + + + + + + + + + + +
+
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-array-using-loop-index.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-array-using-loop-index.html index a3f5b970671..4ea81d71d33 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-array-using-loop-index.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-array-using-loop-index.html @@ -33,8 +33,8 @@ - - + + @@ -97,7 +97,7 @@ wtu.checkCanvas(gl, [64, 32, 16, 9], var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-struct-function-arg.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-struct-function-arg.html index be4ea0328cc..6d4621f7f4d 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-struct-function-arg.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/sampler-struct-function-arg.html @@ -37,17 +37,10 @@ - +
- - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/sequence-operator-evaluation-order.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/sequence-operator-evaluation-order.html index 57d213315dd..256418a4397 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/sequence-operator-evaluation-order.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/sequence-operator-evaluation-order.html @@ -113,8 +113,6 @@ description(); debug(""); debug("This test is targeted to stress syntax tree transformations that might need to be done in shader translation to unfold operators."); -debug("SKIP: 2 cases skipped: crbug.com/695683"); - GLSLConformanceTester.runRenderTests([ { fShaderId: 'fshaderSequenceSideEffectsAffectTernary', @@ -122,8 +120,6 @@ GLSLConformanceTester.runRenderTests([ linkSuccess: true, passMsg: 'Expression where first operand of a sequence operator has side effects which affect the second operand that is a ternary operator' }, -// crbug.com/695683 -/* { fShaderId: 'fshaderSequenceSideEffectsAffectAnd', fShaderSuccess: true, @@ -136,7 +132,6 @@ GLSLConformanceTester.runRenderTests([ linkSuccess: true, passMsg: 'Expression where first operand of a sequence operator has side effects which affect the second operand that is an or operator' } -*/ ]); diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/struct-constructor-highp-bug.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/struct-constructor-highp-bug.html index 7cf7bee2a03..e54124859a0 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/struct-constructor-highp-bug.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/struct-constructor-highp-bug.html @@ -8,19 +8,11 @@ + -
- - - + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/struct-with-single-member-constructor.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/struct-with-single-member-constructor.html new file mode 100644 index 00000000000..be24483eec2 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/struct-with-single-member-constructor.html @@ -0,0 +1,75 @@ + + + + + + +GLSL struct with a single member constructor test + + + + + + + + +
+
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/temp-expressions-should-not-crash.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/temp-expressions-should-not-crash.html index 0f78f01c719..535739ff7b1 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/temp-expressions-should-not-crash.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/temp-expressions-should-not-crash.html @@ -33,9 +33,9 @@ - - - + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/unary-minus-operator-float-bug.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/unary-minus-operator-float-bug.html new file mode 100644 index 00000000000..ed708ea38fa --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/unary-minus-operator-float-bug.html @@ -0,0 +1,72 @@ + + + + + + +GLSL unary minus operator with float bug Tests + + + + + + + + +
+
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/uniforms-should-not-lose-values.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/uniforms-should-not-lose-values.html index 6ddf9306c84..d7dadb5d6cc 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/bugs/uniforms-should-not-lose-values.html +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/uniforms-should-not-lose-values.html @@ -33,8 +33,8 @@ - - + + @@ -98,7 +98,7 @@ function test() { test(); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html new file mode 100644 index 00000000000..a0f32f71a98 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/varying-arrays-should-not-be-reversed.html @@ -0,0 +1,103 @@ + + + + + +Varying arrays should not be reversed + + + + + + + + +
+
+ + + + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html new file mode 100644 index 00000000000..774fe957a28 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop-complex.html @@ -0,0 +1,103 @@ + + + + + + +GLSL vector/scalar arithmetic inside a for loop (complex cases) + + + + + + + + +
+
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html b/tests/wpt/webgl/tests/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html new file mode 100644 index 00000000000..977cc31eccc --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/bugs/vector-scalar-arithmetic-inside-loop.html @@ -0,0 +1,122 @@ + + + + + + +GLSL vector/scalar arithmetic inside a for loop + + + + + + + + +
+
+ + + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec2.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec2.html index 821f925ac54..9e1c7cb25e9 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec2.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec2.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec3.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec3.html index b099d7a63d5..f420da22760 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec3.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec3.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec4.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec4.html index eebe8ebf93f..5614fbc3b9d 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec4.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-bvec4.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec2.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec2.html index 1b4d20c0c05..14dab516c81 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec2.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec2.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec3.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec3.html index 3ae05b6ea19..7330e6dd1a0 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec3.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec3.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec4.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec4.html index 1edf01b6389..6314c5dd6d0 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec4.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-ivec4.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat2.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat2.html index 2484552ce5d..8e1318bc320 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat2.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat2.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat3.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat3.html index 4f73b4f8c82..d613a092c1b 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat3.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat3.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat4.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat4.html index a8b1c934dfd..04823dcfe1c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat4.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-mat4.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec-mat-corner-cases.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec-mat-corner-cases.html index ed1571ede31..39b88aefadb 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec-mat-corner-cases.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec-mat-corner-cases.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec-mat-index.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec-mat-index.html index 841878ea528..6d3f0615995 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec-mat-index.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec-mat-index.html @@ -31,25 +31,19 @@ WebGL GLSL Conformance Tests - + - - + + + -xxx -
Check mat2(index++, vec4(index++)) works as intended
+
- - - - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec2.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec2.html index 01d1b81bb5e..6148a270af0 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec2.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec2.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec3.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec3.html index df1c1de0091..f9ee2d94f20 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec3.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec3.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec4.html b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec4.html index 083bc6cbf8b..6ee0fbdf89a 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec4.html +++ b/tests/wpt/webgl/tests/conformance/glsl/constructors/glsl-construct-vec4.html @@ -31,13 +31,13 @@ WebGL GLSL Conformance Tests - + - - - - + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-abs.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-abs.html index a3e107ab308..177162e9022 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-abs.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-abs.html @@ -29,14 +29,14 @@ - GLSL abs function test - - - - - - - +GLSL abs function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-acos.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-acos.html index 84a5f6a231f..28534ef0212 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-acos.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-acos.html @@ -29,14 +29,14 @@ - GLSL acos function test - - - - - - - +GLSL acos function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-asin.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-asin.html index e5455f7dc1e..46e959ceb3b 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-asin.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-asin.html @@ -29,14 +29,14 @@ - GLSL asin function test - - - - - - - +GLSL asin function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-atan-xy.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-atan-xy.html index 6b171ab423f..abb7a8299e1 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-atan-xy.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-atan-xy.html @@ -29,14 +29,14 @@ - GLSL atan-xy function test - - - - - - - +GLSL atan-xy function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-atan.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-atan.html index dd8a2136176..7b6a4103f66 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-atan.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-atan.html @@ -29,14 +29,14 @@ - GLSL atan function test - - - - - - - +GLSL atan function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-ceil.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-ceil.html index 508f5e37f61..65990488400 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-ceil.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-ceil.html @@ -29,14 +29,14 @@ - GLSL ceil function test - - - - - - - +GLSL ceil function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-clamp-float.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-clamp-float.html index 3c117fe1e81..57ed8b9fcde 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-clamp-float.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-clamp-float.html @@ -29,14 +29,14 @@ - GLSL clamp-gentype function test - - - - - - - +GLSL clamp-gentype function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-clamp-gentype.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-clamp-gentype.html index a89133a3307..75588f7bacc 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-clamp-gentype.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-clamp-gentype.html @@ -29,14 +29,14 @@ - GLSL clamp-gentype function test - - - - - - - +GLSL clamp-gentype function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-cos.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-cos.html index a6475772bb0..6124010a442 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-cos.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-cos.html @@ -29,14 +29,14 @@ - GLSL cos function test - - - - - - - +GLSL cos function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-cross.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-cross.html index 039568006ae..fd02cef1cd7 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-cross.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-cross.html @@ -29,14 +29,14 @@ - GLSL cross function test - - - - - - - +GLSL cross function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-distance.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-distance.html index 20226fe0cc3..d24d6a4a055 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-distance.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-distance.html @@ -29,14 +29,14 @@ - GLSL distance function test - - - - - - - +GLSL distance function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-dot.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-dot.html index 8e4c47aec17..823d8c6aa79 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-dot.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-dot.html @@ -29,14 +29,14 @@ - GLSL dot function test - - - - - - - +GLSL dot function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-faceforward.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-faceforward.html index 6407c1e41bd..4f05e6eac5f 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-faceforward.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-faceforward.html @@ -29,14 +29,14 @@ - GLSL faceforward function test - - - - - - - +GLSL faceforward function test + + + + + + +
@@ -87,5 +87,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-floor.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-floor.html index 524ba8028c6..3f8a58ee36f 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-floor.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-floor.html @@ -29,14 +29,14 @@ - GLSL floor function test - - - - - - - +GLSL floor function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-fract.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-fract.html index 22a40a7590a..be0f0995b64 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-fract.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-fract.html @@ -29,14 +29,14 @@ - GLSL fract function test - - - - - - - +GLSL fract function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-length.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-length.html index b3c96cdc62e..e6ab3a9153f 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-length.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-length.html @@ -29,14 +29,14 @@ - GLSL length function test - - - - - - - +GLSL length function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-max-float.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-max-float.html index 0aa52ba1dc3..99764ce695f 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-max-float.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-max-float.html @@ -29,14 +29,14 @@ - GLSL max-float function test - - - - - - - +GLSL max-float function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-max-gentype.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-max-gentype.html index e2c9bd2cd45..07eb78cd5e7 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-max-gentype.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-max-gentype.html @@ -29,14 +29,14 @@ - GLSL max-gentype function test - - - - - - - +GLSL max-gentype function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-min-float.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-min-float.html index 51e3b6021f3..5ac49b9a403 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-min-float.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-min-float.html @@ -29,14 +29,14 @@ - GLSL min-float function test - - - - - - - +GLSL min-float function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-min-gentype.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-min-gentype.html index 4a0ada8db0c..b2cf136808e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-min-gentype.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-min-gentype.html @@ -29,14 +29,14 @@ - GLSL min-gentype function test - - - - - - - +GLSL min-gentype function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mix-float.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mix-float.html index 36ff4361560..7b8990aa491 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mix-float.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mix-float.html @@ -29,14 +29,14 @@ - GLSL mix-float function test - - - - - - - +GLSL mix-float function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mix-gentype.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mix-gentype.html index 4ec7f632ea7..41eadb628fb 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mix-gentype.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mix-gentype.html @@ -29,14 +29,14 @@ - GLSL mix-gentype function test - - - - - - - +GLSL mix-gentype function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mod-float.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mod-float.html index a18bc94803d..718cccbed7c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mod-float.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mod-float.html @@ -29,14 +29,14 @@ - GLSL mod-float function test - - - - - - - +GLSL mod-float function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mod-gentype.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mod-gentype.html index 4d94cb481e2..1d4f89eae8b 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mod-gentype.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-mod-gentype.html @@ -29,14 +29,14 @@ - GLSL mod-gentype function test - - - - - - - +GLSL mod-gentype function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-normalize.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-normalize.html index b5329498c4f..32b7443c9ff 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-normalize.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-normalize.html @@ -29,14 +29,14 @@ - GLSL normalize function test - - - - - - - +GLSL normalize function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-reflect.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-reflect.html index 306881b9546..beed9433429 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-reflect.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-reflect.html @@ -29,14 +29,14 @@ - GLSL reflect function test - - - - - - - +GLSL reflect function test + + + + + + +
@@ -82,5 +82,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-sign.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-sign.html index d09b129c8ad..d46d229e5dc 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-sign.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-sign.html @@ -29,14 +29,14 @@ - GLSL sign function test - - - - - - - +GLSL sign function test + + + + + + +
@@ -73,4 +73,3 @@ var successfullyParsed = true; - diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-sin.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-sin.html index f4f5434dc57..5a64d6f1a1b 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-sin.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-sin.html @@ -29,14 +29,14 @@ - GLSL sin function test - - - - - - - +GLSL sin function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-smoothstep-float.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-smoothstep-float.html index 84bce2ff013..b49028913e5 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-smoothstep-float.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-smoothstep-float.html @@ -29,14 +29,14 @@ - GLSL smoothstep-float function test - - - - - - - +GLSL smoothstep-float function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-smoothstep-gentype.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-smoothstep-gentype.html index 18e7fc12954..fa9c37dc734 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-smoothstep-gentype.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-smoothstep-gentype.html @@ -29,14 +29,14 @@ - GLSL smoothstep-gentype function test - - - - - - - +GLSL smoothstep-gentype function test + + + + + + +
@@ -44,7 +44,6 @@ - diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-step-float.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-step-float.html index 1de1c5d1485..8bbf4069250 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-step-float.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-step-float.html @@ -29,14 +29,14 @@ - GLSL step-float function test - - - - - - - +GLSL step-float function test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-step-gentype.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-step-gentype.html index d424e5547c4..ed31d3d3f83 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-step-gentype.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function-step-gentype.html @@ -29,14 +29,14 @@ - GLSL step-gentype function test - - - - - - - +GLSL step-gentype function test + + + + + + +
@@ -72,4 +72,3 @@ var successfullyParsed = true; - diff --git a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function.html b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function.html index 55392f5247f..7b09cdff611 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function.html +++ b/tests/wpt/webgl/tests/conformance/glsl/functions/glsl-function.html @@ -29,14 +29,14 @@ - GLSL function test test - - - - - - - +GLSL function test test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_float.vert.html index 812915404c8..f0af8512298 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat2.vert.html index 7cf150a71aa..1790fbf6a9a 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat3.vert.html index d59b89376f7..28c74538515 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat4.vert.html index 1874508629b..cff3d33353c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_mat4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec2.vert.html index 6d2cc5e3ac0..068b2ac5954 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec3.vert.html index 163683b346e..77ff19daafb 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec4.vert.html index 81183d8ce37..84793a0be12 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_int_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec2_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec2_vec2.vert.html index 76ba85ceb8e..3eebaf46bb7 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec2_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec2_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec3_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec3_vec3.vert.html index e7ef897782b..1c4056d7980 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec3_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec3_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec4_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec4_vec4.vert.html index 9581bbda8ed..fce94c5e069 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec4_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/add_ivec4_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_int_to_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_int_to_float.vert.html index a631cc2efba..fab68cf0a85 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_int_to_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_int_to_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html index 36e66a3fa77..880e12895ec 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html index 6b74005e7b3..84a9c8eab90 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html index 3846193ffd4..d6e952fb101 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/construct_struct.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/construct_struct.vert.html index c837e1ff402..7ed9e6f839d 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/construct_struct.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/construct_struct.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_float.vert.html index fea373436f9..95e8044d7be 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat2.vert.html index 62d0ea0e1c4..6b0a1a8e9a3 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat3.vert.html index 58c18b61a13..dbcd8a53a39 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat4.vert.html index d6dba4683d5..24a53629919 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_mat4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec2.vert.html index 2f50269abb6..636a1128056 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec3.vert.html index 397c758ec19..e7e536454ff 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec4.vert.html index 94b9b4afcf9..99916ecafbb 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_int_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec2_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec2_vec2.vert.html index d13d5a6432b..4feec0c7017 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec2_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec2_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec3_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec3_vec3.vert.html index d074fe19670..ced62add91e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec3_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec3_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec4_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec4_vec4.vert.html index a6b2307e520..49c406703b4 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec4_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/divide_ivec4_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_int_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_int_float.vert.html index a9ca0b1ed43..e4146b98655 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_int_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_int_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec2_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec2_vec2.vert.html index 275023160c3..ae0d7206c06 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec2_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec2_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec3_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec3_vec3.vert.html index cc167b91b54..52edff051e1 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec3_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec3_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec4_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec4_vec4.vert.html index 31dbfddc19b..e6eb4eed357 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec4_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/equal_ivec4_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/function_int_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/function_int_float.vert.html index a086572ced0..52f368b0d9a 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/function_int_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/function_int_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec2_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec2_vec2.vert.html index 19e4f04e477..838e09bc5a6 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec2_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec2_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec3_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec3_vec3.vert.html index d0e7873cce2..8477e61640e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec3_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec3_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec4_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec4_vec4.vert.html index 5b4ec18b7f7..57408c56f01 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec4_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/function_ivec4_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/greater_than.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/greater_than.vert.html index 158fc119a93..595a59efa26 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/greater_than.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/greater_than.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/greater_than_equal.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/greater_than_equal.vert.html index 580387b0d3f..e6e6c9c659e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/greater_than_equal.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/greater_than_equal.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/less_than.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/less_than.vert.html index 03135f29233..d7e786185c2 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/less_than.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/less_than.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/less_than_equal.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/less_than_equal.vert.html index bfdb1423563..981a7c27da3 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/less_than_equal.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/less_than_equal.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_float.vert.html index 29cbbf92c96..1db98dc0fad 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat2.vert.html index 293c57ffab2..40dbd4df318 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat3.vert.html index fb30d29c517..4bb178c5542 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat4.vert.html index 65585fd7fa8..0afd03d879b 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_mat4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec2.vert.html index 26597311f56..16cf52c6a11 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec3.vert.html index 1ee7c6cb1b5..bf938a2f9df 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec4.vert.html index e71cfc3770d..98bf20d0fa9 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_int_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html index 5fa51ef88a1..047374c4304 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html index a3312fff4ea..3729397a18a 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html index 3586ed632cf..71a84e7f774 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_int_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_int_float.vert.html index a5d202b38cd..d5901afceef 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_int_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_int_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html index 5207c25e363..06a5b7c35f9 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html index b20e2a52c2c..868a20a79ec 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html index ac0e07f24a9..e4b96a59b63 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_float.vert.html index e83979b89cf..95796eb93b9 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat2.vert.html index 03789509377..6a6c080a23f 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat3.vert.html index 33a19c3443d..8b030ec8e45 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat4.vert.html index f53d782befd..e6d9b6078c4 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_mat4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec2.vert.html index eb0c4716e20..6eed413a84e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec3.vert.html index 519c4d6ae32..c7ab5908031 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec4.vert.html index c168382bcf9..f87ffa0a967 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_int_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html index 0a3c34315f1..03becaa86bb 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html index 93b72932e39..323e054fb94 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html index d8b396b52fd..2f98e0517c4 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_int_float.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_int_float.vert.html index 41cae76bfb4..4027e7cd5fa 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_int_float.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_int_float.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html index 37632268336..83db281b89a 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html index d5e18d247b5..1256bc35284 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html b/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html index 40084a7a330..8e9a1e54297 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/literals/float_literal.vert.html b/tests/wpt/webgl/tests/conformance/glsl/literals/float_literal.vert.html index f871cadeef5..948e8426ae2 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/literals/float_literal.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/literals/float_literal.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -72,5 +72,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/literals/literal_precision.html b/tests/wpt/webgl/tests/conformance/glsl/literals/literal_precision.html index 7df690981cc..7a211bdfe89 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/literals/literal_precision.html +++ b/tests/wpt/webgl/tests/conformance/glsl/literals/literal_precision.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -56,5 +56,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/literals/overflow_leak.vert.html b/tests/wpt/webgl/tests/conformance/glsl/literals/overflow_leak.vert.html index 1d9711129e1..97ff7535725 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/literals/overflow_leak.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/literals/overflow_leak.vert.html @@ -31,11 +31,11 @@ WebGL GLSL Conformance Tests - + - - + +
@@ -79,8 +79,6 @@ wtu.checkCanvas(gl, [0, 255, 0, 255], "should be green"); var successfullyParsed = true; - + - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/matrices/00_test_list.txt b/tests/wpt/webgl/tests/conformance/glsl/matrices/00_test_list.txt index 91b4ce21f87..74693de0eae 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/matrices/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/glsl/matrices/00_test_list.txt @@ -1,2 +1,3 @@ glsl-mat4-to-mat3.html --min-version 1.0.3 glsl-mat3-construction.html +--min-version 1.0.4 matrix-compound-multiply.html diff --git a/tests/wpt/webgl/tests/conformance/glsl/matrices/glsl-mat3-construction.html b/tests/wpt/webgl/tests/conformance/glsl/matrices/glsl-mat3-construction.html index 93a49781ed8..d22042210b7 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/matrices/glsl-mat3-construction.html +++ b/tests/wpt/webgl/tests/conformance/glsl/matrices/glsl-mat3-construction.html @@ -29,14 +29,14 @@ - GLSL mat3 construction test - - - - - - - +GLSL mat3 construction test + + + + + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/matrices/glsl-mat4-to-mat3.html b/tests/wpt/webgl/tests/conformance/glsl/matrices/glsl-mat4-to-mat3.html index cdf252a4e87..5a0c1d14d52 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/matrices/glsl-mat4-to-mat3.html +++ b/tests/wpt/webgl/tests/conformance/glsl/matrices/glsl-mat4-to-mat3.html @@ -29,14 +29,14 @@ - GLSL mat4 to mat3 test - - - - - - - +GLSL mat4 to mat3 test + + + + + + +
@@ -91,4 +91,3 @@ var successfullyParsed = true; - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/00_test_list.txt b/tests/wpt/webgl/tests/conformance/glsl/misc/00_test_list.txt index 0c8859b9f7f..7a2daa442a6 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/00_test_list.txt @@ -1,25 +1,31 @@ -attrib-location-length-limits.html +--max-version 1.9.9 attrib-location-length-limits.html --min-version 1.0.3 boolean_precision.html +--min-version 1.0.4 const-variable-initialization.html embedded-struct-definitions-forbidden.html +--min-version 1.0.4 empty-declaration.html empty_main.vert.html --min-version 1.0.3 expression-list-in-declarator-initializer.html +--min-version 1.0.4 fragcolor-fragdata-invariant.html gl_position_unset.vert.html +--min-version 1.0.4 global-variable-init.html # this test is intentionally disabled as it is too strict and to hard to simulate # glsl-2types-of-textures-on-same-unit.html glsl-function-nodes.html --min-version 1.0.2 glsl-vertex-branch.html glsl-long-variable-names.html +--min-version 1.0.4 local-variable-shadowing-outer-function.html non-ascii-comments.vert.html non-ascii.vert.html --min-version 1.0.2 re-compile-re-link.html +--min-version 1.0.4 sequence-operator-returns-constant.html --min-version 1.0.3 shader-precision-format-obeyed.html --min-version 1.0.3 shader-struct-scope.html --min-version 1.0.2 shader-uniform-packing-restrictions.html --min-version 1.0.2 shader-varying-packing-restrictions.html --min-version 1.0.2 shader-with-256-character-define.html shader-with-256-character-identifier.frag.html ---min-version 1.0.2 shader-with-257-character-define.html -shader-with-257-character-identifier.frag.html +--min-version 1.0.2 --max-version 1.9.9 shader-with-257-character-define.html +--max-version 1.9.9 shader-with-257-character-identifier.frag.html shader-with-_webgl-identifier.vert.html shader-with-arbitrary-indexing.frag.html shader-with-arbitrary-indexing.vert.html @@ -32,7 +38,7 @@ shader-with-clipvertex.vert.html --min-version 1.0.2 shader-with-conditional-scoping-negative.html shader-with-default-precision.frag.html shader-with-default-precision.vert.html -shader-with-define-line-continuation.frag.html +--max-version 1.9.9 shader-with-define-line-continuation.frag.html shader-with-dfdx-no-ext.frag.html shader-with-dfdx.frag.html --min-version 1.0.2 shader-with-do-loop.html @@ -47,6 +53,7 @@ shader-with-function-recursion.frag.html --min-version 1.0.2 shader-with-functional-scoping.html --min-version 1.0.2 shader-with-comma-assignment.html --min-version 1.0.2 shader-with-comma-conditional-assignment.html +--min-version 1.0.4 shader-with-comma-separated-variable-declarations.html shader-with-glcolor.vert.html shader-with-gles-1.frag.html shader-with-gles-symbol.frag.html @@ -69,6 +76,7 @@ shader-with-quoted-error.frag.html --min-version 1.0.2 shader-with-reserved-words.html --min-version 1.0.2 shader-with-similar-uniform-array-names.html --min-version 1.0.2 shader-with-too-many-uniforms.html +--min-version 1.0.4 shader-with-two-initializer-types.html shader-with-undefined-preprocessor-symbol.frag.html shader-with-uniform-in-loop-condition.vert.html shader-with-vec2-return-value.frag.html @@ -91,16 +99,22 @@ shader-without-precision.frag.html --min-version 1.0.3 shaders-with-uniform-structs.html --min-version 1.0.2 shaders-with-varyings.html shared.html +--min-version 1.0.4 struct-as-inout-parameter.html +--min-version 1.0.4 struct-as-out-parameter.html struct-nesting-exceeds-maximum.html struct-nesting-under-maximum.html -uniform-location-length-limits.html +--max-version 1.9.9 uniform-location-length-limits.html --min-version 1.0.2 shader-with-short-circuiting-operators.html --min-version 1.0.2 shader-with-global-variable-precision-mismatch.html --min-version 1.0.2 large-loop-compile.html --min-version 1.0.3 struct-equals.html +--min-version 1.0.4 struct-assign.html --min-version 1.0.3 struct-mixed-array-declarators.html --min-version 1.0.3 struct-nesting-of-variable-names.html --min-version 1.0.3 struct-specifiers-in-uniforms.html --min-version 1.0.3 struct-unary-operators.html +--min-version 1.0.4 ternary-operator-on-arrays.html --min-version 1.0.3 ternary-operators-in-global-initializers.html --min-version 1.0.3 ternary-operators-in-initializers.html +--min-version 1.0.4 uninitialized-local-global-variables.html +--min-version 1.0.4 sampler-operand.html diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/attrib-location-length-limits.html b/tests/wpt/webgl/tests/conformance/glsl/misc/attrib-location-length-limits.html index 24a382699cd..2f8ce81cfce 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/attrib-location-length-limits.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/attrib-location-length-limits.html @@ -30,11 +30,11 @@ --> WebGL attrib location length tests - + - - + + @@ -77,7 +77,10 @@ var gl = wtu.create3DContext("example"); debug("Test attrib location underneath the length limit"); var program = wtu.loadProgramFromScript(gl, "goodVertexShader", "fragmentShader"); shouldBe('gl.getProgramParameter(program, gl.LINK_STATUS)', 'true'); -var attribLoc = gl.getAttribLocation(program, "vPosition0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456"); +var attrib256Name = "vPosition0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456"; +gl.bindAttribLocation(program, 0, attrib256Name); +wtu.glErrorShouldBe(gl, gl.NONE); +var attribLoc = gl.getAttribLocation(program, attrib256Name); if (attribLoc == -1) { testFailed("attrib location was -1, should not be"); } else { @@ -86,22 +89,24 @@ if (attribLoc == -1) { wtu.glErrorShouldBe(gl, gl.NONE); debug("Test attrib location over the length limit"); +var attrib257Name = attrib256Name + "7"; + debug("Shader compilation or link should fail"); shouldBe('wtu.loadProgramFromScriptExpectError(gl, "badVertexShader", "fragmentShader")', 'null'); wtu.glErrorShouldBe(gl, gl.NONE); debug("Attempt to bind too-long attrib location should produce error"); program = gl.createProgram(); -gl.bindAttribLocation(program, 0, "vPosition01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567"); +gl.bindAttribLocation(program, 0, attrib257Name); wtu.glErrorShouldBe(gl, gl.INVALID_VALUE); debug("Attempt to fetch too-long attrib location should produce error"); program = wtu.loadStandardProgram(gl); -shouldBe('gl.getAttribLocation(program, "vPosition01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567")', '-1'); +shouldBe('gl.getAttribLocation(program, attrib257Name)', '-1'); wtu.glErrorShouldBe(gl, gl.INVALID_VALUE); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/boolean_precision.html b/tests/wpt/webgl/tests/conformance/glsl/misc/boolean_precision.html index 2066722be60..27caaf72581 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/boolean_precision.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/boolean_precision.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/embedded-struct-definitions-forbidden.html b/tests/wpt/webgl/tests/conformance/glsl/misc/embedded-struct-definitions-forbidden.html index 4a12d9c98b4..2c3f9537701 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/embedded-struct-definitions-forbidden.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/embedded-struct-definitions-forbidden.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/empty_main.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/empty_main.vert.html index 3684248f51d..9aeb1457a12 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/empty_main.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/empty_main.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/expression-list-in-declarator-initializer.html b/tests/wpt/webgl/tests/conformance/glsl/misc/expression-list-in-declarator-initializer.html index db8b1f7d003..49715f55cb0 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/expression-list-in-declarator-initializer.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/expression-list-in-declarator-initializer.html @@ -27,12 +27,12 @@ - + - - - + + + @@ -86,4 +86,4 @@ GLSLConformanceTester.runTests(tests); var successfullyParsed = true; - \ No newline at end of file + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/fragcolor-fragdata-invariant.html b/tests/wpt/webgl/tests/conformance/glsl/misc/fragcolor-fragdata-invariant.html new file mode 100644 index 00000000000..8a88a8dc117 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/fragcolor-fragdata-invariant.html @@ -0,0 +1,63 @@ + + + + + + +WebGL GLSL Conformance Tests - gl_FragColor and gl_FragData both declared as invariant + + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/gl_position_unset.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/gl_position_unset.vert.html index b49c366b983..655c21532ae 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/gl_position_unset.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/gl_position_unset.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/global-variable-init.html b/tests/wpt/webgl/tests/conformance/glsl/misc/global-variable-init.html index 73088fc5a37..74ec483ac10 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/global-variable-init.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/global-variable-init.html @@ -212,6 +212,23 @@ void main() { gl_FragColor = vec4(0.0, green, 0.0, 1.0); } + + - - + + - + - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/glsl-long-variable-names.html b/tests/wpt/webgl/tests/conformance/glsl/misc/glsl-long-variable-names.html index fcd8ca63ff6..b874970a095 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/glsl-long-variable-names.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/glsl-long-variable-names.html @@ -1,7 +1,3 @@ - - - - - glsl long variable name mapping tests - - - - - + + + + + +glsl long variable name mapping tests + + + + + - - There is supposed to be an example drawing here, but it's not important. - -
-
- + +There is supposed to be an example drawing here, but it's not important. + +
+
+ - + - + - + - + - + - + - + - + - + - - +var successfullyParsed = true; + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/glsl-vertex-branch.html b/tests/wpt/webgl/tests/conformance/glsl/misc/glsl-vertex-branch.html index 0d11862a6d4..478a94ed31f 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/glsl-vertex-branch.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/glsl-vertex-branch.html @@ -31,11 +31,11 @@ GLSL function nodes Test - + - - + + - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/large-loop-compile.html b/tests/wpt/webgl/tests/conformance/glsl/misc/large-loop-compile.html index acb4629a116..5a9c4dc773c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/large-loop-compile.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/large-loop-compile.html @@ -31,11 +31,11 @@ WebGL GLSL Conformance Tests - + - - + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/local-variable-shadowing-outer-function.html b/tests/wpt/webgl/tests/conformance/glsl/misc/local-variable-shadowing-outer-function.html new file mode 100644 index 00000000000..bfb1f96890b --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/local-variable-shadowing-outer-function.html @@ -0,0 +1,82 @@ + + + + + + +WebGL GLSL Conformance Test - Local Variable Shadowing Outer Function + + + + + + + + + +
+
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/non-ascii-comments.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/non-ascii-comments.vert.html index 8f26d30bf6f..eb059d8e0fa 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/non-ascii-comments.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/non-ascii-comments.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -59,5 +59,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/non-ascii.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/non-ascii.vert.html index b1b0cea2d39..2bba4c2432e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/non-ascii.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/non-ascii.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -58,4 +58,3 @@ var successfullyParsed = true; - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/re-compile-re-link.html b/tests/wpt/webgl/tests/conformance/glsl/misc/re-compile-re-link.html index cd5331b51e5..327a1c0df83 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/re-compile-re-link.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/re-compile-re-link.html @@ -33,8 +33,8 @@ - - + + @@ -167,9 +167,7 @@ wtu.glErrorShouldBe(gl, gl.NO_ERROR, "Should be no errors"); var successfullyParsed = true; - + - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/sampler-operand.html b/tests/wpt/webgl/tests/conformance/glsl/misc/sampler-operand.html new file mode 100644 index 00000000000..c236e921d7b --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/sampler-operand.html @@ -0,0 +1,74 @@ + + + + + + +WebGL GLSL Conformance Tests - sampler operands + + + + + + + + + +
+
+ + + + + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-precision-format-obeyed.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-precision-format-obeyed.html index adf14f684a1..784f324e34b 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-precision-format-obeyed.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-precision-format-obeyed.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -85,15 +85,13 @@ var highpSupported = (precision.rangeMin >= 62 && precision.rangeMax >= 62 && pr debug("highp is" + (highpSupported ? "" : " not") + " supported in fragment shaders"); GLSLConformanceTester.runTests([ -{ vShaderId: undefined, - vShaderSuccess: true, +{ fShaderId: 'fshaderWithHighPrecision', fShaderSuccess: highpSupported, linkSuccess: highpSupported, passMsg: "getShaderPrecisionFormat's results agree with highp support in fragment shaders", }, -{ vShaderId: undefined, - vShaderSuccess: true, +{ fShaderId: highpSupported ? 'fshaderWhichCompilesWithHighp' : 'fshaderWhichCompilesWithoutHighp', fShaderSuccess: true, linkSuccess: true, diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-struct-scope.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-struct-scope.html index 048c14eed5d..40493eae88c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-struct-scope.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-struct-scope.html @@ -33,12 +33,12 @@ Struct Scope Test - + - - - + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-uniform-packing-restrictions.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-uniform-packing-restrictions.html index ce088319d2a..f6b879a8d8c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-uniform-packing-restrictions.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-uniform-packing-restrictions.html @@ -31,69 +31,69 @@ WebGL uniform packing restrctions Conformance Test - + - - - + + +
- - - + + +
@@ -52,29 +52,29 @@ void main() } - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-256-character-identifier.frag.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-256-character-identifier.frag.html index 2dc6f2c8801..84dfd899fe1 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-256-character-identifier.frag.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-256-character-identifier.frag.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -89,36 +89,31 @@ void main() - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-257-character-identifier.frag.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-257-character-identifier.frag.html index 04fa8f96584..1ffe9885eea 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-257-character-identifier.frag.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-257-character-identifier.frag.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -57,5 +57,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html index c287f359c5f..4c4f9aae194 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html index b43ab809cae..b6c7d99e97c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html index 85216c269b2..2339be18e30 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html index 65fbdeb0e7a..0b2033b35ca 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html @@ -1,4 +1,3 @@ - - - +void main() +{ + gl_Position = vPosition; +} + - +void main() +{ + gl_FragColor = vPassThrough; +} + - - + /* if x was unmodified return green, else return red */ + vPassThrough = (x == 1) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1); + gl_Position = vPosition; +} + - + gl_FragColor = (x == 1) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1); +} + - - - +runNextTest(); + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-similar-uniform-array-names.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-similar-uniform-array-names.html index cf4d796b797..1d9abf4d4cb 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-similar-uniform-array-names.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-similar-uniform-array-names.html @@ -31,11 +31,11 @@ GLSL similar names issue - + - - + + - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-too-many-uniforms.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-too-many-uniforms.html index 1b6260c94cb..68f6c620d15 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-too-many-uniforms.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-too-many-uniforms.html @@ -31,53 +31,53 @@ WebGL GLSL Conformance Tests - + - - - + + +
- - - + + +
@@ -60,5 +60,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html index f776cf1c5ee..5839d23ca75 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec2-return-value.frag.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec2-return-value.frag.html index f46202f6aca..a696b8f0d76 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec2-return-value.frag.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec2-return-value.frag.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -65,5 +65,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec3-return-value.frag.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec3-return-value.frag.html index c3f8488367b..c666994b5b6 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec3-return-value.frag.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec3-return-value.frag.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -65,5 +65,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec4-return-value.frag.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec4-return-value.frag.html index 2d001b99a97..da2ab2892a6 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec4-return-value.frag.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec4-return-value.frag.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -65,5 +65,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html index 9d25ad6bf2c..6d0d4a17db0 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -47,7 +47,7 @@ precision mediump float; uniform float x; void main() { - gl_FragColor = vec4((x > 0.0 ? vec4(1.0, 1.0, 1.0, 0.0) : vec4(0.1, 0.1, 0.1, 0.0)).xyz, 1.0); + gl_FragColor = vec4((x > 0.0 ? vec4(1.0, 1.0, 1.0, 0.0) : vec4(0.1, 0.1, 0.1, 0.0)).xyz, 1.0); } - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-100.frag.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-100.frag.html index 96de76dc6e2..9880db624e9 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-100.frag.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-100.frag.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-100.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-100.vert.html index a46f52b1b43..8239f4bc660 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-100.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-100.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-120.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-120.vert.html index d6ff2b2f5d5..f946d928308 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-120.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-120.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-130.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-130.vert.html index f30a695065e..e3aa164e5f2 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-130.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-version-130.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-webgl-identifier.vert.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-webgl-identifier.vert.html index 3bde4248a12..8883972bf10 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-webgl-identifier.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-webgl-identifier.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-while-loop.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-while-loop.html index f1f3174196f..9c31db5c3de 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-while-loop.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-with-while-loop.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -59,5 +59,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-without-precision.frag.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-without-precision.frag.html index 1145f05e277..c7c443895ed 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shader-without-precision.frag.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shader-without-precision.frag.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-constant-expression-loop-conditions.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-constant-expression-loop-conditions.html index 2ceaeb6ddd9..5e6f5f920ec 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-constant-expression-loop-conditions.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-constant-expression-loop-conditions.html @@ -27,120 +27,112 @@ - - WebGL GLSL Conformance Tests - - - - - - - + +WebGL GLSL Conformance Tests + + + + + + + -
-
- - - - - - - + + + + + + +GLSLConformanceTester.runTests(tests); +var successfullyParsed = true; + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-invariance.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-invariance.html index 3d80f9617ab..be8af4dc503 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-invariance.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-invariance.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -201,7 +201,7 @@ void main() // GLSL 1.0.17 4.3.5 "use strict"; // See GLSL ES spec 1.0.17 section 4.6.4 "Invariance and linkage". -GLSLConformanceTester.runTests([ +var cases = [ { vShaderId: "vertexShaderVariant", vShaderSuccess: true, @@ -218,14 +218,6 @@ GLSLConformanceTester.runTests([ linkSuccess: false, passMsg: "vertex shader with invariant varying and fragment shader with variant varying must fail", }, - { - vShaderId: "vertexShaderVariant", - vShaderSuccess: true, - fShaderId: "fragmentShaderGlobalInvariant", - fShaderSuccess: true, - linkSuccess: false, - passMsg: "vertex shader with variant varying and fragment shader with invariant (global setting) varying must fail", - }, { vShaderId: "vertexShaderGlobalInvariant", vShaderSuccess: true, @@ -274,14 +266,6 @@ GLSLConformanceTester.runTests([ linkSuccess: false, passMsg: "fragment shader with invariant (separately set in wrong order) varying must fail", }, - { - vShaderId: "vertexShaderInvariant", - vShaderSuccess: true, - fShaderId: "fragmentShaderGlobalInvariant", - fShaderSuccess: true, - linkSuccess: true, - passMsg: "vertex shader with invariant varying and fragment shader with invariant (global setting) varying must succeed", - }, { vShaderId: "vertexShaderInvariantGlPosition", vShaderSuccess: true, @@ -346,7 +330,25 @@ GLSLConformanceTester.runTests([ linkSuccess: false, passMsg: "fragment shader with invariant gl_FrontFacing must fail compilation", }, -]); + { + vShaderId: "vertexShaderVariant", + vShaderSuccess: true, + fShaderId: "fragmentShaderGlobalInvariant", + fShaderSuccess: true, + linkSuccess: false, + passMsg: "vertex shader with variant varying and fragment shader with invariant (global setting) varying must fail", + }, + { + vShaderId: "vertexShaderInvariant", + vShaderSuccess: true, + fShaderId: "fragmentShaderGlobalInvariant", + fShaderSuccess: true, + linkSuccess: true, + passMsg: "vertex shader with invariant varying and fragment shader with invariant (global setting) varying must succeed", + } +]; + +GLSLConformanceTester.runTests(cases); var successfullyParsed = true; diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-mis-matching-uniforms.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-mis-matching-uniforms.html index 37b5a9654da..79a303cc09e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-mis-matching-uniforms.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-mis-matching-uniforms.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-mis-matching-varyings.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-mis-matching-varyings.html index f760262748b..4446025c31c 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-mis-matching-varyings.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-mis-matching-varyings.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-missing-varyings.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-missing-varyings.html index e2fa5ba6095..5df921cdd48 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-missing-varyings.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-missing-varyings.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-name-conflicts.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-name-conflicts.html index e5c0ee8c684..7e449f1dc4e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-name-conflicts.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-name-conflicts.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-uniform-structs.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-uniform-structs.html index 5dd4d35a3cd..69a8e98cfd3 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-uniform-structs.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-uniform-structs.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-varyings.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-varyings.html index 608f33fe304..4b59b146161 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-varyings.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shaders-with-varyings.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/shared.html b/tests/wpt/webgl/tests/conformance/glsl/misc/shared.html index dc8fe3d0f9c..e683a7af930 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/shared.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/shared.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -172,4 +172,3 @@ var successfullyParsed = true; - diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/struct-as-inout-parameter.html b/tests/wpt/webgl/tests/conformance/glsl/misc/struct-as-inout-parameter.html new file mode 100644 index 00000000000..d08ae596d8d --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/struct-as-inout-parameter.html @@ -0,0 +1,140 @@ + + + + + + +GLSL Structure as Inout Parameter Test + + + + + + + + + + + + +
+
+ + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/struct-as-out-parameter.html b/tests/wpt/webgl/tests/conformance/glsl/misc/struct-as-out-parameter.html new file mode 100644 index 00000000000..05a7ae973b0 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/struct-as-out-parameter.html @@ -0,0 +1,138 @@ + + + + + + +GLSL Structure as Out Parameter Test + + + + + + + + + + + + +
+
+ + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/struct-equals.html b/tests/wpt/webgl/tests/conformance/glsl/misc/struct-equals.html index 159d9dc5d73..8ce8e31d60a 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/misc/struct-equals.html +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/struct-equals.html @@ -1,4 +1,3 @@ - WebGL uniform location length tests - + - - + + @@ -104,6 +104,6 @@ shouldBeNull('uniformLoc'); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/glsl/misc/uninitialized-local-global-variables.html b/tests/wpt/webgl/tests/conformance/glsl/misc/uninitialized-local-global-variables.html new file mode 100644 index 00000000000..bb73bdfc318 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/misc/uninitialized-local-global-variables.html @@ -0,0 +1,297 @@ + + + + + + +Uninitialized local/global variables should be initialized + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/preprocessor/00_test_list.txt b/tests/wpt/webgl/tests/conformance/glsl/preprocessor/00_test_list.txt new file mode 100644 index 00000000000..a921678aaa4 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/preprocessor/00_test_list.txt @@ -0,0 +1 @@ +--min-version 1.0.4 macro-expansion-tricky.html diff --git a/tests/wpt/webgl/tests/conformance/glsl/preprocessor/macro-expansion-tricky.html b/tests/wpt/webgl/tests/conformance/glsl/preprocessor/macro-expansion-tricky.html new file mode 100644 index 00000000000..af962fd0ee3 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/glsl/preprocessor/macro-expansion-tricky.html @@ -0,0 +1,69 @@ + + + + + + +Tricky macro expansion + + + + + + + + +
+
+ + + + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_field.vert.html b/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_field.vert.html index a0a459c2939..1c98b6a7620 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_field.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_field.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_function.vert.html b/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_function.vert.html index da0ddeaa07f..4498d02a432 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_function.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_function.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -59,5 +59,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_struct.vert.html b/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_struct.vert.html index 7bfc52cd4b5..97d5e94dd97 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_struct.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_struct.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -59,5 +59,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_variable.vert.html b/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_variable.vert.html index ea21ca0d90f..2b45f807da1 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_variable.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/reserved/_webgl_variable.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -55,5 +55,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_field.vert.html b/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_field.vert.html index 908513dbcfe..1c6a28fde42 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_field.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_field.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_function.vert.html b/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_function.vert.html index b133d42dd0f..b215cbcea8e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_function.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_function.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -59,5 +59,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_struct.vert.html b/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_struct.vert.html index d57c57dc378..16a38949d5e 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_struct.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_struct.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -59,5 +59,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_variable.vert.html b/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_variable.vert.html index 3df092c3668..bccb5513db1 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_variable.vert.html +++ b/tests/wpt/webgl/tests/conformance/glsl/reserved/webgl_variable.vert.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
@@ -55,5 +55,3 @@ var successfullyParsed = true; - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2d-bias.html b/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2d-bias.html index e10bcb160f8..a3b01685f2b 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2d-bias.html +++ b/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2d-bias.html @@ -31,11 +31,11 @@ WebGL texture2D GLSL conformance test. - + - - + + @@ -118,9 +118,7 @@ wtu.glErrorShouldBe(gl, gl.NO_ERROR, "Should be no errors."); var successfullyParsed = true; - + - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dlod.html b/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dlod.html index 414d8663274..c50e5964636 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dlod.html +++ b/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dlod.html @@ -31,11 +31,11 @@ WebGL texture2D GLSL conformance test. - + - - + + @@ -126,9 +126,7 @@ function runTest() { var successfullyParsed = true; - + - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dproj.html b/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dproj.html index df9159e09a4..cfaba534608 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dproj.html +++ b/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dproj.html @@ -31,11 +31,11 @@ WebGL texture2D GLSL conformance test. - + - - + + @@ -133,9 +133,7 @@ wtu.glErrorShouldBe(gl, gl.NO_ERROR, "Should be no errors."); var successfullyParsed = true; - + - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dprojlod.html b/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dprojlod.html index 82d8bcd119f..beb07f5076d 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dprojlod.html +++ b/tests/wpt/webgl/tests/conformance/glsl/samplers/glsl-function-texture2dprojlod.html @@ -31,11 +31,11 @@ WebGL texture2D GLSL conformance test. - + - - + + @@ -157,9 +157,7 @@ function runTest() { var successfullyParsed = true; - + - - diff --git a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragcoord-xy-values.html b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragcoord-xy-values.html index 857cb9a6cbb..76629f0fb34 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragcoord-xy-values.html +++ b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragcoord-xy-values.html @@ -29,181 +29,180 @@ - gl-fragcoord Test - - - - - +gl-fragcoord Test + + + + +
- + gl_PointSize = 1.0; + gl_Position = vec4(aPosInfo.xy, 0.0, 1.0); +} + - + gl_FragColor = (pixelIxValid && fracCoordValid) ? green : red; +} + - + gl_FragColor = vec4(r, g, 0.0, 1.0); +} + - - +// Run tests +init(); +render(0, 0, "green : sampling at center of output pixel is correct"); +render(0.25, 0.25, "green : sampling in top right quadrant of output pixel is correct"); +render(-0.25, 0.25, "green : sampling in top left quadrant of output pixel is correct"); +render( 0.25, -0.25, "green : sampling in bottom right quadrant of output pixel is correct"); +render(-0.25, -0.25, "green : sampling in bottom left quadrant of output pixel is correct"); +var successfullyParsed = true; + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragcoord.html b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragcoord.html index a6f25126a0c..7d9bdbbbfdd 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragcoord.html +++ b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragcoord.html @@ -29,80 +29,79 @@ - gl-fragcoord Test - - - - - +gl-fragcoord Test + + + + +
- + + + + + } +} - - - - +init(); +var successfullyParsed = true; + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragdata-and-fragcolor.html b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragdata-and-fragcolor.html index dcc470eb2b1..a3eeed37245 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragdata-and-fragcolor.html +++ b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-fragdata-and-fragcolor.html @@ -31,12 +31,12 @@ WebGL GLSL Conformance Tests - + - - - + + +
diff --git a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-frontfacing.html b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-frontfacing.html index 6be52169e86..902d65f8cb6 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-frontfacing.html +++ b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-frontfacing.html @@ -29,81 +29,81 @@ - gl-fragcoord Test - - - - - +gl-fragcoord Test + + + + +
- + - + - - +init(); +var successfullyParsed = true; + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-pointcoord.html b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-pointcoord.html index b05417605e4..ebfa41993f7 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/variables/gl-pointcoord.html +++ b/tests/wpt/webgl/tests/conformance/glsl/variables/gl-pointcoord.html @@ -29,136 +29,136 @@ - gl-pointcoord Test - - - - - +gl-pointcoord Test + + + + +
- + - + - - +var successfullyParsed = true; + + diff --git a/tests/wpt/webgl/tests/conformance/glsl/variables/glsl-built-ins.html b/tests/wpt/webgl/tests/conformance/glsl/variables/glsl-built-ins.html index 387ab1f162b..75310782b78 100644 --- a/tests/wpt/webgl/tests/conformance/glsl/variables/glsl-built-ins.html +++ b/tests/wpt/webgl/tests/conformance/glsl/variables/glsl-built-ins.html @@ -31,52 +31,53 @@ WebGL GLSL built in variables Conformance Test - + - - + +
- + diff --git a/tests/wpt/webgl/tests/conformance/limits/00_test_list.txt b/tests/wpt/webgl/tests/conformance/limits/00_test_list.txt index 0b342cad1d3..79eb84a48e6 100644 --- a/tests/wpt/webgl/tests/conformance/limits/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/limits/00_test_list.txt @@ -1,3 +1,4 @@ +--min-version 1.0.4 gl-line-width.html gl-min-attribs.html gl-max-texture-dimensions.html gl-min-textures.html diff --git a/tests/wpt/webgl/tests/conformance/limits/gl-max-texture-dimensions.html b/tests/wpt/webgl/tests/conformance/limits/gl-max-texture-dimensions.html index 6c626f6dc4b..aef6db69831 100644 --- a/tests/wpt/webgl/tests/conformance/limits/gl-max-texture-dimensions.html +++ b/tests/wpt/webgl/tests/conformance/limits/gl-max-texture-dimensions.html @@ -33,8 +33,8 @@ - - + + @@ -124,7 +124,7 @@ wtu.glErrorShouldBe(gl, gl.NO_ERROR, "Should be no errors."); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/limits/gl-min-attribs.html b/tests/wpt/webgl/tests/conformance/limits/gl-min-attribs.html index 7ab8ba70473..e71f4497aaf 100644 --- a/tests/wpt/webgl/tests/conformance/limits/gl-min-attribs.html +++ b/tests/wpt/webgl/tests/conformance/limits/gl-min-attribs.html @@ -33,8 +33,8 @@ - - + + @@ -101,7 +101,7 @@ var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/limits/gl-min-textures.html b/tests/wpt/webgl/tests/conformance/limits/gl-min-textures.html index 91f25c6a999..0d765e0953e 100644 --- a/tests/wpt/webgl/tests/conformance/limits/gl-min-textures.html +++ b/tests/wpt/webgl/tests/conformance/limits/gl-min-textures.html @@ -33,8 +33,8 @@ - - + + @@ -96,7 +96,7 @@ wtu.checkCanvas(gl, [255, 128, 64, 252], var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/limits/gl-min-uniforms.html b/tests/wpt/webgl/tests/conformance/limits/gl-min-uniforms.html index a8dd785309c..58046256222 100644 --- a/tests/wpt/webgl/tests/conformance/limits/gl-min-uniforms.html +++ b/tests/wpt/webgl/tests/conformance/limits/gl-min-uniforms.html @@ -33,8 +33,8 @@ - - + + @@ -120,7 +120,7 @@ wtu.checkCanvasRect(gl, 0, 0, gl.canvas.width, gl.canvas.height, [32, 64, 127, 2 var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/00_test_list.txt b/tests/wpt/webgl/tests/conformance/misc/00_test_list.txt index 3941fd9f752..6fba2bb2b06 100644 --- a/tests/wpt/webgl/tests/conformance/misc/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/misc/00_test_list.txt @@ -2,13 +2,15 @@ bad-arguments-test.html --min-version 1.0.2 boolean-argument-conversion.html --min-version 1.0.2 delayed-drawing.html error-reporting.html -instanceof-test.html +--min-version 1.0.4 expando-loss.html +functions-returning-strings.html +--max-version 1.9.9 instanceof-test.html invalid-passed-params.html is-object.html null-object-behaviour.html -functions-returning-strings.html object-deletion-behaviour.html shader-precision-format.html type-conversion-test.html uninitialized-test.html webgl-specific.html +--min-version 1.0.4 webgl-specific-stencil-settings.html diff --git a/tests/wpt/webgl/tests/conformance/misc/bad-arguments-test.html b/tests/wpt/webgl/tests/conformance/misc/bad-arguments-test.html index 9f348080979..233f5a1c748 100644 --- a/tests/wpt/webgl/tests/conformance/misc/bad-arguments-test.html +++ b/tests/wpt/webgl/tests/conformance/misc/bad-arguments-test.html @@ -32,8 +32,8 @@ - - + +
@@ -44,75 +44,80 @@ var wtu = WebGLTestUtils; description("Tests calling WebGL APIs with wrong argument types"); -var context = wtu.create3DContext(); -var program = wtu.loadStandardProgram(context); -var shader = wtu.loadStandardVertexShader(context); - -function mayThrow(expression) { - wtu.shouldThrowOrGenerateGLError(context, [context.NO_ERROR, context.INVALID_VALUE, context.INVALID_OPERATION, context.INVALID_ENUM], expression); -} - -assertMsg(program != null, "Program Compiled"); -assertMsg(shader != null, "Shader Compiled"); - -var loc = context.getUniformLocation(program, "u_modelViewProjMatrix"); -assertMsg(loc != null, "getUniformLocation succeeded"); var testArguments = [ { value: "foo", - throws: "yes" }, + throwsForNullables: true }, { value: 0, - throws: "yes" }, + throwsForNullables: true }, { value: null, - throws: "maybe" }, + throwsForNullables: false }, { value: undefined, - throws: "maybe" } + throwsForNullables: false } ]; var argument; -for (var i = 0; i < testArguments.length; ++i) { - var func, func2; - if (testArguments[i].throws == "yes") { - func = shouldThrow; - func2 = shouldThrow; - } else { - func = mayThrow; - func2 = shouldBeUndefined; - } - argument = testArguments[i].value; - func("context.compileShader(argument)"); - func("context.linkProgram(argument)"); - func("context.attachShader(program, argument)"); - func("context.attachShader(argument, shader)"); - func("context.detachShader(program, argument)"); - func("context.detachShader(argument, shader)"); - func("context.shaderSource(argument, 'foo')"); - func("context.bindAttribLocation(argument, 0, 'foo')"); - func("context.getProgramInfoLog(argument)"); - func("context.getProgramParameter(argument, 0)"); - func("context.getShaderInfoLog(argument)"); - func("context.getShaderParameter(argument, 0)"); - func("context.getShaderSource(argument)"); - func("context.getUniform(argument, loc)"); - func("context.getUniform(program, argument)"); - func("context.getUniformLocation(argument, 'u_modelViewProjMatrix')"); +var context = wtu.create3DContext(); +var program; +var shader; +var loc; +wtu.loadStandardProgramAsync(context, function(success, prog) { + program = prog; + wtu.loadStandardVertexShaderAsync(context, function(success, s) { + shader = s; - func2("context.useProgram(argument)"); - func2("context.bindBuffer(context.ARRAY_BUFFER, argument)"); - func2("context.bindFramebuffer(context.FRAMEBUFFER, argument)"); - func2("context.bindRenderbuffer(context.RENDERBUFFER, argument)"); - func2("context.bindTexture(context.TEXTURE_2D, argument)"); - func2("context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHMENT, context.RENDERBUFFER, argument)"); - func2("context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0, context.TEXTURE_2D, argument, 0)"); - func2("context.uniform2fv(argument, new Float32Array([0.0, 0.0]))"); - func2("context.uniform2iv(argument, new Int32Array([0, 0]))"); - func2("context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0, 0.0]))"); -} + assertMsg(program != null, "Program Compiled"); + assertMsg(shader != null, "Shader Compiled"); -var successfullyParsed = true; + loc = context.getUniformLocation(program, "u_modelViewProjMatrix"); + assertMsg(loc != null, "getUniformLocation succeeded"); + + for (var i = 0; i < testArguments.length; ++i) { + argument = testArguments[i].value; + + debug('Testing argument: ' + argument); + + // These functions don't accept nullable arguments any more. + shouldThrow("context.compileShader(argument)"); + shouldThrow("context.linkProgram(argument)"); + shouldThrow("context.attachShader(program, argument)"); + shouldThrow("context.attachShader(argument, shader)"); + shouldThrow("context.detachShader(program, argument)"); + shouldThrow("context.detachShader(argument, shader)"); + shouldThrow("context.shaderSource(argument, 'foo')"); + shouldThrow("context.bindAttribLocation(argument, 0, 'foo')"); + shouldThrow("context.getProgramInfoLog(argument)"); + shouldThrow("context.getProgramParameter(argument, 0)"); + shouldThrow("context.getShaderInfoLog(argument)"); + shouldThrow("context.getShaderParameter(argument, 0)"); + shouldThrow("context.getShaderSource(argument)"); + shouldThrow("context.getUniform(argument, loc)"); + shouldThrow("context.getUniform(program, argument)"); + shouldThrow("context.getUniformLocation(argument, 'u_modelViewProjMatrix')"); + + // The following entry points still accept nullable arguments. + var func; + if (testArguments[i].throwsForNullables) { + func = shouldThrow; + } else { + func = shouldBeUndefined; + } + + func("context.bindBuffer(context.ARRAY_BUFFER, argument)"); + func("context.bindFramebuffer(context.FRAMEBUFFER, argument)"); + func("context.bindRenderbuffer(context.RENDERBUFFER, argument)"); + func("context.bindTexture(context.TEXTURE_2D, argument)"); + func("context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHMENT, context.RENDERBUFFER, argument)"); + func("context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0, context.TEXTURE_2D, argument, 0)"); + func("context.uniform2fv(argument, new Float32Array([0.0, 0.0]))"); + func("context.uniform2iv(argument, new Int32Array([0, 0]))"); + func("context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0, 0.0]))"); + func("context.useProgram(argument)"); + } + finishTest(); + }); +}); - - diff --git a/tests/wpt/webgl/tests/conformance/misc/boolean-argument-conversion.html b/tests/wpt/webgl/tests/conformance/misc/boolean-argument-conversion.html index e48a68c5063..8419cf66b3d 100644 --- a/tests/wpt/webgl/tests/conformance/misc/boolean-argument-conversion.html +++ b/tests/wpt/webgl/tests/conformance/misc/boolean-argument-conversion.html @@ -32,9 +32,9 @@ - - - + + +
@@ -133,6 +133,6 @@ shouldNotThrowWithBoolArgs( var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/delayed-drawing.html b/tests/wpt/webgl/tests/conformance/misc/delayed-drawing.html index 08fab67a365..eaf1aafe699 100644 --- a/tests/wpt/webgl/tests/conformance/misc/delayed-drawing.html +++ b/tests/wpt/webgl/tests/conformance/misc/delayed-drawing.html @@ -33,8 +33,8 @@ - - + + diff --git a/tests/wpt/webgl/tests/conformance/misc/error-reporting.html b/tests/wpt/webgl/tests/conformance/misc/error-reporting.html index 00a1b9b4e81..14ccd55cb49 100644 --- a/tests/wpt/webgl/tests/conformance/misc/error-reporting.html +++ b/tests/wpt/webgl/tests/conformance/misc/error-reporting.html @@ -29,8 +29,8 @@ - - + +
@@ -53,7 +53,8 @@ var program = wtu.loadStandardProgram(context); wtu.glErrorShouldBe(context, context.NO_ERROR); debug("Testing getActiveAttrib"); -wtu.shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getActiveAttrib(null, 2)"); +shouldThrow("context.getActiveAttrib(null, 2)"); +wtu.glErrorShouldBe(context, context.NO_ERROR); // Error state should be clear by this point wtu.glErrorShouldBe(context, context.NO_ERROR); // Real OpenGL error @@ -63,7 +64,8 @@ wtu.glErrorShouldBe(context, context.INVALID_VALUE); wtu.glErrorShouldBe(context, context.NO_ERROR); debug("Testing getActiveUniform"); -wtu.shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getActiveUniform(null, 0)"); +shouldThrow("context.getActiveUniform(null, 0)"); +wtu.glErrorShouldBe(context, context.NO_ERROR); // Error state should be clear by this point wtu.glErrorShouldBe(context, context.NO_ERROR); // Real OpenGL error @@ -89,6 +91,6 @@ wtu.glErrorShouldBe(context, context.NO_ERROR); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/functions-returning-strings.html b/tests/wpt/webgl/tests/conformance/misc/functions-returning-strings.html index 13cf333f197..5373ab3c473 100644 --- a/tests/wpt/webgl/tests/conformance/misc/functions-returning-strings.html +++ b/tests/wpt/webgl/tests/conformance/misc/functions-returning-strings.html @@ -32,9 +32,9 @@ - - - + + +
@@ -121,7 +121,7 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/instanceof-test.html b/tests/wpt/webgl/tests/conformance/misc/instanceof-test.html index 4ad14c39a3d..ebca7c3e091 100644 --- a/tests/wpt/webgl/tests/conformance/misc/instanceof-test.html +++ b/tests/wpt/webgl/tests/conformance/misc/instanceof-test.html @@ -33,8 +33,8 @@ - - + + @@ -48,7 +48,6 @@ void main() gl_Position = vPosition; } - + - + + - - diff --git a/tests/wpt/webgl/tests/conformance/misc/invalid-passed-params.html b/tests/wpt/webgl/tests/conformance/misc/invalid-passed-params.html index 1d992485286..20dd73ac29c 100644 --- a/tests/wpt/webgl/tests/conformance/misc/invalid-passed-params.html +++ b/tests/wpt/webgl/tests/conformance/misc/invalid-passed-params.html @@ -32,9 +32,9 @@ - - - + + +
@@ -46,6 +46,7 @@ description("Test for invalid passed parameters"); var wtu = WebGLTestUtils; var context = wtu.create3DContext(); +var contextVersion = wtu.getDefault3DContextVersion(); debug(""); debug("Test createShader()"); @@ -61,20 +62,6 @@ wtu.shouldGenerateGLError(context, context.INVALID_VALUE, "context.clear(desktop wtu.shouldGenerateGLError(context, context.INVALID_VALUE, "context.clear(desktopGL['ACCUM_BUFFER_BIT'] | context.COLOR_BUFFER_BIT | context.DEPTH_BUFFER_BIT | context.STENCIL_BUFFER_BIT)"); wtu.shouldGenerateGLError(context, context.NO_ERROR, "context.clear(context.COLOR_BUFFER_BIT | context.DEPTH_BUFFER_BIT | context.STENCIL_BUFFER_BIT)"); -debug(""); -debug("Test bufferData()"); -var buffer = context.createBuffer(); -wtu.shouldGenerateGLError(context, context.NO_ERROR, "context.bindBuffer(context.ARRAY_BUFFER, buffer)"); -wtu.shouldGenerateGLError(context, context.NO_ERROR, "context.bufferData(context.ARRAY_BUFFER, 16, context.STREAM_DRAW)"); -wtu.shouldGenerateGLError(context, context.NO_ERROR, "context.bufferData(context.ARRAY_BUFFER, 16, context.STATIC_DRAW)"); -wtu.shouldGenerateGLError(context, context.NO_ERROR, "context.bufferData(context.ARRAY_BUFFER, 16, context.DYNAMIC_DRAW)"); -wtu.shouldGenerateGLError(context, context.INVALID_ENUM, "context.bufferData(context.ARRAY_BUFFER, 16, desktopGL['STREAM_READ'])"); -wtu.shouldGenerateGLError(context, context.INVALID_ENUM, "context.bufferData(context.ARRAY_BUFFER, 16, desktopGL['STREAM_COPY'])"); -wtu.shouldGenerateGLError(context, context.INVALID_ENUM, "context.bufferData(context.ARRAY_BUFFER, 16, desktopGL['STATIC_READ'])"); -wtu.shouldGenerateGLError(context, context.INVALID_ENUM, "context.bufferData(context.ARRAY_BUFFER, 16, desktopGL['STATIC_COPY'])"); -wtu.shouldGenerateGLError(context, context.INVALID_ENUM, "context.bufferData(context.ARRAY_BUFFER, 16, desktopGL['DYNAMIC_READ'])"); -wtu.shouldGenerateGLError(context, context.INVALID_ENUM, "context.bufferData(context.ARRAY_BUFFER, 16, desktopGL['DYNAMIC_COPY'])"); - debug(""); debug("Test {copy}Tex{Sub}Image2D with negative offset/width/height"); var tex = context.createTexture(); @@ -126,7 +113,7 @@ function generateShaderSource(opt_invalidIdentifierChar, opt_invalidCommentChar) + "varying float " + validAttribName + ";\n" + "void main() {\n" + validAttribName + " = " + validUniformName + ";\n" - + "gl_Position = vec4(0.0, 0.0, 0.0, 1.0); }\n"; + + "gl_Position = vec4(0.0, 0.0, 0.0, 1.0); }\n" + "//.+-/*%<>[](){}^|&~=!:;,?# " + invalidCommentString; } var vShader = context.createShader(context.VERTEX_SHADER); @@ -159,6 +146,9 @@ shouldBe("context.getError()", "context.NO_ERROR"); debug(""); debug("Test shaderSource() with invalid characters"); for (var i = 0; i < invalidSet.length; ++i) { + // Backslash as line-continuation is allowed in WebGL 2.0. + if (contextVersion > 1 && invalidSet[i] == '\\') + continue; var validShaderSource = generateShaderSource(undefined, invalidSet[i]); context.shaderSource(vShader, validShaderSource); shouldBe("context.getError()", "context.NO_ERROR"); @@ -195,6 +185,6 @@ debug("") var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/is-object.html b/tests/wpt/webgl/tests/conformance/misc/is-object.html index b80f24b17d2..0d93bb9c740 100644 --- a/tests/wpt/webgl/tests/conformance/misc/is-object.html +++ b/tests/wpt/webgl/tests/conformance/misc/is-object.html @@ -31,8 +31,8 @@ - - + +
@@ -96,6 +96,6 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/null-object-behaviour.html b/tests/wpt/webgl/tests/conformance/misc/null-object-behaviour.html index f3cd04397d9..f7e2fdafd42 100644 --- a/tests/wpt/webgl/tests/conformance/misc/null-object-behaviour.html +++ b/tests/wpt/webgl/tests/conformance/misc/null-object-behaviour.html @@ -32,8 +32,8 @@ - - + +
@@ -48,20 +48,19 @@ var context = wtu.create3DContext(); var program = wtu.loadStandardProgram(context); var shader = wtu.loadStandardVertexShader(context); var shouldGenerateGLError = wtu.shouldGenerateGLError; -var shouldThrowOrGenerateGLError = wtu.shouldThrowOrGenerateGLError; assertMsg(program != null, "Program Compiled"); assertMsg(shader != null, "Shader Compiled"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.compileShader(undefined)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.linkProgram(undefined)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.attachShader(undefined, undefined)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.attachShader(program, undefined)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.attachShader(undefined, shader)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.detachShader(program, undefined)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.detachShader(undefined, shader)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.shaderSource(undefined, undefined)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.shaderSource(undefined, 'foo')"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.bindAttribLocation(undefined, 0, 'foo')"); +shouldThrow("context.compileShader(undefined)"); +shouldThrow("context.linkProgram(undefined)"); +shouldThrow("context.attachShader(undefined, undefined)"); +shouldThrow("context.attachShader(program, undefined)"); +shouldThrow("context.attachShader(undefined, shader)"); +shouldThrow("context.detachShader(program, undefined)"); +shouldThrow("context.detachShader(undefined, shader)"); +shouldThrow("context.shaderSource(undefined, undefined)"); +shouldThrow("context.shaderSource(undefined, 'foo')"); +shouldThrow("context.bindAttribLocation(undefined, 0, 'foo')"); shouldThrow("context.bindBuffer(context.ARRAY_BUFFER, 0)"); shouldThrow("context.bindFramebuffer(context.FRAMEBUFFER, 0)"); shouldThrow("context.bindRenderbuffer(context.RENDERBUFFER, 0)"); @@ -76,13 +75,13 @@ shouldGenerateGLError(context, context.NO_ERROR, "context.bindRenderbuffer(conte shouldGenerateGLError(context, context.NO_ERROR, "context.bindTexture(context.TEXTURE_2D, undefined)"); shouldGenerateGLError(context, context.INVALID_OPERATION, "context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHMENT, context.RENDERBUFFER, null)"); shouldGenerateGLError(context, context.INVALID_OPERATION, "context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0, context.TEXTURE_2D, null, 0)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getProgramParameter(undefined, 0)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getProgramInfoLog(undefined, 0)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getShaderParameter(undefined, 0)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getShaderInfoLog(undefined, 0)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getShaderSource(undefined)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getUniform(undefined, null)"); -shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getUniformLocation(undefined, 'foo')"); +shouldThrow("context.getProgramParameter(undefined, 0)"); +shouldThrow("context.getProgramInfoLog(undefined, 0)"); +shouldThrow("context.getShaderParameter(undefined, 0)"); +shouldThrow("context.getShaderInfoLog(undefined, 0)"); +shouldThrow("context.getShaderSource(undefined)"); +shouldThrow("context.getUniform(undefined, null)"); +shouldThrow("context.getUniformLocation(undefined, 'foo')"); debug(""); debug("check with bindings"); @@ -108,6 +107,6 @@ shouldGenerateGLError(context, context.INVALID_OPERATION, "context.getTexParamet var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/object-deletion-behaviour.html b/tests/wpt/webgl/tests/conformance/misc/object-deletion-behaviour.html index 8462049bfcf..447d1ecf5ea 100644 --- a/tests/wpt/webgl/tests/conformance/misc/object-deletion-behaviour.html +++ b/tests/wpt/webgl/tests/conformance/misc/object-deletion-behaviour.html @@ -32,8 +32,8 @@ - - + +
@@ -41,11 +41,12 @@ - + diff --git a/tests/wpt/webgl/tests/conformance/misc/shader-precision-format.html b/tests/wpt/webgl/tests/conformance/misc/shader-precision-format.html index 7a9f0700ee5..7d5995b3ed6 100644 --- a/tests/wpt/webgl/tests/conformance/misc/shader-precision-format.html +++ b/tests/wpt/webgl/tests/conformance/misc/shader-precision-format.html @@ -32,8 +32,8 @@ - - + + diff --git a/tests/wpt/webgl/tests/conformance/misc/type-conversion-test.html b/tests/wpt/webgl/tests/conformance/misc/type-conversion-test.html index 4fc263a8cf9..afe666a8d33 100644 --- a/tests/wpt/webgl/tests/conformance/misc/type-conversion-test.html +++ b/tests/wpt/webgl/tests/conformance/misc/type-conversion-test.html @@ -32,8 +32,8 @@ - - + +
@@ -168,7 +168,7 @@ for (var i = 0; i < args.length; ++i) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/uninitialized-test.html b/tests/wpt/webgl/tests/conformance/misc/uninitialized-test.html index 06d9574582b..23fc73af70f 100644 --- a/tests/wpt/webgl/tests/conformance/misc/uninitialized-test.html +++ b/tests/wpt/webgl/tests/conformance/misc/uninitialized-test.html @@ -32,8 +32,8 @@ - - + +
@@ -121,6 +121,26 @@ gl.deleteTexture(tex); gl.finish(); wtu.glErrorShouldBe(gl, gl.NO_ERROR); +debug(""); +debug("Reading a partially initialized texture (texImage2D) should succeed with all uninitialized bytes set to 0 and initialized bytes untouched."); + +var tex = setupTexture(width, height); +gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, width, height, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); +var data = new Uint8Array(4); +var r = 108; +var g = 72; +var b = 36; +var a = 9; +data[0] = r; +data[1] = g; +data[2] = b; +data[3] = a; +gl.texSubImage2D(gl.TEXTURE_2D, 0, width/2, height/2, 1, 1, gl.RGBA, gl.UNSIGNED_BYTE, data); +checkNonZeroPixels(tex, width, height, width/2, height/2, 1, 1, r, g, b, a); +gl.deleteTexture(tex); +gl.finish(); +wtu.glErrorShouldBe(gl, gl.NO_ERROR); + debug(""); debug("Reading an uninitialized portion of a texture (copyTexImage2D) should succeed with all bytes set to 0."); @@ -190,7 +210,7 @@ wtu.glErrorShouldBe(gl, gl.NO_ERROR); debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/misc/webgl-specific-stencil-settings.html b/tests/wpt/webgl/tests/conformance/misc/webgl-specific-stencil-settings.html new file mode 100644 index 00000000000..805813c3450 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/misc/webgl-specific-stencil-settings.html @@ -0,0 +1,322 @@ + + + + + + +WebGL stencil mask/func front-state-back-state equality test + + + + + + + +
+
+ + + + + + diff --git a/tests/wpt/webgl/tests/conformance/misc/webgl-specific.html b/tests/wpt/webgl/tests/conformance/misc/webgl-specific.html index 81d8cccd8c9..f1e406cc6aa 100644 --- a/tests/wpt/webgl/tests/conformance/misc/webgl-specific.html +++ b/tests/wpt/webgl/tests/conformance/misc/webgl-specific.html @@ -33,8 +33,8 @@ - - + +
@@ -78,26 +78,6 @@ debug(""); debug("Verify that in depthRange zNear <= zFar"); wtu.shouldGenerateGLError(gl, gl.INVALID_OPERATION, "gl.depthRange(20, 10)"); -debug(""); -debug("Verify that front/back settings should be the same for stenclMask and stencilFunc"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.stencilMask(255)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.drawArrays(gl.TRIANGLES, 0, 0)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.stencilMaskSeparate(gl.FRONT, 1)"); -wtu.shouldGenerateGLError(gl, gl.INVALID_OPERATION, "gl.drawArrays(gl.TRIANGLES, 0, 0)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.stencilMaskSeparate(gl.BACK, 1)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.drawArrays(gl.TRIANGLES, 0, 0)"); - -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.stencilFunc(gl.ALWAYS, 0, 255)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.drawArrays(gl.TRIANGLES, 0, 0)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.stencilFuncSeparate(gl.BACK, gl.ALWAYS, 1, 255)"); -wtu.shouldGenerateGLError(gl, gl.INVALID_OPERATION, "gl.drawArrays(gl.TRIANGLES, 0, 0)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.stencilFuncSeparate(gl.FRONT, gl.ALWAYS, 1, 255)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.drawArrays(gl.TRIANGLES, 0, 0)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.stencilFuncSeparate(gl.BACK, gl.ALWAYS, 1, 1)"); -wtu.shouldGenerateGLError(gl, gl.INVALID_OPERATION, "gl.drawArrays(gl.TRIANGLES, 0, 0)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.stencilFuncSeparate(gl.FRONT, gl.ALWAYS, 1, 1)"); -wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.drawArrays(gl.TRIANGLES, 0, 0)"); - debug(""); debug("Verify that *LENGTH are undefined"); shouldBeUndefined(gl.INFO_LOG_LENGTH); @@ -129,6 +109,6 @@ wtu.shouldGenerateGLError(gl, gl.INVALID_VALUE, "gl.lineWidth(NaN)"); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/more/conformance/constants.html b/tests/wpt/webgl/tests/conformance/more/conformance/constants.html index a0611d473bf..60b3c85b586 100644 --- a/tests/wpt/webgl/tests/conformance/more/conformance/constants.html +++ b/tests/wpt/webgl/tests/conformance/more/conformance/constants.html @@ -31,9 +31,9 @@ - - - + + - - + + - - - - + + - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - - - + + + + - - - + + - - - - + + - - - + + - + - + - - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - + +
- - + diff --git a/tests/wpt/webgl/tests/conformance/more/functions/readPixels.html b/tests/wpt/webgl/tests/conformance/more/functions/readPixels.html index a215be5bf93..a15a9d9adf9 100644 --- a/tests/wpt/webgl/tests/conformance/more/functions/readPixels.html +++ b/tests/wpt/webgl/tests/conformance/more/functions/readPixels.html @@ -31,9 +31,9 @@ - - - + + - - - - + + + - - - + + - - - + + - - - - + + + - - - + + - - - + + - - - + + - - - - + + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - - - - diff --git a/tests/wpt/webgl/tests/conformance/more/glsl/arrayOutOfBounds.html b/tests/wpt/webgl/tests/conformance/more/glsl/arrayOutOfBounds.html index 34ab4ab0a39..1a3bd552ab1 100644 --- a/tests/wpt/webgl/tests/conformance/more/glsl/arrayOutOfBounds.html +++ b/tests/wpt/webgl/tests/conformance/more/glsl/arrayOutOfBounds.html @@ -31,9 +31,9 @@ - - - + + - - - + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation-worker.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation-worker.html new file mode 100644 index 00000000000..3bcb8188eaf --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation-worker.html @@ -0,0 +1,62 @@ + + + + + +WebGL Context Creation Test for OffscreenCanvas in a worker + + + + + + + +
+
+ + + diff --git a/tests/wpt/webgl/tests/resources/test-eval.js b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation-worker.js similarity index 81% rename from tests/wpt/webgl/tests/resources/test-eval.js rename to tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation-worker.js index 2d863239e92..0a1c3cb0308 100644 --- a/tests/wpt/webgl/tests/resources/test-eval.js +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation-worker.js @@ -1,5 +1,5 @@ /* -** Copyright (c) 2012 The Khronos Group Inc. +** Copyright (c) 2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -20,13 +20,11 @@ ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. */ -/** - * Calls eval. - * - * This is here so other modules can use "use strict": - */ -TestEval = function(str) { - return eval(str); + +importScripts("../../js/tests/canvas-tests-utils.js"); +self.onmessage = function(e) { + if (contextCreation('webgl')) + self.postMessage("Test passed"); + else + self.postMessage("Test failed"); }; - - diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation.html new file mode 100644 index 00000000000..d4ba7814d53 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-creation.html @@ -0,0 +1,60 @@ + + + + + +WebGL Context Creation Test for OffscreenCanvas + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored-worker.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored-worker.html new file mode 100644 index 00000000000..079ecc16a47 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored-worker.html @@ -0,0 +1,66 @@ + + + + + + + + + + + + + +
+
+ + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored-worker.js b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored-worker.js new file mode 100644 index 00000000000..9c722673d12 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored-worker.js @@ -0,0 +1,68 @@ +/* +** Copyright (c) 2016 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ + +importScripts("../../js/tests/canvas-tests-utils.js"); +self.onmessage = function(e) { + if (!setupTest()) + self.postMessage("Test failed"); + + canvas.addEventListener("webglcontextlost", function(e) { + if (!testLostContext(e)) + self.postMessage("Test failed"); + // restore the context after this event has exited. + setTimeout(function() { + // we didn't call prevent default so we should not be able to restore the context + if (!compareGLError(gl.INVALID_OPERATION, "WEBGL_lose_context.restoreContext()")) + self.postMessage("Test failed"); + testLosingAndRestoringContext().then(function() { + self.postMessage("Test passed"); + }, function() { + self.postMessage("Test failed"); + }); + }, 0); + }); + canvas.addEventListener("webglcontextrestored", function() { + self.postMessage("Test failed"); + }); + allowRestore = false; + contextLostEventFired = false; + contextRestoredEventFired = false; + + if (!testOriginalContext()) + self.postMessage("Test failed"); + WEBGL_lose_context.loseContext(); + // The context should be lost immediately. + if (!gl.isContextLost()) + self.postMessage("Test failed"); + if (gl.getError() != gl.CONTEXT_LOST_WEBGL) + self.postMessage("Test failed"); + if (gl.getError() != gl.NO_ERROR) + self.postMessage("Test failed"); + // gl methods should be no-ops + if (!compareGLError(gl.NO_ERROR, "gl.blendFunc(gl.TEXTURE_2D, gl.TEXTURE_CUBE_MAP)")) + self.postMessage("Test failed"); + // but the event should not have been fired. + if (contextLostEventFired) + self.postMessage("Test failed"); +} + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored.html new file mode 100644 index 00000000000..3250be64769 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-restored.html @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + +
+
+ + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-worker.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-worker.html new file mode 100644 index 00000000000..e03a30e45f7 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-worker.html @@ -0,0 +1,66 @@ + + + + + + + + + + + + + +
+
+ + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-worker.js b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-worker.js new file mode 100644 index 00000000000..ba94b935859 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost-worker.js @@ -0,0 +1,52 @@ +/* +** Copyright (c) 2016 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ + +importScripts("../../js/tests/canvas-tests-utils.js"); +self.onmessage = function(e) { + canvas = new OffscreenCanvas(10, 10); + gl = canvas.getContext('webgl'); + + // call testValidContext() before checking for the extension, because this is where we check + // for the isContextLost() method, which we want to do regardless of the extension's presence. + if (!testValidContext()) + self.postMessage("Test failed"); + + extension = gl.getExtension("WEBGL_lose_context"); + // need an extension that exposes new API methods. + OES_vertex_array_object = gl.getExtension("OES_vertex_array_object"); + if (extension == null || OES_vertex_array_object == null) + self.postMessage("Test failed"); + + // We need to initialize |uniformLocation| before losing context. + // Otherwise gl.getUniform() when context is lost will throw. + uniformLocation = gl.getUniformLocation(program, "tex"); + extension.loseContext(); + + canvas.addEventListener("webglcontextlost", function() { + if (testLostContextWithoutRestore()) + self.postMessage("Test passed"); + else + self.postMessage("Test failed"); + }, false); +} + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost.html new file mode 100644 index 00000000000..ac38985b480 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/context-lost.html @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + +
+
+ + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/methods-worker.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/methods-worker.html new file mode 100644 index 00000000000..cbc6508aa02 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/methods-worker.html @@ -0,0 +1,62 @@ + + + + + +WebGL Methods Test for OffscreenCanvas in a worker + + + + + + + +
+
+ + + diff --git a/tests/wpt/webgl/tests/resources/js-test-post.js b/tests/wpt/webgl/tests/conformance/offscreencanvas/methods-worker.js similarity index 81% rename from tests/wpt/webgl/tests/resources/js-test-post.js rename to tests/wpt/webgl/tests/conformance/offscreencanvas/methods-worker.js index ae4031cbaa2..c7d898f5b78 100644 --- a/tests/wpt/webgl/tests/resources/js-test-post.js +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/methods-worker.js @@ -1,5 +1,5 @@ /* -** Copyright (c) 2012 The Khronos Group Inc. +** Copyright (c) 2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -21,9 +21,10 @@ ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. */ -shouldBeTrue("successfullyParsed"); -_addSpan('
TEST COMPLETE'); -if (_jsTestPreVerboseLogging) { - _logToConsole('TEST COMPLETE'); +importScripts("../../js/tests/canvas-tests-utils.js"); +self.onmessage = function(e) { + if (testAPIs('webgl')) + self.postMessage("Test passed"); + else + self.postMessage("Test failed"); } -notifyFinishedToHarness() diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/methods.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/methods.html new file mode 100644 index 00000000000..060e2c0c42c --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/methods.html @@ -0,0 +1,59 @@ + + + + + +WebGL Methods Test for OffscreenCanvas + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/offscreencanvas-resize.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/offscreencanvas-resize.html new file mode 100644 index 00000000000..f28ac7840ac --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/offscreencanvas-resize.html @@ -0,0 +1,113 @@ + + + + + +Resizing Test for OffscreenCanvas + + + + + + + + +
+
+ + + diff --git a/tests/wpt/webgl/tests/conformance/offscreencanvas/offscreencanvas-transfer-image-bitmap.html b/tests/wpt/webgl/tests/conformance/offscreencanvas/offscreencanvas-transfer-image-bitmap.html new file mode 100644 index 00000000000..c411cd5fa54 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/offscreencanvas/offscreencanvas-transfer-image-bitmap.html @@ -0,0 +1,73 @@ + + + + + +Test for OffscreenCanvas TransferToImageBitmap + + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_001_to_006.html index c348d099ca8..5c2ae1d05b3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: abs_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_frag_xvary.frag index 1b8e4fd6aa7..6bea689383e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 2.0 * (color.r - 0.5); - gl_FragColor = vec4(abs(c), 0.0, 0.0, 1.0); + float c = 2.0 * (color.r - 0.5); + gl_FragColor = vec4(abs(c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_frag_xvary_ref.frag index ad257670d05..af41608172b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_frag_xvary_ref.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - float c = 2.0 * (color.r - 0.5); - if(c < 0.0) c *= -1.0; + float c = 2.0 * (color.r - 0.5); + if(c < 0.0) c *= -1.0; - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_vert_xvary.vert index 1c4bc6205e5..ab995eeb539 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 2.0 * (gtf_Color.r - 0.5); - color = vec4(abs(c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 2.0 * (gtf_Color.r - 0.5); + color = vec4(abs(c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_vert_xvary_ref.vert index 94f91877bf8..b6cd22e5060 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_float_vert_xvary_ref.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - float c = 2.0 * (gtf_Color.r - 0.5); - if(c < 0.0) c *= -1.0; + float c = 2.0 * (gtf_Color.r - 0.5); + if(c < 0.0) c *= -1.0; - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_frag_xvary.frag index b814a4afa41..5dd0df27b0b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(abs(c), 0.0, 1.0); + vec2 c = 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(abs(c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_frag_xvary_ref.frag index 13b98ccf80e..043273bca43 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_frag_xvary_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (color.rg - 0.5); - if((c[0] < 0.0)) c[0] *= -1.0; - if((c[1] < 0.0)) c[1] *= -1.0; + vec2 c = 2.0 * (color.rg - 0.5); + if((c[0] < 0.0)) c[0] *= -1.0; + if((c[1] < 0.0)) c[1] *= -1.0; - gl_FragColor = vec4(c, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_vert_xvary.vert index f34a0f1706d..391b243348b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - color = vec4(abs(c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + color = vec4(abs(c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_vert_xvary_ref.vert index 996447dccfd..0e0cf0076eb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec2_vert_xvary_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - if((c[0] < 0.0)) c[0] *= -1.0; - if((c[1] < 0.0)) c[1] *= -1.0; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + if((c[0] < 0.0)) c[0] *= -1.0; + if((c[1] < 0.0)) c[1] *= -1.0; - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_frag_xvary.frag index 35d7d9c1902..3c61c301c94 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(abs(c), 1.0); + vec3 c = 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(abs(c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_frag_xvary_ref.frag index 386e0124e73..91ea0ccf027 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_frag_xvary_ref.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (color.rgb - 0.5); - if((c[0] < 0.0)) c[0] *= -1.0; - if((c[1] < 0.0)) c[1] *= -1.0; - if((c[2] < 0.0)) c[2] *= -1.0; + vec3 c = 2.0 * (color.rgb - 0.5); + if((c[0] < 0.0)) c[0] *= -1.0; + if((c[1] < 0.0)) c[1] *= -1.0; + if((c[2] < 0.0)) c[2] *= -1.0; - gl_FragColor = vec4(c, 1.0); + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_vert_xvary.vert index f0a4c35e817..7b0098d09ac 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(abs(c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(abs(c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_vert_xvary_ref.vert index ba8dedcb9db..29798b28afd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/abs/abs_vec3_vert_xvary_ref.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - if((c[0] < 0.0)) c[0] *= -1.0; - if((c[1] < 0.0)) c[1] *= -1.0; - if((c[2] < 0.0)) c[2] *= -1.0; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + if((c[0] < 0.0)) c[0] *= -1.0; + if((c[1] < 0.0)) c[1] *= -1.0; + if((c[2] < 0.0)) c[2] *= -1.0; - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_001_to_006.html index 2fd7d79b89d..87dc132f4af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_001_to_006.html @@ -31,11 +31,11 @@ WebGL GLSL conformance test: acos_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_frag_xvary.frag index ff74d99c6e1..a1a2dc79376 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * (color.r - 0.5); - gl_FragColor = vec4(acos(c) / M_PI, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float c = 2.0 * (color.r - 0.5); + gl_FragColor = vec4(acos(c) / M_PI, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_frag_xvary_ref.frag index f59013e6b20..c4079a51f31 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_frag_xvary_ref.frag @@ -39,73 +39,73 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float asinValues[17]; - asinValues[0] = -1.5708; - asinValues[1] = -1.06544; - asinValues[2] = -0.848062; - asinValues[3] = -0.675132; - asinValues[4] = -0.523599; - asinValues[5] = -0.384397; - asinValues[6] = -0.25268; - asinValues[7] = -0.125328; - asinValues[8] = 0.0; - asinValues[9] = 0.125328; - asinValues[10] = 0.25268; - asinValues[11] = 0.384397; - asinValues[12] = 0.523599; - asinValues[13] = 0.675132; - asinValues[14] = 0.848062; - asinValues[15] = 1.06544; - asinValues[16] = 1.5708; + float asinValues[17]; + asinValues[0] = -1.5708; + asinValues[1] = -1.06544; + asinValues[2] = -0.848062; + asinValues[3] = -0.675132; + asinValues[4] = -0.523599; + asinValues[5] = -0.384397; + asinValues[6] = -0.25268; + asinValues[7] = -0.125328; + asinValues[8] = 0.0; + asinValues[9] = 0.125328; + asinValues[10] = 0.25268; + asinValues[11] = 0.384397; + asinValues[12] = 0.523599; + asinValues[13] = 0.675132; + asinValues[14] = 0.848062; + asinValues[15] = 1.06544; + asinValues[16] = 1.5708; - const float M_PI = 3.14159265358979323846; - float c = 2.0 * (color.r - 0.5); + const float M_PI = 3.14159265358979323846; + float c = 2.0 * (color.r - 0.5); - float arrVal = (c + 1.0) * 8.0; - int arr0 = int(floor(arrVal)); - float weight = arrVal - floor(arrVal); - float asin_c = 0.0; + float arrVal = (c + 1.0) * 8.0; + int arr0 = int(floor(arrVal)); + float weight = arrVal - floor(arrVal); + float asin_c = 0.0; - if (arr0 == 0) - asin_c = lerp(asinValues[0], asinValues[1], weight); - else if (arr0 == 1) - asin_c = lerp(asinValues[1], asinValues[2], weight); - else if (arr0 == 2) - asin_c = lerp(asinValues[2], asinValues[3], weight); - else if (arr0 == 3) - asin_c = lerp(asinValues[3], asinValues[4], weight); - else if (arr0 == 4) - asin_c = lerp(asinValues[4], asinValues[5], weight); - else if (arr0 == 5) - asin_c = lerp(asinValues[5], asinValues[6], weight); - else if (arr0 == 6) - asin_c = lerp(asinValues[6], asinValues[7], weight); - else if (arr0 == 7) - asin_c = lerp(asinValues[7], asinValues[8], weight); - else if (arr0 == 8) - asin_c = lerp(asinValues[8], asinValues[9], weight); - else if (arr0 == 9) - asin_c = lerp(asinValues[9], asinValues[10], weight); - else if (arr0 == 10) - asin_c = lerp(asinValues[10], asinValues[11], weight); - else if (arr0 == 11) - asin_c = lerp(asinValues[11], asinValues[12], weight); - else if (arr0 == 12) - asin_c = lerp(asinValues[12], asinValues[13], weight); - else if (arr0 == 13) - asin_c = lerp(asinValues[13], asinValues[14], weight); - else if (arr0 == 14) - asin_c = lerp(asinValues[14], asinValues[15], weight); - else if (arr0 == 15) - asin_c = lerp(asinValues[15], asinValues[16], weight); - else if (arr0 == 16) - asin_c = asinValues[16]; + if (arr0 == 0) + asin_c = lerp(asinValues[0], asinValues[1], weight); + else if (arr0 == 1) + asin_c = lerp(asinValues[1], asinValues[2], weight); + else if (arr0 == 2) + asin_c = lerp(asinValues[2], asinValues[3], weight); + else if (arr0 == 3) + asin_c = lerp(asinValues[3], asinValues[4], weight); + else if (arr0 == 4) + asin_c = lerp(asinValues[4], asinValues[5], weight); + else if (arr0 == 5) + asin_c = lerp(asinValues[5], asinValues[6], weight); + else if (arr0 == 6) + asin_c = lerp(asinValues[6], asinValues[7], weight); + else if (arr0 == 7) + asin_c = lerp(asinValues[7], asinValues[8], weight); + else if (arr0 == 8) + asin_c = lerp(asinValues[8], asinValues[9], weight); + else if (arr0 == 9) + asin_c = lerp(asinValues[9], asinValues[10], weight); + else if (arr0 == 10) + asin_c = lerp(asinValues[10], asinValues[11], weight); + else if (arr0 == 11) + asin_c = lerp(asinValues[11], asinValues[12], weight); + else if (arr0 == 12) + asin_c = lerp(asinValues[12], asinValues[13], weight); + else if (arr0 == 13) + asin_c = lerp(asinValues[13], asinValues[14], weight); + else if (arr0 == 14) + asin_c = lerp(asinValues[14], asinValues[15], weight); + else if (arr0 == 15) + asin_c = lerp(asinValues[15], asinValues[16], weight); + else if (arr0 == 16) + asin_c = asinValues[16]; - // acos(x) = PI/2 - asin(x) - gl_FragColor = vec4(0.5 - asin_c / M_PI, 0.0, 0.0, 1.0); + // acos(x) = PI/2 - asin(x) + gl_FragColor = vec4(0.5 - asin_c / M_PI, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_vert_xvary.vert index 28ac8e23325..79269d10e26 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * (gtf_Color.r - 0.5); - color = vec4(acos(c) / M_PI, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + float c = 2.0 * (gtf_Color.r - 0.5); + color = vec4(acos(c) / M_PI, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_vert_xvary_ref.vert index f1c45c08747..8e05e26cf45 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_float_vert_xvary_ref.vert @@ -30,29 +30,29 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * (gtf_Color.r - 0.5); + const float M_PI = 3.14159265358979323846; + float c = 2.0 * (gtf_Color.r - 0.5); - float acos_c = 0.0; - float scale = 1.0; - float sign = 1.0; + float acos_c = 0.0; + float scale = 1.0; + float sign = 1.0; - // pow can't handle negative numbers so take advantage of symmetry - if(c < 0.0) - { - sign = -1.0; - c *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c < 0.0) + { + sign = -1.0; + c *= -1.0; + } - // Taylors series expansion for acos - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - acos_c += scale * pow(c, float(i)) / float(i); - scale *= float(i) / float(i + 1); - } - acos_c = M_PI / 2.0 - sign * acos_c; + // Taylors series expansion for acos + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + acos_c += scale * pow(c, float(i)) / float(i); + scale *= float(i) / float(i + 1); + } + acos_c = M_PI / 2.0 - sign * acos_c; - color = vec4(acos_c / M_PI, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(acos_c / M_PI, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_frag_xvary.frag index 75432988539..e2204d1f786 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(acos(c) / M_PI, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(acos(c) / M_PI, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_frag_xvary_ref.frag index 0c6585a6282..d48846ed34f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_frag_xvary_ref.frag @@ -39,109 +39,109 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float asinValues[17]; - asinValues[0] = -1.5708; - asinValues[1] = -1.06544; - asinValues[2] = -0.848062; - asinValues[3] = -0.675132; - asinValues[4] = -0.523599; - asinValues[5] = -0.384397; - asinValues[6] = -0.25268; - asinValues[7] = -0.125328; - asinValues[8] = 0.0; - asinValues[9] = 0.125328; - asinValues[10] = 0.25268; - asinValues[11] = 0.384397; - asinValues[12] = 0.523599; - asinValues[13] = 0.675132; - asinValues[14] = 0.848062; - asinValues[15] = 1.06544; - asinValues[16] = 1.5708; + float asinValues[17]; + asinValues[0] = -1.5708; + asinValues[1] = -1.06544; + asinValues[2] = -0.848062; + asinValues[3] = -0.675132; + asinValues[4] = -0.523599; + asinValues[5] = -0.384397; + asinValues[6] = -0.25268; + asinValues[7] = -0.125328; + asinValues[8] = 0.0; + asinValues[9] = 0.125328; + asinValues[10] = 0.25268; + asinValues[11] = 0.384397; + asinValues[12] = 0.523599; + asinValues[13] = 0.675132; + asinValues[14] = 0.848062; + asinValues[15] = 1.06544; + asinValues[16] = 1.5708; - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * (color.rg - 0.5); + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * (color.rg - 0.5); - vec2 arrVal = (c + vec2(1.0, 1.0)) * 8.0; - int arr0x = int(floor(arrVal.x)); - int arr0y = int(floor(arrVal.y)); - vec2 weight = arrVal - floor(arrVal); - vec2 asin_c = vec2(0.0); + vec2 arrVal = (c + vec2(1.0, 1.0)) * 8.0; + int arr0x = int(floor(arrVal.x)); + int arr0y = int(floor(arrVal.y)); + vec2 weight = arrVal - floor(arrVal); + vec2 asin_c = vec2(0.0); - if (arr0x == 0) - asin_c.x = lerp(asinValues[0], asinValues[1], weight.x); - else if (arr0x == 1) - asin_c.x = lerp(asinValues[1], asinValues[2], weight.x); - else if (arr0x == 2) - asin_c.x = lerp(asinValues[2], asinValues[3], weight.x); - else if (arr0x == 3) - asin_c.x = lerp(asinValues[3], asinValues[4], weight.x); - else if (arr0x == 4) - asin_c.x = lerp(asinValues[4], asinValues[5], weight.x); - else if (arr0x == 5) - asin_c.x = lerp(asinValues[5], asinValues[6], weight.x); - else if (arr0x == 6) - asin_c.x = lerp(asinValues[6], asinValues[7], weight.x); - else if (arr0x == 7) - asin_c.x = lerp(asinValues[7], asinValues[8], weight.x); - else if (arr0x == 8) - asin_c.x = lerp(asinValues[8], asinValues[9], weight.x); - else if (arr0x == 9) - asin_c.x = lerp(asinValues[9], asinValues[10], weight.x); - else if (arr0x == 10) - asin_c.x = lerp(asinValues[10], asinValues[11], weight.x); - else if (arr0x == 11) - asin_c.x = lerp(asinValues[11], asinValues[12], weight.x); - else if (arr0x == 12) - asin_c.x = lerp(asinValues[12], asinValues[13], weight.x); - else if (arr0x == 13) - asin_c.x = lerp(asinValues[13], asinValues[14], weight.x); - else if (arr0x == 14) - asin_c.x = lerp(asinValues[14], asinValues[15], weight.x); - else if (arr0x == 15) - asin_c.x = lerp(asinValues[15], asinValues[16], weight.x); - else if (arr0x == 16) - asin_c.x = asinValues[16]; + if (arr0x == 0) + asin_c.x = lerp(asinValues[0], asinValues[1], weight.x); + else if (arr0x == 1) + asin_c.x = lerp(asinValues[1], asinValues[2], weight.x); + else if (arr0x == 2) + asin_c.x = lerp(asinValues[2], asinValues[3], weight.x); + else if (arr0x == 3) + asin_c.x = lerp(asinValues[3], asinValues[4], weight.x); + else if (arr0x == 4) + asin_c.x = lerp(asinValues[4], asinValues[5], weight.x); + else if (arr0x == 5) + asin_c.x = lerp(asinValues[5], asinValues[6], weight.x); + else if (arr0x == 6) + asin_c.x = lerp(asinValues[6], asinValues[7], weight.x); + else if (arr0x == 7) + asin_c.x = lerp(asinValues[7], asinValues[8], weight.x); + else if (arr0x == 8) + asin_c.x = lerp(asinValues[8], asinValues[9], weight.x); + else if (arr0x == 9) + asin_c.x = lerp(asinValues[9], asinValues[10], weight.x); + else if (arr0x == 10) + asin_c.x = lerp(asinValues[10], asinValues[11], weight.x); + else if (arr0x == 11) + asin_c.x = lerp(asinValues[11], asinValues[12], weight.x); + else if (arr0x == 12) + asin_c.x = lerp(asinValues[12], asinValues[13], weight.x); + else if (arr0x == 13) + asin_c.x = lerp(asinValues[13], asinValues[14], weight.x); + else if (arr0x == 14) + asin_c.x = lerp(asinValues[14], asinValues[15], weight.x); + else if (arr0x == 15) + asin_c.x = lerp(asinValues[15], asinValues[16], weight.x); + else if (arr0x == 16) + asin_c.x = asinValues[16]; - if (arr0y == 0) - asin_c.y = lerp(asinValues[0], asinValues[1], weight.y); - else if (arr0y == 1) - asin_c.y = lerp(asinValues[1], asinValues[2], weight.y); - else if (arr0y == 2) - asin_c.y = lerp(asinValues[2], asinValues[3], weight.y); - else if (arr0y == 3) - asin_c.y = lerp(asinValues[3], asinValues[4], weight.y); - else if (arr0y == 4) - asin_c.y = lerp(asinValues[4], asinValues[5], weight.y); - else if (arr0y == 5) - asin_c.y = lerp(asinValues[5], asinValues[6], weight.y); - else if (arr0y == 6) - asin_c.y = lerp(asinValues[6], asinValues[7], weight.y); - else if (arr0y == 7) - asin_c.y = lerp(asinValues[7], asinValues[8], weight.y); - else if (arr0y == 8) - asin_c.y = lerp(asinValues[8], asinValues[9], weight.y); - else if (arr0y == 9) - asin_c.y = lerp(asinValues[9], asinValues[10], weight.y); - else if (arr0y == 10) - asin_c.y = lerp(asinValues[10], asinValues[11], weight.y); - else if (arr0y == 11) - asin_c.y = lerp(asinValues[11], asinValues[12], weight.y); - else if (arr0y == 12) - asin_c.y = lerp(asinValues[12], asinValues[13], weight.y); - else if (arr0y == 13) - asin_c.y = lerp(asinValues[13], asinValues[14], weight.y); - else if (arr0y == 14) - asin_c.y = lerp(asinValues[14], asinValues[15], weight.y); - else if (arr0y == 15) - asin_c.y = lerp(asinValues[15], asinValues[16], weight.y); - else if (arr0y == 16) - asin_c.y = asinValues[16]; + if (arr0y == 0) + asin_c.y = lerp(asinValues[0], asinValues[1], weight.y); + else if (arr0y == 1) + asin_c.y = lerp(asinValues[1], asinValues[2], weight.y); + else if (arr0y == 2) + asin_c.y = lerp(asinValues[2], asinValues[3], weight.y); + else if (arr0y == 3) + asin_c.y = lerp(asinValues[3], asinValues[4], weight.y); + else if (arr0y == 4) + asin_c.y = lerp(asinValues[4], asinValues[5], weight.y); + else if (arr0y == 5) + asin_c.y = lerp(asinValues[5], asinValues[6], weight.y); + else if (arr0y == 6) + asin_c.y = lerp(asinValues[6], asinValues[7], weight.y); + else if (arr0y == 7) + asin_c.y = lerp(asinValues[7], asinValues[8], weight.y); + else if (arr0y == 8) + asin_c.y = lerp(asinValues[8], asinValues[9], weight.y); + else if (arr0y == 9) + asin_c.y = lerp(asinValues[9], asinValues[10], weight.y); + else if (arr0y == 10) + asin_c.y = lerp(asinValues[10], asinValues[11], weight.y); + else if (arr0y == 11) + asin_c.y = lerp(asinValues[11], asinValues[12], weight.y); + else if (arr0y == 12) + asin_c.y = lerp(asinValues[12], asinValues[13], weight.y); + else if (arr0y == 13) + asin_c.y = lerp(asinValues[13], asinValues[14], weight.y); + else if (arr0y == 14) + asin_c.y = lerp(asinValues[14], asinValues[15], weight.y); + else if (arr0y == 15) + asin_c.y = lerp(asinValues[15], asinValues[16], weight.y); + else if (arr0y == 16) + asin_c.y = asinValues[16]; - // acos(x) = PI/2 - asin(x) - gl_FragColor = vec4(0.5 - asin_c / M_PI, 0.0, 1.0); + // acos(x) = PI/2 - asin(x) + gl_FragColor = vec4(0.5 - asin_c / M_PI, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_vert_xvary.vert index fff0f6de0b0..c3751ecebb8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - color = vec4(acos(c) / M_PI, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + color = vec4(acos(c) / M_PI, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_vert_xvary_ref.vert index 96c448875ed..eb6bb5d9692 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec2_vert_xvary_ref.vert @@ -30,44 +30,44 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - vec2 acos_c = vec2(0.0); - vec2 scale = vec2(1.0); - vec2 sign = vec2(1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + vec2 acos_c = vec2(0.0); + vec2 scale = vec2(1.0); + vec2 sign = vec2(1.0); - // pow can't handle negative numbers so take advantage of symmetry - if(c.r < 0.0) - { - sign.r = -1.0; - c.r *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.r < 0.0) + { + sign.r = -1.0; + c.r *= -1.0; + } - // Taylors series expansion for acos - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - acos_c.r += scale.r * pow(c.r, float(i)) / float(i); - scale.r *= float(i) / float(i + 1); - } - acos_c.r = M_PI / 2.0 - sign.r * acos_c.r; + // Taylors series expansion for acos + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + acos_c.r += scale.r * pow(c.r, float(i)) / float(i); + scale.r *= float(i) / float(i + 1); + } + acos_c.r = M_PI / 2.0 - sign.r * acos_c.r; - // pow can't handle negative numbers so take advantage of symmetry - if(c.g < 0.0) - { - sign.g = -1.0; - c.g *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.g < 0.0) + { + sign.g = -1.0; + c.g *= -1.0; + } - // Taylors series expansion for acos - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - acos_c.g += scale.g * pow(c.g, float(i)) / float(i); - scale.g *= float(i) / float(i + 1); - } - acos_c.g = M_PI / 2.0 - sign.g * acos_c.g; + // Taylors series expansion for acos + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + acos_c.g += scale.g * pow(c.g, float(i)) / float(i); + scale.g *= float(i) / float(i + 1); + } + acos_c.g = M_PI / 2.0 - sign.g * acos_c.g; - color = vec4(acos_c / M_PI, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(acos_c / M_PI, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_frag_xvary.frag index 4b1f293c3e0..0c3f1a97627 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(acos(c) / M_PI, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(acos(c) / M_PI, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_frag_xvary_ref.frag index 96225ff8f9e..b0cac4a471d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_frag_xvary_ref.frag @@ -39,145 +39,145 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float asinValues[17]; - asinValues[0] = -1.5708; - asinValues[1] = -1.06544; - asinValues[2] = -0.848062; - asinValues[3] = -0.675132; - asinValues[4] = -0.523599; - asinValues[5] = -0.384397; - asinValues[6] = -0.25268; - asinValues[7] = -0.125328; - asinValues[8] = 0.0; - asinValues[9] = 0.125328; - asinValues[10] = 0.25268; - asinValues[11] = 0.384397; - asinValues[12] = 0.523599; - asinValues[13] = 0.675132; - asinValues[14] = 0.848062; - asinValues[15] = 1.06544; - asinValues[16] = 1.5708; + float asinValues[17]; + asinValues[0] = -1.5708; + asinValues[1] = -1.06544; + asinValues[2] = -0.848062; + asinValues[3] = -0.675132; + asinValues[4] = -0.523599; + asinValues[5] = -0.384397; + asinValues[6] = -0.25268; + asinValues[7] = -0.125328; + asinValues[8] = 0.0; + asinValues[9] = 0.125328; + asinValues[10] = 0.25268; + asinValues[11] = 0.384397; + asinValues[12] = 0.523599; + asinValues[13] = 0.675132; + asinValues[14] = 0.848062; + asinValues[15] = 1.06544; + asinValues[16] = 1.5708; - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * (color.rgb - 0.5); + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * (color.rgb - 0.5); - vec3 arrVal = (c + vec3(1.0, 1.0, 1.0)) * 8.0; - int arr0x = int(floor(arrVal.x)); - int arr0y = int(floor(arrVal.y)); - int arr0z = int(floor(arrVal.z)); - vec3 weight = arrVal - floor(arrVal); - vec3 asin_c = vec3(0.0); + vec3 arrVal = (c + vec3(1.0, 1.0, 1.0)) * 8.0; + int arr0x = int(floor(arrVal.x)); + int arr0y = int(floor(arrVal.y)); + int arr0z = int(floor(arrVal.z)); + vec3 weight = arrVal - floor(arrVal); + vec3 asin_c = vec3(0.0); - if (arr0x == 0) - asin_c.x = lerp(asinValues[0], asinValues[1], weight.x); - else if (arr0x == 1) - asin_c.x = lerp(asinValues[1], asinValues[2], weight.x); - else if (arr0x == 2) - asin_c.x = lerp(asinValues[2], asinValues[3], weight.x); - else if (arr0x == 3) - asin_c.x = lerp(asinValues[3], asinValues[4], weight.x); - else if (arr0x == 4) - asin_c.x = lerp(asinValues[4], asinValues[5], weight.x); - else if (arr0x == 5) - asin_c.x = lerp(asinValues[5], asinValues[6], weight.x); - else if (arr0x == 6) - asin_c.x = lerp(asinValues[6], asinValues[7], weight.x); - else if (arr0x == 7) - asin_c.x = lerp(asinValues[7], asinValues[8], weight.x); - else if (arr0x == 8) - asin_c.x = lerp(asinValues[8], asinValues[9], weight.x); - else if (arr0x == 9) - asin_c.x = lerp(asinValues[9], asinValues[10], weight.x); - else if (arr0x == 10) - asin_c.x = lerp(asinValues[10], asinValues[11], weight.x); - else if (arr0x == 11) - asin_c.x = lerp(asinValues[11], asinValues[12], weight.x); - else if (arr0x == 12) - asin_c.x = lerp(asinValues[12], asinValues[13], weight.x); - else if (arr0x == 13) - asin_c.x = lerp(asinValues[13], asinValues[14], weight.x); - else if (arr0x == 14) - asin_c.x = lerp(asinValues[14], asinValues[15], weight.x); - else if (arr0x == 15) - asin_c.x = lerp(asinValues[15], asinValues[16], weight.x); - else if (arr0x == 16) - asin_c.x = asinValues[16]; + if (arr0x == 0) + asin_c.x = lerp(asinValues[0], asinValues[1], weight.x); + else if (arr0x == 1) + asin_c.x = lerp(asinValues[1], asinValues[2], weight.x); + else if (arr0x == 2) + asin_c.x = lerp(asinValues[2], asinValues[3], weight.x); + else if (arr0x == 3) + asin_c.x = lerp(asinValues[3], asinValues[4], weight.x); + else if (arr0x == 4) + asin_c.x = lerp(asinValues[4], asinValues[5], weight.x); + else if (arr0x == 5) + asin_c.x = lerp(asinValues[5], asinValues[6], weight.x); + else if (arr0x == 6) + asin_c.x = lerp(asinValues[6], asinValues[7], weight.x); + else if (arr0x == 7) + asin_c.x = lerp(asinValues[7], asinValues[8], weight.x); + else if (arr0x == 8) + asin_c.x = lerp(asinValues[8], asinValues[9], weight.x); + else if (arr0x == 9) + asin_c.x = lerp(asinValues[9], asinValues[10], weight.x); + else if (arr0x == 10) + asin_c.x = lerp(asinValues[10], asinValues[11], weight.x); + else if (arr0x == 11) + asin_c.x = lerp(asinValues[11], asinValues[12], weight.x); + else if (arr0x == 12) + asin_c.x = lerp(asinValues[12], asinValues[13], weight.x); + else if (arr0x == 13) + asin_c.x = lerp(asinValues[13], asinValues[14], weight.x); + else if (arr0x == 14) + asin_c.x = lerp(asinValues[14], asinValues[15], weight.x); + else if (arr0x == 15) + asin_c.x = lerp(asinValues[15], asinValues[16], weight.x); + else if (arr0x == 16) + asin_c.x = asinValues[16]; - if (arr0y == 0) - asin_c.y = lerp(asinValues[0], asinValues[1], weight.y); - else if (arr0y == 1) - asin_c.y = lerp(asinValues[1], asinValues[2], weight.y); - else if (arr0y == 2) - asin_c.y = lerp(asinValues[2], asinValues[3], weight.y); - else if (arr0y == 3) - asin_c.y = lerp(asinValues[3], asinValues[4], weight.y); - else if (arr0y == 4) - asin_c.y = lerp(asinValues[4], asinValues[5], weight.y); - else if (arr0y == 5) - asin_c.y = lerp(asinValues[5], asinValues[6], weight.y); - else if (arr0y == 6) - asin_c.y = lerp(asinValues[6], asinValues[7], weight.y); - else if (arr0y == 7) - asin_c.y = lerp(asinValues[7], asinValues[8], weight.y); - else if (arr0y == 8) - asin_c.y = lerp(asinValues[8], asinValues[9], weight.y); - else if (arr0y == 9) - asin_c.y = lerp(asinValues[9], asinValues[10], weight.y); - else if (arr0y == 10) - asin_c.y = lerp(asinValues[10], asinValues[11], weight.y); - else if (arr0y == 11) - asin_c.y = lerp(asinValues[11], asinValues[12], weight.y); - else if (arr0y == 12) - asin_c.y = lerp(asinValues[12], asinValues[13], weight.y); - else if (arr0y == 13) - asin_c.y = lerp(asinValues[13], asinValues[14], weight.y); - else if (arr0y == 14) - asin_c.y = lerp(asinValues[14], asinValues[15], weight.y); - else if (arr0y == 15) - asin_c.y = lerp(asinValues[15], asinValues[16], weight.y); - else if (arr0y == 16) - asin_c.y = asinValues[16]; + if (arr0y == 0) + asin_c.y = lerp(asinValues[0], asinValues[1], weight.y); + else if (arr0y == 1) + asin_c.y = lerp(asinValues[1], asinValues[2], weight.y); + else if (arr0y == 2) + asin_c.y = lerp(asinValues[2], asinValues[3], weight.y); + else if (arr0y == 3) + asin_c.y = lerp(asinValues[3], asinValues[4], weight.y); + else if (arr0y == 4) + asin_c.y = lerp(asinValues[4], asinValues[5], weight.y); + else if (arr0y == 5) + asin_c.y = lerp(asinValues[5], asinValues[6], weight.y); + else if (arr0y == 6) + asin_c.y = lerp(asinValues[6], asinValues[7], weight.y); + else if (arr0y == 7) + asin_c.y = lerp(asinValues[7], asinValues[8], weight.y); + else if (arr0y == 8) + asin_c.y = lerp(asinValues[8], asinValues[9], weight.y); + else if (arr0y == 9) + asin_c.y = lerp(asinValues[9], asinValues[10], weight.y); + else if (arr0y == 10) + asin_c.y = lerp(asinValues[10], asinValues[11], weight.y); + else if (arr0y == 11) + asin_c.y = lerp(asinValues[11], asinValues[12], weight.y); + else if (arr0y == 12) + asin_c.y = lerp(asinValues[12], asinValues[13], weight.y); + else if (arr0y == 13) + asin_c.y = lerp(asinValues[13], asinValues[14], weight.y); + else if (arr0y == 14) + asin_c.y = lerp(asinValues[14], asinValues[15], weight.y); + else if (arr0y == 15) + asin_c.y = lerp(asinValues[15], asinValues[16], weight.y); + else if (arr0y == 16) + asin_c.y = asinValues[16]; - if (arr0z == 0) - asin_c.z = lerp(asinValues[0], asinValues[1], weight.z); - else if (arr0z == 1) - asin_c.z = lerp(asinValues[1], asinValues[2], weight.z); - else if (arr0z == 2) - asin_c.z = lerp(asinValues[2], asinValues[3], weight.z); - else if (arr0z == 3) - asin_c.z = lerp(asinValues[3], asinValues[4], weight.z); - else if (arr0z == 4) - asin_c.z = lerp(asinValues[4], asinValues[5], weight.z); - else if (arr0z == 5) - asin_c.z = lerp(asinValues[5], asinValues[6], weight.z); - else if (arr0z == 6) - asin_c.z = lerp(asinValues[6], asinValues[7], weight.z); - else if (arr0z == 7) - asin_c.z = lerp(asinValues[7], asinValues[8], weight.z); - else if (arr0z == 8) - asin_c.z = lerp(asinValues[8], asinValues[9], weight.z); - else if (arr0z == 9) - asin_c.z = lerp(asinValues[9], asinValues[10], weight.z); - else if (arr0z == 10) - asin_c.z = lerp(asinValues[10], asinValues[11], weight.z); - else if (arr0z == 11) - asin_c.z = lerp(asinValues[11], asinValues[12], weight.z); - else if (arr0z == 12) - asin_c.z = lerp(asinValues[12], asinValues[13], weight.z); - else if (arr0z == 13) - asin_c.z = lerp(asinValues[13], asinValues[14], weight.z); - else if (arr0z == 14) - asin_c.z = lerp(asinValues[14], asinValues[15], weight.z); - else if (arr0z == 15) - asin_c.z = lerp(asinValues[15], asinValues[16], weight.z); - else if (arr0z == 16) - asin_c.z = asinValues[16]; + if (arr0z == 0) + asin_c.z = lerp(asinValues[0], asinValues[1], weight.z); + else if (arr0z == 1) + asin_c.z = lerp(asinValues[1], asinValues[2], weight.z); + else if (arr0z == 2) + asin_c.z = lerp(asinValues[2], asinValues[3], weight.z); + else if (arr0z == 3) + asin_c.z = lerp(asinValues[3], asinValues[4], weight.z); + else if (arr0z == 4) + asin_c.z = lerp(asinValues[4], asinValues[5], weight.z); + else if (arr0z == 5) + asin_c.z = lerp(asinValues[5], asinValues[6], weight.z); + else if (arr0z == 6) + asin_c.z = lerp(asinValues[6], asinValues[7], weight.z); + else if (arr0z == 7) + asin_c.z = lerp(asinValues[7], asinValues[8], weight.z); + else if (arr0z == 8) + asin_c.z = lerp(asinValues[8], asinValues[9], weight.z); + else if (arr0z == 9) + asin_c.z = lerp(asinValues[9], asinValues[10], weight.z); + else if (arr0z == 10) + asin_c.z = lerp(asinValues[10], asinValues[11], weight.z); + else if (arr0z == 11) + asin_c.z = lerp(asinValues[11], asinValues[12], weight.z); + else if (arr0z == 12) + asin_c.z = lerp(asinValues[12], asinValues[13], weight.z); + else if (arr0z == 13) + asin_c.z = lerp(asinValues[13], asinValues[14], weight.z); + else if (arr0z == 14) + asin_c.z = lerp(asinValues[14], asinValues[15], weight.z); + else if (arr0z == 15) + asin_c.z = lerp(asinValues[15], asinValues[16], weight.z); + else if (arr0z == 16) + asin_c.z = asinValues[16]; - // acos(x) = PI/2 - asin(x) - gl_FragColor = vec4(0.5 - asin_c / M_PI, 1.0); + // acos(x) = PI/2 - asin(x) + gl_FragColor = vec4(0.5 - asin_c / M_PI, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_vert_xvary.vert index 423679f3b93..5bc077388ec 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(acos(c) / M_PI, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(acos(c) / M_PI, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_vert_xvary_ref.vert index c8c7df99d42..a382a457359 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/acos/acos_vec3_vert_xvary_ref.vert @@ -30,60 +30,60 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - vec3 acos_c = vec3(0.0); - vec3 scale = vec3(1.0); - vec3 sign = vec3(1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + vec3 acos_c = vec3(0.0); + vec3 scale = vec3(1.0); + vec3 sign = vec3(1.0); - // pow can't handle negative numbers so take advantage of symmetry - if(c.r < 0.0) - { - sign.r = -1.0; - c.r *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.r < 0.0) + { + sign.r = -1.0; + c.r *= -1.0; + } - // Taylors series expansion for acos - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - acos_c.r += scale.r * pow(c.r, float(i)) / float(i); - scale.r *= float(i) / float(i + 1); - } - acos_c.r = M_PI / 2.0 - sign.r * acos_c.r; + // Taylors series expansion for acos + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + acos_c.r += scale.r * pow(c.r, float(i)) / float(i); + scale.r *= float(i) / float(i + 1); + } + acos_c.r = M_PI / 2.0 - sign.r * acos_c.r; - // pow can't handle negative numbers so take advantage of symmetry - if(c.g < 0.0) - { - sign.g = -1.0; - c.g *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.g < 0.0) + { + sign.g = -1.0; + c.g *= -1.0; + } - // Taylors series expansion for acos - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - acos_c.g += scale.g * pow(c.g, float(i)) / float(i); - scale.g *= float(i) / float(i + 1); - } - acos_c.g = M_PI / 2.0 - sign.g * acos_c.g; + // Taylors series expansion for acos + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + acos_c.g += scale.g * pow(c.g, float(i)) / float(i); + scale.g *= float(i) / float(i + 1); + } + acos_c.g = M_PI / 2.0 - sign.g * acos_c.g; - // pow can't handle negative numbers so take advantage of symmetry - if(c.b < 0.0) - { - sign.b = -1.0; - c.b *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.b < 0.0) + { + sign.b = -1.0; + c.b *= -1.0; + } - // Taylors series expansion for acos - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - acos_c.b += scale.b * pow(c.b, float(i)) / float(i); - scale.b *= float(i) / float(i + 1); - } - acos_c.b = M_PI / 2.0 - sign.b * acos_c.b; + // Taylors series expansion for acos + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + acos_c.b += scale.b * pow(c.b, float(i)) / float(i); + scale.b *= float(i) / float(i + 1); + } + acos_c.b = M_PI / 2.0 - sign.b * acos_c.b; - color = vec4(acos_c / M_PI, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(acos_c / M_PI, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_001_to_004.html b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_001_to_004.html index ee1e80822e2..226d9c0825b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_001_to_004.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_001_to_004.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: all_001_to_004.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_frag.frag index 12443c23dfc..0e3071418a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_frag.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = floor(4.0 * color.rg); // 3/4 true, 1/4 false - gl_FragColor = vec4(vec3(all(bvec2(c))), 1.0); + vec2 c = floor(4.0 * color.rg); // 3/4 true, 1/4 false + gl_FragColor = vec4(vec3(all(bvec2(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_frag_ref.frag index a8df20f7faa..7e760e76a9e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_frag_ref.frag @@ -30,16 +30,16 @@ varying vec4 color; bool _all(in bvec2 a) { - bool temp = true; + bool temp = true; - if(!a[0]) temp = false; - if(!a[1]) temp = false; + if(!a[0]) temp = false; + if(!a[1]) temp = false; - return temp; + return temp; } void main (void) { - vec2 c = floor(4.0 * color.rg); // 3/4 true, 1/4 false - gl_FragColor = vec4(vec3(_all(bvec2(c))), 1.0); + vec2 c = floor(4.0 * color.rg); // 3/4 true, 1/4 false + gl_FragColor = vec4(vec3(_all(bvec2(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_vert.vert index 7d28fcd8f1c..6beab14c591 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_vert.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(4.0 * gtf_Color.rg); // 3/4 true, 1/4 false - color = vec4(vec3(all(bvec2(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(4.0 * gtf_Color.rg); // 3/4 true, 1/4 false + color = vec4(vec3(all(bvec2(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_vert_ref.vert index ef1f11cc847..e4f5071b120 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec2_vert_ref.vert @@ -30,17 +30,17 @@ varying vec4 color; bool _all(in bvec2 a) { - bool temp = true; + bool temp = true; - if(!a[0]) temp = false; - if(!a[1]) temp = false; + if(!a[0]) temp = false; + if(!a[1]) temp = false; - return temp; + return temp; } void main (void) { - vec2 c = floor(4.0 * gtf_Color.rg); // 3/4 true, 1/4 false - color = vec4(vec3(_all(bvec2(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(4.0 * gtf_Color.rg); // 3/4 true, 1/4 false + color = vec4(vec3(_all(bvec2(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_frag.frag index c1a5031de75..bab07bbbc4e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_frag.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = floor(4.0 * color.rgb); // 3/4 true, 1/4 false - gl_FragColor = vec4(vec3(all(bvec3(c))), 1.0); + vec3 c = floor(4.0 * color.rgb); // 3/4 true, 1/4 false + gl_FragColor = vec4(vec3(all(bvec3(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_frag_ref.frag index 3d6555b46a2..a4e5a568cc6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_frag_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; bool _all(in bvec3 a) { - bool temp = true; + bool temp = true; - if(!a[0]) temp = false; - if(!a[1]) temp = false; - if(!a[2]) temp = false; + if(!a[0]) temp = false; + if(!a[1]) temp = false; + if(!a[2]) temp = false; - return temp; + return temp; } void main (void) { - vec3 c = floor(4.0 * color.rgb); // 3/4 true, 1/4 false - gl_FragColor = vec4(vec3(_all(bvec3(c))), 1.0); + vec3 c = floor(4.0 * color.rgb); // 3/4 true, 1/4 false + gl_FragColor = vec4(vec3(_all(bvec3(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_vert.vert index 0ff5295d0b8..657970df4b7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_vert.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(4.0 * gtf_Color.rgb); // 3/4 true, 1/4 false - color = vec4(vec3(all(bvec3(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(4.0 * gtf_Color.rgb); // 3/4 true, 1/4 false + color = vec4(vec3(all(bvec3(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_vert_ref.vert index 43579fa5eaa..c16ff823663 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/all/all_bvec3_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bool _all(in bvec3 a) { - bool temp = true; + bool temp = true; - if(!a[0]) temp = false; - if(!a[1]) temp = false; - if(!a[2]) temp = false; + if(!a[0]) temp = false; + if(!a[1]) temp = false; + if(!a[2]) temp = false; - return temp; + return temp; } void main (void) { - vec3 c = floor(4.0 * gtf_Color.rgb); // 3/4 true, 1/4 false - color = vec4(vec3(_all(bvec3(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(4.0 * gtf_Color.rgb); // 3/4 true, 1/4 false + color = vec4(vec3(_all(bvec3(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_001_to_004.html b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_001_to_004.html index 8d7bcfd0b11..53bd5a86adb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_001_to_004.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_001_to_004.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: any_001_to_004.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_frag.frag index 6b76f994652..83a21f61aab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_frag.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false - gl_FragColor = vec4(vec3(any(bvec2(c))), 1.0); + vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false + gl_FragColor = vec4(vec3(any(bvec2(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_frag_ref.frag index c2df1967bd6..3df52709886 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_frag_ref.frag @@ -30,16 +30,16 @@ varying vec4 color; bool _any(in bvec2 a) { - bool temp = false; + bool temp = false; - if(a[0]) temp = true; - if(a[1]) temp = true; + if(a[0]) temp = true; + if(a[1]) temp = true; - return temp; + return temp; } void main (void) { - vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false - gl_FragColor = vec4(vec3(_any(bvec2(c))), 1.0); + vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false + gl_FragColor = vec4(vec3(_any(bvec2(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_vert.vert index f6528ab5014..1388eda2eb0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_vert.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false - color = vec4(vec3(any(bvec2(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false + color = vec4(vec3(any(bvec2(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_vert_ref.vert index f080eca338c..d39695746c9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec2_vert_ref.vert @@ -30,17 +30,17 @@ varying vec4 color; bool _any(in bvec2 a) { - bool temp = false; + bool temp = false; - if(a[0]) temp = true; - if(a[1]) temp = true; + if(a[0]) temp = true; + if(a[1]) temp = true; - return temp; + return temp; } void main (void) { - vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false - color = vec4(vec3(_any(bvec2(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false + color = vec4(vec3(_any(bvec2(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_frag.frag index 0666251c06d..ba870149661 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_frag.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false - gl_FragColor = vec4(vec3(any(bvec3(c))), 1.0); + vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false + gl_FragColor = vec4(vec3(any(bvec3(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_frag_ref.frag index de049742b5c..899a204be3e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_frag_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; bool _any(in bvec3 a) { - bool temp = false; + bool temp = false; - if(a[0]) temp = true; - if(a[1]) temp = true; - if(a[2]) temp = true; + if(a[0]) temp = true; + if(a[1]) temp = true; + if(a[2]) temp = true; - return temp; + return temp; } void main (void) { - vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false - gl_FragColor = vec4(vec3(_any(bvec3(c))), 1.0); + vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false + gl_FragColor = vec4(vec3(_any(bvec3(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_vert.vert index ab8ce0423cb..b7394346057 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_vert.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false - color = vec4(vec3(any(bvec3(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false + color = vec4(vec3(any(bvec3(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_vert_ref.vert index dc95475e403..87bf200c638 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/any/any_bvec3_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bool _any(in bvec3 a) { - bool temp = false; + bool temp = false; - if(a[0]) temp = true; - if(a[1]) temp = true; - if(a[2]) temp = true; + if(a[0]) temp = true; + if(a[1]) temp = true; + if(a[2]) temp = true; - return temp; + return temp; } void main (void) { - vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false - color = vec4(vec3(_any(bvec3(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false + color = vec4(vec3(_any(bvec3(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/array/array_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/array/array_001_to_006.html index 0c08b4dd5e0..acb3839137a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/array/array_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/array/array_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: array_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_empty_array_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_empty_array_float_frag.frag index faa7c95e400..015a4c5bc3b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_empty_array_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_empty_array_float_frag.frag @@ -30,16 +30,16 @@ varying vec4 color; void main (void) { - int i=0; - float new_mad[2]; - float gray = 0.0; + int i=0; + float new_mad[2]; + float gray = 0.0; - new_mad[0]=float(1); - new_mad[1]=float(2); + new_mad[0]=float(1); + new_mad[1]=float(2); - if( (new_mad[0] == 1.0) && (new_mad[1] == 2.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray,gray , gray, 1.0); + if( (new_mad[0] == 1.0) && (new_mad[1] == 2.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray,gray , gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_empty_array_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_empty_array_float_vert.vert index 5c825e7bb7a..90c492550e9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_empty_array_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_empty_array_float_vert.vert @@ -29,16 +29,16 @@ varying vec4 color; void main (void) { - int i=0; - float new_mad[2]; - float gray = 0.0; + int i=0; + float new_mad[2]; + float gray = 0.0; - new_mad[0]=float(1); - new_mad[1]=float(2); + new_mad[0]=float(1); + new_mad[1]=float(2); - if( (new_mad[0] == 1.0) && (new_mad[1] == 2.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if( (new_mad[0] == 1.0) && (new_mad[1] == 2.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_uniform_array_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_uniform_array_float_frag.frag index 8d2a8fc7173..24c17e59d63 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_uniform_array_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_uniform_array_float_frag.frag @@ -31,15 +31,15 @@ uniform float new_mad2[2]; void main (void) { - int i=0; - float new_mad[2]; - float gray = 0.0; + int i=0; + float new_mad[2]; + float gray = 0.0; - new_mad[0]=new_mad2[0]; - new_mad[1]=new_mad2[1]; + new_mad[0]=new_mad2[0]; + new_mad[1]=new_mad2[1]; - if( (new_mad[0] == 45.0) && (new_mad[1] == 14.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + if( (new_mad[0] == 45.0) && (new_mad[1] == 14.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_uniform_array_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_uniform_array_float_vert.vert index ac4a189fb4f..101c3332061 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_uniform_array_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/array/empty_uniform_array_float_vert.vert @@ -31,17 +31,17 @@ uniform float new_mad2[array_size]; void main (void) { - int i=0; - float new_mad[array_size]; - float gray = 0.0; + int i=0; + float new_mad[array_size]; + float gray = 0.0; - new_mad[0] = new_mad2[0]; - new_mad[1] = new_mad2[1]; + new_mad[0] = new_mad2[0]; + new_mad[1] = new_mad2[1]; - if( (new_mad[0] == 45.0) && (new_mad[1] == 14.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); + if( (new_mad[0] == 45.0) && (new_mad[1] == 14.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/array/initfunc_empty_array_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/array/initfunc_empty_array_float_frag.frag index b3a4b23e57a..ff307840828 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/array/initfunc_empty_array_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/array/initfunc_empty_array_float_frag.frag @@ -32,19 +32,19 @@ varying vec4 color; void initialise_array(out float array[2], float init_val); void main (void) { - int i=0; - float new_mad[2]; - float gray = 0.0; - initialise_array(new_mad,25.0); - if( (new_mad[0] == 25.0) && (new_mad[1] == 25.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int i=0; + float new_mad[2]; + float gray = 0.0; + initialise_array(new_mad,25.0); + if( (new_mad[0] == 25.0) && (new_mad[1] == 25.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } void initialise_array(out float array[2], float init_val) { - int i=0; - array[0] = init_val; - array[1] = init_val; + int i=0; + array[0] = init_val; + array[1] = init_val; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/array/initfunc_empty_array_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/array/initfunc_empty_array_float_vert.vert index 9ae6e497b3d..a84e72dda53 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/array/initfunc_empty_array_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/array/initfunc_empty_array_float_vert.vert @@ -31,19 +31,19 @@ void initialise_array(out float array[2], float init_val); void main (void) { - int i=0; - float new_mad[2]; - float gray = 0.0; - initialise_array(new_mad,25.0); - if( (new_mad[0] == 25.0) && (new_mad[1] == 25.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + int i=0; + float new_mad[2]; + float gray = 0.0; + initialise_array(new_mad,25.0); + if( (new_mad[0] == 25.0) && (new_mad[1] == 25.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } void initialise_array(out float array[2], float init_val) { - array[0] = init_val; - array[1] = init_val; + array[0] = init_val; + array[1] = init_val; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_001_to_006.html index 9a7bb04daf4..8c64b85f76d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_001_to_006.html @@ -31,11 +31,11 @@ WebGL GLSL conformance test: asin_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_frag_xvary.frag index b6e11abc470..51e81e8aa42 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * (color.r - 0.5); - gl_FragColor = vec4(asin(c) / M_PI + 0.5, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float c = 2.0 * (color.r - 0.5); + gl_FragColor = vec4(asin(c) / M_PI + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_frag_xvary_ref.frag index 36b2e494dc7..b8da316a2eb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_frag_xvary_ref.frag @@ -39,72 +39,72 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float asinValues[17]; - asinValues[0] = -1.5708; - asinValues[1] = -1.06544; - asinValues[2] = -0.848062; - asinValues[3] = -0.675132; - asinValues[4] = -0.523599; - asinValues[5] = -0.384397; - asinValues[6] = -0.25268; - asinValues[7] = -0.125328; - asinValues[8] = 0.0; - asinValues[9] = 0.125328; - asinValues[10] = 0.25268; - asinValues[11] = 0.384397; - asinValues[12] = 0.523599; - asinValues[13] = 0.675132; - asinValues[14] = 0.848062; - asinValues[15] = 1.06544; - asinValues[16] = 1.5708; + float asinValues[17]; + asinValues[0] = -1.5708; + asinValues[1] = -1.06544; + asinValues[2] = -0.848062; + asinValues[3] = -0.675132; + asinValues[4] = -0.523599; + asinValues[5] = -0.384397; + asinValues[6] = -0.25268; + asinValues[7] = -0.125328; + asinValues[8] = 0.0; + asinValues[9] = 0.125328; + asinValues[10] = 0.25268; + asinValues[11] = 0.384397; + asinValues[12] = 0.523599; + asinValues[13] = 0.675132; + asinValues[14] = 0.848062; + asinValues[15] = 1.06544; + asinValues[16] = 1.5708; - const float M_PI = 3.14159265358979323846; - float c = 2.0 * (color.r - 0.5); + const float M_PI = 3.14159265358979323846; + float c = 2.0 * (color.r - 0.5); - float arrVal = (c + 1.0) * 8.0; - int arr0 = int(floor(arrVal)); - float weight = arrVal - floor(arrVal); - float asin_c = 0.0; + float arrVal = (c + 1.0) * 8.0; + int arr0 = int(floor(arrVal)); + float weight = arrVal - floor(arrVal); + float asin_c = 0.0; - if (arr0 == 0) - asin_c = lerp(asinValues[0], asinValues[1], weight); - else if (arr0 == 1) - asin_c = lerp(asinValues[1], asinValues[2], weight); - else if (arr0 == 2) - asin_c = lerp(asinValues[2], asinValues[3], weight); - else if (arr0 == 3) - asin_c = lerp(asinValues[3], asinValues[4], weight); - else if (arr0 == 4) - asin_c = lerp(asinValues[4], asinValues[5], weight); - else if (arr0 == 5) - asin_c = lerp(asinValues[5], asinValues[6], weight); - else if (arr0 == 6) - asin_c = lerp(asinValues[6], asinValues[7], weight); - else if (arr0 == 7) - asin_c = lerp(asinValues[7], asinValues[8], weight); - else if (arr0 == 8) - asin_c = lerp(asinValues[8], asinValues[9], weight); - else if (arr0 == 9) - asin_c = lerp(asinValues[9], asinValues[10], weight); - else if (arr0 == 10) - asin_c = lerp(asinValues[10], asinValues[11], weight); - else if (arr0 == 11) - asin_c = lerp(asinValues[11], asinValues[12], weight); - else if (arr0 == 12) - asin_c = lerp(asinValues[12], asinValues[13], weight); - else if (arr0 == 13) - asin_c = lerp(asinValues[13], asinValues[14], weight); - else if (arr0 == 14) - asin_c = lerp(asinValues[14], asinValues[15], weight); - else if (arr0 == 15) - asin_c = lerp(asinValues[15], asinValues[16], weight); - else if (arr0 == 16) - asin_c = asinValues[16]; + if (arr0 == 0) + asin_c = lerp(asinValues[0], asinValues[1], weight); + else if (arr0 == 1) + asin_c = lerp(asinValues[1], asinValues[2], weight); + else if (arr0 == 2) + asin_c = lerp(asinValues[2], asinValues[3], weight); + else if (arr0 == 3) + asin_c = lerp(asinValues[3], asinValues[4], weight); + else if (arr0 == 4) + asin_c = lerp(asinValues[4], asinValues[5], weight); + else if (arr0 == 5) + asin_c = lerp(asinValues[5], asinValues[6], weight); + else if (arr0 == 6) + asin_c = lerp(asinValues[6], asinValues[7], weight); + else if (arr0 == 7) + asin_c = lerp(asinValues[7], asinValues[8], weight); + else if (arr0 == 8) + asin_c = lerp(asinValues[8], asinValues[9], weight); + else if (arr0 == 9) + asin_c = lerp(asinValues[9], asinValues[10], weight); + else if (arr0 == 10) + asin_c = lerp(asinValues[10], asinValues[11], weight); + else if (arr0 == 11) + asin_c = lerp(asinValues[11], asinValues[12], weight); + else if (arr0 == 12) + asin_c = lerp(asinValues[12], asinValues[13], weight); + else if (arr0 == 13) + asin_c = lerp(asinValues[13], asinValues[14], weight); + else if (arr0 == 14) + asin_c = lerp(asinValues[14], asinValues[15], weight); + else if (arr0 == 15) + asin_c = lerp(asinValues[15], asinValues[16], weight); + else if (arr0 == 16) + asin_c = asinValues[16]; - gl_FragColor = vec4(asin_c / M_PI + 0.5, 0.0, 0.0, 1.0); + gl_FragColor = vec4(asin_c / M_PI + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_vert_xvary.vert index 70476cb76fc..d19424fccf2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * (gtf_Color.r - 0.5); - color = vec4(asin(c) / M_PI + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + float c = 2.0 * (gtf_Color.r - 0.5); + color = vec4(asin(c) / M_PI + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_vert_xvary_ref.vert index 9b901616a56..d75bae25200 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_float_vert_xvary_ref.vert @@ -30,28 +30,28 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * (gtf_Color.r - 0.5); + const float M_PI = 3.14159265358979323846; + float c = 2.0 * (gtf_Color.r - 0.5); - float asin_c = 0.0; - float scale = 1.0; - float sign = 1.0; + float asin_c = 0.0; + float scale = 1.0; + float sign = 1.0; - // pow can't handle negative numbers so take advantage of symmetry - if(c < 0.0) - { - sign = -1.0; - c *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c < 0.0) + { + sign = -1.0; + c *= -1.0; + } - // Taylors series expansion for asin - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - asin_c += scale * pow(c, float(i)) / float(i); - scale *= float(i) / float(i + 1); - } + // Taylors series expansion for asin + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + asin_c += scale * pow(c, float(i)) / float(i); + scale *= float(i) / float(i + 1); + } - color = vec4(sign * asin_c / M_PI + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(sign * asin_c / M_PI + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_frag_xvary.frag index 585a02da2d8..207ec4ffe68 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(asin(c) / M_PI + 0.5, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(asin(c) / M_PI + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_frag_xvary_ref.frag index f0a399aa52a..3e221a7ee49 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_frag_xvary_ref.frag @@ -39,108 +39,108 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float asinValues[17]; - asinValues[0] = -1.5708; - asinValues[1] = -1.06544; - asinValues[2] = -0.848062; - asinValues[3] = -0.675132; - asinValues[4] = -0.523599; - asinValues[5] = -0.384397; - asinValues[6] = -0.25268; - asinValues[7] = -0.125328; - asinValues[8] = 0.0; - asinValues[9] = 0.125328; - asinValues[10] = 0.25268; - asinValues[11] = 0.384397; - asinValues[12] = 0.523599; - asinValues[13] = 0.675132; - asinValues[14] = 0.848062; - asinValues[15] = 1.06544; - asinValues[16] = 1.5708; + float asinValues[17]; + asinValues[0] = -1.5708; + asinValues[1] = -1.06544; + asinValues[2] = -0.848062; + asinValues[3] = -0.675132; + asinValues[4] = -0.523599; + asinValues[5] = -0.384397; + asinValues[6] = -0.25268; + asinValues[7] = -0.125328; + asinValues[8] = 0.0; + asinValues[9] = 0.125328; + asinValues[10] = 0.25268; + asinValues[11] = 0.384397; + asinValues[12] = 0.523599; + asinValues[13] = 0.675132; + asinValues[14] = 0.848062; + asinValues[15] = 1.06544; + asinValues[16] = 1.5708; - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * (color.rg - 0.5); + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * (color.rg - 0.5); - vec2 arrVal = (c + vec2(1.0, 1.0)) * 8.0; - int arr0x = int(floor(arrVal.x)); - int arr0y = int(floor(arrVal.y)); - vec2 weight = arrVal - floor(arrVal); - vec2 asin_c = vec2(0.0); + vec2 arrVal = (c + vec2(1.0, 1.0)) * 8.0; + int arr0x = int(floor(arrVal.x)); + int arr0y = int(floor(arrVal.y)); + vec2 weight = arrVal - floor(arrVal); + vec2 asin_c = vec2(0.0); - if (arr0x == 0) - asin_c.x = lerp(asinValues[0], asinValues[1], weight.x); - else if (arr0x == 1) - asin_c.x = lerp(asinValues[1], asinValues[2], weight.x); - else if (arr0x == 2) - asin_c.x = lerp(asinValues[2], asinValues[3], weight.x); - else if (arr0x == 3) - asin_c.x = lerp(asinValues[3], asinValues[4], weight.x); - else if (arr0x == 4) - asin_c.x = lerp(asinValues[4], asinValues[5], weight.x); - else if (arr0x == 5) - asin_c.x = lerp(asinValues[5], asinValues[6], weight.x); - else if (arr0x == 6) - asin_c.x = lerp(asinValues[6], asinValues[7], weight.x); - else if (arr0x == 7) - asin_c.x = lerp(asinValues[7], asinValues[8], weight.x); - else if (arr0x == 8) - asin_c.x = lerp(asinValues[8], asinValues[9], weight.x); - else if (arr0x == 9) - asin_c.x = lerp(asinValues[9], asinValues[10], weight.x); - else if (arr0x == 10) - asin_c.x = lerp(asinValues[10], asinValues[11], weight.x); - else if (arr0x == 11) - asin_c.x = lerp(asinValues[11], asinValues[12], weight.x); - else if (arr0x == 12) - asin_c.x = lerp(asinValues[12], asinValues[13], weight.x); - else if (arr0x == 13) - asin_c.x = lerp(asinValues[13], asinValues[14], weight.x); - else if (arr0x == 14) - asin_c.x = lerp(asinValues[14], asinValues[15], weight.x); - else if (arr0x == 15) - asin_c.x = lerp(asinValues[15], asinValues[16], weight.x); - else if (arr0x == 16) - asin_c.x = asinValues[16]; + if (arr0x == 0) + asin_c.x = lerp(asinValues[0], asinValues[1], weight.x); + else if (arr0x == 1) + asin_c.x = lerp(asinValues[1], asinValues[2], weight.x); + else if (arr0x == 2) + asin_c.x = lerp(asinValues[2], asinValues[3], weight.x); + else if (arr0x == 3) + asin_c.x = lerp(asinValues[3], asinValues[4], weight.x); + else if (arr0x == 4) + asin_c.x = lerp(asinValues[4], asinValues[5], weight.x); + else if (arr0x == 5) + asin_c.x = lerp(asinValues[5], asinValues[6], weight.x); + else if (arr0x == 6) + asin_c.x = lerp(asinValues[6], asinValues[7], weight.x); + else if (arr0x == 7) + asin_c.x = lerp(asinValues[7], asinValues[8], weight.x); + else if (arr0x == 8) + asin_c.x = lerp(asinValues[8], asinValues[9], weight.x); + else if (arr0x == 9) + asin_c.x = lerp(asinValues[9], asinValues[10], weight.x); + else if (arr0x == 10) + asin_c.x = lerp(asinValues[10], asinValues[11], weight.x); + else if (arr0x == 11) + asin_c.x = lerp(asinValues[11], asinValues[12], weight.x); + else if (arr0x == 12) + asin_c.x = lerp(asinValues[12], asinValues[13], weight.x); + else if (arr0x == 13) + asin_c.x = lerp(asinValues[13], asinValues[14], weight.x); + else if (arr0x == 14) + asin_c.x = lerp(asinValues[14], asinValues[15], weight.x); + else if (arr0x == 15) + asin_c.x = lerp(asinValues[15], asinValues[16], weight.x); + else if (arr0x == 16) + asin_c.x = asinValues[16]; - if (arr0y == 0) - asin_c.y = lerp(asinValues[0], asinValues[1], weight.y); - else if (arr0y == 1) - asin_c.y = lerp(asinValues[1], asinValues[2], weight.y); - else if (arr0y == 2) - asin_c.y = lerp(asinValues[2], asinValues[3], weight.y); - else if (arr0y == 3) - asin_c.y = lerp(asinValues[3], asinValues[4], weight.y); - else if (arr0y == 4) - asin_c.y = lerp(asinValues[4], asinValues[5], weight.y); - else if (arr0y == 5) - asin_c.y = lerp(asinValues[5], asinValues[6], weight.y); - else if (arr0y == 6) - asin_c.y = lerp(asinValues[6], asinValues[7], weight.y); - else if (arr0y == 7) - asin_c.y = lerp(asinValues[7], asinValues[8], weight.y); - else if (arr0y == 8) - asin_c.y = lerp(asinValues[8], asinValues[9], weight.y); - else if (arr0y == 9) - asin_c.y = lerp(asinValues[9], asinValues[10], weight.y); - else if (arr0y == 10) - asin_c.y = lerp(asinValues[10], asinValues[11], weight.y); - else if (arr0y == 11) - asin_c.y = lerp(asinValues[11], asinValues[12], weight.y); - else if (arr0y == 12) - asin_c.y = lerp(asinValues[12], asinValues[13], weight.y); - else if (arr0y == 13) - asin_c.y = lerp(asinValues[13], asinValues[14], weight.y); - else if (arr0y == 14) - asin_c.y = lerp(asinValues[14], asinValues[15], weight.y); - else if (arr0y == 15) - asin_c.y = lerp(asinValues[15], asinValues[16], weight.y); - else if (arr0y == 16) - asin_c.y = asinValues[16]; + if (arr0y == 0) + asin_c.y = lerp(asinValues[0], asinValues[1], weight.y); + else if (arr0y == 1) + asin_c.y = lerp(asinValues[1], asinValues[2], weight.y); + else if (arr0y == 2) + asin_c.y = lerp(asinValues[2], asinValues[3], weight.y); + else if (arr0y == 3) + asin_c.y = lerp(asinValues[3], asinValues[4], weight.y); + else if (arr0y == 4) + asin_c.y = lerp(asinValues[4], asinValues[5], weight.y); + else if (arr0y == 5) + asin_c.y = lerp(asinValues[5], asinValues[6], weight.y); + else if (arr0y == 6) + asin_c.y = lerp(asinValues[6], asinValues[7], weight.y); + else if (arr0y == 7) + asin_c.y = lerp(asinValues[7], asinValues[8], weight.y); + else if (arr0y == 8) + asin_c.y = lerp(asinValues[8], asinValues[9], weight.y); + else if (arr0y == 9) + asin_c.y = lerp(asinValues[9], asinValues[10], weight.y); + else if (arr0y == 10) + asin_c.y = lerp(asinValues[10], asinValues[11], weight.y); + else if (arr0y == 11) + asin_c.y = lerp(asinValues[11], asinValues[12], weight.y); + else if (arr0y == 12) + asin_c.y = lerp(asinValues[12], asinValues[13], weight.y); + else if (arr0y == 13) + asin_c.y = lerp(asinValues[13], asinValues[14], weight.y); + else if (arr0y == 14) + asin_c.y = lerp(asinValues[14], asinValues[15], weight.y); + else if (arr0y == 15) + asin_c.y = lerp(asinValues[15], asinValues[16], weight.y); + else if (arr0y == 16) + asin_c.y = asinValues[16]; - gl_FragColor = vec4(asin_c / M_PI + 0.5, 0.0, 1.0); + gl_FragColor = vec4(asin_c / M_PI + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_vert_xvary.vert index 3d4a1c06486..c51ca500f3a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - color = vec4(asin(c) / M_PI + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + color = vec4(asin(c) / M_PI + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_vert_xvary_ref.vert index 39d991042f9..9aeab86bc51 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec2_vert_xvary_ref.vert @@ -30,42 +30,42 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - vec2 asin_c = vec2(0.0); - vec2 scale = vec2(1.0); - vec2 sign = vec2(1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + vec2 asin_c = vec2(0.0); + vec2 scale = vec2(1.0); + vec2 sign = vec2(1.0); - // pow can't handle negative numbers so take advantage of symmetry - if(c.r < 0.0) - { - sign.r = -1.0; - c.r *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.r < 0.0) + { + sign.r = -1.0; + c.r *= -1.0; + } - // Taylors series expansion for asin - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - asin_c.r += scale.r * pow(c.r, float(i)) / float(i); - scale.r *= float(i) / float(i + 1); - } + // Taylors series expansion for asin + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + asin_c.r += scale.r * pow(c.r, float(i)) / float(i); + scale.r *= float(i) / float(i + 1); + } - // pow can't handle negative numbers so take advantage of symmetry - if(c.g < 0.0) - { - sign.g = -1.0; - c.g *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.g < 0.0) + { + sign.g = -1.0; + c.g *= -1.0; + } - // Taylors series expansion for asin - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - asin_c.g += scale.g * pow(c.g, float(i)) / float(i); - scale.g *= float(i) / float(i + 1); - } + // Taylors series expansion for asin + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + asin_c.g += scale.g * pow(c.g, float(i)) / float(i); + scale.g *= float(i) / float(i + 1); + } - color = vec4(sign * asin_c / M_PI + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(sign * asin_c / M_PI + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_frag_xvary.frag index b6e434f73ea..4a7cc79a1b2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(asin(c) / M_PI + 0.5, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(asin(c) / M_PI + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_frag_xvary_ref.frag index 55b17fe3f29..2eb4a806635 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_frag_xvary_ref.frag @@ -39,144 +39,144 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float asinValues[17]; - asinValues[0] = -1.5708; - asinValues[1] = -1.06544; - asinValues[2] = -0.848062; - asinValues[3] = -0.675132; - asinValues[4] = -0.523599; - asinValues[5] = -0.384397; - asinValues[6] = -0.25268; - asinValues[7] = -0.125328; - asinValues[8] = 0.0; - asinValues[9] = 0.125328; - asinValues[10] = 0.25268; - asinValues[11] = 0.384397; - asinValues[12] = 0.523599; - asinValues[13] = 0.675132; - asinValues[14] = 0.848062; - asinValues[15] = 1.06544; - asinValues[16] = 1.5708; + float asinValues[17]; + asinValues[0] = -1.5708; + asinValues[1] = -1.06544; + asinValues[2] = -0.848062; + asinValues[3] = -0.675132; + asinValues[4] = -0.523599; + asinValues[5] = -0.384397; + asinValues[6] = -0.25268; + asinValues[7] = -0.125328; + asinValues[8] = 0.0; + asinValues[9] = 0.125328; + asinValues[10] = 0.25268; + asinValues[11] = 0.384397; + asinValues[12] = 0.523599; + asinValues[13] = 0.675132; + asinValues[14] = 0.848062; + asinValues[15] = 1.06544; + asinValues[16] = 1.5708; - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * (color.rgb - 0.5); + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * (color.rgb - 0.5); - vec3 arrVal = (c + vec3(1.0, 1.0, 1.0)) * 8.0; - int arr0x = int(floor(arrVal.x)); - int arr0y = int(floor(arrVal.y)); - int arr0z = int(floor(arrVal.z)); - vec3 weight = arrVal - floor(arrVal); - vec3 asin_c = vec3(0.0); + vec3 arrVal = (c + vec3(1.0, 1.0, 1.0)) * 8.0; + int arr0x = int(floor(arrVal.x)); + int arr0y = int(floor(arrVal.y)); + int arr0z = int(floor(arrVal.z)); + vec3 weight = arrVal - floor(arrVal); + vec3 asin_c = vec3(0.0); - if (arr0x == 0) - asin_c.x = lerp(asinValues[0], asinValues[1], weight.x); - else if (arr0x == 1) - asin_c.x = lerp(asinValues[1], asinValues[2], weight.x); - else if (arr0x == 2) - asin_c.x = lerp(asinValues[2], asinValues[3], weight.x); - else if (arr0x == 3) - asin_c.x = lerp(asinValues[3], asinValues[4], weight.x); - else if (arr0x == 4) - asin_c.x = lerp(asinValues[4], asinValues[5], weight.x); - else if (arr0x == 5) - asin_c.x = lerp(asinValues[5], asinValues[6], weight.x); - else if (arr0x == 6) - asin_c.x = lerp(asinValues[6], asinValues[7], weight.x); - else if (arr0x == 7) - asin_c.x = lerp(asinValues[7], asinValues[8], weight.x); - else if (arr0x == 8) - asin_c.x = lerp(asinValues[8], asinValues[9], weight.x); - else if (arr0x == 9) - asin_c.x = lerp(asinValues[9], asinValues[10], weight.x); - else if (arr0x == 10) - asin_c.x = lerp(asinValues[10], asinValues[11], weight.x); - else if (arr0x == 11) - asin_c.x = lerp(asinValues[11], asinValues[12], weight.x); - else if (arr0x == 12) - asin_c.x = lerp(asinValues[12], asinValues[13], weight.x); - else if (arr0x == 13) - asin_c.x = lerp(asinValues[13], asinValues[14], weight.x); - else if (arr0x == 14) - asin_c.x = lerp(asinValues[14], asinValues[15], weight.x); - else if (arr0x == 15) - asin_c.x = lerp(asinValues[15], asinValues[16], weight.x); - else if (arr0x == 16) - asin_c.x = asinValues[16]; + if (arr0x == 0) + asin_c.x = lerp(asinValues[0], asinValues[1], weight.x); + else if (arr0x == 1) + asin_c.x = lerp(asinValues[1], asinValues[2], weight.x); + else if (arr0x == 2) + asin_c.x = lerp(asinValues[2], asinValues[3], weight.x); + else if (arr0x == 3) + asin_c.x = lerp(asinValues[3], asinValues[4], weight.x); + else if (arr0x == 4) + asin_c.x = lerp(asinValues[4], asinValues[5], weight.x); + else if (arr0x == 5) + asin_c.x = lerp(asinValues[5], asinValues[6], weight.x); + else if (arr0x == 6) + asin_c.x = lerp(asinValues[6], asinValues[7], weight.x); + else if (arr0x == 7) + asin_c.x = lerp(asinValues[7], asinValues[8], weight.x); + else if (arr0x == 8) + asin_c.x = lerp(asinValues[8], asinValues[9], weight.x); + else if (arr0x == 9) + asin_c.x = lerp(asinValues[9], asinValues[10], weight.x); + else if (arr0x == 10) + asin_c.x = lerp(asinValues[10], asinValues[11], weight.x); + else if (arr0x == 11) + asin_c.x = lerp(asinValues[11], asinValues[12], weight.x); + else if (arr0x == 12) + asin_c.x = lerp(asinValues[12], asinValues[13], weight.x); + else if (arr0x == 13) + asin_c.x = lerp(asinValues[13], asinValues[14], weight.x); + else if (arr0x == 14) + asin_c.x = lerp(asinValues[14], asinValues[15], weight.x); + else if (arr0x == 15) + asin_c.x = lerp(asinValues[15], asinValues[16], weight.x); + else if (arr0x == 16) + asin_c.x = asinValues[16]; - if (arr0y == 0) - asin_c.y = lerp(asinValues[0], asinValues[1], weight.y); - else if (arr0y == 1) - asin_c.y = lerp(asinValues[1], asinValues[2], weight.y); - else if (arr0y == 2) - asin_c.y = lerp(asinValues[2], asinValues[3], weight.y); - else if (arr0y == 3) - asin_c.y = lerp(asinValues[3], asinValues[4], weight.y); - else if (arr0y == 4) - asin_c.y = lerp(asinValues[4], asinValues[5], weight.y); - else if (arr0y == 5) - asin_c.y = lerp(asinValues[5], asinValues[6], weight.y); - else if (arr0y == 6) - asin_c.y = lerp(asinValues[6], asinValues[7], weight.y); - else if (arr0y == 7) - asin_c.y = lerp(asinValues[7], asinValues[8], weight.y); - else if (arr0y == 8) - asin_c.y = lerp(asinValues[8], asinValues[9], weight.y); - else if (arr0y == 9) - asin_c.y = lerp(asinValues[9], asinValues[10], weight.y); - else if (arr0y == 10) - asin_c.y = lerp(asinValues[10], asinValues[11], weight.y); - else if (arr0y == 11) - asin_c.y = lerp(asinValues[11], asinValues[12], weight.y); - else if (arr0y == 12) - asin_c.y = lerp(asinValues[12], asinValues[13], weight.y); - else if (arr0y == 13) - asin_c.y = lerp(asinValues[13], asinValues[14], weight.y); - else if (arr0y == 14) - asin_c.y = lerp(asinValues[14], asinValues[15], weight.y); - else if (arr0y == 15) - asin_c.y = lerp(asinValues[15], asinValues[16], weight.y); - else if (arr0y == 16) - asin_c.y = asinValues[16]; + if (arr0y == 0) + asin_c.y = lerp(asinValues[0], asinValues[1], weight.y); + else if (arr0y == 1) + asin_c.y = lerp(asinValues[1], asinValues[2], weight.y); + else if (arr0y == 2) + asin_c.y = lerp(asinValues[2], asinValues[3], weight.y); + else if (arr0y == 3) + asin_c.y = lerp(asinValues[3], asinValues[4], weight.y); + else if (arr0y == 4) + asin_c.y = lerp(asinValues[4], asinValues[5], weight.y); + else if (arr0y == 5) + asin_c.y = lerp(asinValues[5], asinValues[6], weight.y); + else if (arr0y == 6) + asin_c.y = lerp(asinValues[6], asinValues[7], weight.y); + else if (arr0y == 7) + asin_c.y = lerp(asinValues[7], asinValues[8], weight.y); + else if (arr0y == 8) + asin_c.y = lerp(asinValues[8], asinValues[9], weight.y); + else if (arr0y == 9) + asin_c.y = lerp(asinValues[9], asinValues[10], weight.y); + else if (arr0y == 10) + asin_c.y = lerp(asinValues[10], asinValues[11], weight.y); + else if (arr0y == 11) + asin_c.y = lerp(asinValues[11], asinValues[12], weight.y); + else if (arr0y == 12) + asin_c.y = lerp(asinValues[12], asinValues[13], weight.y); + else if (arr0y == 13) + asin_c.y = lerp(asinValues[13], asinValues[14], weight.y); + else if (arr0y == 14) + asin_c.y = lerp(asinValues[14], asinValues[15], weight.y); + else if (arr0y == 15) + asin_c.y = lerp(asinValues[15], asinValues[16], weight.y); + else if (arr0y == 16) + asin_c.y = asinValues[16]; - if (arr0z == 0) - asin_c.z = lerp(asinValues[0], asinValues[1], weight.z); - else if (arr0z == 1) - asin_c.z = lerp(asinValues[1], asinValues[2], weight.z); - else if (arr0z == 2) - asin_c.z = lerp(asinValues[2], asinValues[3], weight.z); - else if (arr0z == 3) - asin_c.z = lerp(asinValues[3], asinValues[4], weight.z); - else if (arr0z == 4) - asin_c.z = lerp(asinValues[4], asinValues[5], weight.z); - else if (arr0z == 5) - asin_c.z = lerp(asinValues[5], asinValues[6], weight.z); - else if (arr0z == 6) - asin_c.z = lerp(asinValues[6], asinValues[7], weight.z); - else if (arr0z == 7) - asin_c.z = lerp(asinValues[7], asinValues[8], weight.z); - else if (arr0z == 8) - asin_c.z = lerp(asinValues[8], asinValues[9], weight.z); - else if (arr0z == 9) - asin_c.z = lerp(asinValues[9], asinValues[10], weight.z); - else if (arr0z == 10) - asin_c.z = lerp(asinValues[10], asinValues[11], weight.z); - else if (arr0z == 11) - asin_c.z = lerp(asinValues[11], asinValues[12], weight.z); - else if (arr0z == 12) - asin_c.z = lerp(asinValues[12], asinValues[13], weight.z); - else if (arr0z == 13) - asin_c.z = lerp(asinValues[13], asinValues[14], weight.z); - else if (arr0z == 14) - asin_c.z = lerp(asinValues[14], asinValues[15], weight.z); - else if (arr0z == 15) - asin_c.z = lerp(asinValues[15], asinValues[16], weight.z); - else if (arr0z == 16) - asin_c.z = asinValues[16]; + if (arr0z == 0) + asin_c.z = lerp(asinValues[0], asinValues[1], weight.z); + else if (arr0z == 1) + asin_c.z = lerp(asinValues[1], asinValues[2], weight.z); + else if (arr0z == 2) + asin_c.z = lerp(asinValues[2], asinValues[3], weight.z); + else if (arr0z == 3) + asin_c.z = lerp(asinValues[3], asinValues[4], weight.z); + else if (arr0z == 4) + asin_c.z = lerp(asinValues[4], asinValues[5], weight.z); + else if (arr0z == 5) + asin_c.z = lerp(asinValues[5], asinValues[6], weight.z); + else if (arr0z == 6) + asin_c.z = lerp(asinValues[6], asinValues[7], weight.z); + else if (arr0z == 7) + asin_c.z = lerp(asinValues[7], asinValues[8], weight.z); + else if (arr0z == 8) + asin_c.z = lerp(asinValues[8], asinValues[9], weight.z); + else if (arr0z == 9) + asin_c.z = lerp(asinValues[9], asinValues[10], weight.z); + else if (arr0z == 10) + asin_c.z = lerp(asinValues[10], asinValues[11], weight.z); + else if (arr0z == 11) + asin_c.z = lerp(asinValues[11], asinValues[12], weight.z); + else if (arr0z == 12) + asin_c.z = lerp(asinValues[12], asinValues[13], weight.z); + else if (arr0z == 13) + asin_c.z = lerp(asinValues[13], asinValues[14], weight.z); + else if (arr0z == 14) + asin_c.z = lerp(asinValues[14], asinValues[15], weight.z); + else if (arr0z == 15) + asin_c.z = lerp(asinValues[15], asinValues[16], weight.z); + else if (arr0z == 16) + asin_c.z = asinValues[16]; - gl_FragColor = vec4(asin_c / M_PI + 0.5, 1.0); + gl_FragColor = vec4(asin_c / M_PI + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_vert_xvary.vert index 3bf413bad9a..15f0ce71953 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(asin(c) / M_PI + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(asin(c) / M_PI + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_vert_xvary_ref.vert index d5825956324..648d0ad1805 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/asin/asin_vec3_vert_xvary_ref.vert @@ -30,57 +30,57 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - vec3 asin_c = vec3(0.0); - vec3 scale = vec3(1.0); - vec3 sign = vec3(1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + vec3 asin_c = vec3(0.0); + vec3 scale = vec3(1.0); + vec3 sign = vec3(1.0); - // pow can't handle negative numbers so take advantage of symmetry - if(c.r < 0.0) - { - sign.r = -1.0; - c.r *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.r < 0.0) + { + sign.r = -1.0; + c.r *= -1.0; + } - // Taylors series expansion for asin - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - asin_c.r += scale.r * pow(c.r, float(i)) / float(i); - scale.r *= float(i) / float(i + 1); - } + // Taylors series expansion for asin + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + asin_c.r += scale.r * pow(c.r, float(i)) / float(i); + scale.r *= float(i) / float(i + 1); + } - // pow can't handle negative numbers so take advantage of symmetry - if(c.g < 0.0) - { - sign.g = -1.0; - c.g *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.g < 0.0) + { + sign.g = -1.0; + c.g *= -1.0; + } - // Taylors series expansion for asin - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - asin_c.g += scale.g * pow(c.g, float(i)) / float(i); - scale.g *= float(i) / float(i + 1); - } + // Taylors series expansion for asin + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + asin_c.g += scale.g * pow(c.g, float(i)) / float(i); + scale.g *= float(i) / float(i + 1); + } - // pow can't handle negative numbers so take advantage of symmetry - if(c.b < 0.0) - { - sign.b = -1.0; - c.b *= -1.0; - } + // pow can't handle negative numbers so take advantage of symmetry + if(c.b < 0.0) + { + sign.b = -1.0; + c.b *= -1.0; + } - // Taylors series expansion for asin - // 1000/2 iterations necessary to get the accuracy with this method - for(int i = 1; i < 1000; i += 2) - { - asin_c.b += scale.b * pow(c.b, float(i)) / float(i); - scale.b *= float(i) / float(i + 1); - } + // Taylors series expansion for asin + // 1000/2 iterations necessary to get the accuracy with this method + for(int i = 1; i < 1000; i += 2) + { + asin_c.b += scale.b * pow(c.b, float(i)) / float(i); + scale.b *= float(i) / float(i + 1); + } - color = vec4(sign * asin_c / M_PI + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(sign * asin_c / M_PI + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_001_to_008.html index ab94155c1e4..96811c9a934 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: atan_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_009_to_012.html b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_009_to_012.html index eaaa3681bc7..f82f4fc8c6c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_009_to_012.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_009_to_012.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: atan_009_to_012.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvary.frag index cfef627cfb6..0b3528ebbed 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 4.0 * 2.0 * (color.r - 0.5); - gl_FragColor = vec4(atan(c) / M_PI + 0.5, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float c = 4.0 * 2.0 * (color.r - 0.5); + gl_FragColor = vec4(atan(c) / M_PI + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvary_ref.frag index c3a5b6c0dec..891ea8dd215 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvary_ref.frag @@ -30,43 +30,43 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 4.0 * 2.0 * (color.r - 0.5); - float atan_c = 0.0; - float scale = 1.0; - float sign = 1.0; - vec4 result; + const float M_PI = 3.14159265358979323846; + float c = 4.0 * 2.0 * (color.r - 0.5); + float atan_c = 0.0; + float scale = 1.0; + float sign = 1.0; + vec4 result; - if(c < 0.0) - { - sign = -1.0; - c *= -1.0; - } + if(c < 0.0) + { + sign = -1.0; + c *= -1.0; + } - if(c <= 1.0) - { - // Taylors series expansion for atan - for(int i = 1; i < 12; i += 2) - { - atan_c += scale * pow(c, float(i)) / float(i); - scale *= -1.0; - } + if(c <= 1.0) + { + // Taylors series expansion for atan + for(int i = 1; i < 12; i += 2) + { + atan_c += scale * pow(c, float(i)) / float(i); + scale *= -1.0; + } - result = vec4(sign * atan_c / M_PI + 0.5, 0.0, 0.0, 1.0); - } - else - { - c = 1.0 / c; + result = vec4(sign * atan_c / M_PI + 0.5, 0.0, 0.0, 1.0); + } + else + { + c = 1.0 / c; - // Taylors series expansion for atan - for(int i = 1; i < 12; i += 2) - { - atan_c += scale * pow(c, float(i)) / float(i); - scale *= -1.0; - } + // Taylors series expansion for atan + for(int i = 1; i < 12; i += 2) + { + atan_c += scale * pow(c, float(i)) / float(i); + scale *= -1.0; + } - result = vec4(sign * (M_PI / 2.0 - atan_c) / M_PI + 0.5, 0.0, 0.0, 1.0); - } + result = vec4(sign * (M_PI / 2.0 - atan_c) / M_PI + 0.5, 0.0, 0.0, 1.0); + } - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvaryyvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvaryyvary.frag index f782b2f4542..3b8f85e1fa5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvaryyvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvaryyvary.frag @@ -34,15 +34,15 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float x = 2.0 * (color.g - 0.5); - float y = 2.0 * (color.b - 0.5); - const float epsilon = 1.0e-4; - gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float x = 2.0 * (color.g - 0.5); + float y = 2.0 * (color.b - 0.5); + const float epsilon = 1.0e-4; + gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x > epsilon || abs(y) > epsilon) - { - gl_FragColor = vec4(atan(y, x) / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x > epsilon || abs(y) > epsilon) + { + gl_FragColor = vec4(atan(y, x) / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + } } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvaryyvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvaryyvary_ref.frag index f9701de5b2c..42fa998db50 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvaryyvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_frag_xvaryyvary_ref.frag @@ -34,55 +34,55 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float x = 2.0 * (color.g - 0.5); - float y = 2.0 * (color.b - 0.5); - float atan_c = 0.0; - float scale = 1.0; - float sign = 1.0; - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - const float epsilon = 1.0e-4; + const float M_PI = 3.14159265358979323846; + float x = 2.0 * (color.g - 0.5); + float y = 2.0 * (color.b - 0.5); + float atan_c = 0.0; + float scale = 1.0; + float sign = 1.0; + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float epsilon = 1.0e-4; - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x > epsilon || abs(y) > epsilon) - { - if(x < 0.0 ^^ y < 0.0) - { - sign = -1.0; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x > epsilon || abs(y) > epsilon) + { + if(x < 0.0 ^^ y < 0.0) + { + sign = -1.0; + } - if(abs(y) <= abs(x)) - { - float c = abs(y / x); + if(abs(y) <= abs(x)) + { + float c = abs(y / x); - // Taylors series expansion for atan - for(int i = 1; i < 12; i += 2) - { - atan_c += scale * pow(c, float(i)) / float(i); - scale *= -1.0; - } + // Taylors series expansion for atan + for(int i = 1; i < 12; i += 2) + { + atan_c += scale * pow(c, float(i)) / float(i); + scale *= -1.0; + } - result = vec4(sign * atan_c / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); - } - else - { - float c = abs(x / y); + result = vec4(sign * atan_c / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + } + else + { + float c = abs(x / y); - // Taylors series expansion for atan - for(int i = 1; i < 12; i += 2) - { - atan_c += scale * pow(c, float(i)) / float(i); - scale *= -1.0; - } + // Taylors series expansion for atan + for(int i = 1; i < 12; i += 2) + { + atan_c += scale * pow(c, float(i)) / float(i); + scale *= -1.0; + } - result = vec4(sign * (M_PI / 2.0 - atan_c) / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); - } + result = vec4(sign * (M_PI / 2.0 - atan_c) / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + } - if(x < 0.0) - if(y < 0.0) result.r -= 0.5; - else if(y > 0.0) result.r += 0.5; - } + if(x < 0.0) + if(y < 0.0) result.r -= 0.5; + else if(y > 0.0) result.r += 0.5; + } - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvary.vert index ef979543098..ead9e4be173 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 4.0 * 2.0 * (gtf_Color.r - 0.5); - color = vec4(atan(c) / M_PI + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + float c = 4.0 * 2.0 * (gtf_Color.r - 0.5); + color = vec4(atan(c) / M_PI + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvary_ref.vert index cee8a612b09..f0dd4e16f34 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvary_ref.vert @@ -30,44 +30,44 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 4.0 * 2.0 * (gtf_Color.r - 0.5); - float atan_c = 0.0; - float scale = 1.0; - float sign = 1.0; - vec4 result; + const float M_PI = 3.14159265358979323846; + float c = 4.0 * 2.0 * (gtf_Color.r - 0.5); + float atan_c = 0.0; + float scale = 1.0; + float sign = 1.0; + vec4 result; - if(c < 0.0) - { - sign = -1.0; - c *= -1.0; - } + if(c < 0.0) + { + sign = -1.0; + c *= -1.0; + } - if(c <= 1.0) - { - // Taylors series expansion for atan - for(int i = 1; i < 12; i += 2) - { - atan_c += scale * pow(c, float(i)) / float(i); - scale *= -1.0; - } + if(c <= 1.0) + { + // Taylors series expansion for atan + for(int i = 1; i < 12; i += 2) + { + atan_c += scale * pow(c, float(i)) / float(i); + scale *= -1.0; + } - result = vec4(sign * atan_c / M_PI + 0.5, 0.0, 0.0, 1.0); - } - else - { - c = 1.0 / c; + result = vec4(sign * atan_c / M_PI + 0.5, 0.0, 0.0, 1.0); + } + else + { + c = 1.0 / c; - // Taylors series expansion for atan - for(int i = 1; i < 12; i += 2) - { - atan_c += scale * pow(c, float(i)) / float(i); - scale *= -1.0; - } + // Taylors series expansion for atan + for(int i = 1; i < 12; i += 2) + { + atan_c += scale * pow(c, float(i)) / float(i); + scale *= -1.0; + } - result = vec4(sign * (M_PI / 2.0 - atan_c) / M_PI + 0.5, 0.0, 0.0, 1.0); - } + result = vec4(sign * (M_PI / 2.0 - atan_c) / M_PI + 0.5, 0.0, 0.0, 1.0); + } - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvaryyvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvaryyvary.vert index b3a1199d1d6..183da334369 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvaryyvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvaryyvary.vert @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float x = 2.0 * (gtf_Color.g - 0.5); - float y = 2.0 * (gtf_Color.b - 0.5); - const float epsilon = 1.0e-4; - color = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float x = 2.0 * (gtf_Color.g - 0.5); + float y = 2.0 * (gtf_Color.b - 0.5); + const float epsilon = 1.0e-4; + color = vec4(0.0, 0.0, 0.0, 1.0); - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x > epsilon || abs(y) > epsilon) - { - color = vec4(atan(y, x) / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x > epsilon || abs(y) > epsilon) + { + color = vec4(atan(y, x) / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + } - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvaryyvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvaryyvary_ref.vert index 409f8201dc9..c45e98f0aec 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvaryyvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_float_vert_xvaryyvary_ref.vert @@ -30,56 +30,56 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float x = 2.0 * (gtf_Color.g - 0.5); - float y = 2.0 * (gtf_Color.b - 0.5); - float atan_c = 0.0; - float scale = 1.0; - float sign = 1.0; - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - const float epsilon = 1.0e-4; + const float M_PI = 3.14159265358979323846; + float x = 2.0 * (gtf_Color.g - 0.5); + float y = 2.0 * (gtf_Color.b - 0.5); + float atan_c = 0.0; + float scale = 1.0; + float sign = 1.0; + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float epsilon = 1.0e-4; - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x > epsilon || abs(y) > epsilon) - { - if(x < 0.0 ^^ y < 0.0) - { - sign = -1.0; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x > epsilon || abs(y) > epsilon) + { + if(x < 0.0 ^^ y < 0.0) + { + sign = -1.0; + } - if(abs(y) <= abs(x)) - { - float c = abs(y / x); + if(abs(y) <= abs(x)) + { + float c = abs(y / x); - // Taylors series expansion for atan - for(int i = 1; i < 12; i += 2) - { - atan_c += scale * pow(c, float(i)) / float(i); - scale *= -1.0; - } + // Taylors series expansion for atan + for(int i = 1; i < 12; i += 2) + { + atan_c += scale * pow(c, float(i)) / float(i); + scale *= -1.0; + } - result = vec4(sign * atan_c / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); - } - else - { - float c = abs(x / y); + result = vec4(sign * atan_c / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + } + else + { + float c = abs(x / y); - // Taylors series expansion for atan - for(int i = 1; i < 12; i += 2) - { - atan_c += scale * pow(c, float(i)) / float(i); - scale *= -1.0; - } + // Taylors series expansion for atan + for(int i = 1; i < 12; i += 2) + { + atan_c += scale * pow(c, float(i)) / float(i); + scale *= -1.0; + } - result = vec4(sign * (M_PI / 2.0 - atan_c) / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); - } + result = vec4(sign * (M_PI / 2.0 - atan_c) / (2.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + } - if(x < 0.0) - if(y < 0.0) result.r -= 0.5; - else if(y > 0.0) result.r += 0.5; - } + if(x < 0.0) + if(y < 0.0) result.r -= 0.5; + else if(y > 0.0) result.r += 0.5; + } - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvary.frag index 8a9dfa35ba9..2801a4938e9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 4.0 * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(atan(c) / M_PI + 0.5, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 4.0 * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(atan(c) / M_PI + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvary_ref.frag index add2af31984..96771584f56 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvary_ref.frag @@ -30,103 +30,103 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 4.0 * 2.0 * (color.rg - 0.5); - vec2 atan_c = vec2(0.0); - vec2 scale = vec2(1.0); - vec2 sign = vec2(1.0); - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 4.0 * 2.0 * (color.rg - 0.5); + vec2 atan_c = vec2(0.0); + vec2 scale = vec2(1.0); + vec2 sign = vec2(1.0); + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - if(c[0] < 0.0) - { - sign[0] = -1.0; - c[0] *= -1.0; - } + if(c[0] < 0.0) + { + sign[0] = -1.0; + c[0] *= -1.0; + } - if(c[0] <= 1.0) - { - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + if(c[0] <= 1.0) + { + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * atan_c[0] / M_PI + 0.5; - } - else - { - c[0] = 1.0 / c[0]; + result[0] = sign[0] * atan_c[0] / M_PI + 0.5; + } + else + { + c[0] = 1.0 / c[0]; - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / M_PI + 0.5; - } + result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / M_PI + 0.5; + } - if(c[1] < 0.0) - { - sign[1] = -1.0; - c[1] *= -1.0; - } + if(c[1] < 0.0) + { + sign[1] = -1.0; + c[1] *= -1.0; + } - if(c[1] <= 1.0) - { - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + if(c[1] <= 1.0) + { + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * atan_c[1] / M_PI + 0.5; - } - else - { - c[1] = 1.0 / c[1]; + result[1] = sign[1] * atan_c[1] / M_PI + 0.5; + } + else + { + c[1] = 1.0 / c[1]; - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / M_PI + 0.5; - } + result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / M_PI + 0.5; + } - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary.frag index 02240f053e0..c851ff070fc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary.frag @@ -30,20 +30,20 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 x = 2.0 * (color.gg - 0.5); - vec2 y = 2.0 * (color.bb - 0.5); - const float epsilon = 1.0e-4; - gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 x = 2.0 * (color.gg - 0.5); + vec2 y = 2.0 * (color.bb - 0.5); + const float epsilon = 1.0e-4; + gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x[0] > epsilon || abs(y[0]) > epsilon) - { - gl_FragColor[0] = atan(y[0], x[0]) / (2.0 * M_PI) + 0.5; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x[0] > epsilon || abs(y[0]) > epsilon) + { + gl_FragColor[0] = atan(y[0], x[0]) / (2.0 * M_PI) + 0.5; + } - if(x[1] > epsilon || abs(y[1]) > epsilon) - { - gl_FragColor[1] = atan(y[1], x[1]) / (2.0 * M_PI) + 0.5; - } + if(x[1] > epsilon || abs(y[1]) > epsilon) + { + gl_FragColor[1] = atan(y[1], x[1]) / (2.0 * M_PI) + 0.5; + } } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary_ref.frag index c14a76d0db3..0e16fd84da3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_frag_xvaryyvary_ref.frag @@ -30,121 +30,121 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 x = 2.0 * (color.gg - 0.5); - vec2 y = 2.0 * (color.bb - 0.5); - vec2 c; - vec2 atan_c = vec2(0.0); - vec2 scale = vec2(1.0); - vec2 sign = vec2(1.0); - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - const float epsilon = 1.0e-4; + const float M_PI = 3.14159265358979323846; + vec2 x = 2.0 * (color.gg - 0.5); + vec2 y = 2.0 * (color.bb - 0.5); + vec2 c; + vec2 atan_c = vec2(0.0); + vec2 scale = vec2(1.0); + vec2 sign = vec2(1.0); + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float epsilon = 1.0e-4; - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x[0] > epsilon || abs(y[0]) > epsilon) - { - if(x[0] < 0.0 ^^ y[0] < 0.0) - { - sign[0] = -1.0; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x[0] > epsilon || abs(y[0]) > epsilon) + { + if(x[0] < 0.0 ^^ y[0] < 0.0) + { + sign[0] = -1.0; + } - if(abs(y[0]) <= abs(x[0])) - { - c[0] = abs(y[0] / x[0]); - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + if(abs(y[0]) <= abs(x[0])) + { + c[0] = abs(y[0] / x[0]); + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * atan_c[0] / (2.0 * M_PI) + 0.5; - } - else - { - c[0] = abs(x[0] / y[0]); + result[0] = sign[0] * atan_c[0] / (2.0 * M_PI) + 0.5; + } + else + { + c[0] = abs(x[0] / y[0]); - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / (2.0 * M_PI) + 0.5; - } + result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / (2.0 * M_PI) + 0.5; + } - if(x[0] < 0.0) - if(y[0] < 0.0) result[0] -= 0.5; - else if(y[0] > 0.0) result[0] += 0.5; - } + if(x[0] < 0.0) + if(y[0] < 0.0) result[0] -= 0.5; + else if(y[0] > 0.0) result[0] += 0.5; + } - if(x[1] > epsilon || abs(y[1]) > epsilon) - { + if(x[1] > epsilon || abs(y[1]) > epsilon) + { - if(x[1] < 0.0 ^^ y[1] < 0.0) - { - sign[1] = -1.0; - } + if(x[1] < 0.0 ^^ y[1] < 0.0) + { + sign[1] = -1.0; + } - if(abs(y[1]) <= abs(x[1])) - { - c[1] = abs(y[1] / x[1]); - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + if(abs(y[1]) <= abs(x[1])) + { + c[1] = abs(y[1] / x[1]); + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * atan_c[1] / (2.0 * M_PI) + 0.5; - } - else - { - c[1] = abs(x[1] / y[1]); + result[1] = sign[1] * atan_c[1] / (2.0 * M_PI) + 0.5; + } + else + { + c[1] = abs(x[1] / y[1]); - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / (2.0 * M_PI) + 0.5; - } + result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / (2.0 * M_PI) + 0.5; + } - if(x[1] < 0.0) - if(y[1] < 0.0) result[1] -= 0.5; - else if(y[1] > 0.0) result[1] += 0.5; - } + if(x[1] < 0.0) + if(y[1] < 0.0) result[1] -= 0.5; + else if(y[1] > 0.0) result[1] += 0.5; + } - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvary.vert index 9d79194d025..c9740e5db16 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 4.0 * 2.0 * (gtf_Color.rg - 0.5); - color = vec4(atan(c) / M_PI + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec2 c = 4.0 * 2.0 * (gtf_Color.rg - 0.5); + color = vec4(atan(c) / M_PI + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvary_ref.vert index d381d5846ec..f3ba4ce87ce 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvary_ref.vert @@ -30,104 +30,104 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 4.0 * 2.0 * (gtf_Color.rg - 0.5); - vec2 atan_c = vec2(0.0); - vec2 scale = vec2(1.0); - vec2 sign = vec2(1.0); - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 4.0 * 2.0 * (gtf_Color.rg - 0.5); + vec2 atan_c = vec2(0.0); + vec2 scale = vec2(1.0); + vec2 sign = vec2(1.0); + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - if(c[0] < 0.0) - { - sign[0] = -1.0; - c[0] *= -1.0; - } + if(c[0] < 0.0) + { + sign[0] = -1.0; + c[0] *= -1.0; + } - if(c[0] <= 1.0) - { - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + if(c[0] <= 1.0) + { + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * atan_c[0] / M_PI + 0.5; - } - else - { - c[0] = 1.0 / c[0]; + result[0] = sign[0] * atan_c[0] / M_PI + 0.5; + } + else + { + c[0] = 1.0 / c[0]; - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / M_PI + 0.5; - } + result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / M_PI + 0.5; + } - if(c[1] < 0.0) - { - sign[1] = -1.0; - c[1] *= -1.0; - } + if(c[1] < 0.0) + { + sign[1] = -1.0; + c[1] *= -1.0; + } - if(c[1] <= 1.0) - { - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + if(c[1] <= 1.0) + { + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * atan_c[1] / M_PI + 0.5; - } - else - { - c[1] = 1.0 / c[1]; + result[1] = sign[1] * atan_c[1] / M_PI + 0.5; + } + else + { + c[1] = 1.0 / c[1]; - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / M_PI + 0.5; - } + result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / M_PI + 0.5; + } - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary.vert index febd80c860c..a56b33c9f18 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary.vert @@ -30,22 +30,22 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 x = 2.0 * (gtf_Color.gg - 0.5); - vec2 y = 2.0 * (gtf_Color.bb - 0.5); - const float epsilon = 1.0e-4; - color = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 x = 2.0 * (gtf_Color.gg - 0.5); + vec2 y = 2.0 * (gtf_Color.bb - 0.5); + const float epsilon = 1.0e-4; + color = vec4(0.0, 0.0, 0.0, 1.0); - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x[0] > epsilon || abs(y[0]) > epsilon) - { - color[0] = atan(y[0], x[0]) / (2.0 * M_PI) + 0.5; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x[0] > epsilon || abs(y[0]) > epsilon) + { + color[0] = atan(y[0], x[0]) / (2.0 * M_PI) + 0.5; + } - if(x[1] > epsilon || abs(y[1]) > epsilon) - { - color[1] = atan(y[1], x[1]) / (2.0 * M_PI) + 0.5; - } + if(x[1] > epsilon || abs(y[1]) > epsilon) + { + color[1] = atan(y[1], x[1]) / (2.0 * M_PI) + 0.5; + } - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary_ref.vert index c45729fdb58..790b4a74381 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec2_vert_xvaryyvary_ref.vert @@ -30,121 +30,121 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 x = 2.0 * (gtf_Color.gg - 0.5); - vec2 y = 2.0 * (gtf_Color.bb - 0.5); - vec2 c; - vec2 atan_c = vec2(0.0); - vec2 scale = vec2(1.0); - vec2 sign = vec2(1.0); - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - const float epsilon = 1.0e-4; + const float M_PI = 3.14159265358979323846; + vec2 x = 2.0 * (gtf_Color.gg - 0.5); + vec2 y = 2.0 * (gtf_Color.bb - 0.5); + vec2 c; + vec2 atan_c = vec2(0.0); + vec2 scale = vec2(1.0); + vec2 sign = vec2(1.0); + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float epsilon = 1.0e-4; - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x[0] > epsilon || abs(y[0]) > epsilon) - { - if(x[0] < 0.0 ^^ y[0] < 0.0) - { - sign[0] = -1.0; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x[0] > epsilon || abs(y[0]) > epsilon) + { + if(x[0] < 0.0 ^^ y[0] < 0.0) + { + sign[0] = -1.0; + } - if(abs(y[0]) <= abs(x[0])) - { - c[0] = abs(y[0] / x[0]); - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + if(abs(y[0]) <= abs(x[0])) + { + c[0] = abs(y[0] / x[0]); + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * atan_c[0] / (2.0 * M_PI) + 0.5; - } - else - { - c[0] = abs(x[0] / y[0]); + result[0] = sign[0] * atan_c[0] / (2.0 * M_PI) + 0.5; + } + else + { + c[0] = abs(x[0] / y[0]); - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / (2.0 * M_PI) + 0.5; - } + result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / (2.0 * M_PI) + 0.5; + } - if(x[0] < 0.0) - if(y[0] < 0.0) result[0] -= 0.5; - else if(y[0] > 0.0) result[0] += 0.5; - } + if(x[0] < 0.0) + if(y[0] < 0.0) result[0] -= 0.5; + else if(y[0] > 0.0) result[0] += 0.5; + } - if(x[1] > epsilon || abs(y[1]) > epsilon) - { - if(x[1] < 0.0 ^^ y[1] < 0.0) - { - sign[1] = -1.0; - } + if(x[1] > epsilon || abs(y[1]) > epsilon) + { + if(x[1] < 0.0 ^^ y[1] < 0.0) + { + sign[1] = -1.0; + } - if(abs(y[1]) <= abs(x[1])) - { - c[1] = abs(y[1] / x[1]); - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + if(abs(y[1]) <= abs(x[1])) + { + c[1] = abs(y[1] / x[1]); + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * atan_c[1] / (2.0 * M_PI) + 0.5; - } - else - { - c[1] = abs(x[1] / y[1]); + result[1] = sign[1] * atan_c[1] / (2.0 * M_PI) + 0.5; + } + else + { + c[1] = abs(x[1] / y[1]); - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / (2.0 * M_PI) + 0.5; - } + result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / (2.0 * M_PI) + 0.5; + } - if(x[1] < 0.0) - if(y[1] < 0.0) result[1] -= 0.5; - else if(y[1] > 0.0) result[1] += 0.5; - } + if(x[1] < 0.0) + if(y[1] < 0.0) result[1] -= 0.5; + else if(y[1] > 0.0) result[1] += 0.5; + } - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvary.frag index 1f03961fd31..281ae2e62d1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 4.0 * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(atan(c) / M_PI + 0.5, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 4.0 * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(atan(c) / M_PI + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvary_ref.frag index d3216f26b4b..c8484b8dcf1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvary_ref.frag @@ -30,149 +30,149 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 4.0 * 2.0 * (color.rgb - 0.5); - vec3 atan_c = vec3(0.0); - vec3 scale = vec3(1.0); - vec3 sign = vec3(1.0); - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 4.0 * 2.0 * (color.rgb - 0.5); + vec3 atan_c = vec3(0.0); + vec3 scale = vec3(1.0); + vec3 sign = vec3(1.0); + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - if(c[0] < 0.0) - { - sign[0] = -1.0; - c[0] *= -1.0; - } + if(c[0] < 0.0) + { + sign[0] = -1.0; + c[0] *= -1.0; + } - if(c[0] <= 1.0) - { - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + if(c[0] <= 1.0) + { + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * atan_c[0] / M_PI + 0.5; - } - else - { - c[0] = 1.0 / c[0]; + result[0] = sign[0] * atan_c[0] / M_PI + 0.5; + } + else + { + c[0] = 1.0 / c[0]; - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / M_PI + 0.5; - } + result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / M_PI + 0.5; + } - if(c[1] < 0.0) - { - sign[1] = -1.0; - c[1] *= -1.0; - } + if(c[1] < 0.0) + { + sign[1] = -1.0; + c[1] *= -1.0; + } - if(c[1] <= 1.0) - { - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + if(c[1] <= 1.0) + { + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * atan_c[1] / M_PI + 0.5; - } - else - { - c[1] = 1.0 / c[1]; + result[1] = sign[1] * atan_c[1] / M_PI + 0.5; + } + else + { + c[1] = 1.0 / c[1]; - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / M_PI + 0.5; - } + result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / M_PI + 0.5; + } - if(c[2] < 0.0) - { - sign[2] = -1.0; - c[2] *= -1.0; - } + if(c[2] < 0.0) + { + sign[2] = -1.0; + c[2] *= -1.0; + } - if(c[2] <= 1.0) - { - // Taylors series expansion for atan - atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); - scale[2] *= -1.0; + if(c[2] <= 1.0) + { + // Taylors series expansion for atan + atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); + scale[2] *= -1.0; - result[2] = sign[2] * atan_c[2] / M_PI + 0.5; - } - else - { - c[2] = 1.0 / c[2]; + result[2] = sign[2] * atan_c[2] / M_PI + 0.5; + } + else + { + c[2] = 1.0 / c[2]; - // Taylors series expansion for atan - atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); - scale[2] *= -1.0; + // Taylors series expansion for atan + atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); + scale[2] *= -1.0; - result[2] = sign[2] * (M_PI / 2.0 - atan_c[2]) / M_PI + 0.5; - } + result[2] = sign[2] * (M_PI / 2.0 - atan_c[2]) / M_PI + 0.5; + } - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary.frag index 7a50745ff8b..08a18b8a3c4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary.frag @@ -30,25 +30,25 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 x = 2.0 * (color.ggg - 0.5); - vec3 y = 2.0 * (color.bbb - 0.5); - const float epsilon = 1.0e-4; - gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 x = 2.0 * (color.ggg - 0.5); + vec3 y = 2.0 * (color.bbb - 0.5); + const float epsilon = 1.0e-4; + gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x[0] > epsilon || abs(y[0]) > epsilon) - { - gl_FragColor[0] = atan(y[0], x[0]) / (2.0 * M_PI) + 0.5; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x[0] > epsilon || abs(y[0]) > epsilon) + { + gl_FragColor[0] = atan(y[0], x[0]) / (2.0 * M_PI) + 0.5; + } - if(x[1] > epsilon || abs(y[1]) > epsilon) - { - gl_FragColor[1] = atan(y[1], x[1]) / (2.0 * M_PI) + 0.5; - } + if(x[1] > epsilon || abs(y[1]) > epsilon) + { + gl_FragColor[1] = atan(y[1], x[1]) / (2.0 * M_PI) + 0.5; + } - if(x[2] > epsilon || abs(y[2]) > epsilon) - { - gl_FragColor[2] = atan(y[2], x[2]) / (2.0 * M_PI) + 0.5; - } + if(x[2] > epsilon || abs(y[2]) > epsilon) + { + gl_FragColor[2] = atan(y[2], x[2]) / (2.0 * M_PI) + 0.5; + } } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary_ref.frag index 65c294ae024..9a97bb2bef4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_frag_xvaryyvary_ref.frag @@ -30,174 +30,174 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 x = 2.0 * (color.ggg - 0.5); - vec3 y = 2.0 * (color.bbb - 0.5); - vec3 c; - vec3 atan_c = vec3(0.0); - vec3 scale = vec3(1.0); - vec3 sign = vec3(1.0); - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - const float epsilon = 1.0e-4; + const float M_PI = 3.14159265358979323846; + vec3 x = 2.0 * (color.ggg - 0.5); + vec3 y = 2.0 * (color.bbb - 0.5); + vec3 c; + vec3 atan_c = vec3(0.0); + vec3 scale = vec3(1.0); + vec3 sign = vec3(1.0); + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float epsilon = 1.0e-4; - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x[0] > epsilon || abs(y[0]) > epsilon) - { - if(x[0] < 0.0 ^^ y[0] < 0.0) - { - sign[0] = -1.0; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x[0] > epsilon || abs(y[0]) > epsilon) + { + if(x[0] < 0.0 ^^ y[0] < 0.0) + { + sign[0] = -1.0; + } - if(abs(y[0]) <= abs(x[0])) - { - c[0] = abs(y[0] / x[0]); - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + if(abs(y[0]) <= abs(x[0])) + { + c[0] = abs(y[0] / x[0]); + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * atan_c[0] / (2.0 * M_PI) + 0.5; - } - else - { - c[0] = abs(x[0] / y[0]); + result[0] = sign[0] * atan_c[0] / (2.0 * M_PI) + 0.5; + } + else + { + c[0] = abs(x[0] / y[0]); - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / (2.0 * M_PI) + 0.5; - } + result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / (2.0 * M_PI) + 0.5; + } - if(x[0] < 0.0) - if(y[0] < 0.0) result[0] -= 0.5; - else if(y[0] > 0.0) result[0] += 0.5; - } + if(x[0] < 0.0) + if(y[0] < 0.0) result[0] -= 0.5; + else if(y[0] > 0.0) result[0] += 0.5; + } - if(x[1] > epsilon || abs(y[1]) > epsilon) - { + if(x[1] > epsilon || abs(y[1]) > epsilon) + { - if(x[1] < 0.0 ^^ y[1] < 0.0) - { - sign[1] = -1.0; - } + if(x[1] < 0.0 ^^ y[1] < 0.0) + { + sign[1] = -1.0; + } - if(abs(y[1]) <= abs(x[1])) - { - c[1] = abs(y[1] / x[1]); - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + if(abs(y[1]) <= abs(x[1])) + { + c[1] = abs(y[1] / x[1]); + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * atan_c[1] / (2.0 * M_PI) + 0.5; - } - else - { - c[1] = abs(x[1] / y[1]); + result[1] = sign[1] * atan_c[1] / (2.0 * M_PI) + 0.5; + } + else + { + c[1] = abs(x[1] / y[1]); - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / (2.0 * M_PI) + 0.5; - } + result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / (2.0 * M_PI) + 0.5; + } - if(x[1] < 0.0) - if(y[1] < 0.0) result[1] -= 0.5; - else if(y[1] > 0.0) result[1] += 0.5; - } + if(x[1] < 0.0) + if(y[1] < 0.0) result[1] -= 0.5; + else if(y[1] > 0.0) result[1] += 0.5; + } - if(x[2] > epsilon || abs(y[2]) > epsilon) - { + if(x[2] > epsilon || abs(y[2]) > epsilon) + { - if(x[2] < 0.0 ^^ y[2] < 0.0) - { - sign[2] = -1.0; - } + if(x[2] < 0.0 ^^ y[2] < 0.0) + { + sign[2] = -1.0; + } - if(abs(y[2]) <= abs(x[2])) - { - c[2] = abs(y[2] / x[2]); - // Taylors series expansion for atan - atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); - scale[2] *= -1.0; + if(abs(y[2]) <= abs(x[2])) + { + c[2] = abs(y[2] / x[2]); + // Taylors series expansion for atan + atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); + scale[2] *= -1.0; - result[2] = sign[2] * atan_c[2] / (2.0 * M_PI) + 0.5; - } - else - { - c[2] = abs(x[2] / y[2]); + result[2] = sign[2] * atan_c[2] / (2.0 * M_PI) + 0.5; + } + else + { + c[2] = abs(x[2] / y[2]); - // Taylors series expansion for atan - atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); - scale[2] *= -1.0; + // Taylors series expansion for atan + atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); + scale[2] *= -1.0; - result[2] = sign[2] * (M_PI / 2.0 - atan_c[2]) / (2.0 * M_PI) + 0.5; - } + result[2] = sign[2] * (M_PI / 2.0 - atan_c[2]) / (2.0 * M_PI) + 0.5; + } - if(x[2] < 0.0) - if(y[2] < 0.0) result[2] -= 0.5; - else if(y[2] > 0.0) result[2] += 0.5; - } + if(x[2] < 0.0) + if(y[2] < 0.0) result[2] -= 0.5; + else if(y[2] > 0.0) result[2] += 0.5; + } - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvary.vert index 69f421bddb7..ad0d327872b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 4.0 * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(atan(c) / M_PI + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec3 c = 4.0 * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(atan(c) / M_PI + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvary_ref.vert index 8397e15c409..34a6ca3e918 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvary_ref.vert @@ -30,149 +30,149 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 4.0 * 2.0 * (gtf_Color.rgb - 0.5); - vec3 atan_c = vec3(0.0); - vec3 scale = vec3(1.0); - vec3 sign = vec3(1.0); - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 4.0 * 2.0 * (gtf_Color.rgb - 0.5); + vec3 atan_c = vec3(0.0); + vec3 scale = vec3(1.0); + vec3 sign = vec3(1.0); + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - if(c[0] < 0.0) - { - sign[0] = -1.0; - c[0] *= -1.0; - } + if(c[0] < 0.0) + { + sign[0] = -1.0; + c[0] *= -1.0; + } - if(c[0] <= 1.0) - { - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + if(c[0] <= 1.0) + { + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * atan_c[0] / M_PI + 0.5; - } - else - { - c[0] = 1.0 / c[0]; + result[0] = sign[0] * atan_c[0] / M_PI + 0.5; + } + else + { + c[0] = 1.0 / c[0]; - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / M_PI + 0.5; - } + result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / M_PI + 0.5; + } - if(c[1] < 0.0) - { - sign[1] = -1.0; - c[1] *= -1.0; - } + if(c[1] < 0.0) + { + sign[1] = -1.0; + c[1] *= -1.0; + } - if(c[1] <= 1.0) - { - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + if(c[1] <= 1.0) + { + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * atan_c[1] / M_PI + 0.5; - } - else - { - c[1] = 1.0 / c[1]; + result[1] = sign[1] * atan_c[1] / M_PI + 0.5; + } + else + { + c[1] = 1.0 / c[1]; - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / M_PI + 0.5; - } + result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / M_PI + 0.5; + } - if(c[2] < 0.0) - { - sign[2] = -1.0; - c[2] *= -1.0; - } + if(c[2] < 0.0) + { + sign[2] = -1.0; + c[2] *= -1.0; + } - if(c[2] <= 1.0) - { - // Taylors series expansion for atan - atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); - scale[2] *= -1.0; + if(c[2] <= 1.0) + { + // Taylors series expansion for atan + atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); + scale[2] *= -1.0; - result[2] = sign[2] * atan_c[2] / M_PI + 0.5; - } - else - { - c[2] = 1.0 / c[2]; + result[2] = sign[2] * atan_c[2] / M_PI + 0.5; + } + else + { + c[2] = 1.0 / c[2]; - // Taylors series expansion for atan - atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); - scale[2] *= -1.0; + // Taylors series expansion for atan + atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); + scale[2] *= -1.0; - result[2] = sign[2] * (M_PI / 2.0 - atan_c[2]) / M_PI + 0.5; - } + result[2] = sign[2] * (M_PI / 2.0 - atan_c[2]) / M_PI + 0.5; + } - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary.vert index deddf528bf4..1b19a4c2f8a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary.vert @@ -30,27 +30,27 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 x = 2.0 * (gtf_Color.ggg - 0.5); - vec3 y = 2.0 * (gtf_Color.bbb - 0.5); - const float epsilon = 1.0e-4; - color = vec4(0.0, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 x = 2.0 * (gtf_Color.ggg - 0.5); + vec3 y = 2.0 * (gtf_Color.bbb - 0.5); + const float epsilon = 1.0e-4; + color = vec4(0.0, 0.0, 0.0, 1.0); - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x[0] > epsilon || abs(y[0]) > epsilon) - { - color[0] = atan(y[0], x[0]) / (2.0 * M_PI) + 0.5; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x[0] > epsilon || abs(y[0]) > epsilon) + { + color[0] = atan(y[0], x[0]) / (2.0 * M_PI) + 0.5; + } - if(x[1] > epsilon || abs(y[1]) > epsilon) - { - color[1] = atan(y[1], x[1]) / (2.0 * M_PI) + 0.5; - } + if(x[1] > epsilon || abs(y[1]) > epsilon) + { + color[1] = atan(y[1], x[1]) / (2.0 * M_PI) + 0.5; + } - if(x[2] > epsilon || abs(y[2]) > epsilon) - { - color[2] = atan(y[2], x[2]) / (2.0 * M_PI) + 0.5; - } + if(x[2] > epsilon || abs(y[2]) > epsilon) + { + color[2] = atan(y[2], x[2]) / (2.0 * M_PI) + 0.5; + } - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary_ref.vert index 205185d7d6d..d36106f721c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/atan/atan_vec3_vert_xvaryyvary_ref.vert @@ -30,173 +30,173 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 x = 2.0 * (gtf_Color.ggg - 0.5); - vec3 y = 2.0 * (gtf_Color.bbb - 0.5); - vec3 c; - vec3 atan_c = vec3(0.0); - vec3 scale = vec3(1.0); - vec3 sign = vec3(1.0); - vec4 result = vec4(0.0, 0.0, 0.0, 1.0); - const float epsilon = 1.0e-4; + const float M_PI = 3.14159265358979323846; + vec3 x = 2.0 * (gtf_Color.ggg - 0.5); + vec3 y = 2.0 * (gtf_Color.bbb - 0.5); + vec3 c; + vec3 atan_c = vec3(0.0); + vec3 scale = vec3(1.0); + vec3 sign = vec3(1.0); + vec4 result = vec4(0.0, 0.0, 0.0, 1.0); + const float epsilon = 1.0e-4; - // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent - if(x[0] > epsilon || abs(y[0]) > epsilon) - { - if(x[0] < 0.0 ^^ y[0] < 0.0) - { - sign[0] = -1.0; - } + // Avoid evaluating atan(0, x) for x < epsilon because it's implementation-dependent + if(x[0] > epsilon || abs(y[0]) > epsilon) + { + if(x[0] < 0.0 ^^ y[0] < 0.0) + { + sign[0] = -1.0; + } - if(abs(y[0]) <= abs(x[0])) - { - c[0] = abs(y[0] / x[0]); - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + if(abs(y[0]) <= abs(x[0])) + { + c[0] = abs(y[0] / x[0]); + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * atan_c[0] / (2.0 * M_PI) + 0.5; - } - else - { - c[0] = abs(x[0] / y[0]); + result[0] = sign[0] * atan_c[0] / (2.0 * M_PI) + 0.5; + } + else + { + c[0] = abs(x[0] / y[0]); - // Taylors series expansion for atan - atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); - scale[0] *= -1.0; - atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); - scale[0] *= -1.0; + // Taylors series expansion for atan + atan_c[0] += scale[0] * pow(c[0], float(1)) / float(1); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(3)) / float(3); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(5)) / float(5); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(7)) / float(7); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(9)) / float(9); + scale[0] *= -1.0; + atan_c[0] += scale[0] * pow(c[0], float(11)) / float(11); + scale[0] *= -1.0; - result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / (2.0 * M_PI) + 0.5; - } + result[0] = sign[0] * (M_PI / 2.0 - atan_c[0]) / (2.0 * M_PI) + 0.5; + } - if(x[0] < 0.0) - if(y[0] < 0.0) result[0] -= 0.5; - else if(y[0] > 0.0) result[0] += 0.5; - } + if(x[0] < 0.0) + if(y[0] < 0.0) result[0] -= 0.5; + else if(y[0] > 0.0) result[0] += 0.5; + } - if(x[1] > epsilon || abs(y[1]) > epsilon) - { - if(x[1] < 0.0 ^^ y[1] < 0.0) - { - sign[1] = -1.0; - } + if(x[1] > epsilon || abs(y[1]) > epsilon) + { + if(x[1] < 0.0 ^^ y[1] < 0.0) + { + sign[1] = -1.0; + } - if(abs(y[1]) <= abs(x[1])) - { - c[1] = abs(y[1] / x[1]); - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + if(abs(y[1]) <= abs(x[1])) + { + c[1] = abs(y[1] / x[1]); + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * atan_c[1] / (2.0 * M_PI) + 0.5; - } - else - { - c[1] = abs(x[1] / y[1]); + result[1] = sign[1] * atan_c[1] / (2.0 * M_PI) + 0.5; + } + else + { + c[1] = abs(x[1] / y[1]); - // Taylors series expansion for atan - atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); - scale[1] *= -1.0; - atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); - scale[1] *= -1.0; + // Taylors series expansion for atan + atan_c[1] += scale[1] * pow(c[1], float(1)) / float(1); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(3)) / float(3); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(5)) / float(5); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(7)) / float(7); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(9)) / float(9); + scale[1] *= -1.0; + atan_c[1] += scale[1] * pow(c[1], float(11)) / float(11); + scale[1] *= -1.0; - result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / (2.0 * M_PI) + 0.5; - } + result[1] = sign[1] * (M_PI / 2.0 - atan_c[1]) / (2.0 * M_PI) + 0.5; + } - if(x[1] < 0.0) - if(y[1] < 0.0) result[1] -= 0.5; - else if(y[1] > 0.0) result[1] += 0.5; - } + if(x[1] < 0.0) + if(y[1] < 0.0) result[1] -= 0.5; + else if(y[1] > 0.0) result[1] += 0.5; + } - if(x[2] > epsilon || abs(y[2]) > epsilon) - { - if(x[2] < 0.0 ^^ y[2] < 0.0) - { - sign[2] = -1.0; - } + if(x[2] > epsilon || abs(y[2]) > epsilon) + { + if(x[2] < 0.0 ^^ y[2] < 0.0) + { + sign[2] = -1.0; + } - if(abs(y[2]) <= abs(x[2])) - { - c[2] = abs(y[2] / x[2]); - // Taylors series expansion for atan - atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); - scale[2] *= -1.0; + if(abs(y[2]) <= abs(x[2])) + { + c[2] = abs(y[2] / x[2]); + // Taylors series expansion for atan + atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); + scale[2] *= -1.0; - result[2] = sign[2] * atan_c[2] / (2.0 * M_PI) + 0.5; - } - else - { - c[2] = abs(x[2] / y[2]); + result[2] = sign[2] * atan_c[2] / (2.0 * M_PI) + 0.5; + } + else + { + c[2] = abs(x[2] / y[2]); - // Taylors series expansion for atan - atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); - scale[2] *= -1.0; - atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); - scale[2] *= -1.0; + // Taylors series expansion for atan + atan_c[2] += scale[2] * pow(c[2], float(1)) / float(1); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(3)) / float(3); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(5)) / float(5); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(7)) / float(7); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(9)) / float(9); + scale[2] *= -1.0; + atan_c[2] += scale[2] * pow(c[2], float(11)) / float(11); + scale[2] *= -1.0; - result[2] = sign[2] * (M_PI / 2.0 - atan_c[2]) / (2.0 * M_PI) + 0.5; - } + result[2] = sign[2] * (M_PI / 2.0 - atan_c[2]) / (2.0 * M_PI) + 0.5; + } - if(x[2] < 0.0) - if(y[2] < 0.0) result[2] -= 0.5; - else if(y[2] > 0.0) result[2] += 0.5; - } + if(x[2] < 0.0) + if(y[2] < 0.0) result[2] -= 0.5; + else if(y[2] > 0.0) result[2] += 0.5; + } - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/biConstants_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/biConstants_001_to_008.html index 007eb9b7dc8..362ca8f5539 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/biConstants_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/biConstants_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: biConstants_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/biConstants_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/biConstants_009_to_016.html index 44854226412..5409dda25a7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/biConstants_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/biConstants_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: biConstants_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_frag.frag index 2eb320e6419..94e9c6d0ee0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_frag.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxCombinedTextureImageUnits is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 8.0 will get clamped to 1.0 or white. - gl_FragColor = vec4(float(gl_MaxCombinedTextureImageUnits) / 8.0); + // This test verifies that gl_MaxCombinedTextureImageUnits is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 8.0 will get clamped to 1.0 or white. + gl_FragColor = vec4(float(gl_MaxCombinedTextureImageUnits) / 8.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_vert.vert index ebf82d9cad7..8dcfd2d98f1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxCombinedTextureImageUnits_vert.vert @@ -29,10 +29,10 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxCombinedTextureImageUnits is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 8.0 will get clamped to 1.0 or white. - color = vec4(float(gl_MaxCombinedTextureImageUnits) / 8.0); + // This test verifies that gl_MaxCombinedTextureImageUnits is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 8.0 will get clamped to 1.0 or white. + color = vec4(float(gl_MaxCombinedTextureImageUnits) / 8.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_frag.frag index 5bb76348cae..481f76a1560 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_frag.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxDrawBuffers is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 1.0 will get clamped to 1.0 or white. - gl_FragColor = vec4(float(gl_MaxDrawBuffers) / 1.0); + // This test verifies that gl_MaxDrawBuffers is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 1.0 will get clamped to 1.0 or white. + gl_FragColor = vec4(float(gl_MaxDrawBuffers) / 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_vert.vert index 9edf18694d1..25cc2b469ca 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxDrawBuffers_vert.vert @@ -29,10 +29,10 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxDrawBuffers is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 1.0 will get clamped to 1.0 or white. - color = vec4(float(gl_MaxDrawBuffers) / 1.0); + // This test verifies that gl_MaxDrawBuffers is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 1.0 will get clamped to 1.0 or white. + color = vec4(float(gl_MaxDrawBuffers) / 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_frag.frag index 2df0466f0af..d54198995a6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_frag.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxFragmentUniformVectors is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 16.0 will get clamped to 1.0 or white. - gl_FragColor = vec4(float(gl_MaxFragmentUniformVectors) / 16.0); + // This test verifies that gl_MaxFragmentUniformVectors is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 16.0 will get clamped to 1.0 or white. + gl_FragColor = vec4(float(gl_MaxFragmentUniformVectors) / 16.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_vert.vert index 1838d2aeed5..f430197c8b2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxFragmentUniformVectors_vert.vert @@ -29,10 +29,10 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxFragmentUniformVectors is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 16.0 will get clamped to 1.0 or white. - color = vec4(float(gl_MaxFragmentUniformVectors) / 16.0); + // This test verifies that gl_MaxFragmentUniformVectors is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 16.0 will get clamped to 1.0 or white. + color = vec4(float(gl_MaxFragmentUniformVectors) / 16.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_frag.frag index 0c6366e53d7..55b7b20789e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_frag.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxTextureImageUnits is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 8.0 will get clamped to 1.0 or white. - gl_FragColor = vec4(float(gl_MaxTextureImageUnits) / 8.0); + // This test verifies that gl_MaxTextureImageUnits is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 8.0 will get clamped to 1.0 or white. + gl_FragColor = vec4(float(gl_MaxTextureImageUnits) / 8.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_vert.vert index c0c3ad19609..b0851a7292f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxTextureImageUnits_vert.vert @@ -29,10 +29,10 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxTextureImageUnits is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 8.0 will get clamped to 1.0 or white. - color = vec4(float(gl_MaxTextureImageUnits) / 8.0); + // This test verifies that gl_MaxTextureImageUnits is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 8.0 will get clamped to 1.0 or white. + color = vec4(float(gl_MaxTextureImageUnits) / 8.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_frag.frag index 4a556077da9..abd8e8bff66 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_frag.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxVaryingVectors is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 8.0 will get clamped to 1.0 or white. - gl_FragColor = vec4(float(gl_MaxVaryingVectors) / 8.0); + // This test verifies that gl_MaxVaryingVectors is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 8.0 will get clamped to 1.0 or white. + gl_FragColor = vec4(float(gl_MaxVaryingVectors) / 8.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_vert.vert index 59f067fe4df..cfb2449cb34 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVaryingVectors_vert.vert @@ -29,10 +29,10 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxVaryingVectors is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 8.0 will get clamped to 1.0 or white. - color = vec4(float(gl_MaxVaryingVectors) / 8.0); + // This test verifies that gl_MaxVaryingVectors is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 8.0 will get clamped to 1.0 or white. + color = vec4(float(gl_MaxVaryingVectors) / 8.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_frag.frag index 59c795609e0..f839f4c4efd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_frag.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxVertexAttribs is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 8.0 will get clamped to 1.0 or white. - gl_FragColor = vec4(float(gl_MaxVertexAttribs) / 8.0); + // This test verifies that gl_MaxVertexAttribs is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 8.0 will get clamped to 1.0 or white. + gl_FragColor = vec4(float(gl_MaxVertexAttribs) / 8.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_vert.vert index e8b01b567e7..ca7742902ae 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexAttribs_vert.vert @@ -29,10 +29,10 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxVertexAttribs is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 8.0 will get clamped to 1.0 or white. - color = vec4(float(gl_MaxVertexAttribs) / 8.0); + // This test verifies that gl_MaxVertexAttribs is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 8.0 will get clamped to 1.0 or white. + color = vec4(float(gl_MaxVertexAttribs) / 8.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_frag.frag index aab23e3b087..946dbd827cc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_frag.frag @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxVertexTextureImageUnits is set and that its - // value is greater than or equal to the minimum value. - if(gl_MaxVertexTextureImageUnits >= 0) - gl_FragColor = vec4(1.0); - else - gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); + // This test verifies that gl_MaxVertexTextureImageUnits is set and that its + // value is greater than or equal to the minimum value. + if(gl_MaxVertexTextureImageUnits >= 0) + gl_FragColor = vec4(1.0); + else + gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_vert.vert index 6c26ae7bbd5..28306594d34 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexTextureImageUnits_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxVertexTextureImageUnits is set and that its - // value is greater than or equal to the minimum value. - if(gl_MaxVertexTextureImageUnits >= 0) - color = vec4(1.0); - else - color = vec4(0.0, 0.0, 0.0, 1.0); + // This test verifies that gl_MaxVertexTextureImageUnits is set and that its + // value is greater than or equal to the minimum value. + if(gl_MaxVertexTextureImageUnits >= 0) + color = vec4(1.0); + else + color = vec4(0.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_frag.frag index 33fc5586662..735c7d0cede 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_frag.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxVertexUniformVectors is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 128.0 will get clamped to 1.0 or white. - gl_FragColor = vec4(float(gl_MaxVertexUniformVectors) / 128.0); + // This test verifies that gl_MaxVertexUniformVectors is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 128.0 will get clamped to 1.0 or white. + gl_FragColor = vec4(float(gl_MaxVertexUniformVectors) / 128.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_vert.vert index dfebfa30614..b9e1b338753 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biConstants/gl_MaxVertexUniformVectors_vert.vert @@ -29,10 +29,10 @@ varying vec4 color; void main (void) { - // This test verifies that gl_MaxVertexUniformVectors is set and that its - // value is greater than or equal to the minimum value. - // Values greater than 128.0 will get clamped to 1.0 or white. - color = vec4(float(gl_MaxVertexUniformVectors) / 128.0); + // This test verifies that gl_MaxVertexUniformVectors is set and that its + // value is greater than or equal to the minimum value. + // Values greater than 128.0 will get clamped to 1.0 or white. + color = vec4(float(gl_MaxVertexUniformVectors) / 128.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/DepthRange_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/DepthRange_frag.frag index 6712831aa34..0dcfe2a9a77 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/DepthRange_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/DepthRange_frag.frag @@ -29,5 +29,5 @@ precision mediump float; void main(void) { - gl_FragColor = vec4(gl_DepthRange.near, gl_DepthRange.far, gl_DepthRange.diff, 1.0); + gl_FragColor = vec4(gl_DepthRange.near, gl_DepthRange.far, gl_DepthRange.diff, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/DepthRange_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/DepthRange_vert.vert index 9a1ec3fe11c..6f8288c1ec3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/DepthRange_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/DepthRange_vert.vert @@ -29,7 +29,7 @@ varying vec4 color; void main(void) { - color = vec4(gl_DepthRange.near, gl_DepthRange.far, gl_DepthRange.diff, 1.0); + color = vec4(gl_DepthRange.near, gl_DepthRange.far, gl_DepthRange.diff, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html b/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html index 691f9543a64..d968a2a825b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: biuDepthRange_001_to_002.html - + - - + + @@ -67,7 +67,15 @@ OpenGLESTestRunner.run({ "pattern": "compare", "testProgram": { "vertexShader": "../default/default.vert", - "fragmentShader": "DepthRange_frag.frag" + "fragmentShader": "DepthRange_frag.frag", + "builtin_uniforms": { + "min_required": 2, + "valid_values": [ + "gl_DepthRange.near", + "gl_DepthRange.far", + "gl_DepthRange.diff" + ], + } }, "state": { "depthrange": { @@ -98,7 +106,15 @@ OpenGLESTestRunner.run({ "pattern": "compare", "testProgram": { "vertexShader": "DepthRange_vert.vert", - "fragmentShader": "../default/default.frag" + "fragmentShader": "../default/default.frag", + "builtin_uniforms": { + "min_required": 2, + "valid_values": [ + "gl_DepthRange.near", + "gl_DepthRange.far", + "gl_DepthRange.diff" + ] + } }, "state": { "depthrange": { diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CG_Data_Types_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CG_Data_Types_frag.frag index 095fc4ca302..2fed27f6d2d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CG_Data_Types_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CG_Data_Types_frag.frag @@ -28,18 +28,18 @@ precision mediump float; #endif void main() { - half h1; // Not a basic type. - half2 h2; // Not a basic type. - half3 h3; // Not a basic type. - half4 h4; // Not a basic type. - float2 f2; // Not a basic type. - float3 f3; // Not a basic type. - float4 f4; // Not a basic type. - fixed fx1; // Not a basic type. - fixed2 fx2; // Not a basic type. - fixed3 fx3; // Not a basic type. - fixed4 fx4; // Not a basic type. - float3x3 f3x3; // Not a basic type. - float2x4 f2x4; // Not a basic type. - half4x4 h4x4; // Not a basic type. + half h1; // Not a basic type. + half2 h2; // Not a basic type. + half3 h3; // Not a basic type. + half4 h4; // Not a basic type. + float2 f2; // Not a basic type. + float3 f3; // Not a basic type. + float4 f4; // Not a basic type. + fixed fx1; // Not a basic type. + fixed2 fx2; // Not a basic type. + fixed3 fx3; // Not a basic type. + fixed4 fx4; // Not a basic type. + float3x3 f3x3; // Not a basic type. + float2x4 f2x4; // Not a basic type. + half4x4 h4x4; // Not a basic type. } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CG_Standard_Library_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CG_Standard_Library_frag.frag index 17717b2cb74..17bf049bf63 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CG_Standard_Library_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CG_Standard_Library_frag.frag @@ -28,5 +28,5 @@ precision mediump float; #endif void main() { - int i = round(1.3); // round is not a built-in function. + int i = round(1.3); // round is not a built-in function. } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectConstFolding1_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectConstFolding1_vert.vert index 1aa21a97037..6d92a68d244 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectConstFolding1_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectConstFolding1_vert.vert @@ -38,16 +38,16 @@ void main() }; const struct s1 { - s2 ss; - int i; - float f; - mat4 m; - s4 s44; + s2 ss; + int i; + float f; + mat4 m; + s4 s44; } s11 = s1(s22, 2, 4.0, mat4(5), s4(6, vec4(7, 8, 9, 10))) ; - const int field3 = s11.i * s11.ss.i; // constant folding (int * int) - const vec4 field4 = s11.s44.v4 * s11.s44.v4; // constant folding (vec4 * vec4) - // 49, 64, 81, 100 - const vec4 v4 = vec4(s11.ss.v3.y, s11.m[3][3], field3, field4[2]); // 10.0, 5.0, 16.0, 81.0 - gl_Position = v4; + const int field3 = s11.i * s11.ss.i; // constant folding (int * int) + const vec4 field4 = s11.s44.v4 * s11.s44.v4; // constant folding (vec4 * vec4) + // 49, 64, 81, 100 + const vec4 v4 = vec4(s11.ss.v3.y, s11.m[3][3], field3, field4[2]); // 10.0, 5.0, 16.0, 81.0 + gl_Position = v4; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectConstFolding2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectConstFolding2_vert.vert index 3cd7221e0b9..8ed470d042b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectConstFolding2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectConstFolding2_vert.vert @@ -30,7 +30,7 @@ void main() }; const struct s { int i; - float j; + float j; s5 s55; } ss = s(4,1.0, s5(1.0)); diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectFull_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectFull_vert.vert index ac3a0e45624..1d13e58f22b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectFull_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectFull_vert.vert @@ -430,7 +430,7 @@ void main(void) if(test_bool2) test_float1++; else - test_float1--; + test_float1--; if(test_float1 > test_float2) test_float1++; @@ -444,7 +444,7 @@ void main(void) if(test_bool2) if(test_bool3) if(test_bool3) - test_float1++; + test_float1++; for(int for_int=0; for_int < 5; for_int++) { diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectModule_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectModule_frag.frag index c8ba6f38f3f..67e842834cf 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectModule_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectModule_frag.frag @@ -66,7 +66,7 @@ float f4 = 5.5; vec4 test_function3(float ff) { if (ff > f4) - return vec4(ff); + return vec4(ff); else return vec4(f4); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectParse2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectParse2_frag.frag index 299b0fe3a39..20d30c26b48 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectParse2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectParse2_frag.frag @@ -138,8 +138,8 @@ void main (void) (vec4_1.x)--; vec3_1++; - if (int_1 != 4) - discard; + if (int_1 != 4) + discard; float1 = 4.0 + 6.0; int ii,jj,kk; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectParse2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectParse2_vert.vert index 20a82f69b8a..de66c0a3e6b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectParse2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/CorrectParse2_vert.vert @@ -33,7 +33,7 @@ void main (void) int int_1 = int(FloatConst1); vec4 vec4_1; vec3 vec3_1 = vec3(1, 1, 1); - vec3 vec3_2 = vec3(0, 0, 0); + vec3 vec3_2 = vec3(0, 0, 0); // unsigned int unsigned_int_1; bool bool4, bool5; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Low_Level_Assembly_Reserved_Words_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Low_Level_Assembly_Reserved_Words_frag.frag index e86b7635f42..f42a80aa1a4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Low_Level_Assembly_Reserved_Words_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Low_Level_Assembly_Reserved_Words_frag.frag @@ -40,5 +40,5 @@ uniform float z; void main() { - gl_FragColor = vec4(f, o, p, w); + gl_FragColor = vec4(f, o, p, w); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Main_Parameters_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Main_Parameters_vert.vert index bd96a07dbc1..13b97a22e2d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Main_Parameters_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Main_Parameters_vert.vert @@ -25,5 +25,5 @@ void main(vec4 position : POSITION) { - gl_Position = position; + gl_Position = position; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Permissive_Constant_Conversions_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Permissive_Constant_Conversions_frag.frag index f1e0bd60941..3fbbf1c5d87 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Permissive_Constant_Conversions_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Permissive_Constant_Conversions_frag.frag @@ -28,5 +28,5 @@ precision mediump float; #endif void main() { - float f = 2; // Should be 2.0 + float f = 2; // Should be 2.0 } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Permissive_Scalar_Vector_Expressions_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Permissive_Scalar_Vector_Expressions_frag.frag index 7c31ffd5933..df1232cd5be 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Permissive_Scalar_Vector_Expressions_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Permissive_Scalar_Vector_Expressions_frag.frag @@ -28,6 +28,6 @@ precision mediump float; #endif void main() { - vec2 v = vec2(1.0, 2.0); - v *= 2.0; // Legal in GLSL. + vec2 v = vec2(1.0, 2.0); + v *= 2.0; // Legal in GLSL. } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Texture_Rectangle_Samplers_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Texture_Rectangle_Samplers_frag.frag index 6964edf11de..863c2ed7797 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/Texture_Rectangle_Samplers_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/Texture_Rectangle_Samplers_frag.frag @@ -30,5 +30,5 @@ uniform sampler2DRect samp; void main() { - gl_FragColor = texture2DRect(samp, vec2(0.0, 0.0)); + gl_FragColor = texture2DRect(samp, vec2(0.0, 0.0)); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_001_to_008.html index ba19e304f2b..1883b6a8145 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_009_to_016.html index 34a49950e97..4afb29be741 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_017_to_024.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_017_to_024.html index 5e607098015..10b3d6636cc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_017_to_024.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_017_to_024.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_017_to_024.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_025_to_032.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_025_to_032.html index c0a80240fd8..8ee6bdee381 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_025_to_032.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_025_to_032.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_025_to_032.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_033_to_040.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_033_to_040.html index 35a537e09e8..6667f89bb35 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_033_to_040.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_033_to_040.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_033_to_040.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_041_to_048.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_041_to_048.html index 119c930ebc9..ac62a696181 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_041_to_048.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_041_to_048.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_041_to_048.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_049_to_056.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_049_to_056.html index 6100de87fdf..62358b0c6e4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_049_to_056.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_049_to_056.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_049_to_056.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_057_to_064.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_057_to_064.html index 9b006cd4684..f194ecf17be 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_057_to_064.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_057_to_064.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_057_to_064.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_065_to_072.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_065_to_072.html index 7bf36c5b0af..16372f8862a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_065_to_072.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_065_to_072.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_065_to_072.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_073_to_080.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_073_to_080.html index 7f38c301d0b..0259cae9292 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_073_to_080.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_073_to_080.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_073_to_080.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_081_to_088.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_081_to_088.html index 7121d13450c..ce86db8586e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_081_to_088.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_081_to_088.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_081_to_088.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_089_to_096.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_089_to_096.html index 60e8665a91d..23561488613 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_089_to_096.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_089_to_096.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_089_to_096.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_097_to_104.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_097_to_104.html index d0a1012a07d..2a4f2abcea5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_097_to_104.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_097_to_104.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_097_to_104.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_105_to_112.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_105_to_112.html index 37b5dd1d90d..cd5dabddc62 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_105_to_112.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_105_to_112.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_105_to_112.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_113_to_120.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_113_to_120.html index 192c287e45a..a93b6e6eade 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_113_to_120.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_113_to_120.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_113_to_120.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_121_to_128.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_121_to_128.html index 34b5c10b2c7..f13e0656d8b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_121_to_128.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_121_to_128.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_121_to_128.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_129_to_136.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_129_to_136.html index c634d6b1de1..34eaa4352af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_129_to_136.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_129_to_136.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_129_to_136.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_137_to_144.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_137_to_144.html index 488b345f16e..acb4502de59 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_137_to_144.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_137_to_144.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_137_to_144.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_145_to_152.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_145_to_152.html index 50f8da53b85..ff3ea37f3b7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_145_to_152.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_145_to_152.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_145_to_152.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_153_to_160.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_153_to_160.html index d8b2977429d..844e548a47f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_153_to_160.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_153_to_160.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_153_to_160.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_161_to_168.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_161_to_168.html index 99062887039..3bbcddaadcd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_161_to_168.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_161_to_168.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_161_to_168.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_169_to_176.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_169_to_176.html index 902897fa980..f00fa582c67 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_169_to_176.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_169_to_176.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_169_to_176.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_177_to_178.html b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_177_to_178.html index 912ea440693..a2406d8ed5b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_177_to_178.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/build_177_to_178.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: build_177_to_178.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/default.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/build/default.frag index 4224e32af58..e283e255b7c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/default.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/default.frag @@ -28,5 +28,5 @@ precision mediump float; #endif void main (void) { - gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0); + gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/build/default.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/build/default.vert index ea08cad1692..fc46a6ecd3b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/build/default.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/build/default.vert @@ -27,6 +27,6 @@ attribute vec4 gtf_Vertex; uniform mat4 gtf_ModelViewProjectionMatrix; void main (void) { - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = 1.0; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html b/tests/wpt/webgl/tests/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html index 9adb6db0da2..e6542bfe8d6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: built_in_varying_array_out_of_bounds_001_to_001.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/built_in_varying_array_out_of_bounds/gl_Color_array_index_out_of_bounds_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/built_in_varying_array_out_of_bounds/gl_Color_array_index_out_of_bounds_frag.frag index d840a1ec44a..4a83d9cfa1a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/built_in_varying_array_out_of_bounds/gl_Color_array_index_out_of_bounds_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/built_in_varying_array_out_of_bounds/gl_Color_array_index_out_of_bounds_frag.frag @@ -29,5 +29,5 @@ precision mediump float; varying vec4 color; void main(void) { - gl_FragColor = vec4(color[1], color[2], color[3], color[4]); + gl_FragColor = vec4(color[1], color[2], color[3], color[4]); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_001_to_006.html index e490434058c..c8b3a25732f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: ceil_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_frag_xvary.frag index cffd42263e4..dfb425e48d9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (color.r - 0.5); - gl_FragColor = vec4((ceil(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); + float c = 10.0 * 2.0 * (color.r - 0.5); + gl_FragColor = vec4((ceil(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_frag_xvary_ref.frag index 28d89814abb..56b73e785b0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_frag_xvary_ref.frag @@ -30,12 +30,12 @@ varying vec4 color; float ceil_ref(float x) { - if(x != floor(x)) x = floor(x) + 1.0; - return x; + if(x != floor(x)) x = floor(x) + 1.0; + return x; } void main (void) { - float c = 10.0 * 2.0 * (color.r - 0.5); - gl_FragColor = vec4((ceil_ref(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); + float c = 10.0 * 2.0 * (color.r - 0.5); + gl_FragColor = vec4((ceil_ref(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_vert_xvary.vert index fe13845d482..da5e9f8005a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); - color = vec4((ceil(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); + color = vec4((ceil(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_vert_xvary_ref.vert index 7d7f859ac0c..9872fd198d6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_float_vert_xvary_ref.vert @@ -30,13 +30,13 @@ varying vec4 color; float ceil_ref(float x) { - if(x != floor(x)) x = floor(x) + 1.0; - return x; + if(x != floor(x)) x = floor(x) + 1.0; + return x; } void main (void) { - float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); - color = vec4((ceil_ref(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); + color = vec4((ceil_ref(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_frag_xvary.frag index 8847a21d6d4..836c6978692 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4((ceil(c) + 10.0) / 20.0, 0.0, 1.0); + vec2 c = 10.0 * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4((ceil(c) + 10.0) / 20.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_frag_xvary_ref.frag index 3e1701ecc05..4c624a57b59 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_frag_xvary_ref.frag @@ -30,13 +30,13 @@ varying vec4 color; vec2 ceil_ref(vec2 x) { - if(x[0] != floor(x[0])) x[0] = floor(x[0]) + 1.0; - if(x[1] != floor(x[1])) x[1] = floor(x[1]) + 1.0; - return x; + if(x[0] != floor(x[0])) x[0] = floor(x[0]) + 1.0; + if(x[1] != floor(x[1])) x[1] = floor(x[1]) + 1.0; + return x; } void main (void) { - vec2 c = 10.0 * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4((ceil_ref(c) + 10.0) / 20.0, 0.0, 1.0); + vec2 c = 10.0 * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4((ceil_ref(c) + 10.0) / 20.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_vert_xvary.vert index 9a8b321f92c..8240119c83d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); - color = vec4((ceil(c) + 10.0) / 20.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); + color = vec4((ceil(c) + 10.0) / 20.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_vert_xvary_ref.vert index 7c01acd8f1c..7483c22cc3b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec2_vert_xvary_ref.vert @@ -30,14 +30,14 @@ varying vec4 color; vec2 ceil_ref(vec2 x) { - if(x[0] != floor(x[0])) x[0] = floor(x[0]) + 1.0; - if(x[1] != floor(x[1])) x[1] = floor(x[1]) + 1.0; - return x; + if(x[0] != floor(x[0])) x[0] = floor(x[0]) + 1.0; + if(x[1] != floor(x[1])) x[1] = floor(x[1]) + 1.0; + return x; } void main (void) { - vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); - color = vec4((ceil_ref(c) + 10.0) / 20.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); + color = vec4((ceil_ref(c) + 10.0) / 20.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_frag_xvary.frag index e51ad114dd7..45d02666650 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4((ceil(c) + 10.0) / 20.0, 1.0); + vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4((ceil(c) + 10.0) / 20.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_frag_xvary_ref.frag index 343a0d26b78..652be10fc2e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_frag_xvary_ref.frag @@ -30,14 +30,14 @@ varying vec4 color; vec3 ceil_ref(vec3 x) { - if(x[0] != floor(x[0])) x[0] = floor(x[0]) + 1.0; - if(x[1] != floor(x[1])) x[1] = floor(x[1]) + 1.0; - if(x[2] != floor(x[2])) x[2] = floor(x[2]) + 1.0; - return x; + if(x[0] != floor(x[0])) x[0] = floor(x[0]) + 1.0; + if(x[1] != floor(x[1])) x[1] = floor(x[1]) + 1.0; + if(x[2] != floor(x[2])) x[2] = floor(x[2]) + 1.0; + return x; } void main (void) { - vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4((ceil_ref(c) + 10.0) / 20.0, 1.0); + vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4((ceil_ref(c) + 10.0) / 20.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_vert_xvary.vert index 390641a024c..e7a32134577 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4((ceil(c) + 10.0) / 20.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4((ceil(c) + 10.0) / 20.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_vert_xvary_ref.vert index deed98eee56..1bb4b809292 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/ceil/ceil_vec3_vert_xvary_ref.vert @@ -30,15 +30,15 @@ varying vec4 color; vec3 ceil_ref(vec3 x) { - if(x[0] != floor(x[0])) x[0] = floor(x[0]) + 1.0; - if(x[1] != floor(x[1])) x[1] = floor(x[1]) + 1.0; - if(x[2] != floor(x[2])) x[2] = floor(x[2]) + 1.0; - return x; + if(x[0] != floor(x[0])) x[0] = floor(x[0]) + 1.0; + if(x[1] != floor(x[1])) x[1] = floor(x[1]) + 1.0; + if(x[2] != floor(x[2])) x[2] = floor(x[2]) + 1.0; + return x; } void main (void) { - vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4((ceil_ref(c) + 10.0) / 20.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4((ceil_ref(c) + 10.0) / 20.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_001_to_006.html index 93b937ca13c..9abe66de09b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: clamp_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter.frag index 5c74fa4a0ef..2c32377d2ec 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float min_c = 0.25; - const float max_c = 0.75; - float c = color.r; - gl_FragColor = vec4(clamp(c, min_c, max_c), 0.0, 0.0, 1.0); + const float min_c = 0.25; + const float max_c = 0.75; + float c = color.r; + gl_FragColor = vec4(clamp(c, min_c, max_c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter_ref.frag index b00a46cec6c..2b1e5a340d6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_frag_xvary_yconstquarter_ref.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const float min_c = 0.25; - const float max_c = 0.75; - float c = color.r; - if(c > max_c) c = max_c; - if(c < min_c) c = min_c; + const float min_c = 0.25; + const float max_c = 0.75; + float c = color.r; + if(c > max_c) c = max_c; + if(c < min_c) c = min_c; - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter.vert index f07aa5de93b..68aa1a4b632 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float min_c = 0.25; - const float max_c = 0.75; - float c = gtf_Color.r; - color = vec4(clamp(c, min_c, max_c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float min_c = 0.25; + const float max_c = 0.75; + float c = gtf_Color.r; + color = vec4(clamp(c, min_c, max_c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter_ref.vert index 1256dc9a1bf..bc6d8c00e6a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_float_vert_xvary_yconstquarter_ref.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - const float min_c = 0.25; - const float max_c = 0.75; - float c = gtf_Color.r; - if(c > max_c) c = max_c; - if(c < min_c) c = min_c; + const float min_c = 0.25; + const float max_c = 0.75; + float c = gtf_Color.r; + if(c > max_c) c = max_c; + if(c < min_c) c = min_c; - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter.frag index 561673276a2..e912dd375b7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec2 min_c = vec2(0.25, 0.25); - const vec2 max_c = vec2(0.75, 0.75); - vec2 c = color.rg; - gl_FragColor = vec4(clamp(c, min_c, max_c), 0.0, 1.0); + const vec2 min_c = vec2(0.25, 0.25); + const vec2 max_c = vec2(0.75, 0.75); + vec2 c = color.rg; + gl_FragColor = vec4(clamp(c, min_c, max_c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter_ref.frag index 2b0f7410ba5..54face3fec3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_frag_xvary_yconstquarter_ref.frag @@ -30,13 +30,13 @@ varying vec4 color; void main (void) { - const vec2 min_c = vec2(0.25, 0.25); - const vec2 max_c = vec2(0.75, 0.75); - vec2 c = color.rg; - if(c[0] < min_c[0]) c[0] = min_c[0]; - if(c[1] < min_c[1]) c[1] = min_c[1]; - if(c[0] > max_c[0]) c[0] = max_c[0]; - if(c[1] > max_c[1]) c[1] = max_c[1]; + const vec2 min_c = vec2(0.25, 0.25); + const vec2 max_c = vec2(0.75, 0.75); + vec2 c = color.rg; + if(c[0] < min_c[0]) c[0] = min_c[0]; + if(c[1] < min_c[1]) c[1] = min_c[1]; + if(c[0] > max_c[0]) c[0] = max_c[0]; + if(c[1] > max_c[1]) c[1] = max_c[1]; - gl_FragColor = vec4(c, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter.vert index d2cf8f4dece..17474f371d5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float min_c = 0.25; - const float max_c = 0.75; - vec2 c = gtf_Color.rg; - color = vec4(clamp(c, min_c, max_c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float min_c = 0.25; + const float max_c = 0.75; + vec2 c = gtf_Color.rg; + color = vec4(clamp(c, min_c, max_c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter_ref.vert index 5863aa94757..e566319c981 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec2_vert_xvary_yconstquarter_ref.vert @@ -30,14 +30,14 @@ varying vec4 color; void main (void) { - const float min_c = 0.25; - const float max_c = 0.75; - vec2 c = gtf_Color.rg; - if(c[0] > max_c) c[0] = max_c; - if(c[0] < min_c) c[0] = min_c; - if(c[1] > max_c) c[1] = max_c; - if(c[1] < min_c) c[1] = min_c; + const float min_c = 0.25; + const float max_c = 0.75; + vec2 c = gtf_Color.rg; + if(c[0] > max_c) c[0] = max_c; + if(c[0] < min_c) c[0] = min_c; + if(c[1] > max_c) c[1] = max_c; + if(c[1] < min_c) c[1] = min_c; - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter.frag index 0de4472bb3c..c294c26bbea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec3 min_c = vec3(0.25, 0.25, 0.25); - const vec3 max_c = vec3(0.75, 0.75, 0.75); - vec3 c = color.rgb; - gl_FragColor = vec4(clamp(c, min_c, max_c), 1.0); + const vec3 min_c = vec3(0.25, 0.25, 0.25); + const vec3 max_c = vec3(0.75, 0.75, 0.75); + vec3 c = color.rgb; + gl_FragColor = vec4(clamp(c, min_c, max_c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter_ref.frag index bb5a0dcc3fa..e09f795b344 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_frag_xvary_yconstquarter_ref.frag @@ -30,15 +30,15 @@ varying vec4 color; void main (void) { - const vec3 min_c = vec3(0.25, 0.25, 0.25); - const vec3 max_c = vec3(0.75, 0.75, 0.75); - vec3 c = color.rgb; - if(c[0] < min_c[0]) c[0] = min_c[0]; - if(c[1] < min_c[1]) c[1] = min_c[1]; - if(c[2] < min_c[2]) c[2] = min_c[2]; - if(c[0] > max_c[0]) c[0] = max_c[0]; - if(c[1] > max_c[1]) c[1] = max_c[1]; - if(c[2] > max_c[2]) c[2] = max_c[2]; + const vec3 min_c = vec3(0.25, 0.25, 0.25); + const vec3 max_c = vec3(0.75, 0.75, 0.75); + vec3 c = color.rgb; + if(c[0] < min_c[0]) c[0] = min_c[0]; + if(c[1] < min_c[1]) c[1] = min_c[1]; + if(c[2] < min_c[2]) c[2] = min_c[2]; + if(c[0] > max_c[0]) c[0] = max_c[0]; + if(c[1] > max_c[1]) c[1] = max_c[1]; + if(c[2] > max_c[2]) c[2] = max_c[2]; - gl_FragColor = vec4(c, 1.0); + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter.vert index 22c38d86b56..50c14ffc522 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float min_c = 0.25; - const float max_c = 0.75; - vec3 c = gtf_Color.rgb; - color = vec4(clamp(c, min_c, max_c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float min_c = 0.25; + const float max_c = 0.75; + vec3 c = gtf_Color.rgb; + color = vec4(clamp(c, min_c, max_c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter_ref.vert index c3dc19e754b..6ba4f0d42dc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/clamp/clamp_vec3_vert_xvary_yconstquarter_ref.vert @@ -30,16 +30,16 @@ varying vec4 color; void main (void) { - const float min_c = 0.25; - const float max_c = 0.75; - vec3 c = gtf_Color.rgb; - if(c[0] > max_c) c[0] = max_c; - if(c[0] < min_c) c[0] = min_c; - if(c[1] > max_c) c[1] = max_c; - if(c[1] < min_c) c[1] = min_c; - if(c[2] > max_c) c[2] = max_c; - if(c[2] < min_c) c[2] = min_c; + const float min_c = 0.25; + const float max_c = 0.75; + vec3 c = gtf_Color.rgb; + if(c[0] > max_c) c[0] = max_c; + if(c[0] < min_c) c[0] = min_c; + if(c[1] > max_c) c[1] = max_c; + if(c[1] < min_c) c[1] = min_c; + if(c[2] > max_c) c[2] = max_c; + if(c[2] < min_c) c[2] = min_c; - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/control_flow_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/control_flow_001_to_008.html index 814a1dc88a0..76f9859b88e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/control_flow_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/control_flow_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: control_flow_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/control_flow_009_to_010.html b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/control_flow_009_to_010.html index 6764bcb5add..3845a8d9fd5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/control_flow_009_to_010.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/control_flow_009_to_010.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: control_flow_009_to_010.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_break_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_break_frag.frag index 02b1c03bd7f..ff23a7859c8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_break_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_break_frag.frag @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - int count = 0; + int count = 0; for(int i=0;i<5;i++) - { - count++; - if(count == 3) + { + count++; + if(count == 3) break; - } + } - float gray; - if( count == 3) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + float gray; + if( count == 3) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_break_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_break_vert.vert index 273cf580c83..84a517d947b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_break_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_break_vert.vert @@ -29,17 +29,17 @@ varying vec4 color; void main (void) { - int count = 0; + int count = 0; for(int i=0;i<45;i++) - { - count++; - if(count == 29) + { + count++; + if(count == 29) break; - } - float gray; - if( count == 29) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + } + float gray; + if( count == 29) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_continue_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_continue_frag.frag index dc3975e30e0..df501385e62 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_continue_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_continue_frag.frag @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - int count=0; - int val=0; + int count=0; + int val=0; - for(int i=0;i<10;i++) - { - count++; - if(count == 5) - continue; - else - val += count; - } + for(int i=0;i<10;i++) + { + count++; + if(count == 5) + continue; + else + val += count; + } - float gray; - if( val == 50) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + float gray; + if( val == 50) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_continue_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_continue_vert.vert index d323ccc0a38..80da6b92287 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_continue_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_continue_vert.vert @@ -29,22 +29,22 @@ varying vec4 color; void main (void) { - int count=0; - int val=0; - for(int i=0;i<10;i++) - { - count++; - if(count == 5) - continue; - else - val += count; - } + int count=0; + int val=0; + for(int i=0;i<10;i++) + { + count++; + if(count == 5) + continue; + else + val += count; + } - float gray; - if( val == 50) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float gray; + if( val == 50) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_break_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_break_frag.frag index 0c62d1791f7..dc0cdb59a23 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_break_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_break_frag.frag @@ -30,23 +30,23 @@ varying vec4 color; void main (void) { - int count1 = 0, count2 = 0; - for(int i=0;i<4;i++) - { - count1++; - count2 = 0; - for(int j=0;j<4;j++) - { - count2++; - if(count2 == 3) + int count1 = 0, count2 = 0; + for(int i=0;i<4;i++) + { + count1++; + count2 = 0; + for(int j=0;j<4;j++) + { + count2++; + if(count2 == 3) + break; + } + if(count1 == 2) break; - } - if(count1 == 2) - break; - } - float gray; - if( (count1 == 2) && (count2 == 3)) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + } + float gray; + if( (count1 == 2) && (count2 == 3)) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_break_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_break_vert.vert index 5edd86e3e64..47491be115a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_break_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_break_vert.vert @@ -29,24 +29,24 @@ varying vec4 color; void main (void) { - int count1 = 0, count2 = 0; + int count1 = 0, count2 = 0; for(int i=0;i<45;i++) - { - count1++; - count2 = 0; - for(int j=0;j<45;j++) - { - count2++; - if(count2 == 29) - break; - } - if(count1 == 29) + { + count1++; + count2 = 0; + for(int j=0;j<45;j++) + { + count2++; + if(count2 == 29) + break; + } + if(count1 == 29) break; - } - float gray; - if( (count1 == 29) && (count2 == 29)) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + } + float gray; + if( (count1 == 29) && (count2 == 29)) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_continue_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_continue_frag.frag index 4ed439a34b5..6651cc75c1e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_continue_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_continue_frag.frag @@ -30,32 +30,32 @@ varying vec4 color; void main (void) { - int count1 = 0, count2 = 0; - int val1 = 0, val2 = 0; - for(int i=0;i<4;i++) - { - count1++; - count2 = 0; - for(int j=0;j<4;j++) - { - count2++; - if(count2 == 2) - continue; - else - val2 += count2; + int count1 = 0, count2 = 0; + int val1 = 0, val2 = 0; + for(int i=0;i<4;i++) + { + count1++; + count2 = 0; + for(int j=0;j<4;j++) + { + count2++; + if(count2 == 2) + continue; + else + val2 += count2; - } + } - if(count1 == 2) - continue; - else - val1 += count1; + if(count1 == 2) + continue; + else + val1 += count1; - } - float gray; - if( (val1 == 8) && (val2 == 32) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + } + float gray; + if( (val1 == 8) && (val2 == 32) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_continue_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_continue_vert.vert index ee60dddd04c..0b96b9a4b8c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_continue_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/for_nested_continue_vert.vert @@ -29,33 +29,33 @@ varying vec4 color; void main (void) { - int count1 = 0, count2 = 0; - int val1 = 0, val2 = 0; - for(int i=0;i<10;i++) - { - count1++; - count2 = 0; - for(int j=0;j<10;j++) - { - count2++; - if(count2 == 5) - continue; - else - val2 += count2; + int count1 = 0, count2 = 0; + int val1 = 0, val2 = 0; + for(int i=0;i<10;i++) + { + count1++; + count2 = 0; + for(int j=0;j<10;j++) + { + count2++; + if(count2 == 5) + continue; + else + val2 += count2; - } + } - if(count1 == 5) - continue; - else - val1 += count1; + if(count1 == 5) + continue; + else + val1 += count1; - } - float gray; - if( (val1 == 50) && (val2 == 500) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + } + float gray; + if( (val1 == 50) && (val2 == 500) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/nested_if_else_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/nested_if_else_frag.frag index 1bff9a4920d..66525bf6c5d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/nested_if_else_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/nested_if_else_frag.frag @@ -30,28 +30,28 @@ varying vec4 color; void main (void) { - int setval = 30; + int setval = 30; - if(--setval!=29) - if( (setval+=11) == 40) - if(setval/4 == 11) - setval = 11; - else if(setval/4 == 10) - if(setval-3 == 37) - setval=12; - else setval = 9; - else setval = 10; - else setval = 30; - else if(setval == 29) - if((setval+=19) != 48) - setval = 13; - else if((setval+=19) == 29) - setval = 28; - else setval = 53; - else setval = 32; - float gray; - if( setval == 53 ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + if(--setval!=29) + if( (setval+=11) == 40) + if(setval/4 == 11) + setval = 11; + else if(setval/4 == 10) + if(setval-3 == 37) + setval=12; + else setval = 9; + else setval = 10; + else setval = 30; + else if(setval == 29) + if((setval+=19) != 48) + setval = 13; + else if((setval+=19) == 29) + setval = 28; + else setval = 53; + else setval = 32; + float gray; + if( setval == 53 ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/nested_if_else_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/nested_if_else_vert.vert index 89cce6d67f4..f0d560b7cfc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/nested_if_else_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/control_flow/nested_if_else_vert.vert @@ -29,29 +29,29 @@ varying vec4 color; void main (void) { - int setval = 30; + int setval = 30; - if(--setval!=29) - if( (setval+=11) == 40) - if(setval/4 == 11) - setval = 11; - else if(setval/4 == 10) - if(setval-3 == 37) - setval=12; - else setval = 9; - else setval = 10; - else setval = 30; - else if(setval == 29) - if((setval+=19) != 48) - setval = 13; - else if((setval+=19) == 29) - setval = 28; - else setval = 53; - else setval = 32; - float gray; - if( setval == 53 ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if(--setval!=29) + if( (setval+=11) == 40) + if(setval/4 == 11) + setval = 11; + else if(setval/4 == 10) + if(setval-3 == 37) + setval=12; + else setval = 9; + else setval = 10; + else setval = 30; + else if(setval == 29) + if((setval+=19) != 48) + setval = 13; + else if((setval+=19) == 29) + setval = 28; + else setval = 53; + else setval = 32; + float gray; + if( setval == 53 ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_001_to_006.html index 2afae654ec6..6da15738437 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: cos_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_frag_xvary.frag index 14c61b66020..4cef9e2e21e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - gl_FragColor = vec4(0.5 * cos(2.0 * M_PI * color.r) + 0.5, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + gl_FragColor = vec4(0.5 * cos(2.0 * M_PI * color.r) + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_frag_xvary_ref.frag index ae10cc9c4e7..fb906c198f8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_frag_xvary_ref.frag @@ -30,41 +30,41 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * M_PI * ( fract(abs(color.r)) - 0.5 ); - float sign = 1.0; - float cos_c = -1.0; - float fact_even = 1.0; - float fact_odd = 1.0; - float sum; + const float M_PI = 3.14159265358979323846; + float c = 2.0 * M_PI * ( fract(abs(color.r)) - 0.5 ); + float sign = 1.0; + float cos_c = -1.0; + float fact_even = 1.0; + float fact_odd = 1.0; + float sum; - // At this point c is in the range [-PI, PI) + // At this point c is in the range [-PI, PI) - // Taylor-Maclaurin series expansion for cosine - // - // Apply the property that pow(a, b + c) = pow(a, b) * pow(a, c) - // and the property that 1.0/(a*b) = 1.0/a * 1.0/b - // to make sure no register ever overflows the range (-16384, +16384) - // mandated for mediump variables. + // Taylor-Maclaurin series expansion for cosine + // + // Apply the property that pow(a, b + c) = pow(a, b) * pow(a, c) + // and the property that 1.0/(a*b) = 1.0/a * 1.0/b + // to make sure no register ever overflows the range (-16384, +16384) + // mandated for mediump variables. - for(int i = 2; i <= 10; i += 2) - { - // fact_even will hold at most the value 3840. - fact_even *= float(i); + for(int i = 2; i <= 10; i += 2) + { + // fact_even will hold at most the value 3840. + fact_even *= float(i); - // fact_odd will always be smaller than fact_even - fact_odd *= float(i-1); + // fact_odd will always be smaller than fact_even + fact_odd *= float(i-1); - // pow(c, float(i/2)) takes at most the value pow(PI, 5), which is approx. 306 - // abs(sum) is at most PI/2.0 - sum = sign * pow(abs(c), float(i/2))/fact_even; + // pow(c, float(i/2)) takes at most the value pow(PI, 5), which is approx. 306 + // abs(sum) is at most PI/2.0 + sum = sign * pow(abs(c), float(i/2))/fact_even; - // abs(sum/fact_odd) is at most PI/2.0 - // cos_c is always bound in the range [-1.0, 1.0) - cos_c += pow(abs(c), float(i/2))*(sum/fact_odd); + // abs(sum/fact_odd) is at most PI/2.0 + // cos_c is always bound in the range [-1.0, 1.0) + cos_c += pow(abs(c), float(i/2))*(sum/fact_odd); - sign = -sign; - } + sign = -sign; + } - gl_FragColor = vec4(0.5 * cos_c + 0.5, 0.0, 0.0, 1.0); + gl_FragColor = vec4(0.5 * cos_c + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_vert_xvary.vert index c598dd8c855..ff1bf21def6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - color = vec4(0.5 * cos(2.0 * M_PI * gtf_Color.r) + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + color = vec4(0.5 * cos(2.0 * M_PI * gtf_Color.r) + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_vert_xvary_ref.vert index f85fa438a87..a47efbfbbed 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_float_vert_xvary_ref.vert @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * M_PI * gtf_Color.r; - float sign = -1.0; - float cos_c = 1.0; - float fact = 1.0; + const float M_PI = 3.14159265358979323846; + float c = 2.0 * M_PI * gtf_Color.r; + float sign = -1.0; + float cos_c = 1.0; + float fact = 1.0; - // Taylor-Maclaurin series expansion for cosine - for(int i = 2; i <= 20; i += 2) - { - fact *= float(i)*float(i-1); - cos_c += sign*pow(c, float(i))/fact; - sign = -sign; - } + // Taylor-Maclaurin series expansion for cosine + for(int i = 2; i <= 20; i += 2) + { + fact *= float(i)*float(i-1); + cos_c += sign*pow(c, float(i))/fact; + sign = -sign; + } - color = vec4(0.5 * cos_c + 0.5, 0.0, 0.0, 1.0); + color = vec4(0.5 * cos_c + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_frag_xvary.frag index f73c9ea83ae..303bcd98565 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - gl_FragColor = vec4(0.5 * cos(2.0 * M_PI * color.rg) + 0.5, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + gl_FragColor = vec4(0.5 * cos(2.0 * M_PI * color.rg) + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_frag_xvary_ref.frag index 841d73239e6..4b1c833cf58 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_frag_xvary_ref.frag @@ -30,45 +30,45 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * M_PI * ( fract(abs(color.rg)) - 0.5 ); - float sign = 1.0; - vec2 cos_c = vec2(-1.0, -1.0); - float fact_even = 1.0; - float fact_odd = 1.0; - vec2 sum; - vec2 exp; + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * M_PI * ( fract(abs(color.rg)) - 0.5 ); + float sign = 1.0; + vec2 cos_c = vec2(-1.0, -1.0); + float fact_even = 1.0; + float fact_odd = 1.0; + vec2 sum; + vec2 exp; - // At this point c is in the range [-PI, PI) + // At this point c is in the range [-PI, PI) - // Taylor-Maclaurin series expansion for cosine - // - // Apply the property that pow(a, b + c) = pow(a, b) * pow(a, c) - // and the property that 1.0/(a*b) = 1.0/a * 1.0/b - // to make sure no register ever overflows the range (-16384, +16384) - // mandated for mediump variables. + // Taylor-Maclaurin series expansion for cosine + // + // Apply the property that pow(a, b + c) = pow(a, b) * pow(a, c) + // and the property that 1.0/(a*b) = 1.0/a * 1.0/b + // to make sure no register ever overflows the range (-16384, +16384) + // mandated for mediump variables. - for(int i = 2; i <= 10; i += 2) - { - // fact_even will hold at most the value 3840. - fact_even *= float(i); + for(int i = 2; i <= 10; i += 2) + { + // fact_even will hold at most the value 3840. + fact_even *= float(i); - // fact_odd will always be smaller than fact_even - fact_odd *= float(i-1); + // fact_odd will always be smaller than fact_even + fact_odd *= float(i-1); - // exp is at most (5,5) - exp = vec2(float(i/2), float(i/2)); + // exp is at most (5,5) + exp = vec2(float(i/2), float(i/2)); - // pow(c, exp) takes at most the value pow(PI, 5), which is approx. 306 - // abs(sum) is at most PI/2.0 - sum = sign * pow(abs(c), exp)/fact_even; + // pow(c, exp) takes at most the value pow(PI, 5), which is approx. 306 + // abs(sum) is at most PI/2.0 + sum = sign * pow(abs(c), exp)/fact_even; - // abs(sum/fact_odd) is at most PI/2.0 - // cos_c is always bound in the range [-1.0, 1.0) - cos_c += pow(abs(c), exp)*(sum/fact_odd); + // abs(sum/fact_odd) is at most PI/2.0 + // cos_c is always bound in the range [-1.0, 1.0) + cos_c += pow(abs(c), exp)*(sum/fact_odd); - sign = -sign; - } + sign = -sign; + } - gl_FragColor = vec4(0.5 * cos_c + 0.5, 0.0, 1.0); + gl_FragColor = vec4(0.5 * cos_c + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_vert_xvary.vert index 8a73bcc8ec5..6c9daf513ba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - color = vec4(0.5 * cos(2.0 * M_PI * gtf_Color.rg) + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + color = vec4(0.5 * cos(2.0 * M_PI * gtf_Color.rg) + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_vert_xvary_ref.vert index 10544b08eb3..9aab45e87bb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec2_vert_xvary_ref.vert @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * M_PI * gtf_Color.rg; - float sign = -1.0; - vec2 cos_c = vec2(1.0, 1.0); - float fact = 1.0; + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * M_PI * gtf_Color.rg; + float sign = -1.0; + vec2 cos_c = vec2(1.0, 1.0); + float fact = 1.0; - // Taylor-Maclaurin series expansion for cosine - for(int i = 2; i <= 20; i += 2) - { - fact *= float(i)*float(i-1); - cos_c += sign*pow(c, vec2(float(i), float(i)))/fact; - sign = -sign; - } + // Taylor-Maclaurin series expansion for cosine + for(int i = 2; i <= 20; i += 2) + { + fact *= float(i)*float(i-1); + cos_c += sign*pow(c, vec2(float(i), float(i)))/fact; + sign = -sign; + } - color = vec4(0.5 * cos_c + 0.5, 0.0, 1.0); + color = vec4(0.5 * cos_c + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_frag_xvary.frag index 4c577cceb57..2470106a75f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - gl_FragColor = vec4(0.5 * cos(2.0 * M_PI * color.rgb) + 0.5, 1.0); + const float M_PI = 3.14159265358979323846; + gl_FragColor = vec4(0.5 * cos(2.0 * M_PI * color.rgb) + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_frag_xvary_ref.frag index ca25c7da1bc..948400d9dfc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_frag_xvary_ref.frag @@ -30,45 +30,45 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * M_PI * ( fract(abs(color.rgb)) - 0.5 ); - float sign = 1.0; - vec3 cos_c = vec3(-1.0, -1.0, -1.0); - float fact_even = 1.0; - float fact_odd = 1.0; - vec3 sum; - vec3 exp; + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * M_PI * ( fract(abs(color.rgb)) - 0.5 ); + float sign = 1.0; + vec3 cos_c = vec3(-1.0, -1.0, -1.0); + float fact_even = 1.0; + float fact_odd = 1.0; + vec3 sum; + vec3 exp; - // At this point c is in the range [-PI, PI) + // At this point c is in the range [-PI, PI) - // Taylor-Maclaurin series expansion for cosine - // - // Apply the property that pow(a, b + c) = pow(a, b) * pow(a, c) - // and the property that 1.0/(a*b) = 1.0/a * 1.0/b - // to make sure no register ever overflows the range (-16384, +16384) - // mandated for mediump variables. + // Taylor-Maclaurin series expansion for cosine + // + // Apply the property that pow(a, b + c) = pow(a, b) * pow(a, c) + // and the property that 1.0/(a*b) = 1.0/a * 1.0/b + // to make sure no register ever overflows the range (-16384, +16384) + // mandated for mediump variables. - for(int i = 2; i <= 10; i += 2) - { - // fact_even will hold at most the value 3840. - fact_even *= float(i); + for(int i = 2; i <= 10; i += 2) + { + // fact_even will hold at most the value 3840. + fact_even *= float(i); - // fact_odd will always be smaller than fact_even - fact_odd *= float(i-1); + // fact_odd will always be smaller than fact_even + fact_odd *= float(i-1); - // exp is at most (5,5,5) - exp = vec3(float(i/2), float(i/2), float(i/2)); + // exp is at most (5,5,5) + exp = vec3(float(i/2), float(i/2), float(i/2)); - // pow(c, exp) takes at most the value pow(PI, 5), which is approx. 306 - // abs(sum) is at most PI/2.0 - sum = sign * pow(abs(c), exp)/fact_even; + // pow(c, exp) takes at most the value pow(PI, 5), which is approx. 306 + // abs(sum) is at most PI/2.0 + sum = sign * pow(abs(c), exp)/fact_even; - // abs(sum/fact_odd) is at most PI/2.0 - // cos_c is always bound in the range [-1.0, 1.0) - cos_c += pow(abs(c), exp)*(sum/fact_odd); + // abs(sum/fact_odd) is at most PI/2.0 + // cos_c is always bound in the range [-1.0, 1.0) + cos_c += pow(abs(c), exp)*(sum/fact_odd); - sign = -sign; - } + sign = -sign; + } - gl_FragColor = vec4(0.5 * cos_c + 0.5, 1.0); + gl_FragColor = vec4(0.5 * cos_c + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_vert_xvary.vert index 565c41ac8e3..bde69506c4d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - color = vec4(0.5 * cos(2.0 * M_PI * gtf_Color.rgb) + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + color = vec4(0.5 * cos(2.0 * M_PI * gtf_Color.rgb) + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_vert_xvary_ref.vert index 40a3eb2a1a0..cd8f9d83796 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cos/cos_vec3_vert_xvary_ref.vert @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * M_PI * gtf_Color.rgb; - float sign = -1.0; - vec3 cos_c = vec3(1.0,1.0,1.0); - float fact = 1.0; + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * M_PI * gtf_Color.rgb; + float sign = -1.0; + vec3 cos_c = vec3(1.0,1.0,1.0); + float fact = 1.0; - // Taylor-Maclaurin series expansion for cosine - for(int i = 2; i <= 20; i += 2) - { - fact *= float(i)*float(i-1); - cos_c += sign*pow(c, vec3(float(i),float(i),float(i)))/fact; - sign = -sign; - } + // Taylor-Maclaurin series expansion for cosine + for(int i = 2; i <= 20; i += 2) + { + fact *= float(i)*float(i-1); + cos_c += sign*pow(c, vec3(float(i),float(i),float(i)))/fact; + sign = -sign; + } - color = vec4(0.5 * cos_c + 0.5, 1.0); + color = vec4(0.5 * cos_c + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_001_to_002.html b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_001_to_002.html index baf8495384f..c0c5bc44c56 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_001_to_002.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_001_to_002.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: cross_001_to_002.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst.frag index d7513ff8c4c..3baaed5449c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst.frag @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = vec3(1.0, 0.0, 0.0); + // Both are unit vectors + vec3 v1; + vec3 v2 = vec3(1.0, 0.0, 0.0); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - gl_FragColor = vec4((cross(v1, v2) + 1.0) / 2.0, 1.0); + gl_FragColor = vec4((cross(v1, v2) + 1.0) / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst_ref.frag index 54eefb9f1c6..7d1f2161339 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_frag_xvaryyconst_ref.frag @@ -30,20 +30,20 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = vec3(1.0, 0.0, 0.0); - vec3 v3; + // Both are unit vectors + vec3 v1; + vec3 v2 = vec3(1.0, 0.0, 0.0); + vec3 v3; - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); - v3.x = v1.y * v2.z - v2.y * v1.z; - v3.y = v2.x * v1.z - v1.x * v2.z; - v3.z = v1.x * v2.y - v2.x * v1.y; - gl_FragColor = vec4((v3 + 1.0) / 2.0, 1.0); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); + v3.x = v1.y * v2.z - v2.y * v1.z; + v3.y = v2.x * v1.z - v1.x * v2.z; + v3.z = v1.x * v2.y - v2.x * v1.y; + gl_FragColor = vec4((v3 + 1.0) / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst.vert index 97ec07f152d..6a3345f28ad 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst.vert @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = vec3(1.0, 0.0, 0.0); + // Both are unit vectors + vec3 v1; + vec3 v2 = vec3(1.0, 0.0, 0.0); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); - color = vec4((cross(v1, v2) + 1.0) / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); + color = vec4((cross(v1, v2) + 1.0) / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst_ref.vert index fee5cc58225..7680ae03517 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/cross/cross_vec3_vert_xvaryyconst_ref.vert @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = vec3(1.0, 0.0, 0.0); - vec3 v3; + // Both are unit vectors + vec3 v1; + vec3 v2 = vec3(1.0, 0.0, 0.0); + vec3 v3; - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); - v3.x = v1.y * v2.z - v2.y * v1.z; - v3.y = v2.x * v1.z - v1.x * v2.z; - v3.z = v1.x * v2.y - v2.x * v1.y; - color = vec4((v3 + 1.0) / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); + v3.x = v1.y * v2.z - v2.y * v1.z; + v3.y = v2.x * v1.z - v1.x * v2.z; + v3.z = v1.x * v2.y - v2.x * v1.y; + color = vec4((v3 + 1.0) / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default.frag index 90478e8490b..e9d460fb20c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default.vert index 2943d817bcf..72e83fd0322 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = 1.0; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_001_to_001.html b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_001_to_001.html index 67cd9a432a5..1a9e6c32143 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_001_to_001.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_001_to_001.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: default_001_to_001.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_textured.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_textured.frag index bf905fab9b1..8db3c6954f7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_textured.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_textured.frag @@ -32,5 +32,5 @@ varying vec4 gtf_TexCoord[1]; void main (void) { - gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].xy); + gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].xy); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_textured.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_textured.vert index 56e028240b7..1b5b7831a46 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_textured.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/default/default_textured.vert @@ -32,8 +32,8 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gtf_TexCoord[0] = gtf_MultiTexCoord0; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = 1.0; + color = gtf_Color; + gtf_TexCoord[0] = gtf_MultiTexCoord0; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/default/expected.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/default/expected.frag index cc50b94f6cc..3d543f343ba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/default/expected.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/default/expected.frag @@ -30,5 +30,5 @@ uniform vec4 result; void main (void) { - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_001_to_006.html index a6f8fad2e48..1e29130a3dc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: degrees_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_frag_xvary.frag index 55a9eb0f5ac..52d2e724a12 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * M_PI * 2.0 * (color.r - 0.5); - gl_FragColor = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float c = 2.0 * M_PI * 2.0 * (color.r - 0.5); + gl_FragColor = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_frag_xvary_ref.frag index b5b7bce8010..b3675b0454c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * M_PI * 2.0 * (color.r - 0.5); - gl_FragColor = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float c = 2.0 * M_PI * 2.0 * (color.r - 0.5); + gl_FragColor = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_vert_xvary.vert index d35a5aab71c..69b026d7db1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * M_PI * 2.0 * (gtf_Color.r - 0.5); - color = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + float c = 2.0 * M_PI * 2.0 * (gtf_Color.r - 0.5); + color = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_vert_xvary_ref.vert index 2756f42787e..4b919b44bb9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_float_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * M_PI * 2.0 * (gtf_Color.r - 0.5); - color = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + float c = 2.0 * M_PI * 2.0 * (gtf_Color.r - 0.5); + color = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_frag_xvary.frag index 6bec173927c..3c01fb83eb0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * M_PI * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * M_PI * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_frag_xvary_ref.frag index 47156b16fc2..0706159c0ee 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * M_PI * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * M_PI * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_vert_xvary.vert index 998fc8a2a31..e7c59c30052 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * M_PI * 2.0 * (gtf_Color.rg - 0.5); - color = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * M_PI * 2.0 * (gtf_Color.rg - 0.5); + color = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_vert_xvary_ref.vert index 4d55e37edc3..f2d52d129ec 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec2_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * M_PI * 2.0 * (gtf_Color.rg - 0.5); - color = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * M_PI * 2.0 * (gtf_Color.rg - 0.5); + color = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_frag_xvary.frag index a4912df947a..48c5cb1de39 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * M_PI * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * M_PI * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_frag_xvary_ref.frag index ea8f0c18881..e970bd14115 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * M_PI * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * M_PI * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_vert_xvary.vert index d3ef4cb6cfe..520f0bb652f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * M_PI * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * M_PI * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(degrees(c) / (2.0 * 360.0) + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_vert_xvary_ref.vert index 73c810353b6..ef8d0e4ab9b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/degrees/degrees_vec3_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * M_PI * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * M_PI * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4((c * 180.0 / M_PI) / (2.0 * 360.0) + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_001_to_002.html b/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_001_to_002.html index bdac918220e..0efbe81fb49 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_001_to_002.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_001_to_002.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: discard_001_to_002.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_cond_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_cond_frag.frag index c7da8c9e3c2..89c664cdf3e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_cond_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_cond_frag.frag @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - bool toDiscard = false; - if(color.r > 0.75) toDiscard = true; - else if(color.g > 0.75) toDiscard = true; - else if(color.b > 0.75) toDiscard = true; + bool toDiscard = false; + if(color.r > 0.75) toDiscard = true; + else if(color.g > 0.75) toDiscard = true; + else if(color.b > 0.75) toDiscard = true; - if (toDiscard) discard; + if (toDiscard) discard; - gl_FragColor = color; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_cond_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_cond_frag_ref.frag index 6b6be7c6d32..05bb08a0391 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_cond_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_cond_frag_ref.frag @@ -30,15 +30,15 @@ varying vec4 color; void main (void) { - if(color.r > 0.75 || color.g > 0.75 || color.b > 0.75) - { - /* The background color is black by default. - * Setting the fragment color to it simulates a discarded fragment. - */ - gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0); - } - else - { - gl_FragColor = color; - } + if(color.r > 0.75 || color.g > 0.75 || color.b > 0.75) + { + /* The background color is black by default. + * Setting the fragment color to it simulates a discarded fragment. + */ + gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0); + } + else + { + gl_FragColor = color; + } } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_frag.frag index 60d77d4de80..6420e95bf70 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/discard/discard_frag.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - gl_FragColor = color; - discard; + gl_FragColor = color; + discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_001_to_006.html index ca365df3963..7ad48ff83b8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: distance_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf.frag index 2eae58fa476..90d38ddcffb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(distance(color.r, 0.5)), 1.0); + gl_FragColor = vec4(vec3(distance(color.r, 0.5)), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf_ref.frag index 6006747665c..d5c87c09ee3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_frag_xvaryyhalf_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(sqrt(pow(abs(color.r - 0.5), 2.0))), 1.0); + gl_FragColor = vec4(vec3(sqrt(pow(abs(color.r - 0.5), 2.0))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf.vert index e5c569b8fd5..574bf00c331 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(distance(gtf_Color.r, 0.5)), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(distance(gtf_Color.r, 0.5)), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf_ref.vert index 97980d2aa8c..694c7d1f7d0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_float_vert_xvaryyhalf_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(sqrt(pow(abs(gtf_Color.r - 0.5), 2.0))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(sqrt(pow(abs(gtf_Color.r - 0.5), 2.0))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf.frag index 0efe5d0416e..c39308d1e65 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(distance(color.rg, vec2(0.5))), 1.0); + gl_FragColor = vec4(vec3(distance(color.rg, vec2(0.5))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf_ref.frag index f7b59e0349b..61e18003227 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_frag_xvaryyhalf_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(sqrt(pow(abs(color.r - 0.5), 2.0) + pow(abs(color.g - 0.5), 2.0))), 1.0); + gl_FragColor = vec4(vec3(sqrt(pow(abs(color.r - 0.5), 2.0) + pow(abs(color.g - 0.5), 2.0))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf.vert index 67240cf7739..9807d91fed7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(distance(gtf_Color.rg, vec2(0.5))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(distance(gtf_Color.rg, vec2(0.5))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf_ref.vert index 6e77d4ba494..f70d7a78c91 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec2_vert_xvaryyhalf_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(sqrt(pow(abs(gtf_Color.r - 0.5), 2.0) + pow(abs(gtf_Color.g - 0.5), 2.0))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(sqrt(pow(abs(gtf_Color.r - 0.5), 2.0) + pow(abs(gtf_Color.g - 0.5), 2.0))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf.frag index 7964099093e..c356d342409 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(distance(color.rgb, vec3(0.5))), 1.0); + gl_FragColor = vec4(vec3(distance(color.rgb, vec3(0.5))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf_ref.frag index d633e1ccf90..b016b64db9e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_frag_xvaryyhalf_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(sqrt(pow(abs(color.r - 0.5), 2.0) + pow(abs(color.g - 0.5), 2.0) + pow(abs(color.b - 0.5), 2.0))), 1.0); + gl_FragColor = vec4(vec3(sqrt(pow(abs(color.r - 0.5), 2.0) + pow(abs(color.g - 0.5), 2.0) + pow(abs(color.b - 0.5), 2.0))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf.vert index 71163597ea6..f0ce5c4bd4c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(distance(gtf_Color.rgb, vec3(0.5))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(distance(gtf_Color.rgb, vec3(0.5))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf_ref.vert index bc263689f5a..7fdd7f986fd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/distance/distance_vec3_vert_xvaryyhalf_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(sqrt(pow(abs(gtf_Color.r - 0.5), 2.0) + pow(abs(gtf_Color.g - 0.5), 2.0) + pow(abs(gtf_Color.b - 0.5), 2.0))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(sqrt(pow(abs(gtf_Color.r - 0.5), 2.0) + pow(abs(gtf_Color.g - 0.5), 2.0) + pow(abs(gtf_Color.b - 0.5), 2.0))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_001_to_006.html index 4c71975604b..35af74a12af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: dot_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_frag_xvaryyone.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_frag_xvaryyone.frag index 460216ea395..4dfef129c0a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_frag_xvaryyone.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_frag_xvaryyone.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(dot(color.r, 1.0)), 1.0); + gl_FragColor = vec4(vec3(dot(color.r, 1.0)), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_frag_xvaryyone_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_frag_xvaryyone_ref.frag index b3e64eeb5fd..1d8b5594dab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_frag_xvaryyone_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_frag_xvaryyone_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(color.r), 1.0); + gl_FragColor = vec4(vec3(color.r), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_vert_xvaryyone.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_vert_xvaryyone.vert index f691e119875..d1df51840b2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_vert_xvaryyone.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_vert_xvaryyone.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(dot(gtf_Color.r, 1.0)), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(dot(gtf_Color.r, 1.0)), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_vert_xvaryyone_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_vert_xvaryyone_ref.vert index 82e70825829..3d37b84fddd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_vert_xvaryyone_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_float_vert_xvaryyone_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(gtf_Color.r), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(gtf_Color.r), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf.frag index ca9cb4286f0..dc4389716de 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(dot(color.rg, vec2(0.5))), 1.0); + gl_FragColor = vec4(vec3(dot(color.rg, vec2(0.5))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf_ref.frag index c3047d94cf7..515e4965183 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_frag_xvaryyhalf_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(color.r + color.g) * 0.5, 1.0); + gl_FragColor = vec4(vec3(color.r + color.g) * 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf.vert index fcd840a6da1..48cc60154d7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(dot(gtf_Color.rg, vec2(0.5))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(dot(gtf_Color.rg, vec2(0.5))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf_ref.vert index 132cce2de31..d5e6df67b18 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec2_vert_xvaryyhalf_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(gtf_Color.r + gtf_Color.g) * 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(gtf_Color.r + gtf_Color.g) * 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird.frag index ae9ff242dcc..55205c28490 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(dot(color.rgb, vec3(0.3333))), 1.0); + gl_FragColor = vec4(vec3(dot(color.rgb, vec3(0.3333))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird_ref.frag index d2a454af777..cc4a934fb26 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_frag_xvaryythird_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(color.r + color.g + color.b) * 0.3333, 1.0); + gl_FragColor = vec4(vec3(color.r + color.g + color.b) * 0.3333, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird.vert index 256726c369a..69493de3ee2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(dot(gtf_Color.rgb, vec3(0.3333))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(dot(gtf_Color.rgb, vec3(0.3333))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird_ref.vert index 15aa4936dd8..5fc4c88057d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/dot/dot_vec3_vert_xvaryythird_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(gtf_Color.r + gtf_Color.g + gtf_Color.b) * 0.3333, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(gtf_Color.r + gtf_Color.g + gtf_Color.b) * 0.3333, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_001_to_008.html index d944ac89863..4266061afe9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: equal_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_009_to_012.html b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_009_to_012.html index 678b12241d6..f5af33c3dba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_009_to_012.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_009_to_012.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: equal_009_to_012.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_frag.frag index 3eac179f054..f934ea91c04 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_frag.frag @@ -34,7 +34,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false - vec2 result = vec2(equal(bvec2(c), bvec2(true))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false + vec2 result = vec2(equal(bvec2(c), bvec2(true))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_frag_ref.frag index d932ba3275e..574f95e09b8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_frag_ref.frag @@ -34,17 +34,17 @@ varying vec4 color; bvec2 eq(in bvec2 a, in bvec2 b) { - bvec2 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false - vec2 result = vec2(eq(bvec2(c), bvec2(true))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false + vec2 result = vec2(eq(bvec2(c), bvec2(true))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_vert.vert index 4fd1685e589..0644c69de81 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false - vec2 result = vec2(equal(bvec2(c), bvec2(true))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false + vec2 result = vec2(equal(bvec2(c), bvec2(true))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_vert_ref.vert index 5052a390762..fefac95747f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 eq(in bvec2 a, in bvec2 b) { - bvec2 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false - vec2 result = vec2(eq(bvec2(c), bvec2(true))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false + vec2 result = vec2(eq(bvec2(c), bvec2(true))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_frag.frag index 182ea22edf5..f35039b8258 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false - vec3 result = vec3(equal(bvec3(c), bvec3(true))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false + vec3 result = vec3(equal(bvec3(c), bvec3(true))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_frag_ref.frag index 03bd38a89d3..e9047836e6e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 eq(in bvec3 a, in bvec3 b) { - bvec3 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - if(a[2] == b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + if(a[2] == b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false - vec3 result = vec3(eq(bvec3(c), bvec3(true))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false + vec3 result = vec3(eq(bvec3(c), bvec3(true))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_vert.vert index 4bb58f80d1d..8fd3ac79cf0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false - vec3 result = vec3(equal(bvec3(c), bvec3(true))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false + vec3 result = vec3(equal(bvec3(c), bvec3(true))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_vert_ref.vert index 8d1bc544a20..528c56cc5a7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_bvec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 eq(in bvec3 a, in bvec3 b) { - bvec3 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - if(a[2] == b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + if(a[2] == b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false - vec3 result = vec3(eq(bvec3(c), bvec3(true))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false + vec3 result = vec3(eq(bvec3(c), bvec3(true))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_frag.frag index 5cbc7893e4e..03586f30372 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(equal(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(equal(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_frag_ref.frag index 85d7e57f354..0d714400ed4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_frag_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; bvec2 eq(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(eq(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(eq(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_vert.vert index cc46bd8f797..eab3324fd66 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(equal(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(equal(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_vert_ref.vert index 88650667a26..738a3d93b46 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 eq(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(eq(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(eq(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_frag.frag index 3189805d59f..34ab9ce3eea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(equal(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(equal(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_frag_ref.frag index 4a4597f2685..3b6b2bc1bbd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 eq(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - if(a[2] == b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + if(a[2] == b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(eq(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(eq(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_vert.vert index a9db42230f3..dd847155526 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(equal(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(equal(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_vert_ref.vert index 0aa5e35bcc7..5884c39a2a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_ivec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 eq(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - if(a[2] == b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + if(a[2] == b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(eq(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(eq(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_frag.frag index b74660d4c7d..33723d45353 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_frag.frag @@ -34,7 +34,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(equal(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(equal(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_frag_ref.frag index b3db6088fe5..b343d82a2dc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_frag_ref.frag @@ -34,17 +34,17 @@ varying vec4 color; bvec2 eq(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(eq(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(eq(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_vert.vert index d46cb3a9738..bebfbb5e682 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(equal(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(equal(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_vert_ref.vert index 20ccfd9418d..89290a76066 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 eq(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(eq(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(eq(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_frag.frag index 8490d13c863..fdccc651017 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(equal(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(equal(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_frag_ref.frag index 3e99a258cc8..541de85710d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 eq(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - if(a[2] == b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + if(a[2] == b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(eq(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(eq(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_vert.vert index 5d7830f4fad..d975735f3e0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(equal(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(equal(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_vert_ref.vert index 693f3fd0513..1dc5e80eac6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/equal/equal_vec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 eq(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] == b[0]) result[0] = true; - else result[0] = false; - if(a[1] == b[1]) result[1] = true; - else result[1] = false; - if(a[2] == b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] == b[0]) result[0] = true; + else result[0] = false; + if(a[1] == b[1]) result[1] = true; + else result[1] = false; + if(a[2] == b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(eq(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(eq(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_001_to_008.html index a4af1dee585..a0ce6c06418 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: exp_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_009_to_012.html b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_009_to_012.html index a85b178e59b..ddf15b619a1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_009_to_012.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_009_to_012.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: exp_009_to_012.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvary.frag index 489eaaf0b6d..86ed7588cd0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float exp3 = 20.0855; - float c = color.r; - gl_FragColor = vec4(exp(3.0 * c) / exp3, 0.0, 0.0, 1.0); + const float exp3 = 20.0855; + float c = color.r; + gl_FragColor = vec4(exp(3.0 * c) / exp3, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvary_ref.frag index a0f79d3fc75..f13fca97d9e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvary_ref.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - const float exp3 = 20.0855; - float c = color.r; - gl_FragColor = vec4(pow(exp1, 3.0 * c) / exp3, 0.0, 0.0, 1.0); + const float exp1 = 2.7183; + const float exp3 = 20.0855; + float c = color.r; + gl_FragColor = vec4(pow(exp1, 3.0 * c) / exp3, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvaryneg.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvaryneg.frag index 69da41b3329..785a464714c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvaryneg.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvaryneg.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = -color.r; - gl_FragColor = vec4(exp(3.0 * c), 0.0, 0.0, 1.0); + float c = -color.r; + gl_FragColor = vec4(exp(3.0 * c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvaryneg_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvaryneg_ref.frag index 6b676cfdc41..08503fa51dc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvaryneg_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_frag_xvaryneg_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - float c = color.r; - gl_FragColor = vec4(1.0 / pow(exp1, 3.0 * c), 0.0, 0.0, 1.0); + const float exp1 = 2.7183; + float c = color.r; + gl_FragColor = vec4(1.0 / pow(exp1, 3.0 * c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvary.vert index d000bb49051..df41faff3a1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp3 = 20.0855; - float c = gtf_Color.r; - color = vec4(exp(3.0 * c) / exp3, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp3 = 20.0855; + float c = gtf_Color.r; + color = vec4(exp(3.0 * c) / exp3, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvary_ref.vert index f7ccc11f021..f83a25bb8e9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvary_ref.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - const float exp3 = 20.0855; - float c = gtf_Color.r; - color = vec4(pow(exp1, 3.0 * c) / exp3, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp1 = 2.7183; + const float exp3 = 20.0855; + float c = gtf_Color.r; + color = vec4(pow(exp1, 3.0 * c) / exp3, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvaryneg.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvaryneg.vert index 12bdf857a2d..7d1f08a6bbf 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvaryneg.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvaryneg.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = -gtf_Color.r; - color = vec4(exp(3.0 * c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = -gtf_Color.r; + color = vec4(exp(3.0 * c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvaryneg_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvaryneg_ref.vert index 89472dedcd9..b429ff8ff82 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvaryneg_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_float_vert_xvaryneg_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - float c = gtf_Color.r; - color = vec4(1.0 / pow(exp1, 3.0 * c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp1 = 2.7183; + float c = gtf_Color.r; + color = vec4(1.0 / pow(exp1, 3.0 * c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvary.frag index 44e2755dba4..be85cb373bc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float exp3 = 20.0855; - vec2 c = color.rg; - gl_FragColor = vec4(exp(3.0 * c) / exp3, 0.0, 1.0); + const float exp3 = 20.0855; + vec2 c = color.rg; + gl_FragColor = vec4(exp(3.0 * c) / exp3, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvary_ref.frag index 0066991e771..9b11c76721a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvary_ref.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - const float exp3 = 20.0855; - vec2 c = color.rg; - gl_FragColor = vec4(pow(vec2(exp1), 3.0 * c) / exp3, 0.0, 1.0); + const float exp1 = 2.7183; + const float exp3 = 20.0855; + vec2 c = color.rg; + gl_FragColor = vec4(pow(vec2(exp1), 3.0 * c) / exp3, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg.frag index 15f70ee9d91..5a81055ee72 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = -color.rg; - gl_FragColor = vec4(exp(3.0 * c), 0.0, 1.0); + vec2 c = -color.rg; + gl_FragColor = vec4(exp(3.0 * c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg_ref.frag index 20f265867e3..ddfeae7f811 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_frag_xvaryneg_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - vec2 c = color.rg; - gl_FragColor = vec4(1.0 / pow(vec2(exp1), 3.0 * c), 0.0, 1.0); + const float exp1 = 2.7183; + vec2 c = color.rg; + gl_FragColor = vec4(1.0 / pow(vec2(exp1), 3.0 * c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvary.vert index ea7426c4e64..c22d89ed377 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp3 = 20.0855; - vec2 c = gtf_Color.rg; - color = vec4(exp(3.0 * c) / exp3, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp3 = 20.0855; + vec2 c = gtf_Color.rg; + color = vec4(exp(3.0 * c) / exp3, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvary_ref.vert index 6443c78f6d2..47a68f504a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvary_ref.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - const float exp3 = 20.0855; - vec2 c = gtf_Color.rg; - color = vec4(pow(vec2(exp1), 3.0 * c) / exp3, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp1 = 2.7183; + const float exp3 = 20.0855; + vec2 c = gtf_Color.rg; + color = vec4(pow(vec2(exp1), 3.0 * c) / exp3, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg.vert index a2ebe30e202..aae926d6cfe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = -gtf_Color.rg; - color = vec4(exp(3.0 * c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = -gtf_Color.rg; + color = vec4(exp(3.0 * c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg_ref.vert index 9d567936359..90069564842 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec2_vert_xvaryneg_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - vec2 c = gtf_Color.rg; - color = vec4(1.0 / pow(vec2(exp1), 3.0 * c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp1 = 2.7183; + vec2 c = gtf_Color.rg; + color = vec4(1.0 / pow(vec2(exp1), 3.0 * c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvary.frag index aebda5d6b38..446532a2ef3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float exp3 = 20.0855; - vec3 c = color.rgb; - gl_FragColor = vec4(exp(3.0 * c) / exp3, 1.0); + const float exp3 = 20.0855; + vec3 c = color.rgb; + gl_FragColor = vec4(exp(3.0 * c) / exp3, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvary_ref.frag index 8af085cec3e..b481b7dcd6b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvary_ref.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - const float exp3 = 20.0855; - vec3 c = color.rgb; - gl_FragColor = vec4(pow(vec3(exp1), 3.0 * c) / exp3, 1.0); + const float exp1 = 2.7183; + const float exp3 = 20.0855; + vec3 c = color.rgb; + gl_FragColor = vec4(pow(vec3(exp1), 3.0 * c) / exp3, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg.frag index b0e6fcc0c9b..a836e87868d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = -color.rgb; - gl_FragColor = vec4(exp(3.0 * c), 1.0); + vec3 c = -color.rgb; + gl_FragColor = vec4(exp(3.0 * c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg_ref.frag index 860242cd1fb..e710a7973a5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_frag_xvaryneg_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - vec3 c = color.rgb; - gl_FragColor = vec4(1.0 / pow(vec3(exp1), 3.0 * c), 1.0); + const float exp1 = 2.7183; + vec3 c = color.rgb; + gl_FragColor = vec4(1.0 / pow(vec3(exp1), 3.0 * c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvary.vert index 6194236c2cf..b1056c28a24 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp3 = 20.0855; - vec3 c = gtf_Color.rgb; - color = vec4(exp(3.0 * c) / exp3, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp3 = 20.0855; + vec3 c = gtf_Color.rgb; + color = vec4(exp(3.0 * c) / exp3, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvary_ref.vert index 289d6346d97..f1385688cac 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvary_ref.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - const float exp3 = 20.0855; - vec3 c = gtf_Color.rgb; - color = vec4(pow(vec3(exp1), 3.0 * c) / exp3, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp1 = 2.7183; + const float exp3 = 20.0855; + vec3 c = gtf_Color.rgb; + color = vec4(pow(vec3(exp1), 3.0 * c) / exp3, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg.vert index 951ce627421..d6c6c56446e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = -gtf_Color.rgb; - color = vec4(exp(3.0 * c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = -gtf_Color.rgb; + color = vec4(exp(3.0 * c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg_ref.vert index 752a1a8e10f..f361d9febf8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp/exp_vec3_vert_xvaryneg_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float exp1 = 2.7183; - vec3 c = gtf_Color.rgb; - color = vec4(1.0 / pow(vec3(exp1), 3.0 * c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float exp1 = 2.7183; + vec3 c = gtf_Color.rgb; + color = vec4(1.0 / pow(vec3(exp1), 3.0 * c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_001_to_008.html index 621b7325b4d..7b64d838de8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: exp2_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_009_to_012.html b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_009_to_012.html index 601ef0f3d4c..2b29d52bd01 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_009_to_012.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_009_to_012.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: exp2_009_to_012.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvary.frag index 84bd1523d23..922a733df7c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = color.r; - gl_FragColor = vec4(exp2(5.0 * c) / 32.0, 0.0, 0.0, 1.0); + float c = color.r; + gl_FragColor = vec4(exp2(5.0 * c) / 32.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvary_ref.frag index e4217e5ba02..88a6eae8e24 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = color.r; - gl_FragColor = vec4(pow(2.0, 5.0 * c) / 32.0, 0.0, 0.0, 1.0); + float c = color.r; + gl_FragColor = vec4(pow(2.0, 5.0 * c) / 32.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg.frag index ed8ed02b13f..9140264056f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = -color.r; - gl_FragColor = vec4(exp2(5.0 * c), 0.0, 0.0, 1.0); + float c = -color.r; + gl_FragColor = vec4(exp2(5.0 * c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg_ref.frag index f9718d03377..d8167046f1f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_frag_xvaryneg_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = color.r; - gl_FragColor = vec4(1.0 / pow(2.0, 5.0 * c), 0.0, 0.0, 1.0); + float c = color.r; + gl_FragColor = vec4(1.0 / pow(2.0, 5.0 * c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvary.vert index a5f459c3a5f..c3b914833a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = gtf_Color.r; - color = vec4(exp2(5.0 * c) / 32.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = gtf_Color.r; + color = vec4(exp2(5.0 * c) / 32.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvary_ref.vert index aba76f79fc3..69898a60302 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = gtf_Color.r; - color = vec4(pow(2.0, 5.0 * c) / 32.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = gtf_Color.r; + color = vec4(pow(2.0, 5.0 * c) / 32.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg.vert index cf9148ca001..8955e3cfb0c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = -gtf_Color.r; - color = vec4(exp2(5.0 * c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = -gtf_Color.r; + color = vec4(exp2(5.0 * c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg_ref.vert index 5a2e5c3e2fe..2fc614e5a3f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_float_vert_xvaryneg_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = gtf_Color.r; - color = vec4(1.0 / pow(2.0, 5.0 * c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = gtf_Color.r; + color = vec4(1.0 / pow(2.0, 5.0 * c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvary.frag index 027bdc6580f..8af82a79b24 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = color.rg; - gl_FragColor = vec4(exp2(5.0 * c) / 32.0, 0.0, 1.0); + vec2 c = color.rg; + gl_FragColor = vec4(exp2(5.0 * c) / 32.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvary_ref.frag index 5ebe2f29e5b..77c44ff3d4d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = color.rg; - gl_FragColor = vec4(pow(vec2(2.0), 5.0 * c) / 32.0, 0.0, 1.0); + vec2 c = color.rg; + gl_FragColor = vec4(pow(vec2(2.0), 5.0 * c) / 32.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg.frag index 4e4add7bec3..b7805beadfb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = -color.rg; - gl_FragColor = vec4(exp2(5.0 * c), 0.0, 1.0); + vec2 c = -color.rg; + gl_FragColor = vec4(exp2(5.0 * c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg_ref.frag index 223cc6f883e..ddfaea25027 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_frag_xvaryneg_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = color.rg; - gl_FragColor = vec4(1.0 / pow(vec2(2.0), 5.0 * c), 0.0, 1.0); + vec2 c = color.rg; + gl_FragColor = vec4(1.0 / pow(vec2(2.0), 5.0 * c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvary.vert index 925e069010d..9903e66923b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = gtf_Color.rg; - color = vec4(exp2(5.0 * c) / 32.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = gtf_Color.rg; + color = vec4(exp2(5.0 * c) / 32.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvary_ref.vert index d354cc86815..da02403b26d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = gtf_Color.rg; - color = vec4(pow(vec2(2.0), 5.0 * c) / 32.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = gtf_Color.rg; + color = vec4(pow(vec2(2.0), 5.0 * c) / 32.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg.vert index 8cf60678b19..b94b23dd354 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = -gtf_Color.rg; - color = vec4(exp2(5.0 * c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = -gtf_Color.rg; + color = vec4(exp2(5.0 * c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg_ref.vert index 7a2a120c125..8284a474ecf 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec2_vert_xvaryneg_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = gtf_Color.rg; - color = vec4(1.0 / pow(vec2(2.0), 5.0 * c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = gtf_Color.rg; + color = vec4(1.0 / pow(vec2(2.0), 5.0 * c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvary.frag index 39bdd1602bc..1f289ce1556 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = color.rgb; - gl_FragColor = vec4(exp2(5.0 * c) / 32.0, 1.0); + vec3 c = color.rgb; + gl_FragColor = vec4(exp2(5.0 * c) / 32.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvary_ref.frag index 8f368ab103a..b75546900e9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = color.rgb; - gl_FragColor = vec4(pow(vec3(2.0), 5.0 * c) / 32.0, 1.0); + vec3 c = color.rgb; + gl_FragColor = vec4(pow(vec3(2.0), 5.0 * c) / 32.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg.frag index 40b723df002..c401e57d88e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = -color.rgb; - gl_FragColor = vec4(exp2(5.0 * c), 1.0); + vec3 c = -color.rgb; + gl_FragColor = vec4(exp2(5.0 * c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg_ref.frag index 23c9509164c..6f945903d5f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_frag_xvaryneg_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = color.rgb; - gl_FragColor = vec4(1.0 / pow(vec3(2.0), 5.0 * c), 1.0); + vec3 c = color.rgb; + gl_FragColor = vec4(1.0 / pow(vec3(2.0), 5.0 * c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvary.vert index 49d97e9ffe0..d59cb3ef5f8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = gtf_Color.rgb; - color = vec4(exp2(5.0 * c) / 32.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = gtf_Color.rgb; + color = vec4(exp2(5.0 * c) / 32.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvary_ref.vert index 2417fbe37b8..3e8cc48a036 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = gtf_Color.rgb; - color = vec4(pow(vec3(2.0), 5.0 * c) / 32.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = gtf_Color.rgb; + color = vec4(pow(vec3(2.0), 5.0 * c) / 32.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg.vert index 3c626d761dc..4d154bc17cd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = -gtf_Color.rgb; - color = vec4(exp2(5.0 * c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = -gtf_Color.rgb; + color = vec4(exp2(5.0 * c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg_ref.vert index e3fdbb65402..b0bc7818d32 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/exp2/exp2_vec3_vert_xvaryneg_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = gtf_Color.rgb; - color = vec4(1.0 / pow(vec3(2.0), 5.0 * c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = gtf_Color.rgb; + color = vec4(1.0 / pow(vec3(2.0), 5.0 * c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_001_to_006.html index ff851a6839b..c70334794cc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: faceforward_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst.frag index 1fbf2181b42..07ef6fbf0db 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (color.g * 2.0) - 1.0; - float v2 = (color.b * 2.0) - 1.0; + // Both are unit vectors + float v1 = (color.g * 2.0) - 1.0; + float v2 = (color.b * 2.0) - 1.0; - gl_FragColor = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_FragColor = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst_ref.frag index 3233c2598f4..5b5b2fd3e9d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_frag_nvaryiconst_ref.frag @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (color.g * 2.0) - 1.0; - float v2 = (color.b * 2.0) - 1.0; + // Both are unit vectors + float v1 = (color.g * 2.0) - 1.0; + float v2 = (color.b * 2.0) - 1.0; - if(dot(v1, v2) >= 0.0) v1 *= -1.0; - gl_FragColor = vec4((v1 + 1.0) / 2.0, 0.0, 0.0, 1.0); + if(dot(v1, v2) >= 0.0) v1 *= -1.0; + gl_FragColor = vec4((v1 + 1.0) / 2.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst.vert index 24ba13223de..77d5d796ecc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (gtf_Color.g * 2.0) - 1.0; - float v2 = (gtf_Color.b * 2.0) - 1.0; + // Both are unit vectors + float v1 = (gtf_Color.g * 2.0) - 1.0; + float v2 = (gtf_Color.b * 2.0) - 1.0; - color = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst_ref.vert index ac68e0961ba..0e1d365b3bc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_float_vert_nvaryiconst_ref.vert @@ -30,13 +30,13 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (gtf_Color.g * 2.0) - 1.0; - float v2 = (gtf_Color.b * 2.0) - 1.0; + // Both are unit vectors + float v1 = (gtf_Color.g * 2.0) - 1.0; + float v2 = (gtf_Color.b * 2.0) - 1.0; - if(dot(v1, v2) >= 0.0) v1 *= -1.0; - color = vec4((v1 + 1.0) / 2.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if(dot(v1, v2) >= 0.0) v1 *= -1.0; + color = vec4((v1 + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst.frag index c42cab02cd7..ec0f1c2f357 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst.frag @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - gl_FragColor = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 0.0, 1.0); + gl_FragColor = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst_ref.frag index 0d8536deb5e..a50f4548506 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_frag_nvaryiconst_ref.frag @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - if(dot(v1, v2) >= 0.0) v1 *= -1.0; - gl_FragColor = vec4((v1 + 1.0) / 2.0, 0.0, 1.0); + if(dot(v1, v2) >= 0.0) v1 *= -1.0; + gl_FragColor = vec4((v1 + 1.0) / 2.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst.vert index 10af621c56b..80d186c978a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst.vert @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - color = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst_ref.vert index 998adae0c9f..41a04ef6035 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec2_vert_nvaryiconst_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - if(dot(v1, v2) >= 0.0) v1 *= -1.0; - color = vec4((v1 + 1.0) / 2.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if(dot(v1, v2) >= 0.0) v1 *= -1.0; + color = vec4((v1 + 1.0) / 2.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst.frag index 249a197c0b6..5db1d0fc5fc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst.frag @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - gl_FragColor = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 1.0); + gl_FragColor = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst_ref.frag index 9fe3d5395be..fb68855f7fd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_frag_nvaryiconst_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - if(dot(v1, v2) >= 0.0) v1 *= -1.0; - gl_FragColor = vec4((v1 + 1.0) / 2.0, 1.0); + if(dot(v1, v2) >= 0.0) v1 *= -1.0; + gl_FragColor = vec4((v1 + 1.0) / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst.vert index bd9ef4410fd..a745681dd55 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst.vert @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - color = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((faceforward(v1, v2, v1) + 1.0) / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst_ref.vert index f219af1c554..d08a74620a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/faceforward/faceforward_vec3_vert_nvaryiconst_ref.vert @@ -30,19 +30,19 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - if(dot(v1, v2) >= 0.0) v1 *= -1.0; - color = vec4((v1 + 1.0) / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if(dot(v1, v2) >= 0.0) v1 *= -1.0; + color = vec4((v1 + 1.0) / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_001_to_006.html index 66722408504..75d2d91675c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: floor_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_frag_xvary.frag index 9667e12200a..3f918841870 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (color.r - 0.5); - gl_FragColor = vec4((floor(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); + float c = 10.0 * 2.0 * (color.r - 0.5); + gl_FragColor = vec4((floor(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_frag_xvary_ref.frag index 4d204c14caa..11ec5e6e275 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_frag_xvary_ref.frag @@ -30,15 +30,15 @@ varying vec4 color; float floor_ref(float x) { - if(x >= 0.0) - x = float(int(x)); - else - x = float(int(x) - 1); - return x; + if(x >= 0.0) + x = float(int(x)); + else + x = float(int(x) - 1); + return x; } void main (void) { - float c = 10.0 * 2.0 * (color.r - 0.5); - gl_FragColor = vec4((floor_ref(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); + float c = 10.0 * 2.0 * (color.r - 0.5); + gl_FragColor = vec4((floor_ref(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_vert_xvary.vert index e37d734cbb5..1ed8d39c665 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); - color = vec4((floor(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); + color = vec4((floor(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_vert_xvary_ref.vert index 5aa674a9082..5be14322e69 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_float_vert_xvary_ref.vert @@ -30,16 +30,16 @@ varying vec4 color; float floor_ref(float x) { - if(x >= 0.0) - x = float(int(x)); - else - x = float(int(x) - 1); - return x; + if(x >= 0.0) + x = float(int(x)); + else + x = float(int(x) - 1); + return x; } void main (void) { - float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); - color = vec4((floor_ref(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); + color = vec4((floor_ref(c) + 10.0) / 20.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_frag_xvary.frag index c8e766088fc..1a56a4fcf47 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4((floor(c) + 10.0) / 20.0, 0.0, 1.0); + vec2 c = 10.0 * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4((floor(c) + 10.0) / 20.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_frag_xvary_ref.frag index 3cf50ed32b9..f8aba8d5e62 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_frag_xvary_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; vec2 floor_ref(vec2 x) { - if(x[0] >= 0.0) - x[0] = float(int(x[0])); - else - x[0] = float(int(x[0]) - 1); - if(x[1] >= 0.0) - x[1] = float(int(x[1])); - else - x[1] = float(int(x[1]) - 1); - return x; + if(x[0] >= 0.0) + x[0] = float(int(x[0])); + else + x[0] = float(int(x[0]) - 1); + if(x[1] >= 0.0) + x[1] = float(int(x[1])); + else + x[1] = float(int(x[1]) - 1); + return x; } void main (void) { - vec2 c = 10.0 * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4((floor_ref(c) + 10.0) / 20.0, 0.0, 1.0); + vec2 c = 10.0 * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4((floor_ref(c) + 10.0) / 20.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_vert_xvary.vert index ca236c25957..c977d879b22 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); - color = vec4((floor(c) + 10.0) / 20.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); + color = vec4((floor(c) + 10.0) / 20.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_vert_xvary_ref.vert index df3971a05f3..232d5fee3a5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec2_vert_xvary_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; vec2 floor_ref(vec2 x) { - if(x[0] >= 0.0) - x[0] = float(int(x[0])); - else - x[0] = float(int(x[0]) - 1); - if(x[1] >= 0.0) - x[1] = float(int(x[1])); - else - x[1] = float(int(x[1]) - 1); - return x; + if(x[0] >= 0.0) + x[0] = float(int(x[0])); + else + x[0] = float(int(x[0]) - 1); + if(x[1] >= 0.0) + x[1] = float(int(x[1])); + else + x[1] = float(int(x[1]) - 1); + return x; } void main (void) { - vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); - color = vec4((floor_ref(c) + 10.0) / 20.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); + color = vec4((floor_ref(c) + 10.0) / 20.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_frag_xvary.frag index 6417831cba7..bb7f72018d7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4((floor(c) + 10.0) / 20.0, 1.0); + vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4((floor(c) + 10.0) / 20.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_frag_xvary_ref.frag index 90e0c5718a3..1209631ef0f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_frag_xvary_ref.frag @@ -30,23 +30,23 @@ varying vec4 color; vec3 floor_ref(vec3 x) { - if(x[0] >= 0.0) - x[0] = float(int(x[0])); - else - x[0] = float(int(x[0]) - 1); - if(x[1] >= 0.0) - x[1] = float(int(x[1])); - else - x[1] = float(int(x[1]) - 1); - if(x[2] >= 0.0) - x[2] = float(int(x[2])); - else - x[2] = float(int(x[2]) - 1); - return x; + if(x[0] >= 0.0) + x[0] = float(int(x[0])); + else + x[0] = float(int(x[0]) - 1); + if(x[1] >= 0.0) + x[1] = float(int(x[1])); + else + x[1] = float(int(x[1]) - 1); + if(x[2] >= 0.0) + x[2] = float(int(x[2])); + else + x[2] = float(int(x[2]) - 1); + return x; } void main (void) { - vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4((floor_ref(c) + 10.0) / 20.0, 1.0); + vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4((floor_ref(c) + 10.0) / 20.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_vert_xvary.vert index 3f012ef1493..febeb930c41 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4((floor(c) + 10.0) / 20.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4((floor(c) + 10.0) / 20.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_vert_xvary_ref.vert index 3ef5e1ce81a..247aa1aa35d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/floor/floor_vec3_vert_xvary_ref.vert @@ -30,24 +30,24 @@ varying vec4 color; vec3 floor_ref(vec3 x) { - if(x[0] >= 0.0) - x[0] = float(int(x[0])); - else - x[0] = float(int(x[0]) - 1); - if(x[1] >= 0.0) - x[1] = float(int(x[1])); - else - x[1] = float(int(x[1]) - 1); - if(x[2] >= 0.0) - x[2] = float(int(x[2])); - else - x[2] = float(int(x[2]) - 1); - return x; + if(x[0] >= 0.0) + x[0] = float(int(x[0])); + else + x[0] = float(int(x[0]) - 1); + if(x[1] >= 0.0) + x[1] = float(int(x[1])); + else + x[1] = float(int(x[1]) - 1); + if(x[2] >= 0.0) + x[2] = float(int(x[2])); + else + x[2] = float(int(x[2]) - 1); + return x; } void main (void) { - vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4((floor_ref(c) + 10.0) / 20.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4((floor_ref(c) + 10.0) / 20.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_001_to_006.html index d31a59ac159..0fde847696a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: fract_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_frag_xvary.frag index 89346da5d60..8ad6c92f968 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (color.r - 0.5); - c = abs(fract(c) - 0.5) * 2.0; - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + float c = 10.0 * 2.0 * (color.r - 0.5); + c = abs(fract(c) - 0.5) * 2.0; + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_frag_xvary_ref.frag index 66e7dd32d76..2105d7fcd78 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (color.r - 0.5); - c = abs((c - floor(c)) - 0.5) * 2.0; - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + float c = 10.0 * 2.0 * (color.r - 0.5); + c = abs((c - floor(c)) - 0.5) * 2.0; + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_vert_xvary.vert index b42232d7c40..8724037ff68 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); - c = abs(fract(c) - 0.5) * 2.0; - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); + c = abs(fract(c) - 0.5) * 2.0; + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_vert_xvary_ref.vert index 03708491768..773fd79049a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_float_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); - c = abs((c - floor(c)) - 0.5) * 2.0; - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); + c = abs((c - floor(c)) - 0.5) * 2.0; + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_frag_xvary.frag index 8efec3db5d5..6d9e3fa0bd1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (color.rg - 0.5); - c = abs(fract(c) - 0.5) * 2.0; - gl_FragColor = vec4(c, 0.0, 1.0); + vec2 c = 10.0 * 2.0 * (color.rg - 0.5); + c = abs(fract(c) - 0.5) * 2.0; + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_frag_xvary_ref.frag index 51f59529625..222b2e96f57 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (color.rg - 0.5); - c = abs((c - floor(c)) - 0.5) * 2.0; - gl_FragColor = vec4(c, 0.0, 1.0); + vec2 c = 10.0 * 2.0 * (color.rg - 0.5); + c = abs((c - floor(c)) - 0.5) * 2.0; + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_vert_xvary.vert index 24b18d82401..bb8acce361a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); - c = abs(fract(c) - 0.5) * 2.0; - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); + c = abs(fract(c) - 0.5) * 2.0; + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_vert_xvary_ref.vert index 8a4b0303b4c..31546ff4a82 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec2_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); - c = abs((c - floor(c)) - 0.5) * 2.0; - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); + c = abs((c - floor(c)) - 0.5) * 2.0; + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_frag_xvary.frag index 93737bbbce9..bf409a7a040 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); - c = abs(fract(c) - 0.5) * 2.0; - gl_FragColor = vec4(c, 1.0); + vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); + c = abs(fract(c) - 0.5) * 2.0; + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_frag_xvary_ref.frag index 0e8f6eca8f4..8a684230394 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); - c = abs((c - floor(c)) - 0.5) * 2.0; - gl_FragColor = vec4(c, 1.0); + vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); + c = abs((c - floor(c)) - 0.5) * 2.0; + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_vert_xvary.vert index 63f7406afec..2d83b034800 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); - c = abs(fract(c) - 0.5) * 2.0; - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); + c = abs(fract(c) - 0.5) * 2.0; + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_vert_xvary_ref.vert index 011c4ba1a91..5092c853393 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/fract/fract_vec3_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); - c = abs((c - floor(c)) - 0.5) * 2.0; - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); + c = abs((c - floor(c)) - 0.5) * 2.0; + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/array_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/array_float_frag.frag index fa50dbef9a1..594afd9409f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/array_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/array_float_frag.frag @@ -32,71 +32,71 @@ varying vec4 color; void qualifiers(in float a[4], out float b[4], inout float c[4], const in float d[4], float e[4]) { - b[0] = a[0]; - c[0] += d[0]; - a[0] += 1.0; - e[0] += 1.0; + b[0] = a[0]; + c[0] += d[0]; + a[0] += 1.0; + e[0] += 1.0; - b[1] = a[1]; - c[1] += d[1]; - a[1] += 1.0; - e[1] += 1.0; + b[1] = a[1]; + c[1] += d[1]; + a[1] += 1.0; + e[1] += 1.0; - b[2] = a[2]; - c[2] += d[2]; - a[2] += 1.0; - e[2] += 1.0; + b[2] = a[2]; + c[2] += d[2]; + a[2] += 1.0; + e[2] += 1.0; - b[3] = a[3]; - c[3] += d[3]; - a[3] += 1.0; - e[3] += 1.0; + b[3] = a[3]; + c[3] += d[3]; + a[3] += 1.0; + e[3] += 1.0; } void main (void) { - float a[4]; - float b[4]; - float c[4]; - float d[4]; - float e[4]; - float q = 0.0; - float q2 = 0.0; + float a[4]; + float b[4]; + float c[4]; + float d[4]; + float e[4]; + float q = 0.0; + float q2 = 0.0; - a[0] = 1.0; - b[0] = 2.0; - c[0] = 3.0; - d[0] = 4.0; - e[0] = 1.0; + a[0] = 1.0; + b[0] = 2.0; + c[0] = 3.0; + d[0] = 4.0; + e[0] = 1.0; - a[1] = 1.0; - b[1] = 2.0; - c[1] = 3.0; - d[1] = 4.0; - e[1] = 1.0; + a[1] = 1.0; + b[1] = 2.0; + c[1] = 3.0; + d[1] = 4.0; + e[1] = 1.0; - a[2] = 1.0; - b[2] = 2.0; - c[2] = 3.0; - d[2] = 4.0; - e[2] = 1.0; + a[2] = 1.0; + b[2] = 2.0; + c[2] = 3.0; + d[2] = 4.0; + e[2] = 1.0; - a[3] = 1.0; - b[3] = 2.0; - c[3] = 3.0; - d[3] = 4.0; - e[3] = 1.0; + a[3] = 1.0; + b[3] = 2.0; + c[3] = 3.0; + d[3] = 4.0; + e[3] = 1.0; - qualifiers(a, b, c, d, e); + qualifiers(a, b, c, d, e); - // randomly test a value - if(a[0] == 1.0) q += 1.0; - if(b[1] == 1.0) q += 2.0; - if(c[2] == 7.0) q += 4.0; - if(d[3] == 4.0) q2 += 1.0; - if(e[0] == 1.0) q2 += 2.0; + // randomly test a value + if(a[0] == 1.0) q += 1.0; + if(b[1] == 1.0) q += 2.0; + if(c[2] == 7.0) q += 4.0; + if(d[3] == 4.0) q2 += 1.0; + if(e[0] == 1.0) q2 += 2.0; - gl_FragColor = vec4(vec2(q / 7.0, q2 / 3.0), 1.0, 1.0); + gl_FragColor = vec4(vec2(q / 7.0, q2 / 3.0), 1.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/array_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/array_float_vert.vert index 349ebaa7d55..64d23d278ff 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/array_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/array_float_vert.vert @@ -31,25 +31,25 @@ varying vec4 color; void qualifiers(in float a[4], out float b[4], inout float c[4], const in float d[4], float e[4]) { - b[0] = a[0]; - c[0] += d[0]; - a[0] += 1.0; - e[0] += 1.0; + b[0] = a[0]; + c[0] += d[0]; + a[0] += 1.0; + e[0] += 1.0; - b[1] = a[1]; - c[1] += d[1]; - a[1] += 1.0; - e[1] += 1.0; + b[1] = a[1]; + c[1] += d[1]; + a[1] += 1.0; + e[1] += 1.0; - b[2] = a[2]; - c[2] += d[2]; - a[2] += 1.0; - e[2] += 1.0; + b[2] = a[2]; + c[2] += d[2]; + a[2] += 1.0; + e[2] += 1.0; - b[3] = a[3]; - c[3] += d[3]; - a[3] += 1.0; - e[3] += 1.0; + b[3] = a[3]; + c[3] += d[3]; + a[3] += 1.0; + e[3] += 1.0; } @@ -57,47 +57,47 @@ void qualifiers(in float a[4], out float b[4], inout float c[4], const in float void main (void) { - float a[4]; - float b[4]; - float c[4]; - float d[4]; - float e[4]; - float q = 0.0; - float q2 = 0.0; + float a[4]; + float b[4]; + float c[4]; + float d[4]; + float e[4]; + float q = 0.0; + float q2 = 0.0; - a[0] = 1.0; - b[0] = 2.0; - c[0] = 3.0; - d[0] = 4.0; - e[0] = 1.0; + a[0] = 1.0; + b[0] = 2.0; + c[0] = 3.0; + d[0] = 4.0; + e[0] = 1.0; - a[1] = 1.0; - b[1] = 2.0; - c[1] = 3.0; - d[1] = 4.0; - e[1] = 1.0; + a[1] = 1.0; + b[1] = 2.0; + c[1] = 3.0; + d[1] = 4.0; + e[1] = 1.0; - a[2] = 1.0; - b[2] = 2.0; - c[2] = 3.0; - d[2] = 4.0; - e[2] = 1.0; + a[2] = 1.0; + b[2] = 2.0; + c[2] = 3.0; + d[2] = 4.0; + e[2] = 1.0; - a[3] = 1.0; - b[3] = 2.0; - c[3] = 3.0; - d[3] = 4.0; - e[3] = 1.0; + a[3] = 1.0; + b[3] = 2.0; + c[3] = 3.0; + d[3] = 4.0; + e[3] = 1.0; - qualifiers(a, b, c, d, e); + qualifiers(a, b, c, d, e); - // randomly test a value - if(a[0] == 1.0) q += 1.0; - if(b[1] == 1.0) q += 2.0; - if(c[2] == 7.0) q += 4.0; - if(d[3] == 4.0) q2 += 1.0; - if(e[0] == 1.0) q2 += 2.0; + // randomly test a value + if(a[0] == 1.0) q += 1.0; + if(b[1] == 1.0) q += 2.0; + if(c[2] == 7.0) q += 4.0; + if(d[3] == 4.0) q2 += 1.0; + if(e[0] == 1.0) q2 += 2.0; - color = vec4(vec2(q / 7.0, q2 / 3.0), 1.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec2(q / 7.0, q2 / 3.0), 1.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_array_frag.frag index acd10eb4901..6ba41dea092 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out bool array[3], const in bool value); void main (void) { - bool par[3]; - bool ret = false; + bool par[3]; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, true); + // Initialize the entire array to true. + set_all(par, true); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, true) && ret) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, true) && ret) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. bool function(bool par[3]) { - // Return the value of the array. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the array. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return true; - } - else - return false; + return true; + } + else + return false; } bool is_all(const in bool array[3], const in bool value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bool array[3], const in bool value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_array_vert.vert index 0f9e851b5e6..3d643b15239 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out bool array[3], const in bool value); void main (void) { - bool par[3]; - bool ret = false; + bool par[3]; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, true); + // Initialize the entire array to true. + set_all(par, true); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, true) && ret) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, true) && ret) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. bool function(bool par[3]) { - // Return the value of the array. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the array. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return true; - } - else - return false; + return true; + } + else + return false; } bool is_all(const in bool array[3], const in bool value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bool array[3], const in bool value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_empty_frag.frag index 6f14b710e08..900dbd26306 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_empty_frag.frag @@ -33,33 +33,33 @@ bool function(bool par); void main (void) { - bool par = true; - bool ret = false; + bool par = true; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(par && ret) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(par && ret) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bool function(bool par) { - // Return the value of the parameter. - if(par) - { - // Test parameter qualifier (default is "in"). - par = false; + // Return the value of the parameter. + if(par) + { + // Test parameter qualifier (default is "in"). + par = false; - return true; - } - else - return false; + return true; + } + else + return false; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_empty_vert.vert index 9c1fdcec268..bbf763e948c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_empty_bool_empty_vert.vert @@ -32,34 +32,34 @@ bool function(bool par); void main (void) { - bool par = true; - bool ret = false; + bool par = true; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(par && ret) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(par && ret) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bool function(bool par) { - // Return the value of the parameter. - if(par) - { - // Test parameter qualifier (default is "in"). - par = false; + // Return the value of the parameter. + if(par) + { + // Test parameter qualifier (default is "in"). + par = false; - return true; - } - else - return false; + return true; + } + else + return false; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_array_frag.frag index 83a6770637f..1d08ca5e063 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out bool array[3], const in bool value); void main (void) { - bool par[3]; - bool ret = false; + bool par[3]; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, true); + // Initialize the entire array to true. + set_all(par, true); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, true) && ret) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, true) && ret) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bool function(in bool par[3]) { - // Return the value of the array. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the array. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return true; - } - else - return false; + return true; + } + else + return false; } bool is_all(const in bool array[3], const in bool value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bool array[3], const in bool value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_array_vert.vert index b58d275bd98..f8b3ec06553 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out bool array[3], const in bool value); void main (void) { - bool par[3]; - bool ret = false; + bool par[3]; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, true); + // Initialize the entire array to true. + set_all(par, true); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, true) && ret) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, true) && ret) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bool function(in bool par[3]) { - // Return the value of the array. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the array. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return true; - } - else - return false; + return true; + } + else + return false; } bool is_all(const in bool array[3], const in bool value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bool array[3], const in bool value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_empty_frag.frag index da6dbbc2b50..bfc49e26f78 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_empty_frag.frag @@ -33,33 +33,33 @@ bool function(in bool par); void main (void) { - bool par = true; - bool ret = false; + bool par = true; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(par && ret) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(par && ret) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bool function(in bool par) { - // Return the value of the parameter. - if(par) - { - // Test parameter qualifier (default is "in"). - par = false; + // Return the value of the parameter. + if(par) + { + // Test parameter qualifier (default is "in"). + par = false; - return true; - } - else - return false; + return true; + } + else + return false; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_empty_vert.vert index fe819547149..a2d51b77d9e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_in_bool_empty_vert.vert @@ -32,34 +32,34 @@ bool function(in bool par); void main (void) { - bool par = true; - bool ret = false; + bool par = true; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(par && ret) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(par && ret) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bool function(in bool par) { - // Return the value of the parameter. - if(par) - { - // Test parameter qualifier (default is "in"). - par = false; + // Return the value of the parameter. + if(par) + { + // Test parameter qualifier (default is "in"). + par = false; - return true; - } - else - return false; + return true; + } + else + return false; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_array_frag.frag index 383c4b25cee..51adf2723c3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out bool array[3], const in bool value); void main (void) { - bool par[3]; - bool ret = false; + bool par[3]; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, true); + // Initialize the entire array to true. + set_all(par, true); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, false) && ret) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, false) && ret) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bool function(inout bool par[3]) { - // Return the value of the array. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the array. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return true; - } - else - return false; + return true; + } + else + return false; } bool is_all(const in bool array[3], const in bool value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bool array[3], const in bool value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_array_vert.vert index 0c50d1db6a7..43429dc9462 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out bool array[3], const in bool value); void main (void) { - bool par[3]; - bool ret = false; + bool par[3]; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, true); + // Initialize the entire array to true. + set_all(par, true); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, false) && ret) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, false) && ret) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bool function(inout bool par[3]) { - // Return the value of the array. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the array. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return true; - } - else - return false; + return true; + } + else + return false; } bool is_all(const in bool array[3], const in bool value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bool array[3], const in bool value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_empty_frag.frag index 68f4eff3755..af091de6bdd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_empty_frag.frag @@ -33,33 +33,33 @@ bool function(inout bool par); void main (void) { - bool par = true; - bool ret = false; + bool par = true; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(!par && ret) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(!par && ret) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bool function(inout bool par) { - // Return the value of the parameter. - if(par) - { - // Test parameter qualifier (default is "in"). - par = false; + // Return the value of the parameter. + if(par) + { + // Test parameter qualifier (default is "in"). + par = false; - return true; - } - else - return false; + return true; + } + else + return false; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_empty_vert.vert index bd245ce8833..41552dfeef5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_inout_bool_empty_vert.vert @@ -32,34 +32,34 @@ bool function(inout bool par); void main (void) { - bool par = true; - bool ret = false; + bool par = true; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(!par && ret) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(!par && ret) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bool function(inout bool par) { - // Return the value of the parameter. - if(par) - { - // Test parameter qualifier (default is "in"). - par = false; + // Return the value of the parameter. + if(par) + { + // Test parameter qualifier (default is "in"). + par = false; - return true; - } - else - return false; + return true; + } + else + return false; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_array_frag.frag index f598ede7f3e..10df063d00c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_array_frag.frag @@ -35,51 +35,51 @@ void set_all(out bool array[3], const in bool value); void main (void) { - bool par[3]; - bool ret = false; + bool par[3]; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, true); + // Initialize the entire array to true. + set_all(par, true); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, false) && ret) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, false) && ret) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bool function(out bool par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Test parameter qualifier (default is "in"). + set_all(par, false); - return true; + return true; } bool is_all(const in bool array[3], const in bool value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bool array[3], const in bool value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_array_vert.vert index 8c3f47dd746..85615ac6889 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_array_vert.vert @@ -34,52 +34,52 @@ void set_all(out bool array[3], const in bool value); void main (void) { - bool par[3]; - bool ret = false; + bool par[3]; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, true); + // Initialize the entire array to true. + set_all(par, true); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, false) && ret) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, false) && ret) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bool function(out bool par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Test parameter qualifier (default is "in"). + set_all(par, false); - return true; + return true; } bool is_all(const in bool array[3], const in bool value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bool array[3], const in bool value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_empty_frag.frag index 74ac735c10a..0a67173a243 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_empty_frag.frag @@ -33,27 +33,27 @@ bool function(out bool par); void main (void) { - bool par = true; - bool ret = false; + bool par = true; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(!par && ret) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(!par && ret) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bool function(out bool par) { - // Test parameter qualifier (default is "in"). - par = false; + // Test parameter qualifier (default is "in"). + par = false; - return true; + return true; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_empty_vert.vert index 3b84efdc284..92a46a9081e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bool_empty_out_bool_empty_vert.vert @@ -32,28 +32,28 @@ bool function(out bool par); void main (void) { - bool par = true; - bool ret = false; + bool par = true; + bool ret = false; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(!par && ret) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(!par && ret) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bool function(out bool par) { - // Test parameter qualifier (default is "in"). - par = false; + // Test parameter qualifier (default is "in"). + par = false; - return true; + return true; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_frag.frag index 6a88d9bdbf2..f8a77b8988c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out bvec4 array[3], const in bvec4 value); void main (void) { - bvec4 par[3]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[3]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, bvec4(true, true, true, true)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, bvec4(true, true, true, true)) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. bvec4 function(bvec4 par[3]) { - // Return the value of the array. - if(is_all(par, bvec4(true, true, true, true))) - { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Return the value of the array. + if(is_all(par, bvec4(true, true, true, true))) + { + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[3], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[3], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_vert.vert index 44f45e6fea0..1a528b8cfb4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out bvec4 array[3], const in bvec4 value); void main (void) { - bvec4 par[3]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[3]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, bvec4(true, true, true, true)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, bvec4(true, true, true, true)) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. bvec4 function(bvec4 par[3]) { - // Return the value of the array. - if(is_all(par, bvec4(true, true, true, true))) - { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Return the value of the array. + if(is_all(par, bvec4(true, true, true, true))) + { + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[3], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[3], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_frag.frag index 253f472c04d..d2f5c7e2960 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out bvec4 par, const in bool value); void main (void) { - bvec4 par = bvec4(true, true, true, true); - bvec4 ret = bvec4(false, false, false, false); + bvec4 par = bvec4(true, true, true, true); + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, true) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, true) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bvec4 function(bvec4 par) { - // Return the value of the parameter. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the parameter. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 par, const in bool value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_vert.vert index 673cf828995..e3354f23b93 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_empty_bvec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out bvec4 par, const in bool value); void main (void) { - bvec4 par = bvec4(true, true, true, true); - bvec4 ret = bvec4(false, false, false, false); + bvec4 par = bvec4(true, true, true, true); + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, true) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, true) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bvec4 function(bvec4 par) { - // Return the value of the parameter. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the parameter. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 par, const in bool value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_frag.frag index 0294981196d..f4479e6802e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out bvec4 array[3], const in bvec4 value); void main (void) { - bvec4 par[3]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[3]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, bvec4(true, true, true, true)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, bvec4(true, true, true, true)) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. bvec4 function(in bvec4 par[3]) { - // Return the value of the array. - if(is_all(par, bvec4(true, true, true, true))) - { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Return the value of the array. + if(is_all(par, bvec4(true, true, true, true))) + { + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[3], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[3], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_vert.vert index 6d638e06465..ae5dde8038a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out bvec4 array[3], const in bvec4 value); void main (void) { - bvec4 par[3]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[3]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, bvec4(true, true, true, true)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, bvec4(true, true, true, true)) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. bvec4 function(in bvec4 par[3]) { - // Return the value of the array. - if(is_all(par, bvec4(true, true, true, true))) - { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Return the value of the array. + if(is_all(par, bvec4(true, true, true, true))) + { + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[3], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[3], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_frag.frag index daca8de0718..a13cee3abae 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out bvec4 par, const in bool value); void main (void) { - bvec4 par = bvec4(true, true, true, true); - bvec4 ret = bvec4(false, false, false, false); + bvec4 par = bvec4(true, true, true, true); + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, true) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, true) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bvec4 function(in bvec4 par) { - // Return the value of the parameter. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the parameter. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 par, const in bool value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_vert.vert index 85d8882a19f..b919bf6b864 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_in_bvec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out bvec4 par, const in bool value); void main (void) { - bvec4 par = bvec4(true, true, true, true); - bvec4 ret = bvec4(false, false, false, false); + bvec4 par = bvec4(true, true, true, true); + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return true. - if(is_all(par, true) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return true. + if(is_all(par, true) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bvec4 function(in bvec4 par) { - // Return the value of the parameter. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the parameter. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 par, const in bool value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_frag.frag index 9a96ee1f56f..e61a00534bd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out bvec4 array[3], const in bvec4 value); void main (void) { - bvec4 par[3]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[3]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. bvec4 function(inout bvec4 par[3]) { - // Return the value of the array. - if(is_all(par, bvec4(true, true, true, true))) - { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Return the value of the array. + if(is_all(par, bvec4(true, true, true, true))) + { + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[3], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[3], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_vert.vert index 5d2d8623d66..710ff576a3a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out bvec4 array[3], const in bvec4 value); void main (void) { - bvec4 par[3]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[3]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. bvec4 function(inout bvec4 par[3]) { - // Return the value of the array. - if(is_all(par, bvec4(true, true, true, true))) - { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Return the value of the array. + if(is_all(par, bvec4(true, true, true, true))) + { + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[3], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[3], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_frag.frag index 71d9d03600d..5a114e9be3e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_frag.frag @@ -36,94 +36,94 @@ void set_all(out bvec4 array[10], const in bvec4 value); void main (void) { - bvec4 par[10]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[10]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. bvec4 function(inout bvec4 par[10]) { - // Return the value of the array. - if(is_all(par, bvec4(true, true, true, true))) - { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Return the value of the array. + if(is_all(par, bvec4(true, true, true, true))) + { + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[10], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; - if(array[3] != value) - ret = false; - if(array[4] != value) - ret = false; - if(array[5] != value) - ret = false; - if(array[6] != value) - ret = false; - if(array[7] != value) - ret = false; - if(array[8] != value) - ret = false; - if(array[9] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; + if(array[3] != value) + ret = false; + if(array[4] != value) + ret = false; + if(array[5] != value) + ret = false; + if(array[6] != value) + ret = false; + if(array[7] != value) + ret = false; + if(array[8] != value) + ret = false; + if(array[9] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[10], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; - array[3] = value; - array[4] = value; - array[5] = value; - array[6] = value; - array[7] = value; - array[8] = value; - array[9] = value; + array[0] = value; + array[1] = value; + array[2] = value; + array[3] = value; + array[4] = value; + array[5] = value; + array[6] = value; + array[7] = value; + array[8] = value; + array[9] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_vert.vert index e12d31ea7e6..92f5db9a4c6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_bigarray_vert.vert @@ -35,95 +35,95 @@ void set_all(out bvec4 array[10], const in bvec4 value); void main (void) { - bvec4 par[10]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[10]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. bvec4 function(inout bvec4 par[10]) { - // Return the value of the array. - if(is_all(par, bvec4(true, true, true, true))) - { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Return the value of the array. + if(is_all(par, bvec4(true, true, true, true))) + { + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[10], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; - if(array[3] != value) - ret = false; - if(array[4] != value) - ret = false; - if(array[5] != value) - ret = false; - if(array[6] != value) - ret = false; - if(array[7] != value) - ret = false; - if(array[8] != value) - ret = false; - if(array[9] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; + if(array[3] != value) + ret = false; + if(array[4] != value) + ret = false; + if(array[5] != value) + ret = false; + if(array[6] != value) + ret = false; + if(array[7] != value) + ret = false; + if(array[8] != value) + ret = false; + if(array[9] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[10], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; - array[3] = value; - array[4] = value; - array[5] = value; - array[6] = value; - array[7] = value; - array[8] = value; - array[9] = value; + array[0] = value; + array[1] = value; + array[2] = value; + array[3] = value; + array[4] = value; + array[5] = value; + array[6] = value; + array[7] = value; + array[8] = value; + array[9] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_frag.frag index 000360d4405..e1f4a1f915d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out bvec4 par, const in bool value); void main (void) { - bvec4 par = bvec4(true, true, true, true); - bvec4 ret = bvec4(false, false, false, false); + bvec4 par = bvec4(true, true, true, true); + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, false) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, false) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bvec4 function(inout bvec4 par) { - // Return the value of the parameter. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the parameter. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 par, const in bool value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_vert.vert index 5c60578516c..4f8820bc45b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_inout_bvec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out bvec4 par, const in bool value); void main (void) { - bvec4 par = bvec4(true, true, true, true); - bvec4 ret = bvec4(false, false, false, false); + bvec4 par = bvec4(true, true, true, true); + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, false) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, false) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bvec4 function(inout bvec4 par) { - // Return the value of the parameter. - if(is_all(par, true)) - { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Return the value of the parameter. + if(is_all(par, true)) + { + // Test parameter qualifier (default is "in"). + set_all(par, false); - return bvec4(true, true, true, true); - } - else - return bvec4(false, false, false, false); + return bvec4(true, true, true, true); + } + else + return bvec4(false, false, false, false); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 par, const in bool value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_frag.frag index f62a0a4d841..e3f50a63f12 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_frag.frag @@ -36,67 +36,67 @@ void set_all(out bvec4 array[3], const in bvec4 value); void main (void) { - bvec4 par[3]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[3]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. bvec4 function(out bvec4 par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); + return bvec4(true, true, true, true); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[3], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[3], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_vert.vert index 1f9bc63c093..b64a447b196 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_array_vert.vert @@ -35,68 +35,68 @@ void set_all(out bvec4 array[3], const in bvec4 value); void main (void) { - bvec4 par[3]; - bvec4 ret = bvec4(false, false, false, false); + bvec4 par[3]; + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to true. - set_all(par, bvec4(true, true, true, true)); + // Initialize the entire array to true. + set_all(par, bvec4(true, true, true, true)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, bvec4(false, false, false, false)) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. bvec4 function(out bvec4 par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, bvec4(false, false, false, false)); + // Test parameter qualifier (default is "in"). + set_all(par, bvec4(false, false, false, false)); - return bvec4(true, true, true, true); + return bvec4(true, true, true, true); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in bvec4 array[3], const in bvec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 array[3], const in bvec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_frag.frag index 174df3409ef..1f923620085 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_frag.frag @@ -35,51 +35,51 @@ void set_all(out bvec4 par, const in bool value); void main (void) { - bvec4 par = bvec4(true, true, true, true); - bvec4 ret = bvec4(false, false, false, false); + bvec4 par = bvec4(true, true, true, true); + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, false) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, false) && is_all(ret, true)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. bvec4 function(out bvec4 par) { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Test parameter qualifier (default is "in"). + set_all(par, false); - return bvec4(true, true, true, true); + return bvec4(true, true, true, true); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 par, const in bool value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_vert.vert index b4c0c53e953..99c318fe7e1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/bvec4_empty_out_bvec4_empty_vert.vert @@ -34,52 +34,52 @@ void set_all(out bvec4 par, const in bool value); void main (void) { - bvec4 par = bvec4(true, true, true, true); - bvec4 ret = bvec4(false, false, false, false); + bvec4 par = bvec4(true, true, true, true); + bvec4 ret = bvec4(false, false, false, false); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return true. - if(is_all(par, false) && is_all(ret, true)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return true. + if(is_all(par, false) && is_all(ret, true)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. bvec4 function(out bvec4 par) { - // Test parameter qualifier (default is "in"). - set_all(par, false); + // Test parameter qualifier (default is "in"). + set_all(par, false); - return bvec4(true, true, true, true); + return bvec4(true, true, true, true); } bool is_all(const in bvec4 par, const in bool value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out bvec4 par, const in bool value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_array_frag.frag index 4ef2ae2b979..b3a130eec1f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out float array[3], const in float value); void main (void) { - float par[3]; - float ret = 0.0; + float par[3]; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, 1.0); + // Initialize the entire array to 1.0. + set_all(par, 1.0); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && (ret == 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. float function(float par[3]) { - // Return the value of the array. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the array. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } bool is_all(const in float array[3], const in float value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out float array[3], const in float value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_array_vert.vert index 1efe098847d..4763c1ad8ce 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out float array[3], const in float value); void main (void) { - float par[3]; - float ret = 0.0; + float par[3]; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, 1.0); + // Initialize the entire array to 1.0. + set_all(par, 1.0); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && (ret == 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. float function(float par[3]) { - // Return the value of the array. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the array. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } bool is_all(const in float array[3], const in float value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out float array[3], const in float value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_empty_frag.frag index cb08c8587f1..51d735717da 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_empty_frag.frag @@ -33,33 +33,33 @@ float function(float par); void main (void) { - float par = 1.0; - float ret = 0.0; + float par = 1.0; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if((par == 1.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if((par == 1.0) && (ret == 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. float function(float par) { - // Return the value of the parameter. - if(par == 1.0) - { - // Test parameter qualifier (default is "in"). - par = 0.0; + // Return the value of the parameter. + if(par == 1.0) + { + // Test parameter qualifier (default is "in"). + par = 0.0; - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_empty_vert.vert index 712afb72c3c..f41995b3ef8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_empty_float_empty_vert.vert @@ -32,34 +32,34 @@ float function(float par); void main (void) { - float par = 1.0; - float ret = 0.0; + float par = 1.0; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if((par == 1.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if((par == 1.0) && (ret == 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. float function(float par) { - // Return the value of the parameter. - if(par == 1.0) - { - // Test parameter qualifier (default is "in"). - par = 0.0; + // Return the value of the parameter. + if(par == 1.0) + { + // Test parameter qualifier (default is "in"). + par = 0.0; - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_array_frag.frag index 0f22071bb06..33e0ab61112 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out float array[3], const in float value); void main (void) { - float par[3]; - float ret = 0.0; + float par[3]; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, 1.0); + // Initialize the entire array to 1.0. + set_all(par, 1.0); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && (ret == 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. float function(in float par[3]) { - // Return the value of the array. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the array. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } bool is_all(const in float array[3], const in float value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out float array[3], const in float value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_array_vert.vert index 2cab511e806..a685e7345ef 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out float array[3], const in float value); void main (void) { - float par[3]; - float ret = 0.0; + float par[3]; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, 1.0); + // Initialize the entire array to 1.0. + set_all(par, 1.0); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && (ret == 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. float function(in float par[3]) { - // Return the value of the array. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the array. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } bool is_all(const in float array[3], const in float value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out float array[3], const in float value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_empty_frag.frag index e3aeb54eab1..09870afe500 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_empty_frag.frag @@ -33,33 +33,33 @@ float function(in float par); void main (void) { - float par = 1.0; - float ret = 0.0; + float par = 1.0; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if((par == 1.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if((par == 1.0) && (ret == 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. float function(in float par) { - // Return the value of the parameter. - if(par == 1.0) - { - // Test parameter qualifier (default is "in"). - par = 0.0; + // Return the value of the parameter. + if(par == 1.0) + { + // Test parameter qualifier (default is "in"). + par = 0.0; - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_empty_vert.vert index 47146102863..f1f47f3034a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_in_float_empty_vert.vert @@ -32,34 +32,34 @@ float function(in float par); void main (void) { - float par = 1.0; - float ret = 0.0; + float par = 1.0; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if((par == 1.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if((par == 1.0) && (ret == 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. float function(in float par) { - // Return the value of the parameter. - if(par == 1.0) - { - // Test parameter qualifier (default is "in"). - par = 0.0; + // Return the value of the parameter. + if(par == 1.0) + { + // Test parameter qualifier (default is "in"). + par = 0.0; - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_array_frag.frag index fd69f7d171d..fd0fa109691 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out float array[3], const in float value); void main (void) { - float par[3]; - float ret = 0.0; + float par[3]; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, 1.0); + // Initialize the entire array to 1.0. + set_all(par, 1.0); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && (ret == 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. float function(inout float par[3]) { - // Return the value of the array. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the array. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } bool is_all(const in float array[3], const in float value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out float array[3], const in float value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_array_vert.vert index c91d06f7d1f..d4c82f266a7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out float array[3], const in float value); void main (void) { - float par[3]; - float ret = 0.0; + float par[3]; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, 1.0); + // Initialize the entire array to 1.0. + set_all(par, 1.0); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && (ret == 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. float function(inout float par[3]) { - // Return the value of the array. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the array. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } bool is_all(const in float array[3], const in float value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out float array[3], const in float value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_empty_frag.frag index c986ee06754..ce0d3d0c5b9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_empty_frag.frag @@ -33,33 +33,33 @@ float function(inout float par); void main (void) { - float par = 1.0; - float ret = 0.0; + float par = 1.0; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if((par == 0.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if((par == 0.0) && (ret == 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. float function(inout float par) { - // Return the value of the parameter. - if(par == 1.0) - { - // Test parameter qualifier (default is "in"). - par = 0.0; + // Return the value of the parameter. + if(par == 1.0) + { + // Test parameter qualifier (default is "in"). + par = 0.0; - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_empty_vert.vert index 1c5883c4590..04d063561ae 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_inout_float_empty_vert.vert @@ -32,34 +32,34 @@ float function(inout float par); void main (void) { - float par = 1.0; - float ret = 0.0; + float par = 1.0; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if((par == 0.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if((par == 0.0) && (ret == 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. float function(inout float par) { - // Return the value of the parameter. - if(par == 1.0) - { - // Test parameter qualifier (default is "in"). - par = 0.0; + // Return the value of the parameter. + if(par == 1.0) + { + // Test parameter qualifier (default is "in"). + par = 0.0; - return 1.0; - } - else - return 0.0; + return 1.0; + } + else + return 0.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_array_frag.frag index 45f9269e99b..3df81949369 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_array_frag.frag @@ -35,51 +35,51 @@ void set_all(out float array[3], const in float value); void main (void) { - float par[3]; - float ret = 0.0; + float par[3]; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, 1.0); + // Initialize the entire array to 1.0. + set_all(par, 1.0); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && (ret == 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. float function(out float par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return 1.0; + return 1.0; } bool is_all(const in float array[3], const in float value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out float array[3], const in float value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_array_vert.vert index 43478c9a6b8..212f4e846b3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_array_vert.vert @@ -34,52 +34,52 @@ void set_all(out float array[3], const in float value); void main (void) { - float par[3]; - float ret = 0.0; + float par[3]; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, 1.0); + // Initialize the entire array to 1.0. + set_all(par, 1.0); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && (ret == 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. float function(out float par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return 1.0; + return 1.0; } bool is_all(const in float array[3], const in float value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out float array[3], const in float value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_empty_frag.frag index fe29e1b946c..c0aafb071e5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_empty_frag.frag @@ -33,27 +33,27 @@ float function(out float par); void main (void) { - float par = 1.0; - float ret = 0.0; + float par = 1.0; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if((par == 0.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if((par == 0.0) && (ret == 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. float function(out float par) { - // Test parameter qualifier (default is "in"). - par = 0.0; + // Test parameter qualifier (default is "in"). + par = 0.0; - return 1.0; + return 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_empty_vert.vert index f917bb49a72..48837c9f3d8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/float_empty_out_float_empty_vert.vert @@ -32,28 +32,28 @@ float function(out float par); void main (void) { - float par = 1.0; - float ret = 0.0; + float par = 1.0; + float ret = 0.0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if((par == 0.0) && (ret == 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if((par == 0.0) && (ret == 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. float function(out float par) { - // Test parameter qualifier (default is "in"). - par = 0.0; + // Test parameter qualifier (default is "in"). + par = 0.0; - return 1.0; + return 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_001_to_008.html index 51fc8031279..309e4b49178 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_009_to_016.html index 42a244431c1..3a055a2e567 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_017_to_024.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_017_to_024.html index fe6ff72b2c4..72e2585af43 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_017_to_024.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_017_to_024.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_017_to_024.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_025_to_032.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_025_to_032.html index 5a44115740c..32a7ef534df 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_025_to_032.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_025_to_032.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_025_to_032.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_033_to_040.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_033_to_040.html index 2397ed0c095..4a8723664b2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_033_to_040.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_033_to_040.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_033_to_040.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_041_to_048.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_041_to_048.html index 8d73013230d..0d3aee92783 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_041_to_048.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_041_to_048.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_041_to_048.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_049_to_056.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_049_to_056.html index 7186229c5f0..4cbdf62fc97 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_049_to_056.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_049_to_056.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_049_to_056.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_057_to_064.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_057_to_064.html index e203aba7973..2c2545718b7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_057_to_064.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_057_to_064.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_057_to_064.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_065_to_072.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_065_to_072.html index 915378f42d3..d01ded0bd32 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_065_to_072.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_065_to_072.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_065_to_072.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_073_to_080.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_073_to_080.html index 1688a21fd4e..969754f71ef 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_073_to_080.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_073_to_080.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_073_to_080.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_081_to_088.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_081_to_088.html index 17291894015..08c0e1163e4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_081_to_088.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_081_to_088.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_081_to_088.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_089_to_096.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_089_to_096.html index b1e157dd127..35158155869 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_089_to_096.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_089_to_096.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_089_to_096.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_097_to_104.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_097_to_104.html index 3ddd4249fe7..2d5ef101d9f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_097_to_104.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_097_to_104.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_097_to_104.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_105_to_112.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_105_to_112.html index 470e4b954ae..7d826450fd4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_105_to_112.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_105_to_112.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_105_to_112.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_113_to_120.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_113_to_120.html index 97e49283661..c97b0c2d4a2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_113_to_120.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_113_to_120.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_113_to_120.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_121_to_126.html b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_121_to_126.html index 5141746f55f..10eaee12a88 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_121_to_126.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/functions_121_to_126.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: functions_121_to_126.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_array_frag.frag index 36a904338cb..59a502afe66 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out int array[3], const in int value); void main (void) { - int par[3]; - int ret = 0; + int par[3]; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, 1); + // Initialize the entire array to 1. + set_all(par, 1); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, 1) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, 1) && (ret == 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. int function(int par[3]) { - // Return the value of the array. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the array. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return 1; - } - else - return 0; + return 1; + } + else + return 0; } bool is_all(const in int array[3], const in int value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out int array[3], const in int value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_array_vert.vert index 9506f45bb4d..8b9e0417deb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out int array[3], const in int value); void main (void) { - int par[3]; - int ret = 0; + int par[3]; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, 1); + // Initialize the entire array to 1. + set_all(par, 1); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, 1) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, 1) && (ret == 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. int function(int par[3]) { - // Return the value of the array. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the array. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return 1; - } - else - return 0; + return 1; + } + else + return 0; } bool is_all(const in int array[3], const in int value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out int array[3], const in int value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_empty_frag.frag index ac6a68b851b..3f9fc443807 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_empty_frag.frag @@ -33,33 +33,33 @@ int function(int par); void main (void) { - int par = 1; - int ret = 0; + int par = 1; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if((par == 1) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if((par == 1) && (ret == 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. int function(int par) { - // Return the value of the parameter. - if(par == 1) - { - // Test parameter qualifier (default is "in"). - par = 0; + // Return the value of the parameter. + if(par == 1) + { + // Test parameter qualifier (default is "in"). + par = 0; - return 1; - } - else - return 0; + return 1; + } + else + return 0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_empty_vert.vert index 8381f6fe3ee..73e895d7f43 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_empty_int_empty_vert.vert @@ -32,34 +32,34 @@ int function(int par); void main (void) { - int par = 1; - int ret = 0; + int par = 1; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if((par == 1) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if((par == 1) && (ret == 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. int function(int par) { - // Return the value of the parameter. - if(par == 1) - { - // Test parameter qualifier (default is "in"). - par = 0; + // Return the value of the parameter. + if(par == 1) + { + // Test parameter qualifier (default is "in"). + par = 0; - return 1; - } - else - return 0; + return 1; + } + else + return 0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_array_frag.frag index 2584a866150..b9e2910bcc4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out int array[3], const in int value); void main (void) { - int par[3]; - int ret = 0; + int par[3]; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, 1); + // Initialize the entire array to 1. + set_all(par, 1); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, 1) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, 1) && (ret == 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. int function(in int par[3]) { - // Return the value of the array. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the array. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return 1; - } - else - return 0; + return 1; + } + else + return 0; } bool is_all(const in int array[3], const in int value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out int array[3], const in int value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_array_vert.vert index cff8a203586..3d807a18ebc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out int array[3], const in int value); void main (void) { - int par[3]; - int ret = 0; + int par[3]; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, 1); + // Initialize the entire array to 1. + set_all(par, 1); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, 1) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, 1) && (ret == 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. int function(in int par[3]) { - // Return the value of the array. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the array. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return 1; - } - else - return 0; + return 1; + } + else + return 0; } bool is_all(const in int array[3], const in int value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out int array[3], const in int value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_empty_frag.frag index 0c36aff593d..4be3d649c7d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_empty_frag.frag @@ -33,33 +33,33 @@ int function(in int par); void main (void) { - int par = 1; - int ret = 0; + int par = 1; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if((par == 1) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if((par == 1) && (ret == 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. int function(in int par) { - // Return the value of the parameter. - if(par == 1) - { - // Test parameter qualifier (default is "in"). - par = 0; + // Return the value of the parameter. + if(par == 1) + { + // Test parameter qualifier (default is "in"). + par = 0; - return 1; - } - else - return 0; + return 1; + } + else + return 0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_empty_vert.vert index 2bc044cae7f..020d7949257 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_in_int_empty_vert.vert @@ -32,34 +32,34 @@ int function(in int par); void main (void) { - int par = 1; - int ret = 0; + int par = 1; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if((par == 1) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if((par == 1) && (ret == 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. int function(in int par) { - // Return the value of the parameter. - if(par == 1) - { - // Test parameter qualifier (default is "in"). - par = 0; + // Return the value of the parameter. + if(par == 1) + { + // Test parameter qualifier (default is "in"). + par = 0; - return 1; - } - else - return 0; + return 1; + } + else + return 0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_array_frag.frag index bf2ced7d653..91d71268d7a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_array_frag.frag @@ -35,57 +35,57 @@ void set_all(out int array[3], const in int value); void main (void) { - int par[3]; - int ret = 0; + int par[3]; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, 1); + // Initialize the entire array to 1. + set_all(par, 1); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, 0) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, 0) && (ret == 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. int function(inout int par[3]) { - // Return the value of the array. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the array. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return 1; - } - else - return 0; + return 1; + } + else + return 0; } bool is_all(const in int array[3], const in int value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out int array[3], const in int value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_array_vert.vert index 76f81ae9e10..efaf9f449c7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_array_vert.vert @@ -34,58 +34,58 @@ void set_all(out int array[3], const in int value); void main (void) { - int par[3]; - int ret = 0; + int par[3]; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, 1); + // Initialize the entire array to 1. + set_all(par, 1); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, 0) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, 0) && (ret == 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. int function(inout int par[3]) { - // Return the value of the array. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the array. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return 1; - } - else - return 0; + return 1; + } + else + return 0; } bool is_all(const in int array[3], const in int value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out int array[3], const in int value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_empty_frag.frag index 5f72e1eb0fe..e2780c41cab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_empty_frag.frag @@ -33,33 +33,33 @@ int function(inout int par); void main (void) { - int par = 1; - int ret = 0; + int par = 1; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if((par == 0) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if((par == 0) && (ret == 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. int function(inout int par) { - // Return the value of the parameter. - if(par == 1) - { - // Test parameter qualifier (default is "in"). - par = 0; + // Return the value of the parameter. + if(par == 1) + { + // Test parameter qualifier (default is "in"). + par = 0; - return 1; - } - else - return 0; + return 1; + } + else + return 0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_empty_vert.vert index b2587b06fb6..e252ac4cf45 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_inout_int_empty_vert.vert @@ -32,34 +32,34 @@ int function(inout int par); void main (void) { - int par = 1; - int ret = 0; + int par = 1; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if((par == 0) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if((par == 0) && (ret == 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. int function(inout int par) { - // Return the value of the parameter. - if(par == 1) - { - // Test parameter qualifier (default is "in"). - par = 0; + // Return the value of the parameter. + if(par == 1) + { + // Test parameter qualifier (default is "in"). + par = 0; - return 1; - } - else - return 0; + return 1; + } + else + return 0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_array_frag.frag index 5770868842c..a46c860f841 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_array_frag.frag @@ -35,51 +35,51 @@ void set_all(out int array[3], const in int value); void main (void) { - int par[3]; - int ret = 0; + int par[3]; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, 1); + // Initialize the entire array to 1. + set_all(par, 1); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, 0) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, 0) && (ret == 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. int function(out int par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return 1; + return 1; } bool is_all(const in int array[3], const in int value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out int array[3], const in int value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_array_vert.vert index 26b4e5ebb05..5dd10b83375 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_array_vert.vert @@ -34,52 +34,52 @@ void set_all(out int array[3], const in int value); void main (void) { - int par[3]; - int ret = 0; + int par[3]; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, 1); + // Initialize the entire array to 1. + set_all(par, 1); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, 0) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, 0) && (ret == 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. int function(out int par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return 1; + return 1; } bool is_all(const in int array[3], const in int value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out int array[3], const in int value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_empty_frag.frag index 8f67f124582..822948a2d9e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_empty_frag.frag @@ -33,27 +33,27 @@ int function(out int par); void main (void) { - int par = 1; - int ret = 0; + int par = 1; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if((par == 0) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if((par == 0) && (ret == 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. int function(out int par) { - // Test parameter qualifier (default is "in"). - par = 0; + // Test parameter qualifier (default is "in"). + par = 0; - return 1; + return 1; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_empty_vert.vert index d6856863206..6a5d0b85c32 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/int_empty_out_int_empty_vert.vert @@ -32,28 +32,28 @@ int function(out int par); void main (void) { - int par = 1; - int ret = 0; + int par = 1; + int ret = 0; - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if((par == 0) && (ret == 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if((par == 0) && (ret == 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. int function(out int par) { - // Test parameter qualifier (default is "in"). - par = 0; + // Test parameter qualifier (default is "in"). + par = 0; - return 1; + return 1; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_frag.frag index 838e8d42af8..1ee72fd7fe6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out ivec4 array[3], const in ivec4 value); void main (void) { - ivec4 par[3]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[3]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, ivec4(1, 1, 1, 1)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, ivec4(1, 1, 1, 1)) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. ivec4 function(ivec4 par[3]) { - // Return the value of the array. - if(is_all(par, ivec4(1, 1, 1, 1))) - { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Return the value of the array. + if(is_all(par, ivec4(1, 1, 1, 1))) + { + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[3], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[3], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_vert.vert index 80b2d77f9bd..82be12d556d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out ivec4 array[3], const in ivec4 value); void main (void) { - ivec4 par[3]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[3]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, ivec4(1, 1, 1, 1)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, ivec4(1, 1, 1, 1)) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. ivec4 function(ivec4 par[3]) { - // Return the value of the array. - if(is_all(par, ivec4(1, 1, 1, 1))) - { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Return the value of the array. + if(is_all(par, ivec4(1, 1, 1, 1))) + { + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[3], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[3], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_frag.frag index 21adbbff534..1a66f95e7a6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out ivec4 par, const in int value); void main (void) { - ivec4 par = ivec4(1, 1, 1, 1); - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par = ivec4(1, 1, 1, 1); + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, 1) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, 1) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. ivec4 function(ivec4 par) { - // Return the value of the parameter. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the parameter. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 par, const in int value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_vert.vert index 1e4752fbc44..3680ca05101 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_empty_ivec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out ivec4 par, const in int value); void main (void) { - ivec4 par = ivec4(1, 1, 1, 1); - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par = ivec4(1, 1, 1, 1); + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, 1) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, 1) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. ivec4 function(ivec4 par) { - // Return the value of the parameter. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the parameter. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 par, const in int value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_frag.frag index 2b4ed085f0c..7aa71b48a26 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out ivec4 array[3], const in ivec4 value); void main (void) { - ivec4 par[3]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[3]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, ivec4(1, 1, 1, 1)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, ivec4(1, 1, 1, 1)) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. ivec4 function(in ivec4 par[3]) { - // Return the value of the array. - if(is_all(par, ivec4(1, 1, 1, 1))) - { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Return the value of the array. + if(is_all(par, ivec4(1, 1, 1, 1))) + { + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[3], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[3], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_vert.vert index 51bf4e7f1bf..df24cc8ff79 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out ivec4 array[3], const in ivec4 value); void main (void) { - ivec4 par[3]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[3]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, ivec4(1, 1, 1, 1)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, ivec4(1, 1, 1, 1)) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. ivec4 function(in ivec4 par[3]) { - // Return the value of the array. - if(is_all(par, ivec4(1, 1, 1, 1))) - { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Return the value of the array. + if(is_all(par, ivec4(1, 1, 1, 1))) + { + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[3], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[3], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_frag.frag index af08ef5b64b..bc6c03adc4e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out ivec4 par, const in int value); void main (void) { - ivec4 par = ivec4(1, 1, 1, 1); - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par = ivec4(1, 1, 1, 1); + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, 1) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, 1) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. ivec4 function(in ivec4 par) { - // Return the value of the parameter. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the parameter. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 par, const in int value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_vert.vert index 97a3c9eb113..1f0e3cd2b13 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_in_ivec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out ivec4 par, const in int value); void main (void) { - ivec4 par = ivec4(1, 1, 1, 1); - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par = ivec4(1, 1, 1, 1); + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1. - if(is_all(par, 1) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1. + if(is_all(par, 1) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. ivec4 function(in ivec4 par) { - // Return the value of the parameter. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the parameter. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 par, const in int value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_frag.frag index f57d979e8a1..4aae9eebf67 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out ivec4 array[3], const in ivec4 value); void main (void) { - ivec4 par[3]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[3]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. ivec4 function(inout ivec4 par[3]) { - // Return the value of the array. - if(is_all(par, ivec4(1, 1, 1, 1))) - { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Return the value of the array. + if(is_all(par, ivec4(1, 1, 1, 1))) + { + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[3], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[3], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_vert.vert index 4828ef86149..069dae62c65 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out ivec4 array[3], const in ivec4 value); void main (void) { - ivec4 par[3]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[3]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. ivec4 function(inout ivec4 par[3]) { - // Return the value of the array. - if(is_all(par, ivec4(1, 1, 1, 1))) - { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Return the value of the array. + if(is_all(par, ivec4(1, 1, 1, 1))) + { + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[3], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[3], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_frag.frag index ef44a18ef03..d2f509df7dc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_frag.frag @@ -36,94 +36,94 @@ void set_all(out ivec4 array[10], const in ivec4 value); void main (void) { - ivec4 par[10]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[10]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. ivec4 function(inout ivec4 par[10]) { - // Return the value of the array. - if(is_all(par, ivec4(1, 1, 1, 1))) - { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Return the value of the array. + if(is_all(par, ivec4(1, 1, 1, 1))) + { + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[10], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; - if(array[3] != value) - ret = false; - if(array[4] != value) - ret = false; - if(array[5] != value) - ret = false; - if(array[6] != value) - ret = false; - if(array[7] != value) - ret = false; - if(array[8] != value) - ret = false; - if(array[9] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; + if(array[3] != value) + ret = false; + if(array[4] != value) + ret = false; + if(array[5] != value) + ret = false; + if(array[6] != value) + ret = false; + if(array[7] != value) + ret = false; + if(array[8] != value) + ret = false; + if(array[9] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[10], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; - array[3] = value; - array[4] = value; - array[5] = value; - array[6] = value; - array[7] = value; - array[8] = value; - array[9] = value; + array[0] = value; + array[1] = value; + array[2] = value; + array[3] = value; + array[4] = value; + array[5] = value; + array[6] = value; + array[7] = value; + array[8] = value; + array[9] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_vert.vert index ed26defea66..0c69946a165 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_bigarray_vert.vert @@ -35,95 +35,95 @@ void set_all(out ivec4 array[10], const in ivec4 value); void main (void) { - ivec4 par[10]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[10]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. ivec4 function(inout ivec4 par[10]) { - // Return the value of the array. - if(is_all(par, ivec4(1, 1, 1, 1))) - { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Return the value of the array. + if(is_all(par, ivec4(1, 1, 1, 1))) + { + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[10], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; - if(array[3] != value) - ret = false; - if(array[4] != value) - ret = false; - if(array[5] != value) - ret = false; - if(array[6] != value) - ret = false; - if(array[7] != value) - ret = false; - if(array[8] != value) - ret = false; - if(array[9] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; + if(array[3] != value) + ret = false; + if(array[4] != value) + ret = false; + if(array[5] != value) + ret = false; + if(array[6] != value) + ret = false; + if(array[7] != value) + ret = false; + if(array[8] != value) + ret = false; + if(array[9] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[10], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; - array[3] = value; - array[4] = value; - array[5] = value; - array[6] = value; - array[7] = value; - array[8] = value; - array[9] = value; + array[0] = value; + array[1] = value; + array[2] = value; + array[3] = value; + array[4] = value; + array[5] = value; + array[6] = value; + array[7] = value; + array[8] = value; + array[9] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_frag.frag index b9a65d09dba..aa75e3262b5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out ivec4 par, const in int value); void main (void) { - ivec4 par = ivec4(1, 1, 1, 1); - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par = ivec4(1, 1, 1, 1); + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, 0) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, 0) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. ivec4 function(inout ivec4 par) { - // Return the value of the parameter. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the parameter. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 par, const in int value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_vert.vert index 26381f22f28..40e9db60ca9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_inout_ivec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out ivec4 par, const in int value); void main (void) { - ivec4 par = ivec4(1, 1, 1, 1); - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par = ivec4(1, 1, 1, 1); + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, 0) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, 0) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. ivec4 function(inout ivec4 par) { - // Return the value of the parameter. - if(is_all(par, 1)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Return the value of the parameter. + if(is_all(par, 1)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return ivec4(1, 1, 1, 1); - } - else - return ivec4(0, 0, 0, 0); + return ivec4(1, 1, 1, 1); + } + else + return ivec4(0, 0, 0, 0); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 par, const in int value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_frag.frag index 454a4b37e1c..88ec4b637a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_frag.frag @@ -36,67 +36,67 @@ void set_all(out ivec4 array[3], const in ivec4 value); void main (void) { - ivec4 par[3]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[3]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. ivec4 function(out ivec4 par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); + return ivec4(1, 1, 1, 1); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[3], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[3], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_vert.vert index 68e40012c51..c33908198fd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_array_vert.vert @@ -35,68 +35,68 @@ void set_all(out ivec4 array[3], const in ivec4 value); void main (void) { - ivec4 par[3]; - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par[3]; + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1. - set_all(par, ivec4(1, 1, 1, 1)); + // Initialize the entire array to 1. + set_all(par, ivec4(1, 1, 1, 1)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, ivec4(0, 0, 0, 0)) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. ivec4 function(out ivec4 par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, ivec4(0, 0, 0, 0)); + // Test parameter qualifier (default is "in"). + set_all(par, ivec4(0, 0, 0, 0)); - return ivec4(1, 1, 1, 1); + return ivec4(1, 1, 1, 1); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in ivec4 array[3], const in ivec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 array[3], const in ivec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_frag.frag index 0b6b11d17ec..9886a204f3e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_frag.frag @@ -35,51 +35,51 @@ void set_all(out ivec4 par, const in int value); void main (void) { - ivec4 par = ivec4(1, 1, 1, 1); - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par = ivec4(1, 1, 1, 1); + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, 0) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, 0) && is_all(ret, 1)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. ivec4 function(out ivec4 par) { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return ivec4(1, 1, 1, 1); + return ivec4(1, 1, 1, 1); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 par, const in int value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_vert.vert index 070c081aab6..1e376e399a4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/ivec4_empty_out_ivec4_empty_vert.vert @@ -34,52 +34,52 @@ void set_all(out ivec4 par, const in int value); void main (void) { - ivec4 par = ivec4(1, 1, 1, 1); - ivec4 ret = ivec4(0, 0, 0, 0); + ivec4 par = ivec4(1, 1, 1, 1); + ivec4 ret = ivec4(0, 0, 0, 0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1. - if(is_all(par, 0) && is_all(ret, 1)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1. + if(is_all(par, 0) && is_all(ret, 1)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. ivec4 function(out ivec4 par) { - // Test parameter qualifier (default is "in"). - set_all(par, 0); + // Test parameter qualifier (default is "in"). + set_all(par, 0); - return ivec4(1, 1, 1, 1); + return ivec4(1, 1, 1, 1); } bool is_all(const in ivec4 par, const in int value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out ivec4 par, const in int value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_frag.frag index 1e26035bb17..9ee51b4a870 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_frag.frag @@ -29,13 +29,13 @@ precision mediump float; varying vec4 color; const mat4 mat_ones = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); const mat4 mat_zeros = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); // Function declarations. mat4 function(mat4 par[2]); @@ -45,97 +45,97 @@ void set_all(out mat4 array[2], const in mat4 value); void main (void) { - mat4 par[2]; - mat4 ret = mat_zeros; + mat4 par[2]; + mat4 ret = mat_zeros; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, mat_ones); + // Initialize the entire array to 1.0. + set_all(par, mat_ones); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, mat_ones) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, mat_ones) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. mat4 function(mat4 par[2]) { - // Return the value of the array. - if(is_all(par, mat_ones)) - { - // Test parameter qualifier (default is "in"). - set_all(par, mat_zeros); + // Return the value of the array. + if(is_all(par, mat_ones)) + { + // Test parameter qualifier (default is "in"). + set_all(par, mat_zeros); - return mat_ones; - } - else - return mat_zeros; + return mat_ones; + } + else + return mat_zeros; } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in mat4 array[2], const in mat4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 array[2], const in mat4 value) { - array[0] = value; - array[1] = value; + array[0] = value; + array[1] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_vert.vert index f736539ce82..fd810d298a5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_array_vert.vert @@ -28,13 +28,13 @@ uniform mat4 gtf_ModelViewProjectionMatrix; varying vec4 color; const mat4 mat_ones = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); const mat4 mat_zeros = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); // Function declarations. mat4 function(mat4 par[2]); @@ -44,98 +44,98 @@ void set_all(out mat4 array[2], const in mat4 value); void main (void) { - mat4 par[2]; - mat4 ret = mat_zeros; + mat4 par[2]; + mat4 ret = mat_zeros; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, mat_ones); + // Initialize the entire array to 1.0. + set_all(par, mat_ones); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, mat_ones) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, mat_ones) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. mat4 function(mat4 par[2]) { - // Return the value of the array. - if(is_all(par, mat_ones)) - { - // Test parameter qualifier (default is "in"). - set_all(par, mat_zeros); + // Return the value of the array. + if(is_all(par, mat_ones)) + { + // Test parameter qualifier (default is "in"). + set_all(par, mat_zeros); - return mat_ones; - } - else - return mat_zeros; + return mat_ones; + } + else + return mat_zeros; } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in mat4 array[2], const in mat4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 array[2], const in mat4 value) { - array[0] = value; - array[1] = value; + array[0] = value; + array[1] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_frag.frag index bd8c939dc42..284dcaa2e57 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_frag.frag @@ -35,111 +35,111 @@ void set_all(out mat4 par, const in float value); void main (void) { - mat4 par = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + mat4 par = mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. mat4 function(mat4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - } - else - return mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + return mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + } + else + return mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 par, const in float value) { - par[0][0] = value; - par[0][1] = value; - par[0][2] = value; - par[0][3] = value; + par[0][0] = value; + par[0][1] = value; + par[0][2] = value; + par[0][3] = value; - par[1][0] = value; - par[1][1] = value; - par[1][2] = value; - par[1][3] = value; + par[1][0] = value; + par[1][1] = value; + par[1][2] = value; + par[1][3] = value; - par[2][0] = value; - par[2][1] = value; - par[2][2] = value; - par[2][3] = value; + par[2][0] = value; + par[2][1] = value; + par[2][2] = value; + par[2][3] = value; - par[3][0] = value; - par[3][1] = value; - par[3][2] = value; - par[3][3] = value; + par[3][0] = value; + par[3][1] = value; + par[3][2] = value; + par[3][3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_vert.vert index c5c46000a55..c3e32d3887f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_empty_mat4_empty_vert.vert @@ -34,112 +34,112 @@ void set_all(out mat4 par, const in float value); void main (void) { - mat4 par = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + mat4 par = mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. mat4 function(mat4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - } - else - return mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + return mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + } + else + return mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 par, const in float value) { - par[0][0] = value; - par[0][1] = value; - par[0][2] = value; - par[0][3] = value; + par[0][0] = value; + par[0][1] = value; + par[0][2] = value; + par[0][3] = value; - par[1][0] = value; - par[1][1] = value; - par[1][2] = value; - par[1][3] = value; + par[1][0] = value; + par[1][1] = value; + par[1][2] = value; + par[1][3] = value; - par[2][0] = value; - par[2][1] = value; - par[2][2] = value; - par[2][3] = value; + par[2][0] = value; + par[2][1] = value; + par[2][2] = value; + par[2][3] = value; - par[3][0] = value; - par[3][1] = value; - par[3][2] = value; - par[3][3] = value; + par[3][0] = value; + par[3][1] = value; + par[3][2] = value; + par[3][3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_array_frag.frag index 889ad965a9e..4f17432df39 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_array_frag.frag @@ -29,13 +29,13 @@ precision mediump float; varying vec4 color; const mat4 mat_ones = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); const mat4 mat_zeros = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); // Function declarations. mat4 function(in mat4 par[2]); @@ -45,97 +45,97 @@ void set_all(out mat4 array[2], const in mat4 value); void main (void) { - mat4 par[2]; - mat4 ret = mat_zeros; + mat4 par[2]; + mat4 ret = mat_zeros; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, mat_ones); + // Initialize the entire array to 1.0. + set_all(par, mat_ones); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, mat_ones) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, mat_ones) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. mat4 function(in mat4 par[2]) { - // Return the value of the array. - if(is_all(par, mat_ones)) - { - // Test parameter qualifier (default is "in"). - set_all(par, mat_zeros); + // Return the value of the array. + if(is_all(par, mat_ones)) + { + // Test parameter qualifier (default is "in"). + set_all(par, mat_zeros); - return mat_ones; - } - else - return mat_zeros; + return mat_ones; + } + else + return mat_zeros; } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in mat4 array[2], const in mat4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 array[2], const in mat4 value) { - array[0] = value; - array[1] = value; + array[0] = value; + array[1] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_array_vert.vert index 31310a4ee41..9d28c3693b2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_array_vert.vert @@ -28,13 +28,13 @@ uniform mat4 gtf_ModelViewProjectionMatrix; varying vec4 color; const mat4 mat_ones = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); const mat4 mat_zeros = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); // Function declarations. mat4 function(in mat4 par[2]); @@ -44,98 +44,98 @@ void set_all(out mat4 array[2], const in mat4 value); void main (void) { - mat4 par[2]; - mat4 ret = mat_zeros; + mat4 par[2]; + mat4 ret = mat_zeros; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, mat_ones); + // Initialize the entire array to 1.0. + set_all(par, mat_ones); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, mat_ones) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, mat_ones) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. mat4 function(in mat4 par[2]) { - // Return the value of the array. - if(is_all(par, mat_ones)) - { - // Test parameter qualifier (default is "in"). - set_all(par, mat_zeros); + // Return the value of the array. + if(is_all(par, mat_ones)) + { + // Test parameter qualifier (default is "in"). + set_all(par, mat_zeros); - return mat_ones; - } - else - return mat_zeros; + return mat_ones; + } + else + return mat_zeros; } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in mat4 array[2], const in mat4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 array[2], const in mat4 value) { - array[0] = value; - array[1] = value; + array[0] = value; + array[1] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_frag.frag index 6635312331b..fd1faebce18 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_frag.frag @@ -35,111 +35,111 @@ void set_all(out mat4 par, const in float value); void main (void) { - mat4 par = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + mat4 par = mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. mat4 function(in mat4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - } - else - return mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + return mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + } + else + return mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 par, const in float value) { - par[0][0] = value; - par[0][1] = value; - par[0][2] = value; - par[0][3] = value; + par[0][0] = value; + par[0][1] = value; + par[0][2] = value; + par[0][3] = value; - par[1][0] = value; - par[1][1] = value; - par[1][2] = value; - par[1][3] = value; + par[1][0] = value; + par[1][1] = value; + par[1][2] = value; + par[1][3] = value; - par[2][0] = value; - par[2][1] = value; - par[2][2] = value; - par[2][3] = value; + par[2][0] = value; + par[2][1] = value; + par[2][2] = value; + par[2][3] = value; - par[3][0] = value; - par[3][1] = value; - par[3][2] = value; - par[3][3] = value; + par[3][0] = value; + par[3][1] = value; + par[3][2] = value; + par[3][3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_vert.vert index dc7fd68fcfb..d606b7a43f4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_in_mat4_empty_vert.vert @@ -34,112 +34,112 @@ void set_all(out mat4 par, const in float value); void main (void) { - mat4 par = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + mat4 par = mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. mat4 function(in mat4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - } - else - return mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + return mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + } + else + return mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 par, const in float value) { - par[0][0] = value; - par[0][1] = value; - par[0][2] = value; - par[0][3] = value; + par[0][0] = value; + par[0][1] = value; + par[0][2] = value; + par[0][3] = value; - par[1][0] = value; - par[1][1] = value; - par[1][2] = value; - par[1][3] = value; + par[1][0] = value; + par[1][1] = value; + par[1][2] = value; + par[1][3] = value; - par[2][0] = value; - par[2][1] = value; - par[2][2] = value; - par[2][3] = value; + par[2][0] = value; + par[2][1] = value; + par[2][2] = value; + par[2][3] = value; - par[3][0] = value; - par[3][1] = value; - par[3][2] = value; - par[3][3] = value; + par[3][0] = value; + par[3][1] = value; + par[3][2] = value; + par[3][3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_frag.frag index b80b51fe936..e0d21a4f444 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_frag.frag @@ -29,13 +29,13 @@ precision mediump float; varying vec4 color; const mat4 mat_ones = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); const mat4 mat_zeros = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); // Function declarations. mat4 function(inout mat4 par[2]); @@ -45,97 +45,97 @@ void set_all(out mat4 array[2], const in mat4 value); void main (void) { - mat4 par[2]; - mat4 ret = mat_zeros; + mat4 par[2]; + mat4 ret = mat_zeros; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, mat_ones); + // Initialize the entire array to 1.0. + set_all(par, mat_ones); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, mat_zeros) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, mat_zeros) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. mat4 function(inout mat4 par[2]) { - // Return the value of the array. - if(is_all(par, mat_ones)) - { - // Test parameter qualifier (default is "in"). - set_all(par, mat_zeros); + // Return the value of the array. + if(is_all(par, mat_ones)) + { + // Test parameter qualifier (default is "in"). + set_all(par, mat_zeros); - return mat_ones; - } - else - return mat_zeros; + return mat_ones; + } + else + return mat_zeros; } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in mat4 array[2], const in mat4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 array[2], const in mat4 value) { - array[0] = value; - array[1] = value; + array[0] = value; + array[1] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_vert.vert index 03c5da81c64..981a119721e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_array_vert.vert @@ -28,13 +28,13 @@ uniform mat4 gtf_ModelViewProjectionMatrix; varying vec4 color; const mat4 mat_ones = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); const mat4 mat_zeros = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); // Function declarations. mat4 function(inout mat4 par[2]); @@ -44,98 +44,98 @@ void set_all(out mat4 array[2], const in mat4 value); void main (void) { - mat4 par[2]; - mat4 ret = mat_zeros; + mat4 par[2]; + mat4 ret = mat_zeros; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, mat_ones); + // Initialize the entire array to 1.0. + set_all(par, mat_ones); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, mat_zeros) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, mat_zeros) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. mat4 function(inout mat4 par[2]) { - // Return the value of the array. - if(is_all(par, mat_ones)) - { - // Test parameter qualifier (default is "in"). - set_all(par, mat_zeros); + // Return the value of the array. + if(is_all(par, mat_ones)) + { + // Test parameter qualifier (default is "in"). + set_all(par, mat_zeros); - return mat_ones; - } - else - return mat_zeros; + return mat_ones; + } + else + return mat_zeros; } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in mat4 array[2], const in mat4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 array[2], const in mat4 value) { - array[0] = value; - array[1] = value; + array[0] = value; + array[1] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_frag.frag index 3e7e7af07a2..5ad7e175521 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_frag.frag @@ -35,111 +35,111 @@ void set_all(out mat4 par, const in float value); void main (void) { - mat4 par = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + mat4 par = mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. mat4 function(inout mat4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - } - else - return mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + return mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + } + else + return mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 par, const in float value) { - par[0][0] = value; - par[0][1] = value; - par[0][2] = value; - par[0][3] = value; + par[0][0] = value; + par[0][1] = value; + par[0][2] = value; + par[0][3] = value; - par[1][0] = value; - par[1][1] = value; - par[1][2] = value; - par[1][3] = value; + par[1][0] = value; + par[1][1] = value; + par[1][2] = value; + par[1][3] = value; - par[2][0] = value; - par[2][1] = value; - par[2][2] = value; - par[2][3] = value; + par[2][0] = value; + par[2][1] = value; + par[2][2] = value; + par[2][3] = value; - par[3][0] = value; - par[3][1] = value; - par[3][2] = value; - par[3][3] = value; + par[3][0] = value; + par[3][1] = value; + par[3][2] = value; + par[3][3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_vert.vert index 7005193df50..b56fe2a97c5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_inout_mat4_empty_vert.vert @@ -34,112 +34,112 @@ void set_all(out mat4 par, const in float value); void main (void) { - mat4 par = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + mat4 par = mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. mat4 function(inout mat4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - } - else - return mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + return mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + } + else + return mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 par, const in float value) { - par[0][0] = value; - par[0][1] = value; - par[0][2] = value; - par[0][3] = value; + par[0][0] = value; + par[0][1] = value; + par[0][2] = value; + par[0][3] = value; - par[1][0] = value; - par[1][1] = value; - par[1][2] = value; - par[1][3] = value; + par[1][0] = value; + par[1][1] = value; + par[1][2] = value; + par[1][3] = value; - par[2][0] = value; - par[2][1] = value; - par[2][2] = value; - par[2][3] = value; + par[2][0] = value; + par[2][1] = value; + par[2][2] = value; + par[2][3] = value; - par[3][0] = value; - par[3][1] = value; - par[3][2] = value; - par[3][3] = value; + par[3][0] = value; + par[3][1] = value; + par[3][2] = value; + par[3][3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_array_frag.frag index 03465b66ae7..61b5da60481 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_array_frag.frag @@ -29,13 +29,13 @@ precision mediump float; varying vec4 color; const mat4 mat_ones = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); const mat4 mat_zeros = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); // Function declarations. mat4 function(out mat4 par[2]); @@ -45,91 +45,91 @@ void set_all(out mat4 array[2], const in mat4 value); void main (void) { - mat4 par[2]; - mat4 ret = mat_zeros; + mat4 par[2]; + mat4 ret = mat_zeros; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, mat_ones); + // Initialize the entire array to 1.0. + set_all(par, mat_ones); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, mat_zeros) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, mat_zeros) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. mat4 function(out mat4 par[2]) { - // Test parameter qualifier (default is "in"). - set_all(par, mat_zeros); + // Test parameter qualifier (default is "in"). + set_all(par, mat_zeros); - return mat_ones; + return mat_ones; } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in mat4 array[2], const in mat4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 array[2], const in mat4 value) { - array[0] = value; - array[1] = value; + array[0] = value; + array[1] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_array_vert.vert index d40a427f8c8..dcccaa317c8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_array_vert.vert @@ -28,13 +28,13 @@ uniform mat4 gtf_ModelViewProjectionMatrix; varying vec4 color; const mat4 mat_ones = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); const mat4 mat_zeros = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); // Function declarations. mat4 function(out mat4 par[2]); @@ -44,92 +44,92 @@ void set_all(out mat4 array[2], const in mat4 value); void main (void) { - mat4 par[2]; - mat4 ret = mat_zeros; + mat4 par[2]; + mat4 ret = mat_zeros; - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, mat_ones); + // Initialize the entire array to 1.0. + set_all(par, mat_ones); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, mat_zeros) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, mat_zeros) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. mat4 function(out mat4 par[2]) { - // Test parameter qualifier (default is "in"). - set_all(par, mat_zeros); + // Test parameter qualifier (default is "in"). + set_all(par, mat_zeros); - return mat_ones; + return mat_ones; } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in mat4 array[2], const in mat4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 array[2], const in mat4 value) { - array[0] = value; - array[1] = value; + array[0] = value; + array[1] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_frag.frag index 021ef73b2fb..870ee304c73 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_frag.frag @@ -35,102 +35,102 @@ void set_all(out mat4 par, const in float value); void main (void) { - mat4 par = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + mat4 par = mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. mat4 function(out mat4 par) { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + return mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 par, const in float value) { - par[0][0] = value; - par[0][1] = value; - par[0][2] = value; - par[0][3] = value; + par[0][0] = value; + par[0][1] = value; + par[0][2] = value; + par[0][3] = value; - par[1][0] = value; - par[1][1] = value; - par[1][2] = value; - par[1][3] = value; + par[1][0] = value; + par[1][1] = value; + par[1][2] = value; + par[1][3] = value; - par[2][0] = value; - par[2][1] = value; - par[2][2] = value; - par[2][3] = value; + par[2][0] = value; + par[2][1] = value; + par[2][2] = value; + par[2][3] = value; - par[3][0] = value; - par[3][1] = value; - par[3][2] = value; - par[3][3] = value; + par[3][0] = value; + par[3][1] = value; + par[3][2] = value; + par[3][3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_vert.vert index 2250112fc0d..12a42d34395 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/mat4_empty_out_mat4_empty_vert.vert @@ -34,103 +34,103 @@ void set_all(out mat4 par, const in float value); void main (void) { - mat4 par = mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); - mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0); + mat4 par = mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); + mat4 ret = mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. mat4 function(out mat4 par) { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return mat4(1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0, - 1.0, 1.0, 1.0, 1.0); + return mat4(1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0); } bool is_all(const in mat4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0][0] != value) - ret = false; - if(par[0][1] != value) - ret = false; - if(par[0][2] != value) - ret = false; - if(par[0][3] != value) - ret = false; + if(par[0][0] != value) + ret = false; + if(par[0][1] != value) + ret = false; + if(par[0][2] != value) + ret = false; + if(par[0][3] != value) + ret = false; - if(par[1][0] != value) - ret = false; - if(par[1][1] != value) - ret = false; - if(par[1][2] != value) - ret = false; - if(par[1][3] != value) - ret = false; + if(par[1][0] != value) + ret = false; + if(par[1][1] != value) + ret = false; + if(par[1][2] != value) + ret = false; + if(par[1][3] != value) + ret = false; - if(par[2][0] != value) - ret = false; - if(par[2][1] != value) - ret = false; - if(par[2][2] != value) - ret = false; - if(par[2][3] != value) - ret = false; + if(par[2][0] != value) + ret = false; + if(par[2][1] != value) + ret = false; + if(par[2][2] != value) + ret = false; + if(par[2][3] != value) + ret = false; - if(par[3][0] != value) - ret = false; - if(par[3][1] != value) - ret = false; - if(par[3][2] != value) - ret = false; - if(par[3][3] != value) - ret = false; + if(par[3][0] != value) + ret = false; + if(par[3][1] != value) + ret = false; + if(par[3][2] != value) + ret = false; + if(par[3][3] != value) + ret = false; - return ret; + return ret; } void set_all(out mat4 par, const in float value) { - par[0][0] = value; - par[0][1] = value; - par[0][2] = value; - par[0][3] = value; + par[0][0] = value; + par[0][1] = value; + par[0][2] = value; + par[0][3] = value; - par[1][0] = value; - par[1][1] = value; - par[1][2] = value; - par[1][3] = value; + par[1][0] = value; + par[1][1] = value; + par[1][2] = value; + par[1][3] = value; - par[2][0] = value; - par[2][1] = value; - par[2][2] = value; - par[2][3] = value; + par[2][0] = value; + par[2][1] = value; + par[2][2] = value; + par[2][3] = value; - par[3][0] = value; - par[3][1] = value; - par[3][2] = value; - par[3][3] = value; + par[3][0] = value; + par[3][1] = value; + par[3][2] = value; + par[3][3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_float_frag.frag index 6987176590b..2328826d691 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_float_frag.frag @@ -32,28 +32,28 @@ varying vec4 color; float qualifiers(in float a, out float b, inout float c, const in float d, float e) { - b = a; - c += d; - a += 1.0; - return e; + b = a; + c += d; + a += 1.0; + return e; } void main (void) { - float a = 1.0, b = 2.0, c = 3.0, d = 4.0, e = 1.0, f = 0.0; - float q = 0.0; - float q2 = 0.0; + float a = 1.0, b = 2.0, c = 3.0, d = 4.0, e = 1.0, f = 0.0; + float q = 0.0; + float q2 = 0.0; - f = qualifiers(a, b, c, d, e); + f = qualifiers(a, b, c, d, e); - if(a == 1.0) q += 1.0; - if(b == 1.0) q += 2.0; - if(c == 7.0) q += 4.0; - if(d == 4.0) q2 += 1.0; - if(e == 1.0) q2 += 2.0; - if(f == 1.0) q2 += 4.0; + if(a == 1.0) q += 1.0; + if(b == 1.0) q += 2.0; + if(c == 7.0) q += 4.0; + if(d == 4.0) q2 += 1.0; + if(e == 1.0) q2 += 2.0; + if(f == 1.0) q2 += 4.0; - gl_FragColor = vec4(vec2(q / 7.0, q2 / 7.0), 1.0, 1.0); + gl_FragColor = vec4(vec2(q / 7.0, q2 / 7.0), 1.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_float_vert.vert index f47f0b3ea9e..b5b7095b43e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_float_vert.vert @@ -31,29 +31,29 @@ varying vec4 color; float qualifiers(in float a, out float b, inout float c, const in float d, float e) { - b = a; - c += d; - a += 1.0; - return e; + b = a; + c += d; + a += 1.0; + return e; } void main (void) { - float a = 1.0, b = 2.0, c = 3.0, d = 4.0, e = 1.0, f = 0.0; - float q = 0.0; - float q2 = 0.0; + float a = 1.0, b = 2.0, c = 3.0, d = 4.0, e = 1.0, f = 0.0; + float q = 0.0; + float q2 = 0.0; - f = qualifiers(a, b, c, d, e); + f = qualifiers(a, b, c, d, e); - if(a == 1.0) q += 1.0; - if(b == 1.0) q += 2.0; - if(c == 7.0) q += 4.0; - if(d == 4.0) q2 += 1.0; - if(e == 1.0) q2 += 2.0; - if(f == 1.0) q2 += 4.0; + if(a == 1.0) q += 1.0; + if(b == 1.0) q += 2.0; + if(c == 7.0) q += 4.0; + if(d == 4.0) q2 += 1.0; + if(e == 1.0) q2 += 2.0; + if(f == 1.0) q2 += 4.0; - color = vec4(vec2(q / 7.0, q2 / 7.0), 1.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec2(q / 7.0, q2 / 7.0), 1.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_struct_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_struct_frag.frag index 8dfbd16bf85..f176cdb0e4b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_struct_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_struct_frag.frag @@ -28,10 +28,10 @@ precision mediump float; #endif struct sabcd { - float a; - float b; - float c; - float d; + float a; + float b; + float c; + float d; }; @@ -58,26 +58,26 @@ sabcd e) void main (void) { - sabcd a = sabcd(1.0, 1.0, 1.0, 1.0); - sabcd b = sabcd(2.0, 2.0, 2.0, 2.0); - sabcd c = sabcd(3.0, 3.0, 3.0, 3.0); - sabcd d = sabcd(4.0, 4.0, 4.0, 4.0); - sabcd e = sabcd(1.0, 1.0, 1.0, 1.0); - sabcd f = sabcd(0.0, 0.0, 0.0, 0.0); - sabcd one = sabcd(1.0, 1.0, 1.0, 1.0); - sabcd four = sabcd(4.0, 4.0, 4.0, 4.0); - sabcd seven = sabcd(7.0, 7.0, 7.0, 7.0); - float q = 0.0; - float q2 = 0.0; + sabcd a = sabcd(1.0, 1.0, 1.0, 1.0); + sabcd b = sabcd(2.0, 2.0, 2.0, 2.0); + sabcd c = sabcd(3.0, 3.0, 3.0, 3.0); + sabcd d = sabcd(4.0, 4.0, 4.0, 4.0); + sabcd e = sabcd(1.0, 1.0, 1.0, 1.0); + sabcd f = sabcd(0.0, 0.0, 0.0, 0.0); + sabcd one = sabcd(1.0, 1.0, 1.0, 1.0); + sabcd four = sabcd(4.0, 4.0, 4.0, 4.0); + sabcd seven = sabcd(7.0, 7.0, 7.0, 7.0); + float q = 0.0; + float q2 = 0.0; - f = qualifiers(a, b, c, d, e); + f = qualifiers(a, b, c, d, e); - if(a == one) q += 1.0; - if(b == one) q += 2.0; - if(c == seven) q += 4.0; - if(d == four) q2 += 1.0; - if(e == one) q2 += 2.0; - if(f == one) q2 += 4.0; + if(a == one) q += 1.0; + if(b == one) q += 2.0; + if(c == seven) q += 4.0; + if(d == four) q2 += 1.0; + if(e == one) q2 += 2.0; + if(f == one) q2 += 4.0; - gl_FragColor = vec4(vec2(q / 7.0, q2 / 7.0), 1.0, 1.0); + gl_FragColor = vec4(vec2(q / 7.0, q2 / 7.0), 1.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_struct_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_struct_vert.vert index c0b9a0c8712..8d0b205be5b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_struct_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/qualifiers_struct_vert.vert @@ -31,10 +31,10 @@ varying vec4 color; struct sabcd { - float a; - float b; - float c; - float d; + float a; + float b; + float c; + float d; }; @@ -61,27 +61,27 @@ sabcd e) void main (void) { - sabcd a = sabcd(1.0, 1.0, 1.0, 1.0); - sabcd b = sabcd(2.0, 2.0, 2.0, 2.0); - sabcd c = sabcd(3.0, 3.0, 3.0, 3.0); - sabcd d = sabcd(4.0, 4.0, 4.0, 4.0); - sabcd e = sabcd(1.0, 1.0, 1.0, 1.0); - sabcd f = sabcd(0.0, 0.0, 0.0, 0.0); - sabcd one = sabcd(1.0, 1.0, 1.0, 1.0); - sabcd four = sabcd(4.0, 4.0, 4.0, 4.0); - sabcd seven = sabcd(7.0, 7.0, 7.0, 7.0); - float q = 0.0; - float q2 = 0.0; + sabcd a = sabcd(1.0, 1.0, 1.0, 1.0); + sabcd b = sabcd(2.0, 2.0, 2.0, 2.0); + sabcd c = sabcd(3.0, 3.0, 3.0, 3.0); + sabcd d = sabcd(4.0, 4.0, 4.0, 4.0); + sabcd e = sabcd(1.0, 1.0, 1.0, 1.0); + sabcd f = sabcd(0.0, 0.0, 0.0, 0.0); + sabcd one = sabcd(1.0, 1.0, 1.0, 1.0); + sabcd four = sabcd(4.0, 4.0, 4.0, 4.0); + sabcd seven = sabcd(7.0, 7.0, 7.0, 7.0); + float q = 0.0; + float q2 = 0.0; - f = qualifiers(a, b, c, d, e); + f = qualifiers(a, b, c, d, e); - if(a == one) q += 1.0; - if(b == one) q += 2.0; - if(c == seven) q += 4.0; - if(d == four) q2 += 1.0; - if(e == one) q2 += 2.0; - if(f == one) q2 += 4.0; + if(a == one) q += 1.0; + if(b == one) q += 2.0; + if(c == seven) q += 4.0; + if(d == four) q2 += 1.0; + if(e == one) q2 += 2.0; + if(f == one) q2 += 4.0; - color = vec4(vec2(q / 7.0, q2 / 7.0), 1.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec2(q / 7.0, q2 / 7.0), 1.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_frag.frag index cb0bac163e7..1ffc79ea334 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out vec4 array[3], const in vec4 value); void main (void) { - vec4 par[3]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[3]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. vec4 function(vec4 par[3]) { - // Return the value of the array. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) - { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Return the value of the array. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) + { + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[3], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[3], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_vert.vert index ed2f509e7a4..df7c8af7780 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out vec4 array[3], const in vec4 value); void main (void) { - vec4 par[3]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[3]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. vec4 function(vec4 par[3]) { - // Return the value of the array. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) - { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Return the value of the array. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) + { + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[3], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[3], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_frag.frag index 9ddb6054830..59691446f31 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out vec4 par, const in float value); void main (void) { - vec4 par = vec4(1.0, 1.0, 1.0, 1.0); - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par = vec4(1.0, 1.0, 1.0, 1.0); + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. vec4 function(vec4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 par, const in float value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_vert.vert index 615c3699ec4..f6ca32e1019 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_empty_vec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out vec4 par, const in float value); void main (void) { - vec4 par = vec4(1.0, 1.0, 1.0, 1.0); - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par = vec4(1.0, 1.0, 1.0, 1.0); + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. vec4 function(vec4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 par, const in float value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_array_frag.frag index 9e432947dc5..9120bb3812f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out vec4 array[3], const in vec4 value); void main (void) { - vec4 par[3]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[3]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. vec4 function(in vec4 par[3]) { - // Return the value of the array. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) - { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Return the value of the array. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) + { + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[3], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[3], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_array_vert.vert index 7cf5f2b369c..4805d42fd51 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out vec4 array[3], const in vec4 value); void main (void) { - vec4 par[3]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[3]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. vec4 function(in vec4 par[3]) { - // Return the value of the array. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) - { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Return the value of the array. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) + { + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[3], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[3], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_frag.frag index 9ef0dc6eb76..bbe63fa2874 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out vec4 par, const in float value); void main (void) { - vec4 par = vec4(1.0, 1.0, 1.0, 1.0); - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par = vec4(1.0, 1.0, 1.0, 1.0); + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. vec4 function(in vec4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 par, const in float value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_vert.vert index 2ba6db3d7bc..c6ab4b4e519 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_in_vec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out vec4 par, const in float value); void main (void) { - vec4 par = vec4(1.0, 1.0, 1.0, 1.0); - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par = vec4(1.0, 1.0, 1.0, 1.0); + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should remain unchanged by the function and the function should return 1.0. - if(is_all(par, 1.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should remain unchanged by the function and the function should return 1.0. + if(is_all(par, 1.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. vec4 function(in vec4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 par, const in float value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_frag.frag index a5ce111c654..3aafe12675a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_frag.frag @@ -36,73 +36,73 @@ void set_all(out vec4 array[3], const in vec4 value); void main (void) { - vec4 par[3]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[3]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. vec4 function(inout vec4 par[3]) { - // Return the value of the array. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) - { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Return the value of the array. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) + { + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[3], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[3], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_vert.vert index 6cfb5a884b0..1c0d0451144 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_array_vert.vert @@ -35,74 +35,74 @@ void set_all(out vec4 array[3], const in vec4 value); void main (void) { - vec4 par[3]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[3]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. vec4 function(inout vec4 par[3]) { - // Return the value of the array. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) - { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Return the value of the array. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) + { + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[3], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[3], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_frag.frag index d7efd29d53f..3f28f2822c3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_frag.frag @@ -36,94 +36,94 @@ void set_all(out vec4 array[10], const in vec4 value); void main (void) { - vec4 par[10]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[10]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. vec4 function(inout vec4 par[10]) { - // Return the value of the array. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) - { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Return the value of the array. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) + { + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[10], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; - if(array[3] != value) - ret = false; - if(array[4] != value) - ret = false; - if(array[5] != value) - ret = false; - if(array[6] != value) - ret = false; - if(array[7] != value) - ret = false; - if(array[8] != value) - ret = false; - if(array[9] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; + if(array[3] != value) + ret = false; + if(array[4] != value) + ret = false; + if(array[5] != value) + ret = false; + if(array[6] != value) + ret = false; + if(array[7] != value) + ret = false; + if(array[8] != value) + ret = false; + if(array[9] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[10], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; - array[3] = value; - array[4] = value; - array[5] = value; - array[6] = value; - array[7] = value; - array[8] = value; - array[9] = value; + array[0] = value; + array[1] = value; + array[2] = value; + array[3] = value; + array[4] = value; + array[5] = value; + array[6] = value; + array[7] = value; + array[8] = value; + array[9] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_vert.vert index 51f3f18e26c..7a3ba4e2e69 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_bigarray_vert.vert @@ -35,95 +35,95 @@ void set_all(out vec4 array[10], const in vec4 value); void main (void) { - vec4 par[10]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[10]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. vec4 function(inout vec4 par[10]) { - // Return the value of the array. - if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) - { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Return the value of the array. + if(is_all(par, vec4(1.0, 1.0, 1.0, 1.0))) + { + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[10], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; - if(array[3] != value) - ret = false; - if(array[4] != value) - ret = false; - if(array[5] != value) - ret = false; - if(array[6] != value) - ret = false; - if(array[7] != value) - ret = false; - if(array[8] != value) - ret = false; - if(array[9] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; + if(array[3] != value) + ret = false; + if(array[4] != value) + ret = false; + if(array[5] != value) + ret = false; + if(array[6] != value) + ret = false; + if(array[7] != value) + ret = false; + if(array[8] != value) + ret = false; + if(array[9] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[10], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; - array[3] = value; - array[4] = value; - array[5] = value; - array[6] = value; - array[7] = value; - array[8] = value; - array[9] = value; + array[0] = value; + array[1] = value; + array[2] = value; + array[3] = value; + array[4] = value; + array[5] = value; + array[6] = value; + array[7] = value; + array[8] = value; + array[9] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_frag.frag index 34b62197d42..04a76748b73 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_frag.frag @@ -35,57 +35,57 @@ void set_all(out vec4 par, const in float value); void main (void) { - vec4 par = vec4(1.0, 1.0, 1.0, 1.0); - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par = vec4(1.0, 1.0, 1.0, 1.0); + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. vec4 function(inout vec4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 par, const in float value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_vert.vert index bccb0b331b1..f35fbdd856d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_inout_vec4_empty_vert.vert @@ -34,58 +34,58 @@ void set_all(out vec4 par, const in float value); void main (void) { - vec4 par = vec4(1.0, 1.0, 1.0, 1.0); - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par = vec4(1.0, 1.0, 1.0, 1.0); + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. vec4 function(inout vec4 par) { - // Return the value of the parameter. - if(is_all(par, 1.0)) - { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Return the value of the parameter. + if(is_all(par, 1.0)) + { + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return vec4(1.0, 1.0, 1.0, 1.0); - } - else - return vec4(0.0, 0.0, 0.0, 0.0); + return vec4(1.0, 1.0, 1.0, 1.0); + } + else + return vec4(0.0, 0.0, 0.0, 0.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 par, const in float value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_array_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_array_frag.frag index 72e231e73f1..c8ebf2cf6be 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_array_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_array_frag.frag @@ -36,67 +36,67 @@ void set_all(out vec4 array[3], const in vec4 value); void main (void) { - vec4 par[3]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[3]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definitions. vec4 function(out vec4 par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); + return vec4(1.0, 1.0, 1.0, 1.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[3], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[3], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_array_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_array_vert.vert index 6c020db049a..df37032afb8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_array_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_array_vert.vert @@ -35,68 +35,68 @@ void set_all(out vec4 array[3], const in vec4 value); void main (void) { - vec4 par[3]; - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par[3]; + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - // Initialize the entire array to 1.0. - set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); + // Initialize the entire array to 1.0. + set_all(par, vec4(1.0, 1.0, 1.0, 1.0)); - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, vec4(0.0, 0.0, 0.0, 0.0)) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definitions. vec4 function(out vec4 par[3]) { - // Test parameter qualifier (default is "in"). - set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); + // Test parameter qualifier (default is "in"). + set_all(par, vec4(0.0, 0.0, 0.0, 0.0)); - return vec4(1.0, 1.0, 1.0, 1.0); + return vec4(1.0, 1.0, 1.0, 1.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } bool is_all(const in vec4 array[3], const in vec4 value) { - bool ret = true; + bool ret = true; - if(array[0] != value) - ret = false; - if(array[1] != value) - ret = false; - if(array[2] != value) - ret = false; + if(array[0] != value) + ret = false; + if(array[1] != value) + ret = false; + if(array[2] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 array[3], const in vec4 value) { - array[0] = value; - array[1] = value; - array[2] = value; + array[0] = value; + array[1] = value; + array[2] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_frag.frag index 409e9f973a3..403d8756505 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_frag.frag @@ -35,51 +35,51 @@ void set_all(out vec4 par, const in float value); void main (void) { - vec4 par = vec4(1.0, 1.0, 1.0, 1.0); - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par = vec4(1.0, 1.0, 1.0, 1.0); + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. vec4 function(out vec4 par) { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return vec4(1.0, 1.0, 1.0, 1.0); + return vec4(1.0, 1.0, 1.0, 1.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 par, const in float value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_vert.vert index 9bd47353468..070945644da 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/vec4_empty_out_vec4_empty_vert.vert @@ -34,52 +34,52 @@ void set_all(out vec4 par, const in float value); void main (void) { - vec4 par = vec4(1.0, 1.0, 1.0, 1.0); - vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); + vec4 par = vec4(1.0, 1.0, 1.0, 1.0); + vec4 ret = vec4(0.0, 0.0, 0.0, 0.0); - float gray = 0.0; + float gray = 0.0; - ret = function(par); + ret = function(par); - // The parameter should be changed by the function and the function should return 1.0. - if(is_all(par, 0.0) && is_all(ret, 1.0)) - { - gray = 1.0; - } + // The parameter should be changed by the function and the function should return 1.0. + if(is_all(par, 0.0) && is_all(ret, 1.0)) + { + gray = 1.0; + } - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. vec4 function(out vec4 par) { - // Test parameter qualifier (default is "in"). - set_all(par, 0.0); + // Test parameter qualifier (default is "in"). + set_all(par, 0.0); - return vec4(1.0, 1.0, 1.0, 1.0); + return vec4(1.0, 1.0, 1.0, 1.0); } bool is_all(const in vec4 par, const in float value) { - bool ret = true; + bool ret = true; - if(par[0] != value) - ret = false; - if(par[1] != value) - ret = false; - if(par[2] != value) - ret = false; - if(par[3] != value) - ret = false; + if(par[0] != value) + ret = false; + if(par[1] != value) + ret = false; + if(par[2] != value) + ret = false; + if(par[3] != value) + ret = false; - return ret; + return ret; } void set_all(out vec4 par, const in float value) { - par[0] = value; - par[1] = value; - par[2] = value; - par[3] = value; + par[0] = value; + par[1] = value; + par[2] = value; + par[3] = value; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/void_empty_empty_void_empty_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/void_empty_empty_void_empty_frag.frag index e9a889b4c18..c926874adbd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/void_empty_empty_void_empty_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/void_empty_empty_void_empty_frag.frag @@ -35,15 +35,15 @@ void function(void); void main (void) { - gray = 0.0; + gray = 0.0; - function(); + function(); - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } // Function definition. void function(void) { - gray = 1.0; + gray = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/void_empty_empty_void_empty_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/void_empty_empty_void_empty_vert.vert index d8ba36de393..ebb2711cee2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/functions/void_empty_empty_void_empty_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/functions/void_empty_empty_void_empty_vert.vert @@ -34,16 +34,16 @@ void function(void); void main (void) { - gray = 0.0; + gray = 0.0; - function(); + function(); - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } // Function definition. void function(void) { - gray = 1.0; + gray = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html index 738856f4b11..674ce26dc77 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: gl_FragCoord_001_to_003.html - + - - + + @@ -62,7 +62,15 @@ OpenGLESTestRunner.run({ { "referenceProgram": { "vertexShader": "gl_FragCoord_z_frag_ref.vert", - "fragmentShader": "gl_FragCoord_z_frag_ref.frag" + "fragmentShader": "gl_FragCoord_z_frag_ref.frag", + "builtin_uniforms": { + "min_required": 2, + "valid_values": [ + "gl_DepthRange.near", + "gl_DepthRange.far", + "gl_DepthRange.diff" + ], + } }, "model": null, "testProgram": { diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_w_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_w_frag.frag index a19f71e95d2..3efa089c7a5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_w_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_w_frag.frag @@ -28,5 +28,5 @@ precision mediump float; #endif void main(void) { - gl_FragColor = vec4(vec3(gl_FragCoord.w), 1.0); + gl_FragColor = vec4(vec3(gl_FragCoord.w), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag.frag index bdeb344afaa..722b9a70ead 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag.frag @@ -31,6 +31,6 @@ uniform float viewportheight; void main(void) { - // The image width is 500 so scale the position to 0...1 for color - gl_FragColor = vec4(gl_FragCoord.x /viewportwidth , gl_FragCoord.y/viewportheight, 0.0, 1.0); + // The image width is 500 so scale the position to 0...1 for color + gl_FragColor = vec4(gl_FragCoord.x /viewportwidth , gl_FragCoord.y/viewportheight, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag_ref.frag index ef3b837e14f..29a66e1b0b6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_xy_frag_ref.frag @@ -30,8 +30,8 @@ varying vec4 color; void main(void) { - // The image width is 500x500 and the rectangle is 434x434 - // The green component corresponds to x (0...1 left to right) and the - // blue component corresponds to y (0...1 bottom to top) - gl_FragColor = vec4((434.0 / 500.0) * (color.gb - 0.5) + 0.5, 0.0, 1.0); + // The image width is 500x500 and the rectangle is 434x434 + // The green component corresponds to x (0...1 left to right) and the + // blue component corresponds to y (0...1 bottom to top) + gl_FragColor = vec4((434.0 / 500.0) * (color.gb - 0.5) + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag.frag index c0b698b9957..a18d52494fc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag.frag @@ -28,5 +28,5 @@ precision mediump float; #endif void main(void) { - gl_FragColor = vec4(vec3(gl_FragCoord.z), 1.0); + gl_FragColor = vec4(vec3(gl_FragCoord.z), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.frag index 0e7091d1600..7be3a42faad 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.frag @@ -30,13 +30,13 @@ varying vec4 position; void main(void) { - // Normalized device coordinates - float z = position.z / position.w; - float f = gl_DepthRange.far; - float n = gl_DepthRange.near; + // Normalized device coordinates + float z = position.z / position.w; + float f = gl_DepthRange.far; + float n = gl_DepthRange.near; - // Window coordinates - z = ((f - n) / 2.0) * z + (f + n) / 2.0; + // Window coordinates + z = ((f - n) / 2.0) * z + (f + n) / 2.0; - gl_FragColor = vec4(vec3(z), 1.0); + gl_FragColor = vec4(vec3(z), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.vert index b2b9da744ac..2779f89e2c8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_z_frag_ref.vert @@ -29,8 +29,8 @@ varying vec4 position; void main(void) { - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - // Vertex's clip coordinates - position = gl_Position; + // Vertex's clip coordinates + position = gl_Position; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html index ec3b33b7e28..ace8b2aa6a0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: gl_FrontFacing_001_to_001.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_frag.frag index 568b9ab3bd5..0c8d629ba2e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_frag.frag @@ -28,8 +28,8 @@ precision mediump float; #endif void main(void) { - if(gl_FrontFacing) - gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0); - else - gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0); + if(gl_FrontFacing) + gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0); + else + gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html index 00f45fc2c0a..7fee4bb8e35 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: greaterThan_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag.frag index be6ebcc3bb6..1a1f2f3b77f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(greaterThan(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(greaterThan(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag_ref.frag index c747b55e6cb..055d2c28e74 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_frag_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; bvec2 gt(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] > b[0]) result[0] = true; - else result[0] = false; - if(a[1] > b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] > b[0]) result[0] = true; + else result[0] = false; + if(a[1] > b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(gt(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(gt(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert.vert index ac1463ff983..f883a87a25f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(greaterThan(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(greaterThan(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert_ref.vert index 483460bba81..5c62957a35a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 gt(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] > b[0]) result[0] = true; - else result[0] = false; - if(a[1] > b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] > b[0]) result[0] = true; + else result[0] = false; + if(a[1] > b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(gt(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(gt(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag.frag index d627248c242..438a85f7d7c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(greaterThan(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(greaterThan(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag_ref.frag index c8df660e655..9c673688a6c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 gt(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] > b[0]) result[0] = true; - else result[0] = false; - if(a[1] > b[1]) result[1] = true; - else result[1] = false; - if(a[2] > b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] > b[0]) result[0] = true; + else result[0] = false; + if(a[1] > b[1]) result[1] = true; + else result[1] = false; + if(a[2] > b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(gt(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(gt(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert.vert index eb2f9558d04..6f7adb3febe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(greaterThan(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(greaterThan(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert_ref.vert index 963a0e8d9e6..7499d53ffa0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_ivec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 gt(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] > b[0]) result[0] = true; - else result[0] = false; - if(a[1] > b[1]) result[1] = true; - else result[1] = false; - if(a[2] > b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] > b[0]) result[0] = true; + else result[0] = false; + if(a[1] > b[1]) result[1] = true; + else result[1] = false; + if(a[2] > b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(gt(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(gt(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_frag.frag index bdbf90a9123..b5f5e8e9122 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_frag.frag @@ -34,7 +34,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(greaterThan(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(greaterThan(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_frag_ref.frag index 724d8cf2446..9265f2b4d07 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_frag_ref.frag @@ -34,17 +34,17 @@ varying vec4 color; bvec2 gt(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] > b[0]) result[0] = true; - else result[0] = false; - if(a[1] > b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] > b[0]) result[0] = true; + else result[0] = false; + if(a[1] > b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(gt(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(gt(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_vert.vert index ad9f6c3590d..3354f3a37ea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(greaterThan(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(greaterThan(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_vert_ref.vert index 629b83be52b..02bcfe21389 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 gt(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] > b[0]) result[0] = true; - else result[0] = false; - if(a[1] > b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] > b[0]) result[0] = true; + else result[0] = false; + if(a[1] > b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(gt(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(gt(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_frag.frag index 3224b83e250..9be0df0e462 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(greaterThan(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(greaterThan(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_frag_ref.frag index b8098fd0883..2f57d508f62 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 gt(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] > b[0]) result[0] = true; - else result[0] = false; - if(a[1] > b[1]) result[1] = true; - else result[1] = false; - if(a[2] > b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] > b[0]) result[0] = true; + else result[0] = false; + if(a[1] > b[1]) result[1] = true; + else result[1] = false; + if(a[2] > b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(gt(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(gt(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_vert.vert index 36ca71cbf70..64740d8046a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(greaterThan(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(greaterThan(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_vert_ref.vert index ac907371590..9cb21174257 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThan/greaterThan_vec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 gt(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] > b[0]) result[0] = true; - else result[0] = false; - if(a[1] > b[1]) result[1] = true; - else result[1] = false; - if(a[2] > b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] > b[0]) result[0] = true; + else result[0] = false; + if(a[1] > b[1]) result[1] = true; + else result[1] = false; + if(a[2] > b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(gt(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(gt(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html index 2eebd40a7c9..2d854b04380 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: greaterThanEqual_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag.frag index 10070f5c969..b58ffc8c1ee 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(greaterThanEqual(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(greaterThanEqual(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag_ref.frag index 98d49bec6f8..1981e884885 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_frag_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; bvec2 gte(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] >= b[0]) result[0] = true; - else result[0] = false; - if(a[1] >= b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] >= b[0]) result[0] = true; + else result[0] = false; + if(a[1] >= b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(gte(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(gte(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert.vert index a6ef751b360..a3d858e9ada 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(greaterThanEqual(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(greaterThanEqual(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert_ref.vert index 50e968a2b07..bc91611ee07 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 gte(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] >= b[0]) result[0] = true; - else result[0] = false; - if(a[1] >= b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] >= b[0]) result[0] = true; + else result[0] = false; + if(a[1] >= b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(gte(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(gte(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag.frag index b98be5cbf29..d4f61eb6935 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(greaterThanEqual(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(greaterThanEqual(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag_ref.frag index 9758130f4ef..673621f85fd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 gte(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] >= b[0]) result[0] = true; - else result[0] = false; - if(a[1] >= b[1]) result[1] = true; - else result[1] = false; - if(a[2] >= b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] >= b[0]) result[0] = true; + else result[0] = false; + if(a[1] >= b[1]) result[1] = true; + else result[1] = false; + if(a[2] >= b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(gte(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(gte(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert.vert index 189a4a40ba3..7047c75d1ce 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(greaterThanEqual(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(greaterThanEqual(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert_ref.vert index 0472fb73267..b98de4a4c8f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_ivec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 gte(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] >= b[0]) result[0] = true; - else result[0] = false; - if(a[1] >= b[1]) result[1] = true; - else result[1] = false; - if(a[2] >= b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] >= b[0]) result[0] = true; + else result[0] = false; + if(a[1] >= b[1]) result[1] = true; + else result[1] = false; + if(a[2] >= b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(gte(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(gte(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag.frag index 3ee0a05d0fc..33bb5d47e0b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag.frag @@ -34,7 +34,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(greaterThanEqual(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(greaterThanEqual(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag_ref.frag index 10015aad310..43c2c8574df 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_frag_ref.frag @@ -34,17 +34,17 @@ varying vec4 color; bvec2 gte(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] >= b[0]) result[0] = true; - else result[0] = false; - if(a[1] >= b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] >= b[0]) result[0] = true; + else result[0] = false; + if(a[1] >= b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(gte(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(gte(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert.vert index 9d2d0ee36a4..877bab3ad15 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(greaterThanEqual(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(greaterThanEqual(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert_ref.vert index eede7bce94c..0c5f0b7327d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 gte(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] >= b[0]) result[0] = true; - else result[0] = false; - if(a[1] >= b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] >= b[0]) result[0] = true; + else result[0] = false; + if(a[1] >= b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(gte(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(gte(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag.frag index c3b525e4852..324f6a8f762 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(greaterThanEqual(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(greaterThanEqual(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag_ref.frag index 039e81bf684..d6f22f6bc25 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 gte(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] >= b[0]) result[0] = true; - else result[0] = false; - if(a[1] >= b[1]) result[1] = true; - else result[1] = false; - if(a[2] >= b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] >= b[0]) result[0] = true; + else result[0] = false; + if(a[1] >= b[1]) result[1] = true; + else result[1] = false; + if(a[2] >= b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(gte(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(gte(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert.vert index 536691187ad..238e9395890 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(greaterThanEqual(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(greaterThanEqual(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert_ref.vert index 903fb2aaffa..d120e79a158 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_vec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 gte(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] >= b[0]) result[0] = true; - else result[0] = false; - if(a[1] >= b[1]) result[1] = true; - else result[1] = false; - if(a[2] >= b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] >= b[0]) result[0] = true; + else result[0] = false; + if(a[1] >= b[1]) result[1] = true; + else result[1] = false; + if(a[2] >= b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(gte(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(gte(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html index 616b4c9c6a7..c48b075aeb9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: inversesqrt_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary.frag index 0364880d4a4..f0e12695424 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = (color.r * 99.0) + 1.0; - gl_FragColor = vec4(inversesqrt(c), 0.0, 0.0, 1.0); + float c = (color.r * 99.0) + 1.0; + gl_FragColor = vec4(inversesqrt(c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary_ref.frag index f3711939efb..440b90b6ea8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = (color.r * 99.0) + 1.0; - gl_FragColor = vec4(1.0 / sqrt(c), 0.0, 0.0, 1.0); + float c = (color.r * 99.0) + 1.0; + gl_FragColor = vec4(1.0 / sqrt(c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary.vert index 99606790584..07f52dfcbf6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = (gtf_Color.r * 99.0) + 1.0; - color = vec4(inversesqrt(c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = (gtf_Color.r * 99.0) + 1.0; + color = vec4(inversesqrt(c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary_ref.vert index da5eec05be9..293646aab5b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_float_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = (gtf_Color.r * 99.0) + 1.0; - color = vec4(1.0 / sqrt(c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = (gtf_Color.r * 99.0) + 1.0; + color = vec4(1.0 / sqrt(c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary.frag index 9150326df16..b7bfff05259 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = (color.rg * 99.0) + 1.0; - gl_FragColor = vec4(inversesqrt(c), 0.0, 1.0); + vec2 c = (color.rg * 99.0) + 1.0; + gl_FragColor = vec4(inversesqrt(c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary_ref.frag index 629ed3af7aa..073da26ec36 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = (color.rg * 99.0) + 1.0; - gl_FragColor = vec4(1.0 / sqrt(c), 0.0, 1.0); + vec2 c = (color.rg * 99.0) + 1.0; + gl_FragColor = vec4(1.0 / sqrt(c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary.vert index c205396bd8a..cab16ca1803 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = (gtf_Color.rg * 99.0) + 1.0; - color = vec4(inversesqrt(c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = (gtf_Color.rg * 99.0) + 1.0; + color = vec4(inversesqrt(c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary_ref.vert index c4971be71ba..5fa9496931e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec2_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = (gtf_Color.rg * 99.0) + 1.0; - color = vec4(1.0 / sqrt(c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = (gtf_Color.rg * 99.0) + 1.0; + color = vec4(1.0 / sqrt(c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary.frag index b9d0deaf2e4..935fd3ef744 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = (color.rgb * 99.0) + 1.0; - gl_FragColor = vec4(inversesqrt(c), 1.0); + vec3 c = (color.rgb * 99.0) + 1.0; + gl_FragColor = vec4(inversesqrt(c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary_ref.frag index 07cdd47ba4e..60825321149 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = (color.rgb * 99.0) + 1.0; - gl_FragColor = vec4(1.0 / sqrt(c), 1.0); + vec3 c = (color.rgb * 99.0) + 1.0; + gl_FragColor = vec4(1.0 / sqrt(c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary.vert index 17ca8bd6484..2cdd7593792 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = (gtf_Color.rgb * 99.0) + 1.0; - color = vec4(inversesqrt(c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = (gtf_Color.rgb * 99.0) + 1.0; + color = vec4(inversesqrt(c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary_ref.vert index 01db7941bb8..f69629c7955 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/inversesqrt/inversesqrt_vec3_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = (gtf_Color.rgb * 99.0) + 1.0; - color = vec4(1.0 / sqrt(c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = (gtf_Color.rgb * 99.0) + 1.0; + color = vec4(1.0 / sqrt(c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_001_to_006.html index efbaf722cbc..d5848dce1f3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: length_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_frag_xvary.frag index 01327e17a8c..a82c9d35b09 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_frag_xvary.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(length(color.r)), 1.0); + gl_FragColor = vec4(vec3(length(color.r)), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_frag_xvary_ref.frag index b3e64eeb5fd..1d8b5594dab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_frag_xvary_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(color.r), 1.0); + gl_FragColor = vec4(vec3(color.r), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_vert_xvary.vert index 213c113f713..97fc87505db 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_vert_xvary.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(length(gtf_Color.r)), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(length(gtf_Color.r)), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_vert_xvary_ref.vert index 82e70825829..3d37b84fddd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_float_vert_xvary_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(gtf_Color.r), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(gtf_Color.r), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_frag_xvary.frag index 8d071144791..2d824ff60d8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_frag_xvary.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(length(color.rg) / 2.0), 1.0); + gl_FragColor = vec4(vec3(length(color.rg) / 2.0), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_frag_xvary_ref.frag index 4e2c8143656..f322b4d5fc3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_frag_xvary_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(sqrt(color.r*color.r + color.g*color.g) / 2.0), 1.0); + gl_FragColor = vec4(vec3(sqrt(color.r*color.r + color.g*color.g) / 2.0), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_vert_xvary.vert index 25822e94580..5becfad2122 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_vert_xvary.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(length(gtf_Color.rg) / 2.0), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(length(gtf_Color.rg) / 2.0), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_vert_xvary_ref.vert index 803c4136a83..37f22c220b6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec2_vert_xvary_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(sqrt(gtf_Color.r*gtf_Color.r + gtf_Color.g*gtf_Color.g) / 2.0), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(sqrt(gtf_Color.r*gtf_Color.r + gtf_Color.g*gtf_Color.g) / 2.0), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_frag_xvary.frag index 6ca237b7363..7423f4c4c49 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_frag_xvary.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(length(color.rgb) / 3.0), 1.0); + gl_FragColor = vec4(vec3(length(color.rgb) / 3.0), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_frag_xvary_ref.frag index 9218c723e5a..f817d2b0fd1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_frag_xvary_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(vec3(sqrt(color.r*color.r + color.g*color.g + color.b*color.b) / 3.0), 1.0); + gl_FragColor = vec4(vec3(sqrt(color.r*color.r + color.g*color.g + color.b*color.b) / 3.0), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_vert_xvary.vert index d524c825a4f..2dc32aceb9f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_vert_xvary.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(length(gtf_Color.rgb) / 3.0), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(length(gtf_Color.rgb) / 3.0), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_vert_xvary_ref.vert index 9ab69ee8e9f..a4c07f034f5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/length/length_vec3_vert_xvary_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = vec4(vec3(sqrt(gtf_Color.r*gtf_Color.r + gtf_Color.g*gtf_Color.g + gtf_Color.b*gtf_Color.b) / 3.0), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vec3(sqrt(gtf_Color.r*gtf_Color.r + gtf_Color.g*gtf_Color.g + gtf_Color.b*gtf_Color.b) / 3.0), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_001_to_008.html index b007a5bc2a2..0c4b5d7c87c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: lessThan_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_frag.frag index cf88e387be4..fa927f84441 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lessThan(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lessThan(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_frag_ref.frag index 43348c9a2ac..a7919ceb1bc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_frag_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; bvec2 lt(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] < b[0]) result[0] = true; - else result[0] = false; - if(a[1] < b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] < b[0]) result[0] = true; + else result[0] = false; + if(a[1] < b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lt(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lt(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_vert.vert index b4157a47e42..3b68c5ff9e7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lessThan(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lessThan(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_vert_ref.vert index 38443bc911f..34d5aa12349 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 lt(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] < b[0]) result[0] = true; - else result[0] = false; - if(a[1] < b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] < b[0]) result[0] = true; + else result[0] = false; + if(a[1] < b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lt(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lt(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_frag.frag index 6c98b2d7666..c6c65d17fd0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lessThan(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lessThan(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_frag_ref.frag index 8d68209db72..ca4af5661f4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 lt(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] < b[0]) result[0] = true; - else result[0] = false; - if(a[1] < b[1]) result[1] = true; - else result[1] = false; - if(a[2] < b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] < b[0]) result[0] = true; + else result[0] = false; + if(a[1] < b[1]) result[1] = true; + else result[1] = false; + if(a[2] < b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lt(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lt(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_vert.vert index a0f10097f46..1368d20563c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lessThan(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lessThan(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_vert_ref.vert index 104f8a75689..427e564bcce 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_ivec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 lt(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] < b[0]) result[0] = true; - else result[0] = false; - if(a[1] < b[1]) result[1] = true; - else result[1] = false; - if(a[2] < b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] < b[0]) result[0] = true; + else result[0] = false; + if(a[1] < b[1]) result[1] = true; + else result[1] = false; + if(a[2] < b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lt(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lt(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_frag.frag index 9f051720b46..fb8235bd322 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_frag.frag @@ -34,7 +34,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lessThan(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lessThan(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_frag_ref.frag index 707338bc910..239c3c03628 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_frag_ref.frag @@ -34,17 +34,17 @@ varying vec4 color; bvec2 lt(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] < b[0]) result[0] = true; - else result[0] = false; - if(a[1] < b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] < b[0]) result[0] = true; + else result[0] = false; + if(a[1] < b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lt(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lt(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_vert.vert index 7ec3ea6a798..1c7a299b27e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lessThan(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lessThan(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_vert_ref.vert index 43aacf497aa..e2a09eb1b60 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 lt(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] < b[0]) result[0] = true; - else result[0] = false; - if(a[1] < b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] < b[0]) result[0] = true; + else result[0] = false; + if(a[1] < b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lt(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lt(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_frag.frag index 1c6b25a78fb..380c28d3c53 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lessThan(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lessThan(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_frag_ref.frag index 185d0452fba..e2306c5d2d1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 lt(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] < b[0]) result[0] = true; - else result[0] = false; - if(a[1] < b[1]) result[1] = true; - else result[1] = false; - if(a[2] < b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] < b[0]) result[0] = true; + else result[0] = false; + if(a[1] < b[1]) result[1] = true; + else result[1] = false; + if(a[2] < b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lt(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lt(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_vert.vert index 34d09a66fdf..194a1953e83 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lessThan(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lessThan(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_vert_ref.vert index 0fc1ed96f2e..9902018fc37 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThan/lessThan_vec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 lt(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] < b[0]) result[0] = true; - else result[0] = false; - if(a[1] < b[1]) result[1] = true; - else result[1] = false; - if(a[2] < b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] < b[0]) result[0] = true; + else result[0] = false; + if(a[1] < b[1]) result[1] = true; + else result[1] = false; + if(a[2] < b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lt(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lt(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html index d699b43dedf..aca9d7b94d1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: lessThanEqual_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag.frag index 431b781a383..397a2732b72 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lessThanEqual(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lessThanEqual(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag_ref.frag index 85764035b71..554f4ea3f5c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_frag_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; bvec2 lte(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] <= b[0]) result[0] = true; - else result[0] = false; - if(a[1] <= b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] <= b[0]) result[0] = true; + else result[0] = false; + if(a[1] <= b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lte(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lte(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert.vert index 7da0bfd5776..83a770a4825 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lessThanEqual(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lessThanEqual(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert_ref.vert index 47f48fe0b26..6b40030ca1a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 lte(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] <= b[0]) result[0] = true; - else result[0] = false; - if(a[1] <= b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] <= b[0]) result[0] = true; + else result[0] = false; + if(a[1] <= b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lte(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lte(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag.frag index f463b769ad4..6e06ffe5475 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lessThanEqual(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lessThanEqual(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag_ref.frag index 7dffdfab5ce..29c7453b2e4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 lte(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] <= b[0]) result[0] = true; - else result[0] = false; - if(a[1] <= b[1]) result[1] = true; - else result[1] = false; - if(a[2] <= b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] <= b[0]) result[0] = true; + else result[0] = false; + if(a[1] <= b[1]) result[1] = true; + else result[1] = false; + if(a[2] <= b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lte(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lte(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert.vert index f9aa6d6cb97..748b3ba828d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lessThanEqual(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lessThanEqual(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert_ref.vert index 2dbba4e736d..89b39f51d60 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_ivec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 lte(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] <= b[0]) result[0] = true; - else result[0] = false; - if(a[1] <= b[1]) result[1] = true; - else result[1] = false; - if(a[2] <= b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] <= b[0]) result[0] = true; + else result[0] = false; + if(a[1] <= b[1]) result[1] = true; + else result[1] = false; + if(a[2] <= b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lte(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lte(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag.frag index 0747829a489..71d7501c1d4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag.frag @@ -34,7 +34,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lessThanEqual(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lessThanEqual(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag_ref.frag index d028dabaed7..c14f657593a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_frag_ref.frag @@ -34,17 +34,17 @@ varying vec4 color; bvec2 lte(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] <= b[0]) result[0] = true; - else result[0] = false; - if(a[1] <= b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] <= b[0]) result[0] = true; + else result[0] = false; + if(a[1] <= b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lte(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lte(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert.vert index f279b641443..ebc94285ff3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lessThanEqual(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lessThanEqual(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert_ref.vert index f012c2e779c..07a77b0a18f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 lte(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] <= b[0]) result[0] = true; - else result[0] = false; - if(a[1] <= b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] <= b[0]) result[0] = true; + else result[0] = false; + if(a[1] <= b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(lte(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(lte(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag.frag index cd682ac7316..7351a8d0f7d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lessThanEqual(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lessThanEqual(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag_ref.frag index bbe3f9a8223..d33f35d0f40 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 lte(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] <= b[0]) result[0] = true; - else result[0] = false; - if(a[1] <= b[1]) result[1] = true; - else result[1] = false; - if(a[2] <= b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] <= b[0]) result[0] = true; + else result[0] = false; + if(a[1] <= b[1]) result[1] = true; + else result[1] = false; + if(a[2] <= b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lte(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lte(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert.vert index 6693b8ac8ff..4ac0e0a8276 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lessThanEqual(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lessThanEqual(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert_ref.vert index bcf0a075d1f..52b55abb15b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/lessThanEqual/lessThanEqual_vec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 lte(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] <= b[0]) result[0] = true; - else result[0] = false; - if(a[1] <= b[1]) result[1] = true; - else result[1] = false; - if(a[2] <= b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] <= b[0]) result[0] = true; + else result[0] = false; + if(a[1] <= b[1]) result[1] = true; + else result[1] = false; + if(a[2] <= b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(lte(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(lte(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_001_to_008.html index a8e2305810b..ab44178f664 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_001_to_008.html @@ -28,13 +28,14 @@ + WebGL GLSL conformance test: log_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_009_to_012.html b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_009_to_012.html index cd27869fca4..1e362043d85 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_009_to_012.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_009_to_012.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: log_009_to_012.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary.frag index 887fa58a211..c4685cc82dd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 31.0 * color.r + 1.0; - gl_FragColor = vec4(log(c) / 3.466, 0.0, 0.0, 1.0); + float c = 31.0 * color.r + 1.0; + gl_FragColor = vec4(log(c) / 3.466, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary01.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary01.frag index e8c06718834..c9a26bc037b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary01.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary01.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = (color.r + 0.01) / 1.01; - gl_FragColor = vec4(log(c) / -4.61, 0.0, 0.0, 1.0); + float c = (color.r + 0.01) / 1.01; + gl_FragColor = vec4(log(c) / -4.61, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary01_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary01_ref.frag index 816a0793cad..c255e618b92 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary01_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary01_ref.frag @@ -30,24 +30,24 @@ varying vec4 color; void main (void) { - float x = (color.r + 0.01) / 1.01; - float y = 0.0; - float z; // x-1 / x+1 - int n = 50; + float x = (color.r + 0.01) / 1.01; + float y = 0.0; + float z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - float p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + float p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0; - gl_FragColor = vec4(y / -4.61, 0.0, 0.0, 1.0); + gl_FragColor = vec4(y / -4.61, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary_ref.frag index 855b8f2c888..472235d605e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_frag_xvary_ref.frag @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - float x = 31.0 * color.r + 1.0; - float y = 0.0; - float z; // x-1 / x+1 - int n = 50; + float x = 31.0 * color.r + 1.0; + float y = 0.0; + float z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - float p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + float p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0; - gl_FragColor = vec4(y / 3.466, 0.0, 0.0, 1.0); + gl_FragColor = vec4(y / 3.466, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary.vert index f054b932a45..b6361d1d663 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 31.0 * gtf_Color.r + 1.0; - color = vec4(log(c) / 3.466, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 31.0 * gtf_Color.r + 1.0; + color = vec4(log(c) / 3.466, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary01.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary01.vert index 5a4ef43b370..258894e5a6a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary01.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary01.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = (gtf_Color.r + 0.01) / 1.01; - color = vec4(log(c) / -4.61, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = (gtf_Color.r + 0.01) / 1.01; + color = vec4(log(c) / -4.61, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary01_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary01_ref.vert index b0469e33560..fb19501b226 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary01_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary01_ref.vert @@ -30,25 +30,25 @@ varying vec4 color; void main (void) { - float x = (gtf_Color.r + 0.01) / 1.01; - float y = 0.0; - float z; // x-1 / x+1 - int n = 50; + float x = (gtf_Color.r + 0.01) / 1.01; + float y = 0.0; + float z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - float p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + float p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0; - color = vec4(y / -4.61, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / -4.61, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary_ref.vert index 94fc895466d..4df24e358f8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_float_vert_xvary_ref.vert @@ -30,22 +30,22 @@ varying vec4 color; void main (void) { - float x = 31.0 * gtf_Color.r + 1.0; - float y = 0.0; - float z; // x-1 / x+1 - int n = 50; + float x = 31.0 * gtf_Color.r + 1.0; + float y = 0.0; + float z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - float p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + float p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0; - color = vec4(y / 3.466, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / 3.466, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary.frag index 644f2c44881..9ecfb257690 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 31.0 * color.rg + 1.0; - gl_FragColor = vec4(log(c) / 3.466, 0.0, 1.0); + vec2 c = 31.0 * color.rg + 1.0; + gl_FragColor = vec4(log(c) / 3.466, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary01.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary01.frag index 08562f30ab0..9b36e90c380 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary01.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary01.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = (color.rg + 0.01) / 1.01; - gl_FragColor = vec4(log(c) / -4.61, 0.0, 1.0); + vec2 c = (color.rg + 0.01) / 1.01; + gl_FragColor = vec4(log(c) / -4.61, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary01_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary01_ref.frag index d37c1189e07..5496f9db10c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary01_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary01_ref.frag @@ -30,24 +30,24 @@ varying vec4 color; void main (void) { - vec2 x = (color.rg + 0.01) / 1.01; - vec2 y = vec2(0.0); - vec2 z; // x-1 / x+1 - int n = 50; + vec2 x = (color.rg + 0.01) / 1.01; + vec2 y = vec2(0.0); + vec2 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - vec2 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + vec2 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0; - gl_FragColor = vec4(y / -4.61, 0.0, 1.0); + gl_FragColor = vec4(y / -4.61, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary_ref.frag index 5b5187f09f5..01d706c9dfe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_frag_xvary_ref.frag @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - vec2 x = 31.0 * color.rg + 1.0; - vec2 y = vec2(0.0); - vec2 z; // x-1 / x+1 - int n = 50; + vec2 x = 31.0 * color.rg + 1.0; + vec2 y = vec2(0.0); + vec2 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - vec2 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + vec2 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0; - gl_FragColor = vec4(y / 3.466, 0.0, 1.0); + gl_FragColor = vec4(y / 3.466, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary.vert index 47d6c98b0a2..95dbc058b43 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 31.0 * gtf_Color.rg + 1.0; - color = vec4(log(c) / 3.466, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 31.0 * gtf_Color.rg + 1.0; + color = vec4(log(c) / 3.466, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary01.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary01.vert index aea2887c77d..9bd23ab760e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary01.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary01.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = (gtf_Color.rg + 0.01) / 1.01; - color = vec4(log(c) / -4.61, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = (gtf_Color.rg + 0.01) / 1.01; + color = vec4(log(c) / -4.61, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary01_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary01_ref.vert index 9ce31b5ceae..3a23b5aa61e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary01_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary01_ref.vert @@ -30,25 +30,25 @@ varying vec4 color; void main (void) { - vec2 x = (gtf_Color.rg + 0.01) / 1.01; - vec2 y = vec2(0.0); - vec2 z; // x-1 / x+1 - int n = 50; + vec2 x = (gtf_Color.rg + 0.01) / 1.01; + vec2 y = vec2(0.0); + vec2 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - vec2 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + vec2 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0; - color = vec4(y / -4.61, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / -4.61, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary_ref.vert index 62c37cd7abe..4996ed1ee48 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec2_vert_xvary_ref.vert @@ -30,22 +30,22 @@ varying vec4 color; void main (void) { - vec2 x = 31.0 * gtf_Color.rg + 1.0; - vec2 y = vec2(0.0); - vec2 z; // x-1 / x+1 - int n = 50; + vec2 x = 31.0 * gtf_Color.rg + 1.0; + vec2 y = vec2(0.0); + vec2 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - vec2 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + vec2 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0; - color = vec4(y / 3.466, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / 3.466, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary.frag index cdeaaf336bf..eb2db1ac8be 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 31.0 * color.rgb + 1.0; - gl_FragColor = vec4(log(c) / 3.466, 1.0); + vec3 c = 31.0 * color.rgb + 1.0; + gl_FragColor = vec4(log(c) / 3.466, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary01.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary01.frag index 675b9951344..a19f80ebc74 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary01.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary01.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = (color.rgb + 0.01) / 1.01; - gl_FragColor = vec4(log(c) / -4.61, 1.0); + vec3 c = (color.rgb + 0.01) / 1.01; + gl_FragColor = vec4(log(c) / -4.61, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary01_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary01_ref.frag index 3180e4e9fc4..1bdcbc69042 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary01_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary01_ref.frag @@ -30,24 +30,24 @@ varying vec4 color; void main (void) { - vec3 x = (color.rgb + 0.01) / 1.01; - vec3 y = vec3(0.0); - vec3 z; // x-1 / x+1 - int n = 50; + vec3 x = (color.rgb + 0.01) / 1.01; + vec3 y = vec3(0.0); + vec3 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - vec3 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + vec3 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0; - gl_FragColor = vec4(y / -4.61, 1.0); + gl_FragColor = vec4(y / -4.61, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary_ref.frag index 07f7a19aa58..74f4cd89008 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_frag_xvary_ref.frag @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - vec3 x = 31.0 * color.rgb + 1.0; - vec3 y = vec3(0.0); - vec3 z; // x-1 / x+1 - int n = 50; + vec3 x = 31.0 * color.rgb + 1.0; + vec3 y = vec3(0.0); + vec3 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - vec3 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + vec3 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0; - gl_FragColor = vec4(y / 3.466, 1.0); + gl_FragColor = vec4(y / 3.466, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary.vert index 55797f2d0fe..76627e5fde3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 31.0 * gtf_Color.rgb + 1.0; - color = vec4(log(c) / 3.466, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 31.0 * gtf_Color.rgb + 1.0; + color = vec4(log(c) / 3.466, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary01.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary01.vert index 589f0695768..48d13cd75e9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary01.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary01.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = (gtf_Color.rgb + 0.01) / 1.01; - color = vec4(log(c) / -4.61, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = (gtf_Color.rgb + 0.01) / 1.01; + color = vec4(log(c) / -4.61, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary01_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary01_ref.vert index 711eaaaabf3..3905ef7cb9b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary01_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary01_ref.vert @@ -30,25 +30,25 @@ varying vec4 color; void main (void) { - vec3 x = (gtf_Color.rgb + 0.01) / 1.01; - vec3 y = vec3(0.0); - vec3 z; // x-1 / x+1 - int n = 50; + vec3 x = (gtf_Color.rgb + 0.01) / 1.01; + vec3 y = vec3(0.0); + vec3 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - vec3 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + vec3 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0; - color = vec4(y / -4.61, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / -4.61, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary_ref.vert index a7b88791434..c17738cfbcf 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log/log_vec3_vert_xvary_ref.vert @@ -30,22 +30,22 @@ varying vec4 color; void main (void) { - vec3 x = 31.0 * gtf_Color.rgb + 1.0; - vec3 y = vec3(0.0); - vec3 z; // x-1 / x+1 - int n = 50; + vec3 x = 31.0 * gtf_Color.rgb + 1.0; + vec3 y = vec3(0.0); + vec3 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - vec3 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + vec3 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0; - color = vec4(y / 3.466, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / 3.466, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_001_to_008.html index 3b1669c3370..4246efff59d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_001_to_008.html @@ -31,11 +31,11 @@ WebGL GLSL conformance test: log2_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_009_to_012.html b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_009_to_012.html index 3993bd5a284..e7abb0ba78f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_009_to_012.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_009_to_012.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: log2_009_to_012.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary.frag index 6ecc53ad75d..06c6a090a54 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 31.0 * color.r + 1.0; - gl_FragColor = vec4(log2(c) / 5.0, 0.0, 0.0, 1.0); + float c = 31.0 * color.r + 1.0; + gl_FragColor = vec4(log2(c) / 5.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary01.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary01.frag index a3e5face63b..a6f3341cee6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary01.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary01.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = (color.r + 0.01) / 1.01; - gl_FragColor = vec4(log2(c) / -8.0, 0.0, 0.0, 1.0); + float c = (color.r + 0.01) / 1.01; + gl_FragColor = vec4(log2(c) / -8.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary01_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary01_ref.frag index 4408f3199ee..2185924efca 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary01_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary01_ref.frag @@ -33,24 +33,24 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - float x = (color.r + 0.01) / 1.01; - float y = 0.0; - float z; // x-1 / x+1 - int n = 50; + float x = (color.r + 0.01) / 1.01; + float y = 0.0; + float z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - float p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + float p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0 / ln2; - gl_FragColor = vec4(y / -8.0, 0.0, 0.0, 1.0); + gl_FragColor = vec4(y / -8.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary_ref.frag index c9ab579ee0c..c43ea54d06f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_frag_xvary_ref.frag @@ -33,21 +33,21 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - float x = 31.0 * color.r + 1.0; - float y = 0.0; - float z; // x-1 / x+1 - int n = 50; + float x = 31.0 * color.r + 1.0; + float y = 0.0; + float z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - float p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + float p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0 / ln2; - gl_FragColor = vec4(y / 5.0, 0.0, 0.0, 1.0); + gl_FragColor = vec4(y / 5.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary.vert index bc0ac9327ea..51123e0cd2b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 31.0 * gtf_Color.r + 1.0; - color = vec4(log2(c) / 5.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 31.0 * gtf_Color.r + 1.0; + color = vec4(log2(c) / 5.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary01.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary01.vert index 4f4c12f08fe..1356d8dbd49 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary01.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary01.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = (gtf_Color.r + 0.01) / 1.01; - color = vec4(log2(c) / -8.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = (gtf_Color.r + 0.01) / 1.01; + color = vec4(log2(c) / -8.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary01_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary01_ref.vert index 1cc15b6a1bb..4871f988b78 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary01_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary01_ref.vert @@ -33,25 +33,25 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - float x = (gtf_Color.r + 0.01) / 1.01; - float y = 0.0; - float z; // x-1 / x+1 - int n = 50; + float x = (gtf_Color.r + 0.01) / 1.01; + float y = 0.0; + float z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - float p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + float p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0 / ln2; - color = vec4(y / -8.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / -8.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary_ref.vert index 6fe563e8a27..ba305ff36cc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_float_vert_xvary_ref.vert @@ -31,22 +31,22 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - float x = 31.0 * gtf_Color.r + 1.0; - float y = 0.0; - float z; // x-1 / x+1 - int n = 50; + float x = 31.0 * gtf_Color.r + 1.0; + float y = 0.0; + float z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - float p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + float p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0 / ln2; - color = vec4(y / 5.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / 5.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary.frag index d17882eec82..e103f8fe58d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 31.0 * color.rg + 1.0; - gl_FragColor = vec4(log2(c) / 5.0, 0.0, 1.0); + vec2 c = 31.0 * color.rg + 1.0; + gl_FragColor = vec4(log2(c) / 5.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary01.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary01.frag index d50f56ede0b..c1646e3b0ba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary01.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary01.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = (color.rg + 0.01) / 1.01; - gl_FragColor = vec4(log2(c) / -8.0, 0.0, 1.0); + vec2 c = (color.rg + 0.01) / 1.01; + gl_FragColor = vec4(log2(c) / -8.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary01_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary01_ref.frag index e0043f653fe..b360fd2d9ce 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary01_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary01_ref.frag @@ -33,24 +33,24 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - vec2 x = (color.rg + 0.01) / 1.01; - vec2 y = vec2(0.0); - vec2 z; // x-1 / x+1 - int n = 50; + vec2 x = (color.rg + 0.01) / 1.01; + vec2 y = vec2(0.0); + vec2 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - vec2 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + vec2 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0 / ln2; - gl_FragColor = vec4(y / -8.0, 0.0, 1.0); + gl_FragColor = vec4(y / -8.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary_ref.frag index 372d5dbe41d..ba37c09cca2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_frag_xvary_ref.frag @@ -33,21 +33,21 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - vec2 x = 31.0 * color.rg + 1.0; - vec2 y = vec2(0.0); - vec2 z; // x-1 / x+1 - int n = 50; + vec2 x = 31.0 * color.rg + 1.0; + vec2 y = vec2(0.0); + vec2 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - vec2 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + vec2 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0 / ln2; - gl_FragColor = vec4(y / 5.0, 0.0, 1.0); + gl_FragColor = vec4(y / 5.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary.vert index 0a137ffd842..81f012a4514 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 31.0 * gtf_Color.rg + 1.0; - color = vec4(log2(c) / 5.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 31.0 * gtf_Color.rg + 1.0; + color = vec4(log2(c) / 5.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary01.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary01.vert index 1ae9de1316b..0cfaf57468b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary01.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary01.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = (gtf_Color.rg + 0.01) / 1.01; - color = vec4(log2(c) / -8.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = (gtf_Color.rg + 0.01) / 1.01; + color = vec4(log2(c) / -8.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary01_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary01_ref.vert index 50e6c112073..835f3da1cb2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary01_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary01_ref.vert @@ -33,25 +33,25 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - vec2 x = (gtf_Color.rg + 0.01) / 1.01; - vec2 y = vec2(0.0); - vec2 z; // x-1 / x+1 - int n = 50; + vec2 x = (gtf_Color.rg + 0.01) / 1.01; + vec2 y = vec2(0.0); + vec2 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - vec2 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + vec2 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0 / ln2; - color = vec4(y / -8.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / -8.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary_ref.vert index 7185ac9bfc5..8f79dd44697 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec2_vert_xvary_ref.vert @@ -33,22 +33,22 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - vec2 x = 31.0 * gtf_Color.rg + 1.0; - vec2 y = vec2(0.0); - vec2 z; // x-1 / x+1 - int n = 50; + vec2 x = 31.0 * gtf_Color.rg + 1.0; + vec2 y = vec2(0.0); + vec2 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - vec2 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + vec2 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0 / ln2; - color = vec4(y / 5.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / 5.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary.frag index 391fbd72d45..2b406997e16 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 31.0 * color.rgb + 1.0; - gl_FragColor = vec4(log2(c) / 5.0, 1.0); + vec3 c = 31.0 * color.rgb + 1.0; + gl_FragColor = vec4(log2(c) / 5.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary01.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary01.frag index 9faea4bce5f..614a6db9eae 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary01.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary01.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = (color.rgb + 0.01) / 1.01; - gl_FragColor = vec4(log2(c) / -8.0, 1.0); + vec3 c = (color.rgb + 0.01) / 1.01; + gl_FragColor = vec4(log2(c) / -8.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary01_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary01_ref.frag index c915c414f20..32020337fb4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary01_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary01_ref.frag @@ -33,24 +33,24 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - vec3 x = (color.rgb + 0.01) / 1.01; - vec3 y = vec3(0.0); - vec3 z; // x-1 / x+1 - int n = 50; + vec3 x = (color.rgb + 0.01) / 1.01; + vec3 y = vec3(0.0); + vec3 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - vec3 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + vec3 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0 / ln2; - gl_FragColor = vec4(y / -8.0, 1.0); + gl_FragColor = vec4(y / -8.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary_ref.frag index c6a724300cb..f84f000e1df 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_frag_xvary_ref.frag @@ -33,21 +33,21 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - vec3 x = 31.0 * color.rgb + 1.0; - vec3 y = vec3(0.0); - vec3 z; // x-1 / x+1 - int n = 50; + vec3 x = 31.0 * color.rgb + 1.0; + vec3 y = vec3(0.0); + vec3 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - vec3 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + vec3 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0 / ln2; - gl_FragColor = vec4(y / 5.0, 1.0); + gl_FragColor = vec4(y / 5.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary.vert index a632c281bd3..e98b3703e5f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 31.0 * gtf_Color.rgb + 1.0; - color = vec4(log2(c) / 5.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 31.0 * gtf_Color.rgb + 1.0; + color = vec4(log2(c) / 5.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary01.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary01.vert index 4b7e88169e1..779abfe8458 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary01.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary01.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = (gtf_Color.rgb + 0.01) / 1.01; - color = vec4(log2(c) / -8.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = (gtf_Color.rgb + 0.01) / 1.01; + color = vec4(log2(c) / -8.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary01_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary01_ref.vert index fcf2d1d9602..fda8284a53c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary01_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary01_ref.vert @@ -33,25 +33,25 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - vec3 x = (gtf_Color.rgb + 0.01) / 1.01; - vec3 y = vec3(0.0); - vec3 z; // x-1 / x+1 - int n = 50; + vec3 x = (gtf_Color.rgb + 0.01) / 1.01; + vec3 y = vec3(0.0); + vec3 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - // Note: z will always be negative between 0.01 and 1.0 and - // so will y since it is raised to an odd power, and the shader spec - // does not support pow(-x, y) where y is not a compile time constant - z = abs((x - 1.0) / (x + 1.0)); - vec3 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= -2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + // Note: z will always be negative between 0.01 and 1.0 and + // so will y since it is raised to an odd power, and the shader spec + // does not support pow(-x, y) where y is not a compile time constant + z = abs((x - 1.0) / (x + 1.0)); + vec3 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= -2.0 / ln2; - color = vec4(y / -8.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / -8.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary_ref.vert index 62194f7296f..9c8454faf82 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/log2/log2_vec3_vert_xvary_ref.vert @@ -33,22 +33,22 @@ const float ln2 = 0.69314718055994530941723212145818; void main (void) { - vec3 x = 31.0 * gtf_Color.rgb + 1.0; - vec3 y = vec3(0.0); - vec3 z; // x-1 / x+1 - int n = 50; + vec3 x = 31.0 * gtf_Color.rgb + 1.0; + vec3 y = vec3(0.0); + vec3 z; // x-1 / x+1 + int n = 50; - // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 - // [x+1 3 (x+1) 5 (x+1) ] - z = (x - 1.0) / (x + 1.0); - vec3 p = z; - for(int i = 1; i <= 101; i += 2) - { - y += p / float(i); - p *= z * z; - } - y *= 2.0 / ln2; + // ln(x) = 2[x-1 + 1 (x-1)^3 + 1 (x-1)^5 + ...] for x > 0 + // [x+1 3 (x+1) 5 (x+1) ] + z = (x - 1.0) / (x + 1.0); + vec3 p = z; + for(int i = 1; i <= 101; i += 2) + { + y += p / float(i); + p *= z * z; + } + y *= 2.0 / ln2; - color = vec4(y / 5.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(y / 5.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat2_frag.frag index d1fafaec759..c6b5af5085f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat2_frag.frag @@ -32,19 +32,19 @@ const int array_size = 2; void main (void) { - const mat2 a = mat2(1.0, 2.0, 3.0, 4.0); - const mat2 b = mat2(5.0, 6.0, 7.0, 8.0); - mat2 array[array_size]; - float gray; + const mat2 a = mat2(1.0, 2.0, 3.0, 4.0); + const mat2 b = mat2(5.0, 6.0, 7.0, 8.0); + mat2 array[array_size]; + float gray; - array[0] = a; - array[1] = b; + array[0] = a; + array[1] = b; - if((array[0] == a) && (array[1] == b)) - gray = 1.0; - else - gray = 0.0; + if((array[0] == a) && (array[1] == b)) + gray = 1.0; + else + gray = 0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat2_vert.vert index 89287e41bbe..859c040b31d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat2_vert.vert @@ -31,20 +31,20 @@ const int array_size = 2; void main (void) { - const mat2 a = mat2(1.0, 2.0, 3.0, 4.0); - const mat2 b = mat2(5.0, 6.0, 7.0, 8.0); - mat2 array[array_size]; - float gray; + const mat2 a = mat2(1.0, 2.0, 3.0, 4.0); + const mat2 b = mat2(5.0, 6.0, 7.0, 8.0); + mat2 array[array_size]; + float gray; - array[0] = a; - array[1] = b; + array[0] = a; + array[1] = b; - if((array[0] == a) && (array[1] == b)) - gray = 1.0; - else - gray = 0.0; + if((array[0] == a) && (array[1] == b)) + gray = 1.0; + else + gray = 0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat3_frag.frag index 396a7739946..2d66cb16a2a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat3_frag.frag @@ -32,23 +32,23 @@ const int array_size = 2; void main (void) { - const mat3 a = mat3(1.0, 2.0, 3.0, - 4.0, 5.0, 6.0, - 7.0, 8.0, 9.0); - const mat3 b = mat3(10.0, 11.0, 12.0, - 13.0, 14.0, 15.0, - 16.0, 17.0, 18.0); - mat3 array[array_size]; - float gray; + const mat3 a = mat3(1.0, 2.0, 3.0, + 4.0, 5.0, 6.0, + 7.0, 8.0, 9.0); + const mat3 b = mat3(10.0, 11.0, 12.0, + 13.0, 14.0, 15.0, + 16.0, 17.0, 18.0); + mat3 array[array_size]; + float gray; - array[0] = a; - array[1] = b; + array[0] = a; + array[1] = b; - if((array[0] == a) && (array[1] == b)) - gray = 1.0; - else - gray = 0.0; + if((array[0] == a) && (array[1] == b)) + gray = 1.0; + else + gray = 0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat3_vert.vert index 9753f472c79..ec5792f97a4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat3_vert.vert @@ -31,24 +31,24 @@ const int array_size = 2; void main (void) { - const mat3 a = mat3(1.0, 2.0, 3.0, - 4.0, 5.0, 6.0, - 7.0, 8.0, 9.0); - const mat3 b = mat3(10.0, 11.0, 12.0, - 13.0, 14.0, 15.0, - 16.0, 17.0, 18.0); - mat3 array[array_size]; - float gray; + const mat3 a = mat3(1.0, 2.0, 3.0, + 4.0, 5.0, 6.0, + 7.0, 8.0, 9.0); + const mat3 b = mat3(10.0, 11.0, 12.0, + 13.0, 14.0, 15.0, + 16.0, 17.0, 18.0); + mat3 array[array_size]; + float gray; - array[0] = a; - array[1] = b; + array[0] = a; + array[1] = b; - if((array[0] == a) && (array[1] == b)) - gray = 1.0; - else - gray = 0.0; + if((array[0] == a) && (array[1] == b)) + gray = 1.0; + else + gray = 0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat4_frag.frag index 9ea3414b25f..f0750abb173 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat4_frag.frag @@ -32,25 +32,25 @@ const int array_size = 2; void main (void) { - const mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, - 5.0, 6.0, 7.0, 8.0, - 9.0, 10.0, 11.0, 12.0, - 13.0, 14.0, 15.0, 16.0); - const mat4 b = mat4(17.0, 18.0, 19.0, 20.0, - 21.0, 22.0, 23.0, 24.0, - 25.0, 26.0, 27.0, 28.0, - 29.0, 30.0, 31.0, 32.0); - mat4 array[array_size]; - float gray; + const mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, + 5.0, 6.0, 7.0, 8.0, + 9.0, 10.0, 11.0, 12.0, + 13.0, 14.0, 15.0, 16.0); + const mat4 b = mat4(17.0, 18.0, 19.0, 20.0, + 21.0, 22.0, 23.0, 24.0, + 25.0, 26.0, 27.0, 28.0, + 29.0, 30.0, 31.0, 32.0); + mat4 array[array_size]; + float gray; - array[0] = a; - array[1] = b; + array[0] = a; + array[1] = b; - if((array[0] == a) && (array[1] == b)) - gray = 1.0; - else - gray = 0.0; + if((array[0] == a) && (array[1] == b)) + gray = 1.0; + else + gray = 0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat4_vert.vert index 5c2b09cbbfc..bb816ba1d85 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/array_const_mat4_vert.vert @@ -31,26 +31,26 @@ const int array_size = 2; void main (void) { - const mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, - 5.0, 6.0, 7.0, 8.0, - 9.0, 10.0, 11.0, 12.0, - 13.0, 14.0, 15.0, 16.0); - const mat4 b = mat4(17.0, 18.0, 19.0, 20.0, - 21.0, 22.0, 23.0, 24.0, - 25.0, 26.0, 27.0, 28.0, - 29.0, 30.0, 31.0, 32.0); - mat4 array[array_size]; - float gray; + const mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, + 5.0, 6.0, 7.0, 8.0, + 9.0, 10.0, 11.0, 12.0, + 13.0, 14.0, 15.0, 16.0); + const mat4 b = mat4(17.0, 18.0, 19.0, 20.0, + 21.0, 22.0, 23.0, 24.0, + 25.0, 26.0, 27.0, 28.0, + 29.0, 30.0, 31.0, 32.0); + mat4 array[array_size]; + float gray; - array[0] = a; - array[1] = b; + array[0] = a; + array[1] = b; - if((array[0] == a) && (array[1] == b)) - gray = 1.0; - else - gray = 0.0; + if((array[0] == a) && (array[1] == b)) + gray = 1.0; + else + gray = 0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_copy_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_copy_frag.frag index ca145965d0b..00f8504ad48 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_copy_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_copy_frag.frag @@ -35,39 +35,39 @@ precision mediump float; void main (void) { - float x; - // Declare a constant 2 by 2 matrix with unique elements. - const mat2 a = mat2(1.0, 2.0, // 1.0 4.0 - 4.0, 8.0); // 2.0 8.0 + float x; + // Declare a constant 2 by 2 matrix with unique elements. + const mat2 a = mat2(1.0, 2.0, // 1.0 4.0 + 4.0, 8.0); // 2.0 8.0 - // Copy the constant matrix to another non-const matrix. - mat2 b = a; + // Copy the constant matrix to another non-const matrix. + mat2 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[1][0] != 4.0) elms = false; - if(b[1][1] != 8.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[1][0] != 4.0) elms = false; + if(b[1][1] != 8.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0]; - if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; - x = b[0][1] + b[1][1]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0]; + if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; + x = b[0][1] + b[1][1]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1]; - if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; - x = b[1][0] + b[1][1]; - if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1]; + if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; + x = b[1][0] + b[1][1]; + if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_copy_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_copy_vert.vert index 58be519397d..84e95ccbd7d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_copy_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_copy_vert.vert @@ -31,42 +31,42 @@ varying vec4 color; void main (void) { - float x; - // Declare a constant 2 by 2 matrix with unique elements. - const mat2 a = mat2(1.0, 2.0, // 1.0 4.0 - 4.0, 8.0); // 2.0 8.0 + float x; + // Declare a constant 2 by 2 matrix with unique elements. + const mat2 a = mat2(1.0, 2.0, // 1.0 4.0 + 4.0, 8.0); // 2.0 8.0 - // Copy the constant matrix to another non-const matrix. - mat2 b = a; + // Copy the constant matrix to another non-const matrix. + mat2 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[1][0] != 4.0) elms = false; - if(b[1][1] != 8.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[1][0] != 4.0) elms = false; + if(b[1][1] != 8.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0]; - if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; - x = b[0][1] + b[1][1]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0]; + if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; + x = b[0][1] + b[1][1]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1]; - if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; - x = b[1][0] + b[1][1]; - if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1]; + if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; + x = b[1][0] + b[1][1]; + if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_frag.frag index 97d40750acf..4eb12436b67 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_frag.frag @@ -35,36 +35,36 @@ precision mediump float; void main (void) { - float x; - // Declare a constant 2 by 2 matrix with unique elements. - const mat2 a = mat2(1.0, 2.0, // 1.0 4.0 - 4.0, 8.0); // 2.0 8.0 + float x; + // Declare a constant 2 by 2 matrix with unique elements. + const mat2 a = mat2(1.0, 2.0, // 1.0 4.0 + 4.0, 8.0); // 2.0 8.0 - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[1][0] != 4.0) elms = false; - if(a[1][1] != 8.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[1][0] != 4.0) elms = false; + if(a[1][1] != 8.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0]; - if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; - x = a[0][1] + a[1][1]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0]; + if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; + x = a[0][1] + a[1][1]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1]; - if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; - x = a[1][0] + a[1][1]; - if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1]; + if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; + x = a[1][0] + a[1][1]; + if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_vert.vert index afe7527c664..d1c6fd84c13 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat2_vert.vert @@ -31,39 +31,39 @@ varying vec4 color; void main (void) { - float x; - // Declare a constant 2 by 2 matrix with unique elements. - const mat2 a = mat2(1.0, 2.0, // 1.0 4.0 - 4.0, 8.0); // 2.0 8.0 + float x; + // Declare a constant 2 by 2 matrix with unique elements. + const mat2 a = mat2(1.0, 2.0, // 1.0 4.0 + 4.0, 8.0); // 2.0 8.0 - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[1][0] != 4.0) elms = false; - if(a[1][1] != 8.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[1][0] != 4.0) elms = false; + if(a[1][1] != 8.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0]; - if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; - x = a[0][1] + a[1][1]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0]; + if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; + x = a[0][1] + a[1][1]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1]; - if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; - x = a[1][0] + a[1][1]; - if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1]; + if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; + x = a[1][0] + a[1][1]; + if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_copy_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_copy_frag.frag index 18a92d04375..3b55111bac3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_copy_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_copy_frag.frag @@ -35,49 +35,49 @@ precision mediump float; void main (void) { - float x; - // Declare a constant 3 by 3 matrix with unique elements. - const mat3 a = mat3( 1.0, 2.0, 3.0, - 4.0, 5.0, 6.0, - 7.0, 8.0, 9.0); + float x; + // Declare a constant 3 by 3 matrix with unique elements. + const mat3 a = mat3( 1.0, 2.0, 3.0, + 4.0, 5.0, 6.0, + 7.0, 8.0, 9.0); - // Copy the constant matrix to another non-const matrix. - mat3 b = a; + // Copy the constant matrix to another non-const matrix. + mat3 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[0][2] != 3.0) elms = false; - if(b[1][0] != 4.0) elms = false; - if(b[1][1] != 5.0) elms = false; - if(b[1][2] != 6.0) elms = false; - if(b[2][0] != 7.0) elms = false; - if(b[2][1] != 8.0) elms = false; - if(b[2][2] != 9.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[0][2] != 3.0) elms = false; + if(b[1][0] != 4.0) elms = false; + if(b[1][1] != 5.0) elms = false; + if(b[1][2] != 6.0) elms = false; + if(b[2][0] != 7.0) elms = false; + if(b[2][1] != 8.0) elms = false; + if(b[2][2] != 9.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0] + b[2][0]; - if( x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON ) rows = false; - x = b[0][1] + b[1][1] + b[2][1]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON ) rows = false; - x = b[0][2] + b[1][2] + b[2][2]; - if(x < 18.0-ERROR_EPSILON || x > 18.0+ERROR_EPSILON ) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0] + b[2][0]; + if( x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON ) rows = false; + x = b[0][1] + b[1][1] + b[2][1]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON ) rows = false; + x = b[0][2] + b[1][2] + b[2][2]; + if(x < 18.0-ERROR_EPSILON || x > 18.0+ERROR_EPSILON ) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1] + b[0][2]; - if( x < 6.0-ERROR_EPSILON || x > 6.0+ERROR_EPSILON ) cols = false; - x = b[1][0] + b[1][1] + b[1][2]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; - x = b[2][0] + b[2][1] + b[2][2]; - if(x < 24.0-ERROR_EPSILON || x > 24.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1] + b[0][2]; + if( x < 6.0-ERROR_EPSILON || x > 6.0+ERROR_EPSILON ) cols = false; + x = b[1][0] + b[1][1] + b[1][2]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; + x = b[2][0] + b[2][1] + b[2][2]; + if(x < 24.0-ERROR_EPSILON || x > 24.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_copy_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_copy_vert.vert index 52c01e3b0fc..7a9282cc253 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_copy_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_copy_vert.vert @@ -31,53 +31,53 @@ varying vec4 color; void main (void) { - float x; - // Declare a constant 3 by 3 matrix with unique elements. - const mat3 a = mat3( 1.0, 2.0, 4.0, // 1.0 8.0 64.0 - 8.0, 16.0, 32.0, // 2.0 16.0 128.0 - 64.0, 128.0, 256.0); // 4.0 32.0 256.0 + float x; + // Declare a constant 3 by 3 matrix with unique elements. + const mat3 a = mat3( 1.0, 2.0, 4.0, // 1.0 8.0 64.0 + 8.0, 16.0, 32.0, // 2.0 16.0 128.0 + 64.0, 128.0, 256.0); // 4.0 32.0 256.0 - // Copy the constant matrix to another non-const matrix. - mat3 b = a; + // Copy the constant matrix to another non-const matrix. + mat3 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[0][2] != 4.0) elms = false; - if(b[1][0] != 8.0) elms = false; - if(b[1][1] != 16.0) elms = false; - if(b[1][2] != 32.0) elms = false; - if(b[2][0] != 64.0) elms = false; - if(b[2][1] != 128.0) elms = false; - if(b[2][2] != 256.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[0][2] != 4.0) elms = false; + if(b[1][0] != 8.0) elms = false; + if(b[1][1] != 16.0) elms = false; + if(b[1][2] != 32.0) elms = false; + if(b[2][0] != 64.0) elms = false; + if(b[2][1] != 128.0) elms = false; + if(b[2][2] != 256.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0] + b[2][0]; - x = b[0][0] + b[1][0] + b[2][0]; - if( x < 73.0-ERROR_EPSILON || x > 73.0+ERROR_EPSILON ) rows = false; - x = b[0][1] + b[1][1] + b[2][1]; - if(x < 146.0-ERROR_EPSILON || x > 146.0+ERROR_EPSILON ) rows = false; - x = b[0][2] + b[1][2] + b[2][2]; - if(x < 292.0-ERROR_EPSILON || x > 292.0+ERROR_EPSILON ) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0] + b[2][0]; + x = b[0][0] + b[1][0] + b[2][0]; + if( x < 73.0-ERROR_EPSILON || x > 73.0+ERROR_EPSILON ) rows = false; + x = b[0][1] + b[1][1] + b[2][1]; + if(x < 146.0-ERROR_EPSILON || x > 146.0+ERROR_EPSILON ) rows = false; + x = b[0][2] + b[1][2] + b[2][2]; + if(x < 292.0-ERROR_EPSILON || x > 292.0+ERROR_EPSILON ) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1] + b[0][2]; - if( x < 7.0-ERROR_EPSILON || x > 7.0+ERROR_EPSILON ) cols = false; - x = b[1][0] + b[1][1] + b[1][2]; - if(x < 56.0-ERROR_EPSILON || x > 56.0+ERROR_EPSILON) cols = false; - x = b[2][0] + b[2][1] + b[2][2]; - if(x < 448.0-ERROR_EPSILON || x > 448.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1] + b[0][2]; + if( x < 7.0-ERROR_EPSILON || x > 7.0+ERROR_EPSILON ) cols = false; + x = b[1][0] + b[1][1] + b[1][2]; + if(x < 56.0-ERROR_EPSILON || x > 56.0+ERROR_EPSILON) cols = false; + x = b[2][0] + b[2][1] + b[2][2]; + if(x < 448.0-ERROR_EPSILON || x > 448.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_frag.frag index 2ff69d85207..3951510744b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_frag.frag @@ -35,46 +35,46 @@ precision mediump float; void main (void) { - float x; - // Declare a constant 3 by 3 matrix with unique elements. - const mat3 a = mat3( 1.0, 2.0, 3.0, - 4.0, 5.0, 6.0, - 7.0, 8.0, 9.0); + float x; + // Declare a constant 3 by 3 matrix with unique elements. + const mat3 a = mat3( 1.0, 2.0, 3.0, + 4.0, 5.0, 6.0, + 7.0, 8.0, 9.0); - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[0][2] != 3.0) elms = false; - if(a[1][0] != 4.0) elms = false; - if(a[1][1] != 5.0) elms = false; - if(a[1][2] != 6.0) elms = false; - if(a[2][0] != 7.0) elms = false; - if(a[2][1] != 8.0) elms = false; - if(a[2][2] != 9.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[0][2] != 3.0) elms = false; + if(a[1][0] != 4.0) elms = false; + if(a[1][1] != 5.0) elms = false; + if(a[1][2] != 6.0) elms = false; + if(a[2][0] != 7.0) elms = false; + if(a[2][1] != 8.0) elms = false; + if(a[2][2] != 9.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0] + a[2][0]; - if( x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON ) rows = false; - x = a[0][1] + a[1][1] + a[2][1]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON ) rows = false; - x = a[0][2] + a[1][2] + a[2][2]; - if(x < 18.0-ERROR_EPSILON || x > 18.0+ERROR_EPSILON ) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0] + a[2][0]; + if( x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON ) rows = false; + x = a[0][1] + a[1][1] + a[2][1]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON ) rows = false; + x = a[0][2] + a[1][2] + a[2][2]; + if(x < 18.0-ERROR_EPSILON || x > 18.0+ERROR_EPSILON ) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1] + a[0][2]; - if( x < 6.0-ERROR_EPSILON || x > 6.0+ERROR_EPSILON ) cols = false; - x = a[1][0] + a[1][1] + a[1][2]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; - x = a[2][0] + a[2][1] + a[2][2]; - if(x < 24.0-ERROR_EPSILON || x > 24.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1] + a[0][2]; + if( x < 6.0-ERROR_EPSILON || x > 6.0+ERROR_EPSILON ) cols = false; + x = a[1][0] + a[1][1] + a[1][2]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; + x = a[2][0] + a[2][1] + a[2][2]; + if(x < 24.0-ERROR_EPSILON || x > 24.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_vert.vert index 55172efb575..bb4e396e5a0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat3_vert.vert @@ -31,49 +31,49 @@ varying vec4 color; void main (void) { - float x; - // Declare a constant 3 by 3 matrix with unique elements. - const mat3 a = mat3( 1.0, 2.0, 4.0, // 1.0 8.0 64.0 - 8.0, 16.0, 32.0, // 2.0 16.0 128.0 - 64.0, 128.0, 256.0); // 4.0 32.0 256.0 + float x; + // Declare a constant 3 by 3 matrix with unique elements. + const mat3 a = mat3( 1.0, 2.0, 4.0, // 1.0 8.0 64.0 + 8.0, 16.0, 32.0, // 2.0 16.0 128.0 + 64.0, 128.0, 256.0); // 4.0 32.0 256.0 - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[0][2] != 4.0) elms = false; - if(a[1][0] != 8.0) elms = false; - if(a[1][1] != 16.0) elms = false; - if(a[1][2] != 32.0) elms = false; - if(a[2][0] != 64.0) elms = false; - if(a[2][1] != 128.0) elms = false; - if(a[2][2] != 256.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[0][2] != 4.0) elms = false; + if(a[1][0] != 8.0) elms = false; + if(a[1][1] != 16.0) elms = false; + if(a[1][2] != 32.0) elms = false; + if(a[2][0] != 64.0) elms = false; + if(a[2][1] != 128.0) elms = false; + if(a[2][2] != 256.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0] + a[2][0]; - if( x < 73.0-ERROR_EPSILON || x > 73.0+ERROR_EPSILON ) rows = false; - x = a[0][1] + a[1][1] + a[2][1]; - if(x < 146.0-ERROR_EPSILON || x > 146.0+ERROR_EPSILON ) rows = false; - x = a[0][2] + a[1][2] + a[2][2]; - if(x < 292.0-ERROR_EPSILON || x > 292.0+ERROR_EPSILON ) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0] + a[2][0]; + if( x < 73.0-ERROR_EPSILON || x > 73.0+ERROR_EPSILON ) rows = false; + x = a[0][1] + a[1][1] + a[2][1]; + if(x < 146.0-ERROR_EPSILON || x > 146.0+ERROR_EPSILON ) rows = false; + x = a[0][2] + a[1][2] + a[2][2]; + if(x < 292.0-ERROR_EPSILON || x > 292.0+ERROR_EPSILON ) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1] + a[0][2]; - if( x < 7.0-ERROR_EPSILON || x > 7.0+ERROR_EPSILON ) cols = false; - x = a[1][0] + a[1][1] + a[1][2]; - if(x < 56.0-ERROR_EPSILON || x > 56.0+ERROR_EPSILON) cols = false; - x = a[2][0] + a[2][1] + a[2][2]; - if(x < 448.0-ERROR_EPSILON || x > 448.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1] + a[0][2]; + if( x < 7.0-ERROR_EPSILON || x > 7.0+ERROR_EPSILON ) cols = false; + x = a[1][0] + a[1][1] + a[1][2]; + if(x < 56.0-ERROR_EPSILON || x > 56.0+ERROR_EPSILON) cols = false; + x = a[2][0] + a[2][1] + a[2][2]; + if(x < 448.0-ERROR_EPSILON || x > 448.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_copy_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_copy_frag.frag index d0ad735c1aa..4bf0e97fac7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_copy_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_copy_frag.frag @@ -35,61 +35,61 @@ precision mediump float; void main (void) { - float x; - // Declare a constant 4 by 4 matrix with unique elements. - const mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, - 5.0, 6.0, 7.0, 8.0, - 9.0, 10.0, 11.0, 12.0, - 13.0, 14.0, 15.0, 16.0); + float x; + // Declare a constant 4 by 4 matrix with unique elements. + const mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, + 5.0, 6.0, 7.0, 8.0, + 9.0, 10.0, 11.0, 12.0, + 13.0, 14.0, 15.0, 16.0); - // Copy the constant matrix to another non-const matrix. - mat4 b = a; + // Copy the constant matrix to another non-const matrix. + mat4 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[0][2] != 3.0) elms = false; - if(b[0][3] != 4.0) elms = false; - if(b[1][0] != 5.0) elms = false; - if(b[1][1] != 6.0) elms = false; - if(b[1][2] != 7.0) elms = false; - if(b[1][3] != 8.0) elms = false; - if(b[2][0] != 9.0) elms = false; - if(b[2][1] != 10.0) elms = false; - if(b[2][2] != 11.0) elms = false; - if(b[2][3] != 12.0) elms = false; - if(b[3][0] != 13.0) elms = false; - if(b[3][1] != 14.0) elms = false; - if(b[3][2] != 15.0) elms = false; - if(b[3][3] != 16.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[0][2] != 3.0) elms = false; + if(b[0][3] != 4.0) elms = false; + if(b[1][0] != 5.0) elms = false; + if(b[1][1] != 6.0) elms = false; + if(b[1][2] != 7.0) elms = false; + if(b[1][3] != 8.0) elms = false; + if(b[2][0] != 9.0) elms = false; + if(b[2][1] != 10.0) elms = false; + if(b[2][2] != 11.0) elms = false; + if(b[2][3] != 12.0) elms = false; + if(b[3][0] != 13.0) elms = false; + if(b[3][1] != 14.0) elms = false; + if(b[3][2] != 15.0) elms = false; + if(b[3][3] != 16.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0] + b[2][0] + b[3][0]; - if(x < 28.0-ERROR_EPSILON || x > 28.0+ERROR_EPSILON) rows = false; - x = b[0][1] + b[1][1] + b[2][1] + b[3][1]; - if(x < 32.0-ERROR_EPSILON || x > 32.0+ERROR_EPSILON) rows = false; - x = b[0][2] + b[1][2] + b[2][2] + b[3][2]; - if(x < 36.0-ERROR_EPSILON || x > 36.0+ERROR_EPSILON) rows = false; - x = b[0][3] + b[1][3] + b[2][3] + b[3][3]; - if(x < 40.0-ERROR_EPSILON || x > 40.0+ERROR_EPSILON) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0] + b[2][0] + b[3][0]; + if(x < 28.0-ERROR_EPSILON || x > 28.0+ERROR_EPSILON) rows = false; + x = b[0][1] + b[1][1] + b[2][1] + b[3][1]; + if(x < 32.0-ERROR_EPSILON || x > 32.0+ERROR_EPSILON) rows = false; + x = b[0][2] + b[1][2] + b[2][2] + b[3][2]; + if(x < 36.0-ERROR_EPSILON || x > 36.0+ERROR_EPSILON) rows = false; + x = b[0][3] + b[1][3] + b[2][3] + b[3][3]; + if(x < 40.0-ERROR_EPSILON || x > 40.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1] + b[0][2] + b[0][3]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) cols = false; - x = b[1][0] + b[1][1] + b[1][2] + b[1][3]; - if(x < 26.0-ERROR_EPSILON || x > 26.0+ERROR_EPSILON) cols = false; - x = b[2][0] + b[2][1] + b[2][2] + b[2][3]; - if(x < 42.0-ERROR_EPSILON || x > 42.0+ERROR_EPSILON) cols = false; - x = b[3][0] + b[3][1] + b[3][2] + b[3][3]; - if(x < 58.0-ERROR_EPSILON || x > 58.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1] + b[0][2] + b[0][3]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) cols = false; + x = b[1][0] + b[1][1] + b[1][2] + b[1][3]; + if(x < 26.0-ERROR_EPSILON || x > 26.0+ERROR_EPSILON) cols = false; + x = b[2][0] + b[2][1] + b[2][2] + b[2][3]; + if(x < 42.0-ERROR_EPSILON || x > 42.0+ERROR_EPSILON) cols = false; + x = b[3][0] + b[3][1] + b[3][2] + b[3][3]; + if(x < 58.0-ERROR_EPSILON || x > 58.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_copy_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_copy_vert.vert index 5d16781af80..8f119e19bff 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_copy_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_copy_vert.vert @@ -31,64 +31,64 @@ varying vec4 color; void main (void) { - float x; - // Declare a constant 4 by 4 matrix with unique elements. - const mat4 a = mat4( 1.0, 2.0, 4.0, 8.0, // 1.0 16.0 256.0 4096.0 - 16.0, 32.0, 64.0, 128.0, // 2.0 32.0 512.0 8192.0 - 256.0, 512.0, 1024.0, 2048.0, // 4.0 64.0 1024.0 16384.0 - 4096.0, 8192.0, 16384.0, 32768.0); // 8.0 128.0 2048.0 32768.0 + float x; + // Declare a constant 4 by 4 matrix with unique elements. + const mat4 a = mat4( 1.0, 2.0, 4.0, 8.0, // 1.0 16.0 256.0 4096.0 + 16.0, 32.0, 64.0, 128.0, // 2.0 32.0 512.0 8192.0 + 256.0, 512.0, 1024.0, 2048.0, // 4.0 64.0 1024.0 16384.0 + 4096.0, 8192.0, 16384.0, 32768.0); // 8.0 128.0 2048.0 32768.0 - // Copy the constant matrix to another non-const matrix. - mat4 b = a; + // Copy the constant matrix to another non-const matrix. + mat4 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[0][2] != 4.0) elms = false; - if(b[0][3] != 8.0) elms = false; - if(b[1][0] != 16.0) elms = false; - if(b[1][1] != 32.0) elms = false; - if(b[1][2] != 64.0) elms = false; - if(b[1][3] != 128.0) elms = false; - if(b[2][0] != 256.0) elms = false; - if(b[2][1] != 512.0) elms = false; - if(b[2][2] != 1024.0) elms = false; - if(b[2][3] != 2048.0) elms = false; - if(b[3][0] != 4096.0) elms = false; - if(b[3][1] != 8192.0) elms = false; - if(b[3][2] != 16384.0) elms = false; - if(b[3][3] != 32768.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[0][2] != 4.0) elms = false; + if(b[0][3] != 8.0) elms = false; + if(b[1][0] != 16.0) elms = false; + if(b[1][1] != 32.0) elms = false; + if(b[1][2] != 64.0) elms = false; + if(b[1][3] != 128.0) elms = false; + if(b[2][0] != 256.0) elms = false; + if(b[2][1] != 512.0) elms = false; + if(b[2][2] != 1024.0) elms = false; + if(b[2][3] != 2048.0) elms = false; + if(b[3][0] != 4096.0) elms = false; + if(b[3][1] != 8192.0) elms = false; + if(b[3][2] != 16384.0) elms = false; + if(b[3][3] != 32768.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0] + b[2][0] + b[3][0]; - if(x < 4369.0-ERROR_EPSILON || x > 4369.0+ERROR_EPSILON) rows = false; - x = b[0][1] + b[1][1] + b[2][1] + b[3][1]; - if(x < 8738.0-ERROR_EPSILON || x > 8738.0+ERROR_EPSILON) rows = false; - x = b[0][2] + b[1][2] + b[2][2] + b[3][2]; - if(x < 17476.0-ERROR_EPSILON || x > 17476.0+ERROR_EPSILON) rows = false; - x = b[0][3] + b[1][3] + b[2][3] + b[3][3]; - if(x < 34952.0-ERROR_EPSILON || x > 34952.0+ERROR_EPSILON) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0] + b[2][0] + b[3][0]; + if(x < 4369.0-ERROR_EPSILON || x > 4369.0+ERROR_EPSILON) rows = false; + x = b[0][1] + b[1][1] + b[2][1] + b[3][1]; + if(x < 8738.0-ERROR_EPSILON || x > 8738.0+ERROR_EPSILON) rows = false; + x = b[0][2] + b[1][2] + b[2][2] + b[3][2]; + if(x < 17476.0-ERROR_EPSILON || x > 17476.0+ERROR_EPSILON) rows = false; + x = b[0][3] + b[1][3] + b[2][3] + b[3][3]; + if(x < 34952.0-ERROR_EPSILON || x > 34952.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1] + b[0][2] + b[0][3]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; - x = b[1][0] + b[1][1] + b[1][2] + b[1][3]; - if(x < 240.0-ERROR_EPSILON || x > 240.0+ERROR_EPSILON) cols = false; - x = b[2][0] + b[2][1] + b[2][2] + b[2][3]; - if(x < 3840.0-ERROR_EPSILON || x > 3840.0+ERROR_EPSILON) cols = false; - x = b[3][0] + b[3][1] + b[3][2] + b[3][3]; - if(x < 61440.0-ERROR_EPSILON || x > 61440.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1] + b[0][2] + b[0][3]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; + x = b[1][0] + b[1][1] + b[1][2] + b[1][3]; + if(x < 240.0-ERROR_EPSILON || x > 240.0+ERROR_EPSILON) cols = false; + x = b[2][0] + b[2][1] + b[2][2] + b[2][3]; + if(x < 3840.0-ERROR_EPSILON || x > 3840.0+ERROR_EPSILON) cols = false; + x = b[3][0] + b[3][1] + b[3][2] + b[3][3]; + if(x < 61440.0-ERROR_EPSILON || x > 61440.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_frag.frag index 76df04debf5..02ed577c1c5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_frag.frag @@ -35,58 +35,58 @@ precision mediump float; void main (void) { - float x; - // Declare a constant 4 by 4 matrix with unique elements. - const mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, - 5.0, 6.0, 7.0, 8.0, - 9.0, 10.0, 11.0, 12.0, - 13.0, 14.0, 15.0, 16.0); + float x; + // Declare a constant 4 by 4 matrix with unique elements. + const mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, + 5.0, 6.0, 7.0, 8.0, + 9.0, 10.0, 11.0, 12.0, + 13.0, 14.0, 15.0, 16.0); - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[0][2] != 3.0) elms = false; - if(a[0][3] != 4.0) elms = false; - if(a[1][0] != 5.0) elms = false; - if(a[1][1] != 6.0) elms = false; - if(a[1][2] != 7.0) elms = false; - if(a[1][3] != 8.0) elms = false; - if(a[2][0] != 9.0) elms = false; - if(a[2][1] != 10.0) elms = false; - if(a[2][2] != 11.0) elms = false; - if(a[2][3] != 12.0) elms = false; - if(a[3][0] != 13.0) elms = false; - if(a[3][1] != 14.0) elms = false; - if(a[3][2] != 15.0) elms = false; - if(a[3][3] != 16.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[0][2] != 3.0) elms = false; + if(a[0][3] != 4.0) elms = false; + if(a[1][0] != 5.0) elms = false; + if(a[1][1] != 6.0) elms = false; + if(a[1][2] != 7.0) elms = false; + if(a[1][3] != 8.0) elms = false; + if(a[2][0] != 9.0) elms = false; + if(a[2][1] != 10.0) elms = false; + if(a[2][2] != 11.0) elms = false; + if(a[2][3] != 12.0) elms = false; + if(a[3][0] != 13.0) elms = false; + if(a[3][1] != 14.0) elms = false; + if(a[3][2] != 15.0) elms = false; + if(a[3][3] != 16.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0] + a[2][0] + a[3][0]; - if(x < 28.0-ERROR_EPSILON || x > 28.0+ERROR_EPSILON) rows = false; - x = a[0][1] + a[1][1] + a[2][1] + a[3][1]; - if(x < 32.0-ERROR_EPSILON || x > 32.0+ERROR_EPSILON) rows = false; - x = a[0][2] + a[1][2] + a[2][2] + a[3][2]; - if(x < 36.0-ERROR_EPSILON || x > 36.0+ERROR_EPSILON) rows = false; - x = a[0][3] + a[1][3] + a[2][3] + a[3][3]; - if(x < 40.0-ERROR_EPSILON || x > 40.0+ERROR_EPSILON) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0] + a[2][0] + a[3][0]; + if(x < 28.0-ERROR_EPSILON || x > 28.0+ERROR_EPSILON) rows = false; + x = a[0][1] + a[1][1] + a[2][1] + a[3][1]; + if(x < 32.0-ERROR_EPSILON || x > 32.0+ERROR_EPSILON) rows = false; + x = a[0][2] + a[1][2] + a[2][2] + a[3][2]; + if(x < 36.0-ERROR_EPSILON || x > 36.0+ERROR_EPSILON) rows = false; + x = a[0][3] + a[1][3] + a[2][3] + a[3][3]; + if(x < 40.0-ERROR_EPSILON || x > 40.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = a[0][0] + a[0][1] + a[0][2] + a[0][3]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) cols = false; - x = a[1][0] + a[1][1] + a[1][2] + a[1][3]; - if(x < 26.0-ERROR_EPSILON || x > 26.0+ERROR_EPSILON) cols = false; - x = a[2][0] + a[2][1] + a[2][2] + a[2][3]; - if(x < 42.0-ERROR_EPSILON || x > 42.0+ERROR_EPSILON) cols = false; - x = a[3][0] + a[3][1] + a[3][2] + a[3][3]; - if(x < 58.0-ERROR_EPSILON || x > 58.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = a[0][0] + a[0][1] + a[0][2] + a[0][3]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) cols = false; + x = a[1][0] + a[1][1] + a[1][2] + a[1][3]; + if(x < 26.0-ERROR_EPSILON || x > 26.0+ERROR_EPSILON) cols = false; + x = a[2][0] + a[2][1] + a[2][2] + a[2][3]; + if(x < 42.0-ERROR_EPSILON || x > 42.0+ERROR_EPSILON) cols = false; + x = a[3][0] + a[3][1] + a[3][2] + a[3][3]; + if(x < 58.0-ERROR_EPSILON || x > 58.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_vert.vert index 53cf4e1f6bd..730087dacb2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/const_mat4_vert.vert @@ -31,61 +31,61 @@ varying vec4 color; void main (void) { - float x; - // Declare a constant 4 by 4 matrix with unique elements. - const mat4 a = mat4( 1.0, 2.0, 4.0, 8.0, // 1.0 16.0 256.0 4096.0 - 16.0, 32.0, 64.0, 128.0, // 2.0 32.0 512.0 8192.0 - 256.0, 512.0, 1024.0, 2048.0, // 4.0 64.0 1024.0 16384.0 - 4096.0, 8192.0, 16384.0, 32768.0); // 8.0 128.0 2048.0 32768.0 + float x; + // Declare a constant 4 by 4 matrix with unique elements. + const mat4 a = mat4( 1.0, 2.0, 4.0, 8.0, // 1.0 16.0 256.0 4096.0 + 16.0, 32.0, 64.0, 128.0, // 2.0 32.0 512.0 8192.0 + 256.0, 512.0, 1024.0, 2048.0, // 4.0 64.0 1024.0 16384.0 + 4096.0, 8192.0, 16384.0, 32768.0); // 8.0 128.0 2048.0 32768.0 - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[0][2] != 4.0) elms = false; - if(a[0][3] != 8.0) elms = false; - if(a[1][0] != 16.0) elms = false; - if(a[1][1] != 32.0) elms = false; - if(a[1][2] != 64.0) elms = false; - if(a[1][3] != 128.0) elms = false; - if(a[2][0] != 256.0) elms = false; - if(a[2][1] != 512.0) elms = false; - if(a[2][2] != 1024.0) elms = false; - if(a[2][3] != 2048.0) elms = false; - if(a[3][0] != 4096.0) elms = false; - if(a[3][1] != 8192.0) elms = false; - if(a[3][2] != 16384.0) elms = false; - if(a[3][3] != 32768.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[0][2] != 4.0) elms = false; + if(a[0][3] != 8.0) elms = false; + if(a[1][0] != 16.0) elms = false; + if(a[1][1] != 32.0) elms = false; + if(a[1][2] != 64.0) elms = false; + if(a[1][3] != 128.0) elms = false; + if(a[2][0] != 256.0) elms = false; + if(a[2][1] != 512.0) elms = false; + if(a[2][2] != 1024.0) elms = false; + if(a[2][3] != 2048.0) elms = false; + if(a[3][0] != 4096.0) elms = false; + if(a[3][1] != 8192.0) elms = false; + if(a[3][2] != 16384.0) elms = false; + if(a[3][3] != 32768.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0] + a[2][0] + a[3][0]; - if(x < 4369.0-ERROR_EPSILON || x > 4369.0+ERROR_EPSILON) rows = false; - x = a[0][1] + a[1][1] + a[2][1] + a[3][1]; - if(x < 8738.0-ERROR_EPSILON || x > 8738.0+ERROR_EPSILON) rows = false; - x = a[0][2] + a[1][2] + a[2][2] + a[3][2]; - if(x < 17476.0-ERROR_EPSILON || x > 17476.0+ERROR_EPSILON) rows = false; - x = a[0][3] + a[1][3] + a[2][3] + a[3][3]; - if(x < 34952.0-ERROR_EPSILON || x > 34952.0+ERROR_EPSILON) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0] + a[2][0] + a[3][0]; + if(x < 4369.0-ERROR_EPSILON || x > 4369.0+ERROR_EPSILON) rows = false; + x = a[0][1] + a[1][1] + a[2][1] + a[3][1]; + if(x < 8738.0-ERROR_EPSILON || x > 8738.0+ERROR_EPSILON) rows = false; + x = a[0][2] + a[1][2] + a[2][2] + a[3][2]; + if(x < 17476.0-ERROR_EPSILON || x > 17476.0+ERROR_EPSILON) rows = false; + x = a[0][3] + a[1][3] + a[2][3] + a[3][3]; + if(x < 34952.0-ERROR_EPSILON || x > 34952.0+ERROR_EPSILON) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1] + a[0][2] + a[0][3]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; - x = a[1][0] + a[1][1] + a[1][2] + a[1][3]; - if(x < 240.0-ERROR_EPSILON || x > 240.0+ERROR_EPSILON) cols = false; - x = a[2][0] + a[2][1] + a[2][2] + a[2][3]; - if(x < 3840.0-ERROR_EPSILON || x > 3840.0+ERROR_EPSILON) cols = false; - x = a[3][0] + a[3][1] + a[3][2] + a[3][3]; - if(x < 61440.0-ERROR_EPSILON || x > 61440.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1] + a[0][2] + a[0][3]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; + x = a[1][0] + a[1][1] + a[1][2] + a[1][3]; + if(x < 240.0-ERROR_EPSILON || x > 240.0+ERROR_EPSILON) cols = false; + x = a[2][0] + a[2][1] + a[2][2] + a[2][3]; + if(x < 3840.0-ERROR_EPSILON || x > 3840.0+ERROR_EPSILON) cols = false; + x = a[3][0] + a[3][1] + a[3][2] + a[3][3]; + if(x < 61440.0-ERROR_EPSILON || x > 61440.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_2vec2_frag.frag index d6ae4a70a95..431b6471792 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_2vec2_frag.frag @@ -30,14 +30,14 @@ varying vec4 color; void main (void) { - mat2 m = mat2(color.rg, color.ba); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat2 m = mat2(color.rg, color.ba); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if(m[0][0] != color.r) result = black; - if(m[0][1] != color.g) result = black; - if(m[1][0] != color.b) result = black; - if(m[1][1] != color.a) result = black; + if(m[0][0] != color.r) result = black; + if(m[0][1] != color.g) result = black; + if(m[1][0] != color.b) result = black; + if(m[1][1] != color.a) result = black; - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_2vec2_vert.vert index 699e9a21af8..6747a489889 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_2vec2_vert.vert @@ -30,16 +30,16 @@ varying vec4 color; void main (void) { - mat2 m = mat2(gtf_Color.rg, gtf_Color.ba); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat2 m = mat2(gtf_Color.rg, gtf_Color.ba); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if(m[0][0] != gtf_Color.r) result = black; - if(m[0][1] != gtf_Color.g) result = black; - if(m[1][0] != gtf_Color.b) result = black; - if(m[1][1] != gtf_Color.a) result = black; + if(m[0][0] != gtf_Color.r) result = black; + if(m[0][1] != gtf_Color.g) result = black; + if(m[1][0] != gtf_Color.b) result = black; + if(m[1][1] != gtf_Color.a) result = black; - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_4float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_4float_frag.frag index 7bbc17f81dd..b74a9a71d60 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_4float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_4float_frag.frag @@ -30,14 +30,14 @@ varying vec4 color; void main (void) { - mat2 m = mat2(color.r, color.g, color.b, color.a); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat2 m = mat2(color.r, color.g, color.b, color.a); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if(m[0][0] != color.r) result = black; - if(m[0][1] != color.g) result = black; - if(m[1][0] != color.b) result = black; - if(m[1][1] != color.a) result = black; + if(m[0][0] != color.r) result = black; + if(m[0][1] != color.g) result = black; + if(m[1][0] != color.b) result = black; + if(m[1][1] != color.a) result = black; - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_4float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_4float_vert.vert index 08ef1e88a06..c5a7f1a486f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_4float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_4float_vert.vert @@ -30,16 +30,16 @@ varying vec4 color; void main (void) { - mat2 m = mat2(gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.a); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat2 m = mat2(gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.a); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if(m[0][0] != gtf_Color.r) result = black; - if(m[0][1] != gtf_Color.g) result = black; - if(m[1][0] != gtf_Color.b) result = black; - if(m[1][1] != gtf_Color.a) result = black; + if(m[0][0] != gtf_Color.r) result = black; + if(m[0][1] != gtf_Color.g) result = black; + if(m[1][0] != gtf_Color.b) result = black; + if(m[1][1] != gtf_Color.a) result = black; - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_copy_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_copy_frag.frag index b37e9ecdf66..12acbc5b999 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_copy_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_copy_frag.frag @@ -35,39 +35,39 @@ precision mediump float; void main (void) { - float x; - // Declare a 2 by 2 matrix with unique elements. - mat2 a = mat2(1.0, 2.0, // 1.0 4.0 - 4.0, 8.0); // 2.0 8.0 + float x; + // Declare a 2 by 2 matrix with unique elements. + mat2 a = mat2(1.0, 2.0, // 1.0 4.0 + 4.0, 8.0); // 2.0 8.0 - // Copy the matrix to another non-const matrix. - mat2 b = a; + // Copy the matrix to another non-const matrix. + mat2 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[1][0] != 4.0) elms = false; - if(b[1][1] != 8.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[1][0] != 4.0) elms = false; + if(b[1][1] != 8.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0]; - if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; - x = b[0][1] + b[1][1]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0]; + if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; + x = b[0][1] + b[1][1]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1]; - if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; - x = b[1][0] + b[1][1]; - if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1]; + if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; + x = b[1][0] + b[1][1]; + if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_copy_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_copy_vert.vert index 63633a91c7b..6aeede3f8c8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_copy_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_copy_vert.vert @@ -31,42 +31,42 @@ varying vec4 color; void main (void) { - float x; - // Declare a 2 by 2 matrix with unique elements. - mat2 a = mat2(1.0, 2.0, // 1.0 4.0 - 4.0, 8.0); // 2.0 8.0 + float x; + // Declare a 2 by 2 matrix with unique elements. + mat2 a = mat2(1.0, 2.0, // 1.0 4.0 + 4.0, 8.0); // 2.0 8.0 - // Copy the matrix to another non-const matrix. - mat2 b = a; + // Copy the matrix to another non-const matrix. + mat2 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[1][0] != 4.0) elms = false; - if(b[1][1] != 8.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[1][0] != 4.0) elms = false; + if(b[1][1] != 8.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0]; - if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; - x = b[0][1] + b[1][1]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0]; + if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; + x = b[0][1] + b[1][1]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1]; - if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; - x = b[1][0] + b[1][1]; - if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1]; + if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; + x = b[1][0] + b[1][1]; + if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_float_frag.frag index 61bffcb5123..4c9954715d5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_float_frag.frag @@ -30,19 +30,19 @@ varying vec4 color; void main (void) { - mat2 m = mat2(0.5); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat2 m = mat2(0.5); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if((m[0][0] != 0.5)) - result = black; - if((m[0][1] != 0.0)) - result = black; + if((m[0][0] != 0.5)) + result = black; + if((m[0][1] != 0.0)) + result = black; - if((m[1][0] != 0.0)) - result = black; - if((m[1][1] != 0.5)) - result = black; + if((m[1][0] != 0.0)) + result = black; + if((m[1][1] != 0.5)) + result = black; - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_float_vert.vert index ae80d0f0e2a..894b3a05891 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_float_vert.vert @@ -29,19 +29,19 @@ varying vec4 color; void main (void) { - mat2 m = mat2(0.5); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat2 m = mat2(0.5); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if((m[0][0] != 0.5)) - result = black; - if((m[0][1] != 0.0)) - result = black; - if((m[1][0] != 0.0)) - result = black; - if((m[1][1] != 0.5)) - result = black; + if((m[0][0] != 0.5)) + result = black; + if((m[0][1] != 0.0)) + result = black; + if((m[1][0] != 0.0)) + result = black; + if((m[1][1] != 0.5)) + result = black; - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_frag.frag index 4e2c2629a9f..a105f5fc6f5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_frag.frag @@ -35,36 +35,36 @@ precision mediump float; void main (void) { - float x; - // Declare a 2 by 2 matrix with unique elements. - mat2 a = mat2(1.0, 2.0, // 1.0 4.0 - 4.0, 8.0); // 2.0 8.0 + float x; + // Declare a 2 by 2 matrix with unique elements. + mat2 a = mat2(1.0, 2.0, // 1.0 4.0 + 4.0, 8.0); // 2.0 8.0 - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[1][0] != 4.0) elms = false; - if(a[1][1] != 8.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[1][0] != 4.0) elms = false; + if(a[1][1] != 8.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0]; - if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; - x = a[0][1] + a[1][1]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0]; + if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; + x = a[0][1] + a[1][1]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1]; - if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; - x = a[1][0] + a[1][1]; - if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1]; + if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; + x = a[1][0] + a[1][1]; + if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_vert.vert index 2f58179b445..93d56cfd219 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat2_vert.vert @@ -31,39 +31,39 @@ varying vec4 color; void main (void) { - float x; - // Declare a 2 by 2 matrix with unique elements. - mat2 a = mat2(1.0, 2.0, // 1.0 4.0 - 4.0, 8.0); // 2.0 8.0 + float x; + // Declare a 2 by 2 matrix with unique elements. + mat2 a = mat2(1.0, 2.0, // 1.0 4.0 + 4.0, 8.0); // 2.0 8.0 - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[1][0] != 4.0) elms = false; - if(a[1][1] != 8.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[1][0] != 4.0) elms = false; + if(a[1][1] != 8.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0]; - if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; - x = a[0][1] + a[1][1]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0]; + if(x < 5.0-ERROR_EPSILON || x > 5.0+ERROR_EPSILON) rows = false; + x = a[0][1] + a[1][1]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1]; - if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; - x = a[1][0] + a[1][1]; - if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1]; + if(x < 3.0-ERROR_EPSILON || x > 3.0+ERROR_EPSILON) cols = false; + x = a[1][0] + a[1][1]; + if(x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_3vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_3vec3_frag.frag index 0faa88004bb..133a71f8479 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_3vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_3vec3_frag.frag @@ -30,19 +30,19 @@ varying vec4 color; void main (void) { - mat3 m = mat3(color.rgb, color.rgb, color.rgb); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat3 m = mat3(color.rgb, color.rgb, color.rgb); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if(m[0][0] != color.r) result = black; - if(m[0][1] != color.g) result = black; - if(m[0][2] != color.b) result = black; - if(m[1][0] != color.r) result = black; - if(m[1][1] != color.g) result = black; - if(m[1][2] != color.b) result = black; - if(m[2][0] != color.r) result = black; - if(m[2][1] != color.g) result = black; - if(m[2][2] != color.b) result = black; + if(m[0][0] != color.r) result = black; + if(m[0][1] != color.g) result = black; + if(m[0][2] != color.b) result = black; + if(m[1][0] != color.r) result = black; + if(m[1][1] != color.g) result = black; + if(m[1][2] != color.b) result = black; + if(m[2][0] != color.r) result = black; + if(m[2][1] != color.g) result = black; + if(m[2][2] != color.b) result = black; - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_3vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_3vec3_vert.vert index 818479658e6..c0b92b88ffe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_3vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_3vec3_vert.vert @@ -30,20 +30,20 @@ varying vec4 color; void main (void) { - mat3 m = mat3(gtf_Color.rgb, gtf_Color.rgb, gtf_Color.rgb); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat3 m = mat3(gtf_Color.rgb, gtf_Color.rgb, gtf_Color.rgb); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if(m[0][0] != gtf_Color.r) result = black; - if(m[0][1] != gtf_Color.g) result = black; - if(m[0][2] != gtf_Color.b) result = black; - if(m[1][0] != gtf_Color.r) result = black; - if(m[1][1] != gtf_Color.g) result = black; - if(m[1][2] != gtf_Color.b) result = black; - if(m[2][0] != gtf_Color.r) result = black; - if(m[2][1] != gtf_Color.g) result = black; - if(m[2][2] != gtf_Color.b) result = black; + if(m[0][0] != gtf_Color.r) result = black; + if(m[0][1] != gtf_Color.g) result = black; + if(m[0][2] != gtf_Color.b) result = black; + if(m[1][0] != gtf_Color.r) result = black; + if(m[1][1] != gtf_Color.g) result = black; + if(m[1][2] != gtf_Color.b) result = black; + if(m[2][0] != gtf_Color.r) result = black; + if(m[2][1] != gtf_Color.g) result = black; + if(m[2][2] != gtf_Color.b) result = black; - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_9float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_9float_frag.frag index b3a40272a4f..e65c7241eeb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_9float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_9float_frag.frag @@ -30,19 +30,19 @@ varying vec4 color; void main (void) { - mat3 m = mat3(color.r, color.g, color.b, color.r, color.g, color.b, color.r, color.g, color.b); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat3 m = mat3(color.r, color.g, color.b, color.r, color.g, color.b, color.r, color.g, color.b); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if(m[0][0] != color.r) result = black; - if(m[0][1] != color.g) result = black; - if(m[0][2] != color.b) result = black; - if(m[1][0] != color.r) result = black; - if(m[1][1] != color.g) result = black; - if(m[1][2] != color.b) result = black; - if(m[2][0] != color.r) result = black; - if(m[2][1] != color.g) result = black; - if(m[2][2] != color.b) result = black; + if(m[0][0] != color.r) result = black; + if(m[0][1] != color.g) result = black; + if(m[0][2] != color.b) result = black; + if(m[1][0] != color.r) result = black; + if(m[1][1] != color.g) result = black; + if(m[1][2] != color.b) result = black; + if(m[2][0] != color.r) result = black; + if(m[2][1] != color.g) result = black; + if(m[2][2] != color.b) result = black; - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_9float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_9float_vert.vert index b2cf2a31090..b13848605b6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_9float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_9float_vert.vert @@ -30,21 +30,21 @@ varying vec4 color; void main (void) { - mat3 m = mat3(gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.r, gtf_Color.g, gtf_Color.b); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat3 m = mat3(gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.r, gtf_Color.g, gtf_Color.b); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if(m[0][0] != gtf_Color.r) result = black; - if(m[0][1] != gtf_Color.g) result = black; - if(m[0][2] != gtf_Color.b) result = black; - if(m[1][0] != gtf_Color.r) result = black; - if(m[1][1] != gtf_Color.g) result = black; - if(m[1][2] != gtf_Color.b) result = black; - if(m[2][0] != gtf_Color.r) result = black; - if(m[2][1] != gtf_Color.g) result = black; - if(m[2][2] != gtf_Color.b) result = black; + if(m[0][0] != gtf_Color.r) result = black; + if(m[0][1] != gtf_Color.g) result = black; + if(m[0][2] != gtf_Color.b) result = black; + if(m[1][0] != gtf_Color.r) result = black; + if(m[1][1] != gtf_Color.g) result = black; + if(m[1][2] != gtf_Color.b) result = black; + if(m[2][0] != gtf_Color.r) result = black; + if(m[2][1] != gtf_Color.g) result = black; + if(m[2][2] != gtf_Color.b) result = black; - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_copy_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_copy_frag.frag index 16d41a346a8..b2650591c54 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_copy_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_copy_frag.frag @@ -35,49 +35,49 @@ precision mediump float; void main (void) { - float x; - // Declare a 3 by 3 matrix with unique elements. - mat3 a = mat3( 1.0, 2.0, 3.0, - 4.0, 5.0, 6.0, - 7.0, 8.0, 9.0); + float x; + // Declare a 3 by 3 matrix with unique elements. + mat3 a = mat3( 1.0, 2.0, 3.0, + 4.0, 5.0, 6.0, + 7.0, 8.0, 9.0); - // Copy the matrix to another non-const matrix. - mat3 b = a; + // Copy the matrix to another non-const matrix. + mat3 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[0][2] != 3.0) elms = false; - if(b[1][0] != 4.0) elms = false; - if(b[1][1] != 5.0) elms = false; - if(b[1][2] != 6.0) elms = false; - if(b[2][0] != 7.0) elms = false; - if(b[2][1] != 8.0) elms = false; - if(b[2][2] != 9.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[0][2] != 3.0) elms = false; + if(b[1][0] != 4.0) elms = false; + if(b[1][1] != 5.0) elms = false; + if(b[1][2] != 6.0) elms = false; + if(b[2][0] != 7.0) elms = false; + if(b[2][1] != 8.0) elms = false; + if(b[2][2] != 9.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0] + b[2][0]; - if( x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON ) rows = false; - x = b[0][1] + b[1][1] + b[2][1]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON ) rows = false; - x = b[0][2] + b[1][2] + b[2][2]; - if(x < 18.0-ERROR_EPSILON || x > 18.0+ERROR_EPSILON ) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0] + b[2][0]; + if( x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON ) rows = false; + x = b[0][1] + b[1][1] + b[2][1]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON ) rows = false; + x = b[0][2] + b[1][2] + b[2][2]; + if(x < 18.0-ERROR_EPSILON || x > 18.0+ERROR_EPSILON ) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1] + b[0][2]; - if( x < 6.0-ERROR_EPSILON || x > 6.0+ERROR_EPSILON ) cols = false; - x = b[1][0] + b[1][1] + b[1][2]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; - x = b[2][0] + b[2][1] + b[2][2]; - if(x < 24.0-ERROR_EPSILON || x > 24.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1] + b[0][2]; + if( x < 6.0-ERROR_EPSILON || x > 6.0+ERROR_EPSILON ) cols = false; + x = b[1][0] + b[1][1] + b[1][2]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; + x = b[2][0] + b[2][1] + b[2][2]; + if(x < 24.0-ERROR_EPSILON || x > 24.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_copy_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_copy_vert.vert index 4fe3cffc13b..a1c96502a9f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_copy_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_copy_vert.vert @@ -31,52 +31,52 @@ varying vec4 color; void main (void) { - float x; - // Declare a 3 by 3 matrix with unique elements. - mat3 a = mat3( 1.0, 2.0, 4.0, // 1.0 8.0 64.0 - 8.0, 16.0, 32.0, // 2.0 16.0 128.0 - 64.0, 128.0, 256.0); // 4.0 32.0 256.0 + float x; + // Declare a 3 by 3 matrix with unique elements. + mat3 a = mat3( 1.0, 2.0, 4.0, // 1.0 8.0 64.0 + 8.0, 16.0, 32.0, // 2.0 16.0 128.0 + 64.0, 128.0, 256.0); // 4.0 32.0 256.0 - // Copy the matrix to another non-const matrix. - mat3 b = a; + // Copy the matrix to another non-const matrix. + mat3 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[0][2] != 4.0) elms = false; - if(b[1][0] != 8.0) elms = false; - if(b[1][1] != 16.0) elms = false; - if(b[1][2] != 32.0) elms = false; - if(b[2][0] != 64.0) elms = false; - if(b[2][1] != 128.0) elms = false; - if(b[2][2] != 256.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[0][2] != 4.0) elms = false; + if(b[1][0] != 8.0) elms = false; + if(b[1][1] != 16.0) elms = false; + if(b[1][2] != 32.0) elms = false; + if(b[2][0] != 64.0) elms = false; + if(b[2][1] != 128.0) elms = false; + if(b[2][2] != 256.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0] + b[2][0]; - if( x < 73.0-ERROR_EPSILON || x > 73.0+ERROR_EPSILON ) rows = false; - x = b[0][1] + b[1][1] + b[2][1]; - if(x < 146.0-ERROR_EPSILON || x > 146.0+ERROR_EPSILON ) rows = false; - x = b[0][2] + b[1][2] + b[2][2]; - if(x < 292.0-ERROR_EPSILON || x > 292.0+ERROR_EPSILON ) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0] + b[2][0]; + if( x < 73.0-ERROR_EPSILON || x > 73.0+ERROR_EPSILON ) rows = false; + x = b[0][1] + b[1][1] + b[2][1]; + if(x < 146.0-ERROR_EPSILON || x > 146.0+ERROR_EPSILON ) rows = false; + x = b[0][2] + b[1][2] + b[2][2]; + if(x < 292.0-ERROR_EPSILON || x > 292.0+ERROR_EPSILON ) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1] + b[0][2]; - if( x < 7.0-ERROR_EPSILON || x > 7.0+ERROR_EPSILON ) cols = false; - x = b[1][0] + b[1][1] + b[1][2]; - if(x < 56.0-ERROR_EPSILON || x > 56.0+ERROR_EPSILON) cols = false; - x = b[2][0] + b[2][1] + b[2][2]; - if(x < 448.0-ERROR_EPSILON || x > 448.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1] + b[0][2]; + if( x < 7.0-ERROR_EPSILON || x > 7.0+ERROR_EPSILON ) cols = false; + x = b[1][0] + b[1][1] + b[1][2]; + if(x < 56.0-ERROR_EPSILON || x > 56.0+ERROR_EPSILON) cols = false; + x = b[2][0] + b[2][1] + b[2][2]; + if(x < 448.0-ERROR_EPSILON || x > 448.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_float_frag.frag index 23547d594ed..bd62d0e462a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_float_frag.frag @@ -30,30 +30,30 @@ varying vec4 color; void main (void) { - mat3 m = mat3(0.5); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat3 m = mat3(0.5); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if((m[0][0] != 0.5)) - result = black; - if((m[0][1] != 0.0)) - result = black; - if((m[0][2] != 0.0)) - result = black; + if((m[0][0] != 0.5)) + result = black; + if((m[0][1] != 0.0)) + result = black; + if((m[0][2] != 0.0)) + result = black; - if((m[1][0] != 0.0)) - result = black; - if((m[1][1] != 0.5)) - result = black; - if((m[1][2] != 0.0)) - result = black; + if((m[1][0] != 0.0)) + result = black; + if((m[1][1] != 0.5)) + result = black; + if((m[1][2] != 0.0)) + result = black; - if((m[2][0] != 0.0)) - result = black; - if((m[2][1] != 0.0)) - result = black; - if((m[2][2] != 0.5)) - result = black; + if((m[2][0] != 0.0)) + result = black; + if((m[2][1] != 0.0)) + result = black; + if((m[2][2] != 0.5)) + result = black; - gl_FragColor = result; + gl_FragColor = result; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_float_vert.vert index 3e843e568f8..f42f47763c9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_float_vert.vert @@ -29,31 +29,31 @@ varying vec4 color; void main (void) { - mat3 m = mat3(0.5); - vec4 black = vec4(0.0, 0.0, 0.0, 1.0); - vec4 result = vec4(1.0, 1.0, 1.0, 1.0); + mat3 m = mat3(0.5); + vec4 black = vec4(0.0, 0.0, 0.0, 1.0); + vec4 result = vec4(1.0, 1.0, 1.0, 1.0); - if((m[0][0] != 0.5)) - result = black; - if((m[0][1] != 0.0)) - result = black; - if((m[0][2] != 0.0)) - result = black; + if((m[0][0] != 0.5)) + result = black; + if((m[0][1] != 0.0)) + result = black; + if((m[0][2] != 0.0)) + result = black; - if((m[1][0] != 0.0)) - result = black; - if((m[1][1] != 0.5)) - result = black; - if((m[1][2] != 0.0)) - result = black; + if((m[1][0] != 0.0)) + result = black; + if((m[1][1] != 0.5)) + result = black; + if((m[1][2] != 0.0)) + result = black; - if((m[2][0] != 0.0)) - result = black; - if((m[2][1] != 0.0)) - result = black; - if((m[2][2] != 0.5)) - result = black; + if((m[2][0] != 0.0)) + result = black; + if((m[2][1] != 0.0)) + result = black; + if((m[2][2] != 0.5)) + result = black; - color = result; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = result; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_frag.frag index b0decd06b91..29913992c54 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_frag.frag @@ -35,46 +35,46 @@ precision mediump float; void main (void) { - float x; - // Declare a 3 by 3 matrix with unique elements. - mat3 a = mat3( 1.0, 2.0, 3.0, - 4.0, 5.0, 6.0, - 7.0, 8.0, 9.0); + float x; + // Declare a 3 by 3 matrix with unique elements. + mat3 a = mat3( 1.0, 2.0, 3.0, + 4.0, 5.0, 6.0, + 7.0, 8.0, 9.0); - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[0][2] != 3.0) elms = false; - if(a[1][0] != 4.0) elms = false; - if(a[1][1] != 5.0) elms = false; - if(a[1][2] != 6.0) elms = false; - if(a[2][0] != 7.0) elms = false; - if(a[2][1] != 8.0) elms = false; - if(a[2][2] != 9.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[0][2] != 3.0) elms = false; + if(a[1][0] != 4.0) elms = false; + if(a[1][1] != 5.0) elms = false; + if(a[1][2] != 6.0) elms = false; + if(a[2][0] != 7.0) elms = false; + if(a[2][1] != 8.0) elms = false; + if(a[2][2] != 9.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0] + a[2][0]; - if( x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON ) rows = false; - x = a[0][1] + a[1][1] + a[2][1]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON ) rows = false; - x = a[0][2] + a[1][2] + a[2][2]; - if(x < 18.0-ERROR_EPSILON || x > 18.0+ERROR_EPSILON ) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0] + a[2][0]; + if( x < 12.0-ERROR_EPSILON || x > 12.0+ERROR_EPSILON ) rows = false; + x = a[0][1] + a[1][1] + a[2][1]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON ) rows = false; + x = a[0][2] + a[1][2] + a[2][2]; + if(x < 18.0-ERROR_EPSILON || x > 18.0+ERROR_EPSILON ) rows = false; - // Add up each column of the copy. - bool cols = true; - x = a[0][0] + a[0][1] + a[0][2]; - if( x < 6.0-ERROR_EPSILON || x > 6.0+ERROR_EPSILON ) cols = false; - x = a[1][0] + a[1][1] + a[1][2]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; - x = a[2][0] + a[2][1] + a[2][2]; - if(x < 24.0-ERROR_EPSILON || x > 24.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = a[0][0] + a[0][1] + a[0][2]; + if( x < 6.0-ERROR_EPSILON || x > 6.0+ERROR_EPSILON ) cols = false; + x = a[1][0] + a[1][1] + a[1][2]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; + x = a[2][0] + a[2][1] + a[2][2]; + if(x < 24.0-ERROR_EPSILON || x > 24.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_vert.vert index 27b06c694c5..70588d0aa66 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat3_vert.vert @@ -31,49 +31,49 @@ varying vec4 color; void main (void) { - float x; - // Declare a 3 by 3 matrix with unique elements. - mat3 a = mat3( 1.0, 2.0, 4.0, // 1.0 8.0 64.0 - 8.0, 16.0, 32.0, // 2.0 16.0 128.0 - 64.0, 128.0, 256.0); // 4.0 32.0 256.0 + float x; + // Declare a 3 by 3 matrix with unique elements. + mat3 a = mat3( 1.0, 2.0, 4.0, // 1.0 8.0 64.0 + 8.0, 16.0, 32.0, // 2.0 16.0 128.0 + 64.0, 128.0, 256.0); // 4.0 32.0 256.0 - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[0][2] != 4.0) elms = false; - if(a[1][0] != 8.0) elms = false; - if(a[1][1] != 16.0) elms = false; - if(a[1][2] != 32.0) elms = false; - if(a[2][0] != 64.0) elms = false; - if(a[2][1] != 128.0) elms = false; - if(a[2][2] != 256.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[0][2] != 4.0) elms = false; + if(a[1][0] != 8.0) elms = false; + if(a[1][1] != 16.0) elms = false; + if(a[1][2] != 32.0) elms = false; + if(a[2][0] != 64.0) elms = false; + if(a[2][1] != 128.0) elms = false; + if(a[2][2] != 256.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0] + a[2][0]; - if( x < 73.0-ERROR_EPSILON || x > 73.0+ERROR_EPSILON ) rows = false; - x = a[0][1] + a[1][1] + a[2][1]; - if(x < 146.0-ERROR_EPSILON || x > 146.0+ERROR_EPSILON ) rows = false; - x = a[0][2] + a[1][2] + a[2][2]; - if(x < 292.0-ERROR_EPSILON || x > 292.0+ERROR_EPSILON ) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0] + a[2][0]; + if( x < 73.0-ERROR_EPSILON || x > 73.0+ERROR_EPSILON ) rows = false; + x = a[0][1] + a[1][1] + a[2][1]; + if(x < 146.0-ERROR_EPSILON || x > 146.0+ERROR_EPSILON ) rows = false; + x = a[0][2] + a[1][2] + a[2][2]; + if(x < 292.0-ERROR_EPSILON || x > 292.0+ERROR_EPSILON ) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1] + a[0][2]; - if( x < 7.0-ERROR_EPSILON || x > 7.0+ERROR_EPSILON ) cols = false; - x = a[1][0] + a[1][1] + a[1][2]; - if(x < 56.0-ERROR_EPSILON || x > 56.0+ERROR_EPSILON) cols = false; - x = a[2][0] + a[2][1] + a[2][2]; - if(x < 448.0-ERROR_EPSILON || x > 448.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1] + a[0][2]; + if( x < 7.0-ERROR_EPSILON || x > 7.0+ERROR_EPSILON ) cols = false; + x = a[1][0] + a[1][1] + a[1][2]; + if(x < 56.0-ERROR_EPSILON || x > 56.0+ERROR_EPSILON) cols = false; + x = a[2][0] + a[2][1] + a[2][2]; + if(x < 448.0-ERROR_EPSILON || x > 448.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_16float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_16float_frag.frag index c6468378add..7440e65cf07 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_16float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_16float_frag.frag @@ -36,39 +36,39 @@ varying vec4 color; void main (void) { - mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, - 5.0, 6.0, 7.0, 8.0, + mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, + 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0); - float gray,sum1=0.0,sum2=0.0,sum3=0.0,sum4=0.0; - int i; + float gray,sum1=0.0,sum2=0.0,sum3=0.0,sum4=0.0; + int i; - sum1 += a[0][0]; - sum2 += a[1][0]; - sum3 += a[2][0]; - sum4 += a[3][0]; + sum1 += a[0][0]; + sum2 += a[1][0]; + sum3 += a[2][0]; + sum4 += a[3][0]; - sum1 += a[0][1]; - sum2 += a[1][1]; - sum3 += a[2][1]; - sum4 += a[3][1]; + sum1 += a[0][1]; + sum2 += a[1][1]; + sum3 += a[2][1]; + sum4 += a[3][1]; - sum1 += a[0][2]; - sum2 += a[1][2]; - sum3 += a[2][2]; - sum4 += a[3][2]; + sum1 += a[0][2]; + sum2 += a[1][2]; + sum3 += a[2][2]; + sum4 += a[3][2]; - sum1 += a[0][3]; - sum2 += a[1][3]; - sum3 += a[2][3]; - sum4 += a[3][3]; + sum1 += a[0][3]; + sum2 += a[1][3]; + sum3 += a[2][3]; + sum4 += a[3][3]; - if( ( sum1 > 10.0-ERROR_EPSILON && sum1 < 10.0+ERROR_EPSILON ) && - ( sum2 > 26.0-ERROR_EPSILON && sum2 < 26.0+ERROR_EPSILON) && - ( sum3 > 42.0-ERROR_EPSILON && sum3 < 42.0+ERROR_EPSILON) && - ( sum4 > 58.0-ERROR_EPSILON && sum4 < 58.0+ERROR_EPSILON) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + if( ( sum1 > 10.0-ERROR_EPSILON && sum1 < 10.0+ERROR_EPSILON ) && + ( sum2 > 26.0-ERROR_EPSILON && sum2 < 26.0+ERROR_EPSILON) && + ( sum3 > 42.0-ERROR_EPSILON && sum3 < 42.0+ERROR_EPSILON) && + ( sum4 > 58.0-ERROR_EPSILON && sum4 < 58.0+ERROR_EPSILON) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_16float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_16float_vert.vert index 037d1318eec..485085355a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_16float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_16float_vert.vert @@ -31,41 +31,41 @@ varying vec4 color; void main (void) { - mat4 a = mat4(1.0, 2.0, 3.0, 4.0, - 5.0, 6.0, 7.0, 8.0, + mat4 a = mat4(1.0, 2.0, 3.0, 4.0, + 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0); - float gray,sum1=0.0,sum2=0.0,sum3=0.0,sum4=0.0; - int i; + float gray,sum1=0.0,sum2=0.0,sum3=0.0,sum4=0.0; + int i; - sum1 = sum1 + a[0][0]; - sum2 = sum2 + a[1][0]; - sum3 = sum3 + a[2][0]; - sum4 = sum4 + a[3][0]; + sum1 = sum1 + a[0][0]; + sum2 = sum2 + a[1][0]; + sum3 = sum3 + a[2][0]; + sum4 = sum4 + a[3][0]; - sum1 = sum1 + a[0][1]; - sum2 = sum2 + a[1][1]; - sum3 = sum3 + a[2][1]; - sum4 = sum4 + a[3][1]; + sum1 = sum1 + a[0][1]; + sum2 = sum2 + a[1][1]; + sum3 = sum3 + a[2][1]; + sum4 = sum4 + a[3][1]; - sum1 = sum1 + a[0][2]; - sum2 = sum2 + a[1][2]; - sum3 = sum3 + a[2][2]; - sum4 = sum4 + a[3][2]; + sum1 = sum1 + a[0][2]; + sum2 = sum2 + a[1][2]; + sum3 = sum3 + a[2][2]; + sum4 = sum4 + a[3][2]; - sum1 = sum1 + a[0][3]; - sum2 = sum2 + a[1][3]; - sum3 = sum3 + a[2][3]; - sum4 = sum4 + a[3][3]; + sum1 = sum1 + a[0][3]; + sum2 = sum2 + a[1][3]; + sum3 = sum3 + a[2][3]; + sum4 = sum4 + a[3][3]; - if( ( sum1 > 10.0-ERROR_EPSILON && sum1 < 10.0+ERROR_EPSILON ) && - ( sum2 > 26.0-ERROR_EPSILON && sum2 < 26.0+ERROR_EPSILON) && - ( sum3 > 42.0-ERROR_EPSILON && sum3 < 42.0+ERROR_EPSILON) && - ( sum4 > 58.0-ERROR_EPSILON && sum4 < 58.0+ERROR_EPSILON) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if( ( sum1 > 10.0-ERROR_EPSILON && sum1 < 10.0+ERROR_EPSILON ) && + ( sum2 > 26.0-ERROR_EPSILON && sum2 < 26.0+ERROR_EPSILON) && + ( sum3 > 42.0-ERROR_EPSILON && sum3 < 42.0+ERROR_EPSILON) && + ( sum4 > 58.0-ERROR_EPSILON && sum4 < 58.0+ERROR_EPSILON) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_4vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_4vec4_frag.frag index 44e1cd6bee0..44b425a4150 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_4vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_4vec4_frag.frag @@ -36,41 +36,41 @@ varying vec4 color; void main (void) { - vec4 L1 = vec4(1.0, 2.0, 3.0, 4.0); - vec4 L2 = vec4(5.0, 6.0, 7.0, 8.0); - vec4 L3 = vec4(9.0, 10.0, 11.0, 12.0); - vec4 L4 = vec4(13.0, 14.0, 15.0, 16.0); + vec4 L1 = vec4(1.0, 2.0, 3.0, 4.0); + vec4 L2 = vec4(5.0, 6.0, 7.0, 8.0); + vec4 L3 = vec4(9.0, 10.0, 11.0, 12.0); + vec4 L4 = vec4(13.0, 14.0, 15.0, 16.0); - mat4 a = mat4(L1,L2,L3,L4); + mat4 a = mat4(L1,L2,L3,L4); - float gray,sum1=0.0,sum2=0.0,sum3=0.0,sum4=0.0; - int i; + float gray,sum1=0.0,sum2=0.0,sum3=0.0,sum4=0.0; + int i; - sum1 = sum1 + a[0][0]; - sum2 = sum2 + a[1][0]; - sum3 = sum3 + a[2][0]; - sum4 = sum4 + a[3][0]; + sum1 = sum1 + a[0][0]; + sum2 = sum2 + a[1][0]; + sum3 = sum3 + a[2][0]; + sum4 = sum4 + a[3][0]; - sum1 = sum1 + a[0][1]; - sum2 = sum2 + a[1][1]; - sum3 = sum3 + a[2][1]; - sum4 = sum4 + a[3][1]; + sum1 = sum1 + a[0][1]; + sum2 = sum2 + a[1][1]; + sum3 = sum3 + a[2][1]; + sum4 = sum4 + a[3][1]; - sum1 = sum1 + a[0][2]; - sum2 = sum2 + a[1][2]; - sum3 = sum3 + a[2][2]; - sum4 = sum4 + a[3][2]; + sum1 = sum1 + a[0][2]; + sum2 = sum2 + a[1][2]; + sum3 = sum3 + a[2][2]; + sum4 = sum4 + a[3][2]; - sum1 = sum1 + a[0][3]; - sum2 = sum2 + a[1][3]; - sum3 = sum3 + a[2][3]; - sum4 = sum4 + a[3][3]; + sum1 = sum1 + a[0][3]; + sum2 = sum2 + a[1][3]; + sum3 = sum3 + a[2][3]; + sum4 = sum4 + a[3][3]; - if( ( sum1 > 10.0-ERROR_EPSILON && sum1 < 10.0+ERROR_EPSILON ) && - ( sum2 > 26.0-ERROR_EPSILON && sum2 < 26.0+ERROR_EPSILON) && - ( sum3 > 42.0-ERROR_EPSILON && sum3 < 42.0+ERROR_EPSILON) && - ( sum4 > 58.0-ERROR_EPSILON && sum4 < 58.0+ERROR_EPSILON) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + if( ( sum1 > 10.0-ERROR_EPSILON && sum1 < 10.0+ERROR_EPSILON ) && + ( sum2 > 26.0-ERROR_EPSILON && sum2 < 26.0+ERROR_EPSILON) && + ( sum3 > 42.0-ERROR_EPSILON && sum3 < 42.0+ERROR_EPSILON) && + ( sum4 > 58.0-ERROR_EPSILON && sum4 < 58.0+ERROR_EPSILON) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_4vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_4vec4_vert.vert index 4d8f1c82eb2..77dce5eb860 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_4vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_4vec4_vert.vert @@ -31,43 +31,43 @@ varying vec4 color; void main (void) { - vec4 L1 = vec4(1.0, 2.0, 3.0, 4.0); - vec4 L2 = vec4(5.0, 6.0, 7.0, 8.0); - vec4 L3 = vec4(9.0, 10.0, 11.0, 12.0); - vec4 L4 = vec4(13.0, 14.0, 15.0, 16.0); + vec4 L1 = vec4(1.0, 2.0, 3.0, 4.0); + vec4 L2 = vec4(5.0, 6.0, 7.0, 8.0); + vec4 L3 = vec4(9.0, 10.0, 11.0, 12.0); + vec4 L4 = vec4(13.0, 14.0, 15.0, 16.0); - mat4 a = mat4(L1,L2,L3,L4); + mat4 a = mat4(L1,L2,L3,L4); - float gray,sum1=0.0,sum2=0.0,sum3=0.0,sum4=0.0; - int i; + float gray,sum1=0.0,sum2=0.0,sum3=0.0,sum4=0.0; + int i; - sum1 = sum1 + a[0][0]; - sum2 = sum2 + a[1][0]; - sum3 = sum3 + a[2][0]; - sum4 = sum4 + a[3][0]; + sum1 = sum1 + a[0][0]; + sum2 = sum2 + a[1][0]; + sum3 = sum3 + a[2][0]; + sum4 = sum4 + a[3][0]; - sum1 = sum1 + a[0][1]; - sum2 = sum2 + a[1][1]; - sum3 = sum3 + a[2][1]; - sum4 = sum4 + a[3][1]; + sum1 = sum1 + a[0][1]; + sum2 = sum2 + a[1][1]; + sum3 = sum3 + a[2][1]; + sum4 = sum4 + a[3][1]; - sum1 = sum1 + a[0][2]; - sum2 = sum2 + a[1][2]; - sum3 = sum3 + a[2][2]; - sum4 = sum4 + a[3][2]; + sum1 = sum1 + a[0][2]; + sum2 = sum2 + a[1][2]; + sum3 = sum3 + a[2][2]; + sum4 = sum4 + a[3][2]; - sum1 = sum1 + a[0][3]; - sum2 = sum2 + a[1][3]; - sum3 = sum3 + a[2][3]; - sum4 = sum4 + a[3][3]; + sum1 = sum1 + a[0][3]; + sum2 = sum2 + a[1][3]; + sum3 = sum3 + a[2][3]; + sum4 = sum4 + a[3][3]; - if( ( sum1 > 10.0-ERROR_EPSILON && sum1 < 10.0+ERROR_EPSILON ) && - ( sum2 > 26.0-ERROR_EPSILON && sum2 < 26.0+ERROR_EPSILON) && - ( sum3 > 42.0-ERROR_EPSILON && sum3 < 42.0+ERROR_EPSILON) && - ( sum4 > 58.0-ERROR_EPSILON && sum4 < 58.0+ERROR_EPSILON) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if( ( sum1 > 10.0-ERROR_EPSILON && sum1 < 10.0+ERROR_EPSILON ) && + ( sum2 > 26.0-ERROR_EPSILON && sum2 < 26.0+ERROR_EPSILON) && + ( sum3 > 42.0-ERROR_EPSILON && sum3 < 42.0+ERROR_EPSILON) && + ( sum4 > 58.0-ERROR_EPSILON && sum4 < 58.0+ERROR_EPSILON) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_copy_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_copy_frag.frag index 45ea27aa2b8..340fc51b5fa 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_copy_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_copy_frag.frag @@ -35,61 +35,61 @@ precision mediump float; void main (void) { - float x; - // Declare a constant 4 by 4 matrix with unique elements. - mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, - 5.0, 6.0, 7.0, 8.0, - 9.0, 10.0, 11.0, 12.0, - 13.0, 14.0, 15.0, 16.0); + float x; + // Declare a constant 4 by 4 matrix with unique elements. + mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, + 5.0, 6.0, 7.0, 8.0, + 9.0, 10.0, 11.0, 12.0, + 13.0, 14.0, 15.0, 16.0); - // Copy the matrix to another non-const matrix. - mat4 b = a; + // Copy the matrix to another non-const matrix. + mat4 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[0][2] != 3.0) elms = false; - if(b[0][3] != 4.0) elms = false; - if(b[1][0] != 5.0) elms = false; - if(b[1][1] != 6.0) elms = false; - if(b[1][2] != 7.0) elms = false; - if(b[1][3] != 8.0) elms = false; - if(b[2][0] != 9.0) elms = false; - if(b[2][1] != 10.0) elms = false; - if(b[2][2] != 11.0) elms = false; - if(b[2][3] != 12.0) elms = false; - if(b[3][0] != 13.0) elms = false; - if(b[3][1] != 14.0) elms = false; - if(b[3][2] != 15.0) elms = false; - if(b[3][3] != 16.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[0][2] != 3.0) elms = false; + if(b[0][3] != 4.0) elms = false; + if(b[1][0] != 5.0) elms = false; + if(b[1][1] != 6.0) elms = false; + if(b[1][2] != 7.0) elms = false; + if(b[1][3] != 8.0) elms = false; + if(b[2][0] != 9.0) elms = false; + if(b[2][1] != 10.0) elms = false; + if(b[2][2] != 11.0) elms = false; + if(b[2][3] != 12.0) elms = false; + if(b[3][0] != 13.0) elms = false; + if(b[3][1] != 14.0) elms = false; + if(b[3][2] != 15.0) elms = false; + if(b[3][3] != 16.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0] + b[2][0] + b[3][0]; - if(x < 28.0-ERROR_EPSILON || x > 28.0+ERROR_EPSILON) rows = false; - x = b[0][1] + b[1][1] + b[2][1] + b[3][1]; - if(x < 32.0-ERROR_EPSILON || x > 32.0+ERROR_EPSILON) rows = false; - x = b[0][2] + b[1][2] + b[2][2] + b[3][2]; - if(x < 36.0-ERROR_EPSILON || x > 36.0+ERROR_EPSILON) rows = false; - x = b[0][3] + b[1][3] + b[2][3] + b[3][3]; - if(x < 40.0-ERROR_EPSILON || x > 40.0+ERROR_EPSILON) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0] + b[2][0] + b[3][0]; + if(x < 28.0-ERROR_EPSILON || x > 28.0+ERROR_EPSILON) rows = false; + x = b[0][1] + b[1][1] + b[2][1] + b[3][1]; + if(x < 32.0-ERROR_EPSILON || x > 32.0+ERROR_EPSILON) rows = false; + x = b[0][2] + b[1][2] + b[2][2] + b[3][2]; + if(x < 36.0-ERROR_EPSILON || x > 36.0+ERROR_EPSILON) rows = false; + x = b[0][3] + b[1][3] + b[2][3] + b[3][3]; + if(x < 40.0-ERROR_EPSILON || x > 40.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1] + b[0][2] + b[0][3]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) cols = false; - x = b[1][0] + b[1][1] + b[1][2] + b[1][3]; - if(x < 26.0-ERROR_EPSILON || x > 26.0+ERROR_EPSILON) cols = false; - x = b[2][0] + b[2][1] + b[2][2] + b[2][3]; - if(x < 42.0-ERROR_EPSILON || x > 42.0+ERROR_EPSILON) cols = false; - x = b[3][0] + b[3][1] + b[3][2] + b[3][3]; - if(x < 58.0-ERROR_EPSILON || x > 58.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1] + b[0][2] + b[0][3]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) cols = false; + x = b[1][0] + b[1][1] + b[1][2] + b[1][3]; + if(x < 26.0-ERROR_EPSILON || x > 26.0+ERROR_EPSILON) cols = false; + x = b[2][0] + b[2][1] + b[2][2] + b[2][3]; + if(x < 42.0-ERROR_EPSILON || x > 42.0+ERROR_EPSILON) cols = false; + x = b[3][0] + b[3][1] + b[3][2] + b[3][3]; + if(x < 58.0-ERROR_EPSILON || x > 58.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_copy_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_copy_vert.vert index a28db37166c..ee5c07864c7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_copy_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_copy_vert.vert @@ -31,64 +31,64 @@ varying vec4 color; void main (void) { - float x; - // Declare a 4 by 4 matrix with unique elements. - mat4 a = mat4( 1.0, 2.0, 4.0, 8.0, // 1.0 16.0 256.0 4096.0 - 16.0, 32.0, 64.0, 128.0, // 2.0 32.0 512.0 8192.0 - 256.0, 512.0, 1024.0, 2048.0, // 4.0 64.0 1024.0 16384.0 - 4096.0, 8192.0, 16384.0, 32768.0); // 8.0 128.0 2048.0 32768.0 + float x; + // Declare a 4 by 4 matrix with unique elements. + mat4 a = mat4( 1.0, 2.0, 4.0, 8.0, // 1.0 16.0 256.0 4096.0 + 16.0, 32.0, 64.0, 128.0, // 2.0 32.0 512.0 8192.0 + 256.0, 512.0, 1024.0, 2048.0, // 4.0 64.0 1024.0 16384.0 + 4096.0, 8192.0, 16384.0, 32768.0); // 8.0 128.0 2048.0 32768.0 - // Copy the matrix to another non-const matrix. - mat4 b = a; + // Copy the matrix to another non-const matrix. + mat4 b = a; - // Check each element of the copy. - bool elms = true; - if(b[0][0] != 1.0) elms = false; - if(b[0][1] != 2.0) elms = false; - if(b[0][2] != 4.0) elms = false; - if(b[0][3] != 8.0) elms = false; - if(b[1][0] != 16.0) elms = false; - if(b[1][1] != 32.0) elms = false; - if(b[1][2] != 64.0) elms = false; - if(b[1][3] != 128.0) elms = false; - if(b[2][0] != 256.0) elms = false; - if(b[2][1] != 512.0) elms = false; - if(b[2][2] != 1024.0) elms = false; - if(b[2][3] != 2048.0) elms = false; - if(b[3][0] != 4096.0) elms = false; - if(b[3][1] != 8192.0) elms = false; - if(b[3][2] != 16384.0) elms = false; - if(b[3][3] != 32768.0) elms = false; + // Check each element of the copy. + bool elms = true; + if(b[0][0] != 1.0) elms = false; + if(b[0][1] != 2.0) elms = false; + if(b[0][2] != 4.0) elms = false; + if(b[0][3] != 8.0) elms = false; + if(b[1][0] != 16.0) elms = false; + if(b[1][1] != 32.0) elms = false; + if(b[1][2] != 64.0) elms = false; + if(b[1][3] != 128.0) elms = false; + if(b[2][0] != 256.0) elms = false; + if(b[2][1] != 512.0) elms = false; + if(b[2][2] != 1024.0) elms = false; + if(b[2][3] != 2048.0) elms = false; + if(b[3][0] != 4096.0) elms = false; + if(b[3][1] != 8192.0) elms = false; + if(b[3][2] != 16384.0) elms = false; + if(b[3][3] != 32768.0) elms = false; - // Add up each row of the copy. - bool rows = true; - x = b[0][0] + b[1][0] + b[2][0] + b[3][0]; - if(x < 4369.0-ERROR_EPSILON || x > 4369.0+ERROR_EPSILON) rows = false; - x = b[0][1] + b[1][1] + b[2][1] + b[3][1]; - if(x < 8738.0-ERROR_EPSILON || x > 8738.0+ERROR_EPSILON) rows = false; - x = b[0][2] + b[1][2] + b[2][2] + b[3][2]; - if(x < 17476.0-ERROR_EPSILON || x > 17476.0+ERROR_EPSILON) rows = false; - x = b[0][3] + b[1][3] + b[2][3] + b[3][3]; - if(x < 34952.0-ERROR_EPSILON || x > 34952.0+ERROR_EPSILON) rows = false; + // Add up each row of the copy. + bool rows = true; + x = b[0][0] + b[1][0] + b[2][0] + b[3][0]; + if(x < 4369.0-ERROR_EPSILON || x > 4369.0+ERROR_EPSILON) rows = false; + x = b[0][1] + b[1][1] + b[2][1] + b[3][1]; + if(x < 8738.0-ERROR_EPSILON || x > 8738.0+ERROR_EPSILON) rows = false; + x = b[0][2] + b[1][2] + b[2][2] + b[3][2]; + if(x < 17476.0-ERROR_EPSILON || x > 17476.0+ERROR_EPSILON) rows = false; + x = b[0][3] + b[1][3] + b[2][3] + b[3][3]; + if(x < 34952.0-ERROR_EPSILON || x > 34952.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = b[0][0] + b[0][1] + b[0][2] + b[0][3]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; - x = b[1][0] + b[1][1] + b[1][2] + b[1][3]; - if(x < 240.0-ERROR_EPSILON || x > 240.0+ERROR_EPSILON) cols = false; - x = b[2][0] + b[2][1] + b[2][2] + b[2][3]; - if(x < 3840.0-ERROR_EPSILON || x > 3840.0+ERROR_EPSILON) cols = false; - x = b[3][0] + b[3][1] + b[3][2] + b[3][3]; - if(x < 61440.0-ERROR_EPSILON || x > 61440.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = b[0][0] + b[0][1] + b[0][2] + b[0][3]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; + x = b[1][0] + b[1][1] + b[1][2] + b[1][3]; + if(x < 240.0-ERROR_EPSILON || x > 240.0+ERROR_EPSILON) cols = false; + x = b[2][0] + b[2][1] + b[2][2] + b[2][3]; + if(x < 3840.0-ERROR_EPSILON || x > 3840.0+ERROR_EPSILON) cols = false; + x = b[3][0] + b[3][1] + b[3][2] + b[3][3]; + if(x < 61440.0-ERROR_EPSILON || x > 61440.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_frag.frag index cc5875a4af2..590852b8017 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_frag.frag @@ -35,58 +35,58 @@ precision mediump float; void main (void) { - float x; - // Declare a 4 by 4 matrix with unique elements. - mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, - 5.0, 6.0, 7.0, 8.0, - 9.0, 10.0, 11.0, 12.0, - 13.0, 14.0, 15.0, 16.0); + float x; + // Declare a 4 by 4 matrix with unique elements. + mat4 a = mat4( 1.0, 2.0, 3.0, 4.0, + 5.0, 6.0, 7.0, 8.0, + 9.0, 10.0, 11.0, 12.0, + 13.0, 14.0, 15.0, 16.0); - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[0][2] != 3.0) elms = false; - if(a[0][3] != 4.0) elms = false; - if(a[1][0] != 5.0) elms = false; - if(a[1][1] != 6.0) elms = false; - if(a[1][2] != 7.0) elms = false; - if(a[1][3] != 8.0) elms = false; - if(a[2][0] != 9.0) elms = false; - if(a[2][1] != 10.0) elms = false; - if(a[2][2] != 11.0) elms = false; - if(a[2][3] != 12.0) elms = false; - if(a[3][0] != 13.0) elms = false; - if(a[3][1] != 14.0) elms = false; - if(a[3][2] != 15.0) elms = false; - if(a[3][3] != 16.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[0][2] != 3.0) elms = false; + if(a[0][3] != 4.0) elms = false; + if(a[1][0] != 5.0) elms = false; + if(a[1][1] != 6.0) elms = false; + if(a[1][2] != 7.0) elms = false; + if(a[1][3] != 8.0) elms = false; + if(a[2][0] != 9.0) elms = false; + if(a[2][1] != 10.0) elms = false; + if(a[2][2] != 11.0) elms = false; + if(a[2][3] != 12.0) elms = false; + if(a[3][0] != 13.0) elms = false; + if(a[3][1] != 14.0) elms = false; + if(a[3][2] != 15.0) elms = false; + if(a[3][3] != 16.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0] + a[2][0] + a[3][0]; - if(x < 28.0-ERROR_EPSILON || x > 28.0+ERROR_EPSILON) rows = false; - x = a[0][1] + a[1][1] + a[2][1] + a[3][1]; - if(x < 32.0-ERROR_EPSILON || x > 32.0+ERROR_EPSILON) rows = false; - x = a[0][2] + a[1][2] + a[2][2] + a[3][2]; - if(x < 36.0-ERROR_EPSILON || x > 36.0+ERROR_EPSILON) rows = false; - x = a[0][3] + a[1][3] + a[2][3] + a[3][3]; - if(x < 40.0-ERROR_EPSILON || x > 40.0+ERROR_EPSILON) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0] + a[2][0] + a[3][0]; + if(x < 28.0-ERROR_EPSILON || x > 28.0+ERROR_EPSILON) rows = false; + x = a[0][1] + a[1][1] + a[2][1] + a[3][1]; + if(x < 32.0-ERROR_EPSILON || x > 32.0+ERROR_EPSILON) rows = false; + x = a[0][2] + a[1][2] + a[2][2] + a[3][2]; + if(x < 36.0-ERROR_EPSILON || x > 36.0+ERROR_EPSILON) rows = false; + x = a[0][3] + a[1][3] + a[2][3] + a[3][3]; + if(x < 40.0-ERROR_EPSILON || x > 40.0+ERROR_EPSILON) rows = false; - // Add up each column of the copy. - bool cols = true; - x = a[0][0] + a[0][1] + a[0][2] + a[0][3]; - if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) cols = false; - x = a[1][0] + a[1][1] + a[1][2] + a[1][3]; - if(x < 26.0-ERROR_EPSILON || x > 26.0+ERROR_EPSILON) cols = false; - x = a[2][0] + a[2][1] + a[2][2] + a[2][3]; - if(x < 42.0-ERROR_EPSILON || x > 42.0+ERROR_EPSILON) cols = false; - x = a[3][0] + a[3][1] + a[3][2] + a[3][3]; - if(x < 58.0-ERROR_EPSILON || x > 58.0+ERROR_EPSILON) cols = false; + // Add up each column of the copy. + bool cols = true; + x = a[0][0] + a[0][1] + a[0][2] + a[0][3]; + if(x < 10.0-ERROR_EPSILON || x > 10.0+ERROR_EPSILON) cols = false; + x = a[1][0] + a[1][1] + a[1][2] + a[1][3]; + if(x < 26.0-ERROR_EPSILON || x > 26.0+ERROR_EPSILON) cols = false; + x = a[2][0] + a[2][1] + a[2][2] + a[2][3]; + if(x < 42.0-ERROR_EPSILON || x > 42.0+ERROR_EPSILON) cols = false; + x = a[3][0] + a[3][1] + a[3][2] + a[3][3]; + if(x < 58.0-ERROR_EPSILON || x > 58.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the fragment color. - gl_FragColor = vec4(gray, gray, gray, 1.0); + // Assign the fragment color. + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_vert.vert index 34334538ea6..910729c2bd5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat4_vert.vert @@ -31,61 +31,61 @@ varying vec4 color; void main (void) { - float x; - // Declare a 4 by 4 matrix with unique elements. - mat4 a = mat4( 1.0, 2.0, 4.0, 8.0, // 1.0 16.0 256.0 4096.0 - 16.0, 32.0, 64.0, 128.0, // 2.0 32.0 512.0 8192.0 - 256.0, 512.0, 1024.0, 2048.0, // 4.0 64.0 1024.0 16384.0 - 4096.0, 8192.0, 16384.0, 32768.0); // 8.0 128.0 2048.0 32768.0 + float x; + // Declare a 4 by 4 matrix with unique elements. + mat4 a = mat4( 1.0, 2.0, 4.0, 8.0, // 1.0 16.0 256.0 4096.0 + 16.0, 32.0, 64.0, 128.0, // 2.0 32.0 512.0 8192.0 + 256.0, 512.0, 1024.0, 2048.0, // 4.0 64.0 1024.0 16384.0 + 4096.0, 8192.0, 16384.0, 32768.0); // 8.0 128.0 2048.0 32768.0 - // Check each element. - bool elms = true; - if(a[0][0] != 1.0) elms = false; - if(a[0][1] != 2.0) elms = false; - if(a[0][2] != 4.0) elms = false; - if(a[0][3] != 8.0) elms = false; - if(a[1][0] != 16.0) elms = false; - if(a[1][1] != 32.0) elms = false; - if(a[1][2] != 64.0) elms = false; - if(a[1][3] != 128.0) elms = false; - if(a[2][0] != 256.0) elms = false; - if(a[2][1] != 512.0) elms = false; - if(a[2][2] != 1024.0) elms = false; - if(a[2][3] != 2048.0) elms = false; - if(a[3][0] != 4096.0) elms = false; - if(a[3][1] != 8192.0) elms = false; - if(a[3][2] != 16384.0) elms = false; - if(a[3][3] != 32768.0) elms = false; + // Check each element. + bool elms = true; + if(a[0][0] != 1.0) elms = false; + if(a[0][1] != 2.0) elms = false; + if(a[0][2] != 4.0) elms = false; + if(a[0][3] != 8.0) elms = false; + if(a[1][0] != 16.0) elms = false; + if(a[1][1] != 32.0) elms = false; + if(a[1][2] != 64.0) elms = false; + if(a[1][3] != 128.0) elms = false; + if(a[2][0] != 256.0) elms = false; + if(a[2][1] != 512.0) elms = false; + if(a[2][2] != 1024.0) elms = false; + if(a[2][3] != 2048.0) elms = false; + if(a[3][0] != 4096.0) elms = false; + if(a[3][1] != 8192.0) elms = false; + if(a[3][2] != 16384.0) elms = false; + if(a[3][3] != 32768.0) elms = false; - // Add up each row. - bool rows = true; - x = a[0][0] + a[1][0] + a[2][0] + a[3][0]; - if(x < 4369.0-ERROR_EPSILON || x > 4369.0+ERROR_EPSILON) rows = false; - x = a[0][1] + a[1][1] + a[2][1] + a[3][1]; - if(x < 8738.0-ERROR_EPSILON || x > 8738.0+ERROR_EPSILON) rows = false; - x = a[0][2] + a[1][2] + a[2][2] + a[3][2]; - if(x < 17476.0-ERROR_EPSILON || x > 17476.0+ERROR_EPSILON) rows = false; - x = a[0][3] + a[1][3] + a[2][3] + a[3][3]; - if(x < 34952.0-ERROR_EPSILON || x > 34952.0+ERROR_EPSILON) rows = false; + // Add up each row. + bool rows = true; + x = a[0][0] + a[1][0] + a[2][0] + a[3][0]; + if(x < 4369.0-ERROR_EPSILON || x > 4369.0+ERROR_EPSILON) rows = false; + x = a[0][1] + a[1][1] + a[2][1] + a[3][1]; + if(x < 8738.0-ERROR_EPSILON || x > 8738.0+ERROR_EPSILON) rows = false; + x = a[0][2] + a[1][2] + a[2][2] + a[3][2]; + if(x < 17476.0-ERROR_EPSILON || x > 17476.0+ERROR_EPSILON) rows = false; + x = a[0][3] + a[1][3] + a[2][3] + a[3][3]; + if(x < 34952.0-ERROR_EPSILON || x > 34952.0+ERROR_EPSILON) rows = false; - // Add up each column. - bool cols = true; - x = a[0][0] + a[0][1] + a[0][2] + a[0][3]; - if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; - x = a[1][0] + a[1][1] + a[1][2] + a[1][3]; - if(x < 240.0-ERROR_EPSILON || x > 240.0+ERROR_EPSILON) cols = false; - x = a[2][0] + a[2][1] + a[2][2] + a[2][3]; - if(x < 3840.0-ERROR_EPSILON || x > 3840.0+ERROR_EPSILON) cols = false; - x = a[3][0] + a[3][1] + a[3][2] + a[3][3]; - if(x < 61440.0-ERROR_EPSILON || x > 61440.0+ERROR_EPSILON) cols = false; + // Add up each column. + bool cols = true; + x = a[0][0] + a[0][1] + a[0][2] + a[0][3]; + if(x < 15.0-ERROR_EPSILON || x > 15.0+ERROR_EPSILON) cols = false; + x = a[1][0] + a[1][1] + a[1][2] + a[1][3]; + if(x < 240.0-ERROR_EPSILON || x > 240.0+ERROR_EPSILON) cols = false; + x = a[2][0] + a[2][1] + a[2][2] + a[2][3]; + if(x < 3840.0-ERROR_EPSILON || x > 3840.0+ERROR_EPSILON) cols = false; + x = a[3][0] + a[3][1] + a[3][2] + a[3][3]; + if(x < 61440.0-ERROR_EPSILON || x > 61440.0+ERROR_EPSILON) cols = false; - // Check if all of the operations were successful. - float gray = elms && rows && cols ? 1.0 : 0.0; + // Check if all of the operations were successful. + float gray = elms && rows && cols ? 1.0 : 0.0; - // Assign the varying variable color. - color = vec4(gray, gray, gray, 1.0); + // Assign the varying variable color. + color = vec4(gray, gray, gray, 1.0); - // Transform the vertex position. - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + // Transform the vertex position. + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_001_to_008.html index 17ecc527f9a..2010cbe02ca 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mat_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_009_to_016.html index fd15a8caffe..0d73540a867 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mat_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_017_to_024.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_017_to_024.html index ccead1e0c87..2e3a4867655 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_017_to_024.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_017_to_024.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mat_017_to_024.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_025_to_032.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_025_to_032.html index a0839bbb642..8862968e9ac 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_025_to_032.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_025_to_032.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mat_025_to_032.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_033_to_040.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_033_to_040.html index 30d562bb1da..66267c5343d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_033_to_040.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_033_to_040.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mat_033_to_040.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_041_to_046.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_041_to_046.html index 1da7c02995c..42616f0bfee 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_041_to_046.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat/mat_041_to_046.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mat_041_to_046.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3_001_to_006.html index 7c9477fc6e3..60f52259337 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mat3_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect0_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect0_frag.frag index 5614261ac1c..47dc75b7149 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect0_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect0_frag.frag @@ -40,14 +40,14 @@ void main(void) vec3 result = vec3(0.0, 0.0, 0.0); /* - // No indirect indexing in fragment shaders + // No indirect indexing in fragment shaders for(int j = 0; j < 3; j++) { - result += testmat3[0][j] + testmat3[1][j]; + result += testmat3[0][j] + testmat3[1][j]; } - */ - result += testmat3[0][0] + testmat3[1][0]; - result += testmat3[0][1] + testmat3[1][1]; - result += testmat3[0][2] + testmat3[1][2]; + */ + result += testmat3[0][0] + testmat3[1][0]; + result += testmat3[0][1] + testmat3[1][1]; + result += testmat3[0][2] + testmat3[1][2]; gl_FragColor = vec4(result/2.0, 0.5); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect0_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect0_vert.vert index 1586cc75eec..b9427ba037d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect0_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect0_vert.vert @@ -41,7 +41,7 @@ void main(void) for(int j = 0; j < 3; j++) { - result += testmat3[0][j] + testmat3[1][j]; + result += testmat3[0][j] + testmat3[1][j]; } color = vec4(result/2.0, 0.5); diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect1_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect1_frag.frag index 61c66196130..ec4c4a927d2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect1_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect1_frag.frag @@ -37,17 +37,17 @@ varying vec4 color; void main(void) { - vec3 result = vec3(0.0, 0.0, 0.0); + vec3 result = vec3(0.0, 0.0, 0.0); /* - // No indirect indexing in fragment shaders - for(int j = 0; j < 3; j++) - { - result += testmat3[1][j]; - } + // No indirect indexing in fragment shaders + for(int j = 0; j < 3; j++) + { + result += testmat3[1][j]; + } */ - result += testmat3[1][0]; - result += testmat3[1][1]; - result += testmat3[1][2]; - gl_FragColor = vec4(result/2.0, 0.5); + result += testmat3[1][0]; + result += testmat3[1][1]; + result += testmat3[1][2]; + gl_FragColor = vec4(result/2.0, 0.5); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect1_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect1_vert.vert index dea6b18425f..324366803a3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect1_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mat3/mat3arrayindirect1_vert.vert @@ -41,7 +41,7 @@ void main(void) for(int j = 0; j < 3; j++) { - result += testmat3[1][j]; + result += testmat3[1][j]; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html index af5a9cd9f60..bacbc87b421 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: matrixCompMult_001_to_004.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag.frag index a2598f0769d..8db7ddf3df3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag.frag @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - mat2 m1 = mat2(color.rg, color.ba); - mat2 m2 = mat2(1.0, 0.5, 0.5, 1.0); - mat2 m3 = mat2(0.0); + mat2 m1 = mat2(color.rg, color.ba); + mat2 m2 = mat2(1.0, 0.5, 0.5, 1.0); + mat2 m3 = mat2(0.0); - m3 = matrixCompMult(m1, m2); - gl_FragColor = vec4(m3[0][0], m3[1][0], m3[0][1], m3[1][1]); + m3 = matrixCompMult(m1, m2); + gl_FragColor = vec4(m3[0][0], m3[1][0], m3[0][1], m3[1][1]); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag_ref.frag index 9beec96ad76..fed33bea1af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_frag_ref.frag @@ -30,14 +30,14 @@ varying vec4 color; void main (void) { - mat2 m1 = mat2(color.rg, color.ba); - mat2 m2 = mat2(1.0, 0.5, 0.5, 1.0); - mat2 m3 = mat2(0.0); + mat2 m1 = mat2(color.rg, color.ba); + mat2 m2 = mat2(1.0, 0.5, 0.5, 1.0); + mat2 m3 = mat2(0.0); - m3[0][0] = m1[0][0] * m2[0][0]; - m3[0][1] = m1[0][1] * m2[0][1]; - m3[1][0] = m1[1][0] * m2[1][0]; - m3[1][1] = m1[1][1] * m2[1][1]; + m3[0][0] = m1[0][0] * m2[0][0]; + m3[0][1] = m1[0][1] * m2[0][1]; + m3[1][0] = m1[1][0] * m2[1][0]; + m3[1][1] = m1[1][1] * m2[1][1]; - gl_FragColor = vec4(m3[0][0], m3[1][0], m3[0][1], m3[1][1]); + gl_FragColor = vec4(m3[0][0], m3[1][0], m3[0][1], m3[1][1]); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert.vert index 1e31afaac67..e912de35c85 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - mat2 m1 = mat2(gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.a); - mat2 m2 = mat2(1.0, 0.5, 0.5, 1.0); - mat2 m3 = mat2(0.0); + mat2 m1 = mat2(gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.a); + mat2 m2 = mat2(1.0, 0.5, 0.5, 1.0); + mat2 m3 = mat2(0.0); - m3 = matrixCompMult(m1, m2); - color = vec4(m3[0][0], m3[1][0], m3[0][1], m3[1][1]); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + m3 = matrixCompMult(m1, m2); + color = vec4(m3[0][0], m3[1][0], m3[0][1], m3[1][1]); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert_ref.vert index 09705342fe4..cda02927d1b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat2_vert_ref.vert @@ -30,15 +30,15 @@ varying vec4 color; void main (void) { - mat2 m1 = mat2(gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.a); - mat2 m2 = mat2(1.0, 0.5, 0.5, 1.0); - mat2 m3 = mat2(0.0); + mat2 m1 = mat2(gtf_Color.r, gtf_Color.g, gtf_Color.b, gtf_Color.a); + mat2 m2 = mat2(1.0, 0.5, 0.5, 1.0); + mat2 m3 = mat2(0.0); - m3[0][0] = m1[0][0] * m2[0][0]; - m3[0][1] = m1[0][1] * m2[0][1]; - m3[1][0] = m1[1][0] * m2[1][0]; - m3[1][1] = m1[1][1] * m2[1][1]; + m3[0][0] = m1[0][0] * m2[0][0]; + m3[0][1] = m1[0][1] * m2[0][1]; + m3[1][0] = m1[1][0] * m2[1][0]; + m3[1][1] = m1[1][1] * m2[1][1]; - color = vec4(m3[0][0], m3[1][0], m3[0][1], m3[1][1]); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(m3[0][0], m3[1][0], m3[0][1], m3[1][1]); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag.frag index ea92126a2cd..9392716ddb4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag.frag @@ -30,24 +30,24 @@ varying vec4 color; void main (void) { - mat3 m1 = mat3(color.rgb, color.rgb, color.rgb); - mat3 m2 = mat3(1.0, 0.5, 0.5, 0.5, 1.0, 0.5, 0.5, 0.5, 1.0); - mat3 m3 = mat3(0.0); - vec3 result = vec3(0.0, 0.0, 0.0); + mat3 m1 = mat3(color.rgb, color.rgb, color.rgb); + mat3 m2 = mat3(1.0, 0.5, 0.5, 0.5, 1.0, 0.5, 0.5, 0.5, 1.0); + mat3 m3 = mat3(0.0); + vec3 result = vec3(0.0, 0.0, 0.0); - m3 = matrixCompMult(m1, m2); + m3 = matrixCompMult(m1, m2); - result[0] += m3[0][0]; - result[0] += m3[0][1]; - result[0] += m3[0][2]; + result[0] += m3[0][0]; + result[0] += m3[0][1]; + result[0] += m3[0][2]; - result[1] += m3[1][0]; - result[1] += m3[1][1]; - result[1] += m3[1][2]; + result[1] += m3[1][0]; + result[1] += m3[1][1]; + result[1] += m3[1][2]; - result[2] += m3[2][0]; - result[2] += m3[2][1]; - result[2] += m3[2][2]; + result[2] += m3[2][0]; + result[2] += m3[2][1]; + result[2] += m3[2][2]; - gl_FragColor = vec4(result / 2.0, 1.0); + gl_FragColor = vec4(result / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag_ref.frag index b3e044f9d3d..21365a0dcc6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_frag_ref.frag @@ -30,30 +30,30 @@ varying vec4 color; void main (void) { - mat3 m1 = mat3(color.rgb, color.rgb, color.rgb); - mat3 m2 = mat3(1.0, 0.5, 0.5, 0.5, 1.0, 0.5, 0.5, 0.5, 1.0); - mat3 m3 = mat3(0.0); - vec3 result = vec3(0.0, 0.0, 0.0); + mat3 m1 = mat3(color.rgb, color.rgb, color.rgb); + mat3 m2 = mat3(1.0, 0.5, 0.5, 0.5, 1.0, 0.5, 0.5, 0.5, 1.0); + mat3 m3 = mat3(0.0); + vec3 result = vec3(0.0, 0.0, 0.0); - m3[0][0] = m1[0][0] * m2[0][0]; - m3[0][1] = m1[0][1] * m2[0][1]; - m3[0][2] = m1[0][2] * m2[0][2]; - m3[1][0] = m1[1][0] * m2[1][0]; - m3[1][1] = m1[1][1] * m2[1][1]; - m3[1][2] = m1[1][2] * m2[1][2]; - m3[2][0] = m1[2][0] * m2[2][0]; - m3[2][1] = m1[2][1] * m2[2][1]; - m3[2][2] = m1[2][2] * m2[2][2]; + m3[0][0] = m1[0][0] * m2[0][0]; + m3[0][1] = m1[0][1] * m2[0][1]; + m3[0][2] = m1[0][2] * m2[0][2]; + m3[1][0] = m1[1][0] * m2[1][0]; + m3[1][1] = m1[1][1] * m2[1][1]; + m3[1][2] = m1[1][2] * m2[1][2]; + m3[2][0] = m1[2][0] * m2[2][0]; + m3[2][1] = m1[2][1] * m2[2][1]; + m3[2][2] = m1[2][2] * m2[2][2]; - result[0] += m3[0][0]; - result[0] += m3[0][1]; - result[0] += m3[0][2]; - result[1] += m3[1][0]; - result[1] += m3[1][1]; - result[1] += m3[1][2]; - result[2] += m3[2][0]; - result[2] += m3[2][1]; - result[2] += m3[2][2]; + result[0] += m3[0][0]; + result[0] += m3[0][1]; + result[0] += m3[0][2]; + result[1] += m3[1][0]; + result[1] += m3[1][1]; + result[1] += m3[1][2]; + result[2] += m3[2][0]; + result[2] += m3[2][1]; + result[2] += m3[2][2]; - gl_FragColor = vec4(result / 2.0, 1.0); + gl_FragColor = vec4(result / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert.vert index d40ac2c4e35..cd4f3187323 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert.vert @@ -30,25 +30,25 @@ varying vec4 color; void main (void) { - mat3 m1 = mat3(gtf_Color.rgb, gtf_Color.rgb, gtf_Color.rgb); - mat3 m2 = mat3(1.0, 0.5, 0.5, 0.5, 1.0, 0.5, 0.5, 0.5, 1.0); - mat3 m3 = mat3(0.0); - vec3 result = vec3(0.0, 0.0, 0.0); + mat3 m1 = mat3(gtf_Color.rgb, gtf_Color.rgb, gtf_Color.rgb); + mat3 m2 = mat3(1.0, 0.5, 0.5, 0.5, 1.0, 0.5, 0.5, 0.5, 1.0); + mat3 m3 = mat3(0.0); + vec3 result = vec3(0.0, 0.0, 0.0); - m3 = matrixCompMult(m1, m2); + m3 = matrixCompMult(m1, m2); - result[0] += m3[0][0]; - result[0] += m3[0][1]; - result[0] += m3[0][2]; + result[0] += m3[0][0]; + result[0] += m3[0][1]; + result[0] += m3[0][2]; - result[1] += m3[1][0]; - result[1] += m3[1][1]; - result[1] += m3[1][2]; + result[1] += m3[1][0]; + result[1] += m3[1][1]; + result[1] += m3[1][2]; - result[2] += m3[2][0]; - result[2] += m3[2][1]; - result[2] += m3[2][2]; + result[2] += m3[2][0]; + result[2] += m3[2][1]; + result[2] += m3[2][2]; - color = vec4(result / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(result / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert_ref.vert index 62186af26d5..2288096cb92 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/matrixCompMult/matrixMultComp_mat3_vert_ref.vert @@ -30,35 +30,35 @@ varying vec4 color; void main (void) { - mat3 m1 = mat3(gtf_Color.rgb, gtf_Color.rgb, gtf_Color.rgb); - mat3 m2 = mat3(1.0, 0.5, 0.5, 0.5, 1.0, 0.5, 0.5, 0.5, 1.0); - mat3 m3 = mat3(0.0); - vec3 result = vec3(0.0, 0.0, 0.0); + mat3 m1 = mat3(gtf_Color.rgb, gtf_Color.rgb, gtf_Color.rgb); + mat3 m2 = mat3(1.0, 0.5, 0.5, 0.5, 1.0, 0.5, 0.5, 0.5, 1.0); + mat3 m3 = mat3(0.0); + vec3 result = vec3(0.0, 0.0, 0.0); - m3[0][0] = m1[0][0] * m2[0][0]; - m3[0][1] = m1[0][1] * m2[0][1]; - m3[0][2] = m1[0][2] * m2[0][2]; + m3[0][0] = m1[0][0] * m2[0][0]; + m3[0][1] = m1[0][1] * m2[0][1]; + m3[0][2] = m1[0][2] * m2[0][2]; - m3[1][0] = m1[1][0] * m2[1][0]; - m3[1][1] = m1[1][1] * m2[1][1]; - m3[1][2] = m1[1][2] * m2[1][2]; + m3[1][0] = m1[1][0] * m2[1][0]; + m3[1][1] = m1[1][1] * m2[1][1]; + m3[1][2] = m1[1][2] * m2[1][2]; - m3[2][0] = m1[2][0] * m2[2][0]; - m3[2][1] = m1[2][1] * m2[2][1]; - m3[2][2] = m1[2][2] * m2[2][2]; + m3[2][0] = m1[2][0] * m2[2][0]; + m3[2][1] = m1[2][1] * m2[2][1]; + m3[2][2] = m1[2][2] * m2[2][2]; - result[0] += m3[0][0]; - result[0] += m3[0][1]; - result[0] += m3[0][2]; + result[0] += m3[0][0]; + result[0] += m3[0][1]; + result[0] += m3[0][2]; - result[1] += m3[1][0]; - result[1] += m3[1][1]; - result[1] += m3[1][2]; + result[1] += m3[1][0]; + result[1] += m3[1][1]; + result[1] += m3[1][2]; - result[2] += m3[2][0]; - result[2] += m3[2][1]; - result[2] += m3[2][2]; + result[2] += m3[2][0]; + result[2] += m3[2][1]; + result[2] += m3[2][2]; - color = vec4(result / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(result / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_001_to_006.html index 9f6fb6e0489..8cc3f478f37 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: max_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf.frag index 4911e9e7cba..1dc58237564 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float max_c = 0.5; - float c = color.r; - gl_FragColor = vec4(max(c, max_c), 0.0, 0.0, 1.0); + const float max_c = 0.5; + float c = color.r; + gl_FragColor = vec4(max(c, max_c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf_ref.frag index 7f2408f2106..44188757ee4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_frag_xvary_yconsthalf_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float max_c = 0.5; - float c = color.r; - if(c < max_c) c = max_c; + const float max_c = 0.5; + float c = color.r; + if(c < max_c) c = max_c; - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf.vert index 1790d41b4ee..18df63489a5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float max_c = 0.5; - float c = gtf_Color.r; - color = vec4(max(c, max_c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float max_c = 0.5; + float c = gtf_Color.r; + color = vec4(max(c, max_c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf_ref.vert index c7b99fdce36..44602be927b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_float_vert_xvary_yconsthalf_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const float max_c = 0.5; - float c = gtf_Color.r; - if(c < max_c) c = max_c; + const float max_c = 0.5; + float c = gtf_Color.r; + if(c < max_c) c = max_c; - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf.frag index e1343f0b85b..12cccbaf5a2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec2 max_c = vec2(0.5, 0.5); - vec2 c = color.rg; - gl_FragColor = vec4(max(c, max_c), 0.0, 1.0); + const vec2 max_c = vec2(0.5, 0.5); + vec2 c = color.rg; + gl_FragColor = vec4(max(c, max_c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf_ref.frag index 487473f4cc5..63d52b2ff0c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_frag_xvary_yconsthalf_ref.frag @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const vec2 max_c = vec2(0.5, 0.5); - vec2 c = color.rg; - if(c[0] < max_c[0]) c[0] = max_c[0]; - if(c[1] < max_c[1]) c[1] = max_c[1]; + const vec2 max_c = vec2(0.5, 0.5); + vec2 c = color.rg; + if(c[0] < max_c[0]) c[0] = max_c[0]; + if(c[1] < max_c[1]) c[1] = max_c[1]; - gl_FragColor = vec4(c, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf.vert index 5a72576b16f..54a94edf52a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec2 max_c = vec2(0.5, 0.5); - vec2 c = gtf_Color.rg; - color = vec4(max(c, max_c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec2 max_c = vec2(0.5, 0.5); + vec2 c = gtf_Color.rg; + color = vec4(max(c, max_c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf_ref.vert index c3e21ff299e..b8ad06aa831 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec2_vert_xvary_yconsthalf_ref.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const vec2 max_c = vec2(0.5, 0.5); - vec2 c = gtf_Color.rg; - if(c[0] < max_c[0]) c[0] = max_c[0]; - if(c[1] < max_c[1]) c[1] = max_c[1]; + const vec2 max_c = vec2(0.5, 0.5); + vec2 c = gtf_Color.rg; + if(c[0] < max_c[0]) c[0] = max_c[0]; + if(c[1] < max_c[1]) c[1] = max_c[1]; - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf.frag index 8dde46f9a1e..b44d0c85135 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec3 max_c = vec3(0.5, 0.5, 0.5); - vec3 c = color.rgb; - gl_FragColor = vec4(max(c, max_c), 1.0); + const vec3 max_c = vec3(0.5, 0.5, 0.5); + vec3 c = color.rgb; + gl_FragColor = vec4(max(c, max_c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf_ref.frag index 54ce8ee7ce5..d17d8cdea45 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_frag_xvary_yconsthalf_ref.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const vec3 max_c = vec3(0.5, 0.5, 0.5); - vec3 c = color.rgb; - if(c[0] < max_c[0]) c[0] = max_c[0]; - if(c[1] < max_c[1]) c[1] = max_c[1]; - if(c[2] < max_c[2]) c[2] = max_c[2]; + const vec3 max_c = vec3(0.5, 0.5, 0.5); + vec3 c = color.rgb; + if(c[0] < max_c[0]) c[0] = max_c[0]; + if(c[1] < max_c[1]) c[1] = max_c[1]; + if(c[2] < max_c[2]) c[2] = max_c[2]; - gl_FragColor = vec4(c, 1.0); + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf.vert index c03084e74ab..549f510fc31 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec3 max_c = vec3(0.5, 0.5, 0.5); - vec3 c = gtf_Color.rgb; - color = vec4(max(c, max_c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec3 max_c = vec3(0.5, 0.5, 0.5); + vec3 c = gtf_Color.rgb; + color = vec4(max(c, max_c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf_ref.vert index 1f2e781ff1d..84de202744b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/max/max_vec3_vert_xvary_yconsthalf_ref.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - const vec3 max_c = vec3(0.5, 0.5, 0.5); - vec3 c = gtf_Color.rgb; - if(c[0] < max_c[0]) c[0] = max_c[0]; - if(c[1] < max_c[1]) c[1] = max_c[1]; - if(c[2] < max_c[2]) c[2] = max_c[2]; + const vec3 max_c = vec3(0.5, 0.5, 0.5); + vec3 c = gtf_Color.rgb; + if(c[0] < max_c[0]) c[0] = max_c[0]; + if(c[1] < max_c[1]) c[1] = max_c[1]; + if(c[2] < max_c[2]) c[2] = max_c[2]; - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_001_to_006.html index 10d0cd6516e..a9dd90c99e9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: min_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf.frag index 05181b2632d..fdc3e23a67d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float min_c = 0.5; - float c = color.r; - gl_FragColor = vec4(min(c, min_c), 0.0, 0.0, 1.0); + const float min_c = 0.5; + float c = color.r; + gl_FragColor = vec4(min(c, min_c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf_ref.frag index b1c076cef1f..acf1eebb266 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_frag_xvary_yconsthalf_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float min_c = 0.5; - float c = color.r; - if(c > min_c) c = min_c; + const float min_c = 0.5; + float c = color.r; + if(c > min_c) c = min_c; - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf.vert index 33e2ee5f420..b854733dd5b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float min_c = 0.5; - float c = gtf_Color.r; - color = vec4(min(c, min_c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float min_c = 0.5; + float c = gtf_Color.r; + color = vec4(min(c, min_c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf_ref.vert index a4bde4f096c..73849e092c5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_float_vert_xvary_yconsthalf_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const float min_c = 0.5; - float c = gtf_Color.r; - if(c > min_c) c = min_c; + const float min_c = 0.5; + float c = gtf_Color.r; + if(c > min_c) c = min_c; - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf.frag index e3eeee482bb..ea5563eb19e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec2 min_c = vec2(0.5, 0.5); - vec2 c = color.rg; - gl_FragColor = vec4(min(c, min_c), 0.0, 1.0); + const vec2 min_c = vec2(0.5, 0.5); + vec2 c = color.rg; + gl_FragColor = vec4(min(c, min_c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf_ref.frag index 0ac216fbc1d..82ae1b891ae 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_frag_xvary_yconsthalf_ref.frag @@ -31,10 +31,10 @@ varying vec4 color; void main (void) { - const vec2 min_c = vec2(0.5, 0.5); - vec2 c = color.rg; - if(c[0] > min_c[0]) c[0] = min_c[0]; - if(c[1] > min_c[1]) c[1] = min_c[1]; + const vec2 min_c = vec2(0.5, 0.5); + vec2 c = color.rg; + if(c[0] > min_c[0]) c[0] = min_c[0]; + if(c[1] > min_c[1]) c[1] = min_c[1]; - gl_FragColor = vec4(c, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf.vert index 79c87d0307f..ae6459783d4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec2 min_c = vec2(0.5, 0.5); - vec2 c = gtf_Color.rg; - color = vec4(min(c, min_c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec2 min_c = vec2(0.5, 0.5); + vec2 c = gtf_Color.rg; + color = vec4(min(c, min_c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf_ref.vert index 5f57db42413..1f8d54b3a51 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec2_vert_xvary_yconsthalf_ref.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const vec2 min_c = vec2(0.5, 0.5); - vec2 c = gtf_Color.rg; - if(c[0] > min_c[0]) c[0] = min_c[0]; - if(c[1] > min_c[1]) c[1] = min_c[1]; + const vec2 min_c = vec2(0.5, 0.5); + vec2 c = gtf_Color.rg; + if(c[0] > min_c[0]) c[0] = min_c[0]; + if(c[1] > min_c[1]) c[1] = min_c[1]; - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf.frag index 588e5b53ce8..80232206f99 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec3 min_c = vec3(0.5, 0.5, 0.5); - vec3 c = color.rgb; - gl_FragColor = vec4(min(c, min_c), 1.0); + const vec3 min_c = vec3(0.5, 0.5, 0.5); + vec3 c = color.rgb; + gl_FragColor = vec4(min(c, min_c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf_ref.frag index d0224def0b9..2432efe93a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_frag_xvary_yconsthalf_ref.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const vec3 min_c = vec3(0.5, 0.5, 0.5); - vec3 c = color.rgb; - if(c[0] > min_c[0]) c[0] = min_c[0]; - if(c[1] > min_c[1]) c[1] = min_c[1]; - if(c[2] > min_c[2]) c[2] = min_c[2]; + const vec3 min_c = vec3(0.5, 0.5, 0.5); + vec3 c = color.rgb; + if(c[0] > min_c[0]) c[0] = min_c[0]; + if(c[1] > min_c[1]) c[1] = min_c[1]; + if(c[2] > min_c[2]) c[2] = min_c[2]; - gl_FragColor = vec4(c, 1.0); + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf.vert index 86797649d16..96629e770a5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec3 min_c = vec3(0.5, 0.5, 0.5); - vec3 c = gtf_Color.rgb; - color = vec4(min(c, min_c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec3 min_c = vec3(0.5, 0.5, 0.5); + vec3 c = gtf_Color.rgb; + color = vec4(min(c, min_c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf_ref.vert index d35953319dc..65d273dc3d1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/min/min_vec3_vert_xvary_yconsthalf_ref.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - const vec3 min_c = vec3(0.5, 0.5, 0.5); - vec3 c = gtf_Color.rgb; - if(c[0] > min_c[0]) c[0] = min_c[0]; - if(c[1] > min_c[1]) c[1] = min_c[1]; - if(c[2] > min_c[2]) c[2] = min_c[2]; + const vec3 min_c = vec3(0.5, 0.5, 0.5); + vec3 c = gtf_Color.rgb; + if(c[0] > min_c[0]) c[0] = min_c[0]; + if(c[1] > min_c[1]) c[1] = min_c[1]; + if(c[2] > min_c[2]) c[2] = min_c[2]; - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_001_to_006.html index 84b5abc206c..abeb8c20e9f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mix_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf.frag index adab32f714f..c04c6ba63f8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float y = 0.5; - const float a = 0.5; - float c = color.r; - gl_FragColor = vec4(mix(c, y, a), 0.0, 0.0, 1.0); + const float y = 0.5; + const float a = 0.5; + float c = color.r; + gl_FragColor = vec4(mix(c, y, a), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf_ref.frag index 152afc9bf78..74f96295902 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_frag_xvary_yconsthalf_aconsthalf_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float y = 0.5; - const float a = 0.5; - float c = color.r; + const float y = 0.5; + const float a = 0.5; + float c = color.r; - gl_FragColor = vec4(c * (1.0 - a) + y * a, 0.0, 0.0, 1.0); + gl_FragColor = vec4(c * (1.0 - a) + y * a, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf.vert index ea29b91b899..bce9965068d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float y = 0.5; - const float a = 0.5; - float c = gtf_Color.r; - color = vec4(mix(c, y, a), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float y = 0.5; + const float a = 0.5; + float c = gtf_Color.r; + color = vec4(mix(c, y, a), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf_ref.vert index 96af8a08500..adce952197a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_float_vert_xvary_yconsthalf_aconsthalf_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const float y = 0.5; - const float a = 0.5; - float c = gtf_Color.r; + const float y = 0.5; + const float a = 0.5; + float c = gtf_Color.r; - color = vec4(c * (1.0 - a) + y * a, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c * (1.0 - a) + y * a, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf.frag index 88acd6a192e..4578aa893fa 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec2 y = vec2(0.5, 0.5); - const vec2 a = vec2(0.5, 0.5); - gl_FragColor = vec4(mix(color.rg, y, a), 0.0, 1.0); + const vec2 y = vec2(0.5, 0.5); + const vec2 a = vec2(0.5, 0.5); + gl_FragColor = vec4(mix(color.rg, y, a), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf_ref.frag index a49ea52d396..b75166792d3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_frag_xvary_yconsthalf_aconsthalf_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const vec2 y = vec2(0.5, 0.5); - const vec2 a = vec2(0.5, 0.5); - vec2 c = color.rg; + const vec2 y = vec2(0.5, 0.5); + const vec2 a = vec2(0.5, 0.5); + vec2 c = color.rg; - gl_FragColor = vec4(c * (1.0 - a) + y * a, 0.0, 1.0); + gl_FragColor = vec4(c * (1.0 - a) + y * a, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf.vert index c5a8f01bf10..ffdbd26777f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec2 y = vec2(0.5, 0.5); - const vec2 a = vec2(0.5, 0.5); - color = vec4(mix(gtf_Color.rg, y, a), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec2 y = vec2(0.5, 0.5); + const vec2 a = vec2(0.5, 0.5); + color = vec4(mix(gtf_Color.rg, y, a), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf_ref.vert index c510d58d11d..38d2de72799 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec2_vert_xvary_yconsthalf_aconsthalf_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const vec2 y = vec2(0.5, 0.5); - const vec2 a = vec2(0.5, 0.5); - vec2 c = gtf_Color.rg; + const vec2 y = vec2(0.5, 0.5); + const vec2 a = vec2(0.5, 0.5); + vec2 c = gtf_Color.rg; - color = vec4(c * (1.0 - a) + y * a, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c * (1.0 - a) + y * a, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf.frag index fe749977745..fef30dcedcb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec3 y = vec3(0.5, 0.5, 0.5); - const vec3 a = vec3(0.5, 0.5, 0.5); - gl_FragColor = vec4(mix(color.rgb, y, a), 1.0); + const vec3 y = vec3(0.5, 0.5, 0.5); + const vec3 a = vec3(0.5, 0.5, 0.5); + gl_FragColor = vec4(mix(color.rgb, y, a), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf_ref.frag index a366790b463..fda46efc75f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_frag_xvary_yconsthalf_aconsthalf_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const vec3 y = vec3(0.5, 0.5, 0.5); - const vec3 a = vec3(0.5, 0.5, 0.5); - vec3 c = color.rgb; + const vec3 y = vec3(0.5, 0.5, 0.5); + const vec3 a = vec3(0.5, 0.5, 0.5); + vec3 c = color.rgb; - gl_FragColor = vec4(c * (1.0 - a) + y * a, 1.0); + gl_FragColor = vec4(c * (1.0 - a) + y * a, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf.vert index 12e20e0bb59..690f41ec993 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec3 y = vec3(0.5, 0.5, 0.5); - const vec3 a = vec3(0.5, 0.5, 0.5); - color = vec4(mix(gtf_Color.rgb, y, a), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec3 y = vec3(0.5, 0.5, 0.5); + const vec3 a = vec3(0.5, 0.5, 0.5); + color = vec4(mix(gtf_Color.rgb, y, a), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf_ref.vert index e952039cf9f..d9dec9bbba9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mix/mix_vec3_vert_xvary_yconsthalf_aconsthalf_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const vec3 y = vec3(0.5, 0.5, 0.5); - const vec3 a = vec3(0.5, 0.5, 0.5); - vec3 c = gtf_Color.rgb; + const vec3 y = vec3(0.5, 0.5, 0.5); + const vec3 a = vec3(0.5, 0.5, 0.5); + vec3 c = gtf_Color.rgb; - color = vec4(c * (1.0 - a) + y * a, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c * (1.0 - a) + y * a, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_001_to_008.html index 62e39012539..dcf5ac2405e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: mod_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1.frag index c658351bb43..9f22543d9bc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (color.r - 0.5); - gl_FragColor = vec4(mod(c, 1.0), 0.0, 0.0, 1.0); + float c = 10.0 * 2.0 * (color.r - 0.5); + gl_FragColor = vec4(mod(c, 1.0), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1_ref.frag index ad369a4ee6c..2c35298a701 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_frag_xvary_yconst1_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (color.r - 0.5); - c = c - 1.0 * floor(c / 1.0); - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + float c = 10.0 * 2.0 * (color.r - 0.5); + c = c - 1.0 * floor(c / 1.0); + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1.vert index 87e6bc07cb7..17d54ce2125 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); - color = vec4(mod(c, 1.0), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); + color = vec4(mod(c, 1.0), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1_ref.vert index 84f024cd347..ad6fc8185ba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_float_vert_xvary_yconst1_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); - c = c - 1.0 * floor(c / 1.0); - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 10.0 * 2.0 * (gtf_Color.r - 0.5); + c = c - 1.0 * floor(c / 1.0); + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1.frag index 31e1f41c840..335b8ff4904 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(mod(c, 1.0), 0.0, 1.0); + vec2 c = 10.0 * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(mod(c, 1.0), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1_ref.frag index 6e37eb07cb1..143a832ff90 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_frag_xvary_yconst1_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (color.rg - 0.5); - c = c - 1.0 * floor(c / 1.0); - gl_FragColor = vec4(c, 0.0, 1.0); + vec2 c = 10.0 * 2.0 * (color.rg - 0.5); + c = c - 1.0 * floor(c / 1.0); + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1.vert index 4772cf96ed1..dad066a142b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); - color = vec4(mod(c, 1.0), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); + color = vec4(mod(c, 1.0), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1_ref.vert index ac9063e1342..1f583fd97dc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec2_vert_xvary_yconst1_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); - c = c - 1.0 * floor(c / 1.0); - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 10.0 * 2.0 * (gtf_Color.rg - 0.5); + c = c - 1.0 * floor(c / 1.0); + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1.frag index a8f78b236b9..1b8bd31d2d8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(mod(c, 1.0), 1.0); + vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(mod(c, 1.0), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1_ref.frag index 6b5bd394186..6f934b60181 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_frag_xvary_yconst1_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); - c = c - 1.0 * floor(c / 1.0); - gl_FragColor = vec4(c, 1.0); + vec3 c = 10.0 * 2.0 * (color.rgb - 0.5); + c = c - 1.0 * floor(c / 1.0); + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1.vert index cb13f8c18f4..468dd4d3a10 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(mod(c, 1.0), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(mod(c, 1.0), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1_ref.vert index a96268a0ba8..1eb6c4ffc49 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_vec3_vert_xvary_yconst1_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); - c = c - 1.0 * floor(c / 1.0); - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 10.0 * 2.0 * (gtf_Color.rgb - 0.5); + c = c - 1.0 * floor(c / 1.0); + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_x_large_y_large_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_x_large_y_large_frag.frag index cd169627da0..a56c581252e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_x_large_y_large_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_x_large_y_large_frag.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - gl_FragColor = vec4(mod(300.0, 100.0), 0.0, 0.0, 1.0); + gl_FragColor = vec4(mod(300.0, 100.0), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_x_large_y_large_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_x_large_y_large_vert.vert index ad8eb573dcd..9d126ea2f56 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_x_large_y_large_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/mod/mod_x_large_y_large_vert.vert @@ -29,6 +29,6 @@ varying vec4 color; void main (void) { - color = vec4(mod(300.0, 100.0), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(mod(300.0, 100.0), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_001_to_006.html index 9149efe830b..d711520fa49 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: normalize_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_frag_xvary.frag index 70494371b05..9d07f0390ba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = color + vec4(0.25); - gl_FragColor = vec4(normalize(tmp_Color.r), 0.0, 0.0, 1.0); + vec4 tmp_Color = color + vec4(0.25); + gl_FragColor = vec4(normalize(tmp_Color.r), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_frag_xvary_ref.frag index 14feccefb65..1e96c743e2f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = color + vec4(0.25); - gl_FragColor = vec4(tmp_Color.r / length(tmp_Color.r), 0.0, 0.0, 1.0); + vec4 tmp_Color = color + vec4(0.25); + gl_FragColor = vec4(tmp_Color.r / length(tmp_Color.r), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_vert_xvary.vert index edf1ae51fb6..81e999b8bd1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = gtf_Color + vec4(0.25); - color = vec4(normalize(tmp_Color.r), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 tmp_Color = gtf_Color + vec4(0.25); + color = vec4(normalize(tmp_Color.r), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_vert_xvary_ref.vert index f8c6422a6c0..29e23f5cb59 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_float_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = gtf_Color + vec4(0.25); - color = vec4(tmp_Color.r / length(tmp_Color.r), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 tmp_Color = gtf_Color + vec4(0.25); + color = vec4(tmp_Color.r / length(tmp_Color.r), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_frag_xvary.frag index fb4fae1b3f1..be1756b5bb6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = color + vec4(0.25); - gl_FragColor = vec4(normalize(tmp_Color.rg), 0.0, 1.0); + vec4 tmp_Color = color + vec4(0.25); + gl_FragColor = vec4(normalize(tmp_Color.rg), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_frag_xvary_ref.frag index 489f2d62f70..0e4e031ea60 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = color + vec4(0.25); - gl_FragColor = vec4(tmp_Color.rg / length(tmp_Color.rg), 0.0, 1.0); + vec4 tmp_Color = color + vec4(0.25); + gl_FragColor = vec4(tmp_Color.rg / length(tmp_Color.rg), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_vert_xvary.vert index cac5feacb37..4bea42efd6e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = gtf_Color + vec4(0.25); - color = vec4(normalize(tmp_Color.rg), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 tmp_Color = gtf_Color + vec4(0.25); + color = vec4(normalize(tmp_Color.rg), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_vert_xvary_ref.vert index 6ee067bd760..b03a2c70b6e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec2_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = gtf_Color + vec4(0.25); - color = vec4(tmp_Color.rg / length(tmp_Color.rg), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 tmp_Color = gtf_Color + vec4(0.25); + color = vec4(tmp_Color.rg / length(tmp_Color.rg), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_frag_xvary.frag index 47417ce8569..3f7e6eb1d9e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = color + vec4(0.25); - gl_FragColor = vec4(normalize(tmp_Color.rgb), 1.0); + vec4 tmp_Color = color + vec4(0.25); + gl_FragColor = vec4(normalize(tmp_Color.rgb), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_frag_xvary_ref.frag index ed0ef171c51..62f0cea72f4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = color + vec4(0.25); - gl_FragColor = vec4(tmp_Color.rgb / length(tmp_Color.rgb), 1.0); + vec4 tmp_Color = color + vec4(0.25); + gl_FragColor = vec4(tmp_Color.rgb / length(tmp_Color.rgb), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_vert_xvary.vert index 3750471460c..33121c03487 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = gtf_Color + vec4(0.25); - color = vec4(normalize(tmp_Color.rgb), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 tmp_Color = gtf_Color + vec4(0.25); + color = vec4(normalize(tmp_Color.rgb), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_vert_xvary_ref.vert index 344ab148900..665730a3df8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/normalize/normalize_vec3_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec4 tmp_Color = gtf_Color + vec4(0.25); - color = vec4(tmp_Color.rgb / length(tmp_Color.rgb), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 tmp_Color = gtf_Color + vec4(0.25); + color = vec4(tmp_Color.rgb / length(tmp_Color.rgb), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_001_to_004.html b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_001_to_004.html index 5f0aa41ec80..2376898aba7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_001_to_004.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_001_to_004.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: not_001_to_004.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_frag.frag index d95705aae9f..129ba6669ed 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_frag.frag @@ -34,6 +34,6 @@ varying vec4 color; void main (void) { - vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false - gl_FragColor = vec4(vec2(not(bvec2(c))), 0.0, 1.0); + vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false + gl_FragColor = vec4(vec2(not(bvec2(c))), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_frag_ref.frag index 4e26e47a97b..3a94ec0faab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_frag_ref.frag @@ -34,16 +34,16 @@ varying vec4 color; bvec2 _not(in bvec2 a) { - bvec2 result; - if(a[0]) result[0] = false; - else result[0] = true; - if(a[1]) result[1] = false; - else result[1] = true; - return result; + bvec2 result; + if(a[0]) result[0] = false; + else result[0] = true; + if(a[1]) result[1] = false; + else result[1] = true; + return result; } void main (void) { - vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false - gl_FragColor = vec4(vec2(_not(bvec2(c))), 0.0, 1.0); + vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false + gl_FragColor = vec4(vec2(_not(bvec2(c))), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_vert.vert index 6c386c3bf89..3fb1ff9722d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_vert.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false - color = vec4(vec2(not(bvec2(c))), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false + color = vec4(vec2(not(bvec2(c))), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_vert_ref.vert index 00c065a556a..974d7864517 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec2_vert_ref.vert @@ -30,17 +30,17 @@ varying vec4 color; bvec2 _not(in bvec2 a) { - bvec2 result; - if(a[0]) result[0] = false; - else result[0] = true; - if(a[1]) result[1] = false; - else result[1] = true; - return result; + bvec2 result; + if(a[0]) result[0] = false; + else result[0] = true; + if(a[1]) result[1] = false; + else result[1] = true; + return result; } void main (void) { - vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false - color = vec4(vec2(_not(bvec2(c))), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false + color = vec4(vec2(_not(bvec2(c))), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_frag.frag index b549b0f5bce..8b2d4e3e9ee 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_frag.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false - gl_FragColor = vec4(vec3(not(bvec3(c))), 1.0); + vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false + gl_FragColor = vec4(vec3(not(bvec3(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_frag_ref.frag index e8f3ddad02d..2172e768377 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_frag_ref.frag @@ -30,18 +30,18 @@ varying vec4 color; bvec3 _not(in bvec3 a) { - bvec3 result; - if(a[0]) result[0] = false; - else result[0] = true; - if(a[1]) result[1] = false; - else result[1] = true; - if(a[2]) result[2] = false; - else result[2] = true; - return result; + bvec3 result; + if(a[0]) result[0] = false; + else result[0] = true; + if(a[1]) result[1] = false; + else result[1] = true; + if(a[2]) result[2] = false; + else result[2] = true; + return result; } void main (void) { - vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false - gl_FragColor = vec4(vec3(_not(bvec3(c))), 1.0); + vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false + gl_FragColor = vec4(vec3(_not(bvec3(c))), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_vert.vert index 2f4cae01856..554724cb63e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_vert.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false - color = vec4(vec3(not(bvec3(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false + color = vec4(vec3(not(bvec3(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_vert_ref.vert index 1313fdb82bd..d2a4a5d2e50 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/not/not_bvec3_vert_ref.vert @@ -30,19 +30,19 @@ varying vec4 color; bvec3 _not(in bvec3 a) { - bvec3 result; - if(a[0]) result[0] = false; - else result[0] = true; - if(a[1]) result[1] = false; - else result[1] = true; - if(a[2]) result[2] = false; - else result[2] = true; - return result; + bvec3 result; + if(a[0]) result[0] = false; + else result[0] = true; + if(a[1]) result[1] = false; + else result[1] = true; + if(a[2]) result[2] = false; + else result[2] = true; + return result; } void main (void) { - vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false - color = vec4(vec3(_not(bvec3(c))), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false + color = vec4(vec3(_not(bvec3(c))), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_001_to_008.html index 808471be9a0..ea39e3045a1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: notEqual_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_009_to_012.html b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_009_to_012.html index 2e715b846e3..3c2b81ee9d0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_009_to_012.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_009_to_012.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: notEqual_009_to_012.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_frag.frag index 1b26d9c289c..6c98f0de66d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_frag.frag @@ -34,7 +34,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false - vec2 result = vec2(notEqual(bvec2(c), bvec2(true))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false + vec2 result = vec2(notEqual(bvec2(c), bvec2(true))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_frag_ref.frag index 29b71312070..f51b8b6d4ba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_frag_ref.frag @@ -34,17 +34,17 @@ varying vec4 color; bvec2 ne(in bvec2 a, in bvec2 b) { - bvec2 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false - vec2 result = vec2(ne(bvec2(c), bvec2(true))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(1.5 * color.rg); // 1/3 true, 2/3 false + vec2 result = vec2(ne(bvec2(c), bvec2(true))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_vert.vert index a8d46262725..97fe2e9abe2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false - vec2 result = vec2(notEqual(bvec2(c), bvec2(true))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false + vec2 result = vec2(notEqual(bvec2(c), bvec2(true))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_vert_ref.vert index 2e4cc6cf896..7944e8ac813 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 ne(in bvec2 a, in bvec2 b) { - bvec2 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false - vec2 result = vec2(ne(bvec2(c), bvec2(true))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(1.5 * gtf_Color.rg); // 1/3 true, 2/3 false + vec2 result = vec2(ne(bvec2(c), bvec2(true))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_frag.frag index d6929483a46..36d6169af5c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false - vec3 result = vec3(notEqual(bvec3(c), bvec3(true))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false + vec3 result = vec3(notEqual(bvec3(c), bvec3(true))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_frag_ref.frag index f5b2732bae4..7f4654dcc52 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 ne(in bvec3 a, in bvec3 b) { - bvec3 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - if(a[2] != b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + if(a[2] != b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false - vec3 result = vec3(ne(bvec3(c), bvec3(true))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(1.5 * color.rgb); // 1/3 true, 2/3 false + vec3 result = vec3(ne(bvec3(c), bvec3(true))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_vert.vert index ee0e89aab4c..7688b8c9151 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false - vec3 result = vec3(notEqual(bvec3(c), bvec3(true))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false + vec3 result = vec3(notEqual(bvec3(c), bvec3(true))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_vert_ref.vert index 40ac4577322..4384aae3939 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_bvec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 ne(in bvec3 a, in bvec3 b) { - bvec3 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - if(a[2] != b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + if(a[2] != b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false - vec3 result = vec3(ne(bvec3(c), bvec3(true))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(1.5 * gtf_Color.rgb); // 1/3 true, 2/3 false + vec3 result = vec3(ne(bvec3(c), bvec3(true))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_frag.frag index 55c48f34252..d8cb50a3c04 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(notEqual(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(notEqual(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_frag_ref.frag index dc40e254128..f96b4d896f5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_frag_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; bvec2 ne(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(ne(ivec2(c), ivec2(0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(ne(ivec2(c), ivec2(0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_vert.vert index 2e8fd5a1c88..b49070b8e19 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(notEqual(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(notEqual(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_vert_ref.vert index 729fc50fa99..065b0e56006 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 ne(in ivec2 a, in ivec2 b) { - bvec2 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(ne(ivec2(c), ivec2(0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(ne(ivec2(c), ivec2(0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_frag.frag index 8cd1f9c4ab6..492456793c6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(notEqual(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(notEqual(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_frag_ref.frag index 43157ff017f..069dd39afc9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 ne(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - if(a[2] != b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + if(a[2] != b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(ne(ivec3(c), ivec3(0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(ne(ivec3(c), ivec3(0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_vert.vert index a620e58dd87..a63d944eaa7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(notEqual(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(notEqual(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_vert_ref.vert index cb17fa406a0..c2de0814f59 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_ivec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 ne(in ivec3 a, in ivec3 b) { - bvec3 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - if(a[2] != b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + if(a[2] != b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(ne(ivec3(c), ivec3(0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(ne(ivec3(c), ivec3(0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_frag.frag index 3ba76f0f17d..95c56263f79 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_frag.frag @@ -34,7 +34,7 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(notEqual(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(notEqual(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_frag_ref.frag index 66bf48615dd..1d4bd306adc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_frag_ref.frag @@ -34,17 +34,17 @@ varying vec4 color; bvec2 ne(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(ne(c, vec2(0.0))); - gl_FragColor = vec4(result, 0.0, 1.0); + vec2 c = floor(10.0 * color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(ne(c, vec2(0.0))); + gl_FragColor = vec4(result, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_vert.vert index 13f788ce2ba..01b8e8a39e8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(notEqual(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(notEqual(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_vert_ref.vert index c24f17be33d..0aaa9166579 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec2_vert_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; bvec2 ne(in vec2 a, in vec2 b) { - bvec2 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - return result; + bvec2 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + return result; } void main (void) { - vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer - vec2 result = vec2(ne(c, vec2(0.0))); - color = vec4(result, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = floor(10.0 * gtf_Color.rg - 4.5); // round to the nearest integer + vec2 result = vec2(ne(c, vec2(0.0))); + color = vec4(result, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_frag.frag index 45d2cba0021..2f96471c5f7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_frag.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(notEqual(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(notEqual(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_frag_ref.frag index afb0afb0205..56009be519a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_frag_ref.frag @@ -30,19 +30,19 @@ varying vec4 color; bvec3 ne(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - if(a[2] != b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + if(a[2] != b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(ne(c, vec3(0.0))); - gl_FragColor = vec4(result, 1.0); + vec3 c = floor(10.0 * color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(ne(c, vec3(0.0))); + gl_FragColor = vec4(result, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_vert.vert index 711c31709e2..b6f11514003 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(notEqual(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(notEqual(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_vert_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_vert_ref.vert index 85a6a0aa9a4..78053b0f2df 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_vert_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/notEqual/notEqual_vec3_vert_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; bvec3 ne(in vec3 a, in vec3 b) { - bvec3 result; - if(a[0] != b[0]) result[0] = true; - else result[0] = false; - if(a[1] != b[1]) result[1] = true; - else result[1] = false; - if(a[2] != b[2]) result[2] = true; - else result[2] = false; - return result; + bvec3 result; + if(a[0] != b[0]) result[0] = true; + else result[0] = false; + if(a[1] != b[1]) result[1] = true; + else result[1] = false; + if(a[2] != b[2]) result[2] = true; + else result[2] = false; + return result; } void main (void) { - vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer - vec3 result = vec3(ne(c, vec3(0.0))); - color = vec4(result, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = floor(10.0 * gtf_Color.rgb - 4.5); // round to the nearest integer + vec3 result = vec3(ne(c, vec3(0.0))); + color = vec4(result, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/addsubtract_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/addsubtract_frag.frag index 7bba6780a9c..2967fc0d00a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/addsubtract_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/addsubtract_frag.frag @@ -30,13 +30,13 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - int resultadd = m + k; - int resultsubtract = m - k; - float gray; - if( ( resultadd == 114 ) && ( resultsubtract == 90 ) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int m = 102; + int k = 12; + int resultadd = m + k; + int resultsubtract = m - k; + float gray; + if( ( resultadd == 114 ) && ( resultsubtract == 90 ) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/addsubtract_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/addsubtract_vert.vert index 98100e5db2c..4eaa2f93d63 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/addsubtract_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/addsubtract_vert.vert @@ -29,14 +29,14 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - int resultadd = m + k; - int resultsubtract = m - k; - float gray; - if( ( resultadd == 114 ) && ( resultsubtract == 90 ) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + int m = 102; + int k = 12; + int resultadd = m + k; + int resultsubtract = m - k; + float gray; + if( ( resultadd == 114 ) && ( resultsubtract == 90 ) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/assignments_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/assignments_frag.frag index 3bb626a4384..b3196567487 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/assignments_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/assignments_frag.frag @@ -30,49 +30,49 @@ varying vec4 color; void main (void) { - int m = 12; - int n = 102; - bool result = true; - int r = m; + int m = 12; + int n = 102; + bool result = true; + int r = m; - if( r==12 ) - result = result && true; - else - result = result && false; + if( r==12 ) + result = result && true; + else + result = result && false; - r += m; + r += m; - if( r == 24 ) - result = result && true; - else - result = result && false; + if( r == 24 ) + result = result && true; + else + result = result && false; - r-= m; + r-= m; - if( r == 12 ) - result = result && true; - else - result = result && false; + if( r == 12 ) + result = result && true; + else + result = result && false; - r*= m; + r*= m; - if ( r == 144 ) - result = result && true; - else - result = result && false; + if ( r == 144 ) + result = result && true; + else + result = result && false; - r/= m; + r/= m; - // Integer divide can be implemented via float reciprocal, - // so the result need not be exact - if( r >= 11 && r <= 13 ) - result = result && true; - else - result = result && false; + // Integer divide can be implemented via float reciprocal, + // so the result need not be exact + if( r >= 11 && r <= 13 ) + result = result && true; + else + result = result && false; - float gray; - if( result ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + float gray; + if( result ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/assignments_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/assignments_vert.vert index 748ce9ccf18..a4728ed986b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/assignments_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/assignments_vert.vert @@ -29,50 +29,50 @@ varying vec4 color; void main (void) { - int m = 12; - int n = 102; - bool result = true; - int r = m; + int m = 12; + int n = 102; + bool result = true; + int r = m; - if( r==12 ) - result = result && true; - else - result = result && false; + if( r==12 ) + result = result && true; + else + result = result && false; - r += m; + r += m; - if( r == 24 ) - result = result && true; - else - result = result && false; + if( r == 24 ) + result = result && true; + else + result = result && false; - r-= m; + r-= m; - if( r == 12 ) - result = result && true; - else - result = result && false; + if( r == 12 ) + result = result && true; + else + result = result && false; - r*= m; + r*= m; - if ( r == 144 ) - result = result && true; - else - result = result && false; + if ( r == 144 ) + result = result && true; + else + result = result && false; - r/= m; + r/= m; - // Integer divide can be implemented via float reciprocal, - // so the result need not be exact - if( r >= 11 && r <= 13 ) - result = result && true; - else - result = result && false; + // Integer divide can be implemented via float reciprocal, + // so the result need not be exact + if( r >= 11 && r <= 13 ) + result = result && true; + else + result = result && false; - float gray; - if( result ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float gray; + if( result ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/division_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/division_frag.frag index 529825f34b9..e65ab2e474c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/division_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/division_frag.frag @@ -30,13 +30,13 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - int result = m/k; - float gray; - // The rounding mode for integer divide is implementation-dependent - if( ( result == 8 ) || ( result == 9 ) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int m = 102; + int k = 12; + int result = m/k; + float gray; + // The rounding mode for integer divide is implementation-dependent + if( ( result == 8 ) || ( result == 9 ) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/division_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/division_vert.vert index 00d0e3a8a4e..3c963988401 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/division_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/division_vert.vert @@ -29,14 +29,14 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - int result = m/k; - float gray; - // The rounding mode for integer divide is implementation-dependent - if( ( result == 8 ) || ( result == 9 ) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + int m = 102; + int k = 12; + int result = m/k; + float gray; + // The rounding mode for integer divide is implementation-dependent + if( ( result == 8 ) || ( result == 9 ) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/equality_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/equality_frag.frag index 756094238e1..a8a5d471b5d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/equality_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/equality_frag.frag @@ -30,14 +30,14 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - bool equalto = (m == 102); - bool notequalto = (k != 102); + int m = 102; + int k = 12; + bool equalto = (m == 102); + bool notequalto = (k != 102); - float gray; - if( equalto && notequalto ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + float gray; + if( equalto && notequalto ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/equality_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/equality_vert.vert index e4a884ab95a..34ef88e6270 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/equality_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/equality_vert.vert @@ -29,15 +29,15 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - bool equalto = (m == 102); - bool notequalto = (k != 102); + int m = 102; + int k = 12; + bool equalto = (m == 102); + bool notequalto = (k != 102); - float gray; - if( equalto && notequalto ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float gray; + if( equalto && notequalto ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/logical_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/logical_frag.frag index df06d8cad0b..223557025d1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/logical_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/logical_frag.frag @@ -31,81 +31,81 @@ varying vec4 color; void main (void) { bool result = true; - bool a = true; - bool b = true; + bool a = true; + bool b = true; - if( (a&&b) ) - result = result && true; - else - result = result && false; + if( (a&&b) ) + result = result && true; + else + result = result && false; - if( (a||b) ) - result = result && true; - else - result = result && false; + if( (a||b) ) + result = result && true; + else + result = result && false; - if( !(a^^b) ) - result = result && true; - else - result = result && false; + if( !(a^^b) ) + result = result && true; + else + result = result && false; - a = true; - b = false; + a = true; + b = false; - if( !(a&&b) ) - result = result && true; - else - result = result && false; + if( !(a&&b) ) + result = result && true; + else + result = result && false; - if( (a||b) ) - result = result && true; - else - result = result && false; + if( (a||b) ) + result = result && true; + else + result = result && false; - if( (a^^b) ) - result = result && true; - else - result = result && false; + if( (a^^b) ) + result = result && true; + else + result = result && false; - a = false; - b = true; + a = false; + b = true; - if( !(a&&b) ) - result = result && true; - else - result = result && false; + if( !(a&&b) ) + result = result && true; + else + result = result && false; - if( (a||b) ) - result = result && true; - else - result = result && false; + if( (a||b) ) + result = result && true; + else + result = result && false; - if( (a^^b) ) - result = result && true; - else - result = result && false; + if( (a^^b) ) + result = result && true; + else + result = result && false; - a = false; - b = false; + a = false; + b = false; - if( !(a&&b) ) - result = result && true; - else - result = result && false; + if( !(a&&b) ) + result = result && true; + else + result = result && false; - if( !(a||b) ) - result = result && true; - else - result = result && false; + if( !(a||b) ) + result = result && true; + else + result = result && false; - if( !(a^^b) ) - result = result && true; - else - result = result && false; + if( !(a^^b) ) + result = result && true; + else + result = result && false; - float gray; - if( result ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + float gray; + if( result ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/logical_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/logical_vert.vert index bef0262c83b..8de9aafc005 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/logical_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/logical_vert.vert @@ -29,83 +29,83 @@ varying vec4 color; void main (void) { - bool result = true; - bool a = true; - bool b = true; + bool result = true; + bool a = true; + bool b = true; - if( (a&&b) ) - result = result && true; - else - result = result && false; + if( (a&&b) ) + result = result && true; + else + result = result && false; - if( (a||b) ) - result = result && true; - else - result = result && false; + if( (a||b) ) + result = result && true; + else + result = result && false; - if( !(a^^b) ) - result = result && true; - else - result = result && false; + if( !(a^^b) ) + result = result && true; + else + result = result && false; - a = true; - b = false; + a = true; + b = false; - if( !(a&&b) ) - result = result && true; - else - result = result && false; + if( !(a&&b) ) + result = result && true; + else + result = result && false; - if( (a||b) ) - result = result && true; - else - result = result && false; + if( (a||b) ) + result = result && true; + else + result = result && false; - if( (a^^b) ) - result = result && true; - else - result = result && false; + if( (a^^b) ) + result = result && true; + else + result = result && false; - a = false; - b = true; + a = false; + b = true; - if( !(a&&b) ) - result = result && true; - else - result = result && false; + if( !(a&&b) ) + result = result && true; + else + result = result && false; - if( (a||b) ) - result = result && true; - else - result = result && false; + if( (a||b) ) + result = result && true; + else + result = result && false; - if( (a^^b) ) - result = result && true; - else - result = result && false; + if( (a^^b) ) + result = result && true; + else + result = result && false; - a = false; - b = false; + a = false; + b = false; - if( !(a&&b) ) - result = result && true; - else - result = result && false; + if( !(a&&b) ) + result = result && true; + else + result = result && false; - if( !(a||b) ) - result = result && true; - else - result = result && false; + if( !(a||b) ) + result = result && true; + else + result = result && false; - if( !(a^^b) ) - result = result && true; - else - result = result && false; + if( !(a^^b) ) + result = result && true; + else + result = result && false; - float gray; - if( result ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float gray; + if( result ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/multiplicative_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/multiplicative_frag.frag index bc3ca7addd3..dd23c5b132c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/multiplicative_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/multiplicative_frag.frag @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - int result = m*k; - float gray; - if( ( result == 1224 ) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int m = 102; + int k = 12; + int result = m*k; + float gray; + if( ( result == 1224 ) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/multiplicative_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/multiplicative_vert.vert index c28ff98277e..138b12d9c75 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/multiplicative_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/multiplicative_vert.vert @@ -29,13 +29,13 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - int result = m*k; - float gray; - if( ( result == 1224 ) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + int m = 102; + int k = 12; + int result = m*k; + float gray; + if( ( result == 1224 ) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_001_to_008.html index f0481526d29..8e59e71d2d1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: operators_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_009_to_016.html index b9ee688a779..e19f146b757 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: operators_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_017_to_024.html b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_017_to_024.html index b77a70cbd7c..14da8ea63e8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_017_to_024.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_017_to_024.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: operators_017_to_024.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_025_to_026.html b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_025_to_026.html index f57266ba911..812f24dc9a3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_025_to_026.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/operators_025_to_026.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: operators_025_to_026.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixdecrement_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixdecrement_frag.frag index 304b8ccb207..70da817094f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixdecrement_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixdecrement_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - int m = 23; - int k = m--; - float gray; - if( ( k == 23 ) && ( m == 22 ) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int m = 23; + int k = m--; + float gray; + if( ( k == 23 ) && ( m == 22 ) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixdecrement_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixdecrement_vert.vert index 0be357f8b5c..27782385e65 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixdecrement_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixdecrement_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - int m=23; - int k = m--; - float gray; - if( (k==23) && (m==22) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + int m=23; + int k = m--; + float gray; + if( (k==23) && (m==22) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixincrement_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixincrement_frag.frag index 3879dd2c37b..0fecc5d2dc3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixincrement_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixincrement_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - int m = 23; - int k = m++; - float gray; - if( ( k == 23 ) && ( m == 24 ) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int m = 23; + int k = m++; + float gray; + if( ( k == 23 ) && ( m == 24 ) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixincrement_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixincrement_vert.vert index f705026cadb..30fa784e95b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixincrement_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/postfixincrement_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - int m=23; - int k = m++; - float gray; - if( (k==23) && (m==24) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + int m=23; + int k = m++; + float gray; + if( (k==23) && (m==24) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixdecrement_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixdecrement_frag.frag index 8efef487708..92b04b78556 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixdecrement_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixdecrement_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - int m = 23; - int k = --m; - float gray; - if( ( k == 22 ) && ( m == 22 ) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int m = 23; + int k = --m; + float gray; + if( ( k == 22 ) && ( m == 22 ) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixdecrement_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixdecrement_vert.vert index 5b74e416b6f..4509b9b41a5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixdecrement_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixdecrement_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - int m=23; - int k = --m; - float gray; - if( (k==22) && (m==22) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + int m=23; + int k = --m; + float gray; + if( (k==22) && (m==22) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixincrement_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixincrement_frag.frag index 19a4dafaaab..534b826a974 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixincrement_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixincrement_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - int m = 23; - int k = ++m; - float gray; - if( ( k == 24 ) && ( m == 24 ) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int m = 23; + int k = ++m; + float gray; + if( ( k == 24 ) && ( m == 24 ) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixincrement_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixincrement_vert.vert index fbaf51b259a..4b51c6a32f9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixincrement_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/prefixincrement_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - int m=23; - int k = ++m; - float gray; - if( (k==24) && (m==24) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + int m=23; + int k = ++m; + float gray; + if( (k==24) && (m==24) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/relational_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/relational_frag.frag index 82a05ac732f..fe2716d0d2b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/relational_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/relational_frag.frag @@ -30,15 +30,15 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - bool lessthan = (mk); - bool lessthanorequalto = (m <= 102); - bool greaterthanorequalto = (k >=12); - float gray; - if( !lessthan && greaterthan && lessthanorequalto && greaterthanorequalto ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + int m = 102; + int k = 12; + bool lessthan = (mk); + bool lessthanorequalto = (m <= 102); + bool greaterthanorequalto = (k >=12); + float gray; + if( !lessthan && greaterthan && lessthanorequalto && greaterthanorequalto ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/relational_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/relational_vert.vert index b3707797b3a..322bb841687 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/relational_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/relational_vert.vert @@ -29,17 +29,17 @@ varying vec4 color; void main (void) { - int m = 102; - int k = 12; - bool lessthan = (mk); - bool lessthanorequalto = (m <= 102); - bool greaterthanorequalto = (k >=12); + int m = 102; + int k = 12; + bool lessthan = (mk); + bool lessthanorequalto = (m <= 102); + bool greaterthanorequalto = (k >=12); - float gray; - if( !lessthan && greaterthan && lessthanorequalto && greaterthanorequalto ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float gray; + if( !lessthan && greaterthan && lessthanorequalto && greaterthanorequalto ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/selection_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/selection_frag.frag index e3ff303f815..9611e2c101e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/operators/selection_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/operators/selection_frag.frag @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - int j = 30; - int k = 37; - int y = 10; - int n = 12; - bool result1 = false; - bool result2 = false; - (j>k)?( result1 = true ):( result1 = false ); - (yk)?( result1 = true ):( result1 = false ); + (yk)?( result1 = true ):( result1 = false ); - (yk)?( result1 = true ):( result1 = false ); + (y WebGL GLSL conformance test: pow_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_009_to_016.html index 54418535ca0..1ae02f1f31c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: pow_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_017_to_024.html b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_017_to_024.html index d58567809d9..06420c91960 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_017_to_024.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_017_to_024.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: pow_017_to_024.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary.frag index b41875ca502..dc2534ce429 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 2.0 * (color.r - 0.5); - gl_FragColor = vec4(pow(2.0, 2.0 * c) / 4.0, 0.0, 0.0, 1.0); + float c = 2.0 * (color.r - 0.5); + gl_FragColor = vec4(pow(2.0, 2.0 * c) / 4.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary_ref.frag index a76a586c1e4..8e2cd4eefea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconst2_yvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 2.0 * (color.r - 0.5); - gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 0.0, 0.0, 1.0); + float c = 2.0 * (color.r - 0.5); + gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary.frag index 4f7bdf7a4d5..60d20306ae3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 2.0 * (color.r - 0.5); - gl_FragColor = vec4(pow(0.5, 2.0 * c) / 4.0, 0.0, 0.0, 1.0); + float c = 2.0 * (color.r - 0.5); + gl_FragColor = vec4(pow(0.5, 2.0 * c) / 4.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary_ref.frag index 49b5722c176..96be455a3c9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xconsthalf_yvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = -2.0 * (color.r - 0.5); - gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 0.0, 0.0, 1.0); + float c = -2.0 * (color.r - 0.5); + gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2.frag index c0fde40cc02..8682a0e9f38 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 4.0 * (color.r); - gl_FragColor = vec4(pow(c, 2.0) / 4.0, 0.0, 0.0, 1.0); + float c = 4.0 * (color.r); + gl_FragColor = vec4(pow(c, 2.0) / 4.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2_ref.frag index 18a895caabb..0b82bded596 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconst2_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 4.0 * (color.r); - gl_FragColor = vec4(c * c / 4.0, 0.0, 0.0, 1.0); + float c = 4.0 * (color.r); + gl_FragColor = vec4(c * c / 4.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf.frag index 0383e810599..e071d29a594 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 16.0 * color.r; - gl_FragColor = vec4(pow(c, 0.5) / 4.0, 0.0, 0.0, 1.0); + float c = 16.0 * color.r; + gl_FragColor = vec4(pow(c, 0.5) / 4.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf_ref.frag index d629859397e..5ff3ddbe9f7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_frag_xvary_yconsthalf_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 16.0 * color.r; - gl_FragColor = vec4(sqrt(c) / 4.0, 0.0, 0.0, 1.0); + float c = 16.0 * color.r; + gl_FragColor = vec4(sqrt(c) / 4.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary.vert index 5161aac2354..83f22bb80db 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 2.0 * (gtf_Color.r - 0.5); - color = vec4(pow(2.0, 2.0 * c) / 4.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 2.0 * (gtf_Color.r - 0.5); + color = vec4(pow(2.0, 2.0 * c) / 4.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary_ref.vert index 5acd78eb3a9..130327c6ee2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconst2_yvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 2.0 * (gtf_Color.r - 0.5); - color = vec4(exp2(2.0 * c) / 4.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 2.0 * (gtf_Color.r - 0.5); + color = vec4(exp2(2.0 * c) / 4.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary.vert index 0f96a73470a..0533c7560bb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 2.0 * (gtf_Color.r - 0.5); - color = vec4(pow(0.5, 2.0 * c) / 4.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 2.0 * (gtf_Color.r - 0.5); + color = vec4(pow(0.5, 2.0 * c) / 4.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary_ref.vert index fbc1ae23518..fe9bdc84eeb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xconsthalf_yvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = -2.0 * (gtf_Color.r - 0.5); - color = vec4(exp2(2.0 * c) / 4.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = -2.0 * (gtf_Color.r - 0.5); + color = vec4(exp2(2.0 * c) / 4.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2.vert index 7041566778b..f0be45abe88 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 4.0 * (gtf_Color.r); - color = vec4(pow(c, 2.0) / 4.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 4.0 * (gtf_Color.r); + color = vec4(pow(c, 2.0) / 4.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2_ref.vert index dc7cf45776c..f76054b2ba2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconst2_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 4.0 * (gtf_Color.r); - color = vec4(c * c / 4.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 4.0 * (gtf_Color.r); + color = vec4(c * c / 4.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf.vert index dd3f9bd0c69..7609fa58991 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 16.0 * gtf_Color.r; - color = vec4(pow(c, 0.5) / 4.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 16.0 * gtf_Color.r; + color = vec4(pow(c, 0.5) / 4.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf_ref.vert index e0dcde9bcbc..f58d044b212 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_float_vert_xvary_yconsthalf_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 16.0 * gtf_Color.r; - color = vec4(sqrt(c) / 4.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 16.0 * gtf_Color.r; + color = vec4(sqrt(c) / 4.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary.frag index ec3ac352a19..e47822c0a89 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(pow(vec2(2.0), 2.0 * c) / 4.0, 0.0, 1.0); + vec2 c = 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(pow(vec2(2.0), 2.0 * c) / 4.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary_ref.frag index f195c633b28..30b36043597 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconst2_yvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 0.0, 1.0); + vec2 c = 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary.frag index cfd9aba80da..67daa472056 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(pow(vec2(0.5), 2.0 * c) / 4.0, 0.0, 1.0); + vec2 c = 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(pow(vec2(0.5), 2.0 * c) / 4.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary_ref.frag index 0468e6c302c..e7cc4c966ff 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xconsthalf_yvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = -2.0 * (color.rg - 0.5); - gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 0.0, 1.0); + vec2 c = -2.0 * (color.rg - 0.5); + gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2.frag index 7e587e4c636..6ae78c70dcd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 4.0 * (color.rg); - gl_FragColor = vec4(pow(c, vec2(2.0)) / 4.0, 0.0, 1.0); + vec2 c = 4.0 * (color.rg); + gl_FragColor = vec4(pow(c, vec2(2.0)) / 4.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2_ref.frag index dd825de3733..0540ebe0f5a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconst2_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 4.0 * (color.rg); - gl_FragColor = vec4(c * c / 4.0, 0.0, 1.0); + vec2 c = 4.0 * (color.rg); + gl_FragColor = vec4(c * c / 4.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf.frag index 674333a2ab8..196535a8c61 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 16.0 * color.rg; - gl_FragColor = vec4(pow(c, vec2(0.5)) / 4.0, 0.0, 1.0); + vec2 c = 16.0 * color.rg; + gl_FragColor = vec4(pow(c, vec2(0.5)) / 4.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf_ref.frag index 97fb36e04e7..cb591dc5f77 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_frag_xvary_yconsthalf_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 16.0 * color.rg; - gl_FragColor = vec4(sqrt(c) / 4.0, 0.0, 1.0); + vec2 c = 16.0 * color.rg; + gl_FragColor = vec4(sqrt(c) / 4.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary.vert index f11d38607e8..ec59a85bc42 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - color = vec4(pow(vec2(2.0), 2.0 * c) / 4.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + color = vec4(pow(vec2(2.0), 2.0 * c) / 4.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary_ref.vert index f9923017d87..35f12854d18 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconst2_yvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - color = vec4(exp2(2.0 * c) / 4.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + color = vec4(exp2(2.0 * c) / 4.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary.vert index 138b9c95eda..ab3c56d49ed 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - color = vec4(pow(vec2(0.5), 2.0 * c) / 4.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + color = vec4(pow(vec2(0.5), 2.0 * c) / 4.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary_ref.vert index 91c969519c8..d5a1a620288 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xconsthalf_yvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = -2.0 * (gtf_Color.rg - 0.5); - color = vec4(exp2(2.0 * c) / 4.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = -2.0 * (gtf_Color.rg - 0.5); + color = vec4(exp2(2.0 * c) / 4.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2.vert index 8a539376123..0411d3f0eba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 4.0 * (gtf_Color.rg); - color = vec4(pow(c, vec2(2.0)) / 4.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 4.0 * (gtf_Color.rg); + color = vec4(pow(c, vec2(2.0)) / 4.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2_ref.vert index b7427d8611a..c83de730290 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconst2_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 4.0 * (gtf_Color.rg); - color = vec4(c * c / 4.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 4.0 * (gtf_Color.rg); + color = vec4(c * c / 4.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf.vert index ccd858066f7..80e7e176b86 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 16.0 * gtf_Color.rg; - color = vec4(pow(c, vec2(0.5)) / 4.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 16.0 * gtf_Color.rg; + color = vec4(pow(c, vec2(0.5)) / 4.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf_ref.vert index dd363da6a23..abf19d3b0ec 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec2_vert_xvary_yconsthalf_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 16.0 * gtf_Color.rg; - color = vec4(sqrt(c) / 4.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 16.0 * gtf_Color.rg; + color = vec4(sqrt(c) / 4.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary.frag index 0719f119b05..7aa24fb92c3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(pow(vec3(2.0), 2.0 * c) / 4.0, 1.0); + vec3 c = 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(pow(vec3(2.0), 2.0 * c) / 4.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary_ref.frag index 3f969eda7c0..339406c5e32 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconst2_yvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 1.0); + vec3 c = 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary.frag index e1b28ad23bb..7b35c866440 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(pow(vec3(0.5), 2.0 * c) / 4.0, 1.0); + vec3 c = 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(pow(vec3(0.5), 2.0 * c) / 4.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary_ref.frag index 1f124278b13..9000d040fad 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xconsthalf_yvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = -2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 1.0); + vec3 c = -2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(exp2(2.0 * c) / 4.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2.frag index b09934293af..319fb17a840 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = color.rgb; - gl_FragColor = vec4(pow(c, vec3(2.0)) / 4.0, 1.0); + vec3 c = color.rgb; + gl_FragColor = vec4(pow(c, vec3(2.0)) / 4.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2_ref.frag index 81ae4b470dd..439476d7031 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconst2_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = color.rgb; - gl_FragColor = vec4(c * c / 4.0, 1.0); + vec3 c = color.rgb; + gl_FragColor = vec4(c * c / 4.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf.frag index eeb6e329500..82b120f153d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 16.0 * color.rgb; - gl_FragColor = vec4(pow(c, vec3(0.5)) / 4.0, 1.0); + vec3 c = 16.0 * color.rgb; + gl_FragColor = vec4(pow(c, vec3(0.5)) / 4.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf_ref.frag index e920fa050e2..407bc1db273 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_frag_xvary_yconsthalf_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 16.0 * color.rgb; - gl_FragColor = vec4(sqrt(c) / 4.0, 1.0); + vec3 c = 16.0 * color.rgb; + gl_FragColor = vec4(sqrt(c) / 4.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary.vert index 96b8d76d411..875ff7f9325 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(pow(vec3(2.0), 2.0 * c) / 4.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(pow(vec3(2.0), 2.0 * c) / 4.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary_ref.vert index 453ec7a35b0..155519ef171 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconst2_yvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(exp2(2.0 * c) / 4.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(exp2(2.0 * c) / 4.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary.vert index 89515fb85af..ebb4c42a5c4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(pow(vec3(0.5), 2.0 * c) / 4.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(pow(vec3(0.5), 2.0 * c) / 4.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary_ref.vert index c47679707d2..d797011e1af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xconsthalf_yvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = -2.0 * (gtf_Color.rgb - 0.5); - color = vec4(exp2(2.0 * c) / 4.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = -2.0 * (gtf_Color.rgb - 0.5); + color = vec4(exp2(2.0 * c) / 4.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2.vert index 833718eadc2..38ef59d3e16 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 4.0 * (gtf_Color.rgb); - color = vec4(pow(c, vec3(2.0)) / 4.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 4.0 * (gtf_Color.rgb); + color = vec4(pow(c, vec3(2.0)) / 4.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2_ref.vert index 04e0c46c0cf..0cd2ef6ff58 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconst2_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 4.0 * (gtf_Color.rgb); - color = vec4(c * c / 4.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 4.0 * (gtf_Color.rgb); + color = vec4(c * c / 4.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf.vert index 071cc344d61..3ab23619965 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 16.0 * gtf_Color.rgb; - color = vec4(pow(c, vec3(0.5)) / 4.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 16.0 * gtf_Color.rgb; + color = vec4(pow(c, vec3(0.5)) / 4.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf_ref.vert index 4dcb1952de7..da90056737b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/pow/pow_vec3_vert_xvary_yconsthalf_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 16.0 * gtf_Color.rgb; - color = vec4(sqrt(c) / 4.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 16.0 * gtf_Color.rgb; + color = vec4(sqrt(c) / 4.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_001_to_006.html index eb0b952675c..3d03c34a79a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: radians_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_frag_xvary.frag index 3c90b9a25bb..141c45d5323 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 360.0 * 2.0 * (color.r - 0.5); - gl_FragColor = vec4(radians(c) / (4.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float c = 360.0 * 2.0 * (color.r - 0.5); + gl_FragColor = vec4(radians(c) / (4.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_frag_xvary_ref.frag index a0f208a5117..5e9ba0b4586 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 360.0 * 2.0 * (color.r - 0.5); - gl_FragColor = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float c = 360.0 * 2.0 * (color.r - 0.5); + gl_FragColor = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_vert_xvary.vert index 7991aff00cf..8a858b641ed 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 360.0 * 2.0 * (gtf_Color.r - 0.5); - color = vec4(radians(c) / (4.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + float c = 360.0 * 2.0 * (gtf_Color.r - 0.5); + color = vec4(radians(c) / (4.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_vert_xvary_ref.vert index 9ca20641772..2c21ac03437 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_float_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 360.0 * 2.0 * (gtf_Color.r - 0.5); - color = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + float c = 360.0 * 2.0 * (gtf_Color.r - 0.5); + color = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_frag_xvary.frag index 5d510ee8d13..594e26ac016 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 360.0 * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(radians(c) / (4.0 * M_PI) + 0.5, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 360.0 * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(radians(c) / (4.0 * M_PI) + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_frag_xvary_ref.frag index a397fe26e2d..6c95619e320 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 360.0 * 2.0 * (color.rg - 0.5); - gl_FragColor = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + vec2 c = 360.0 * 2.0 * (color.rg - 0.5); + gl_FragColor = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_vert_xvary.vert index 1b9cbcfb787..b232f5646c2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 360.0 * 2.0 * (gtf_Color.rg - 0.5); - color = vec4(radians(c) / (4.0 * M_PI) + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec2 c = 360.0 * 2.0 * (gtf_Color.rg - 0.5); + color = vec4(radians(c) / (4.0 * M_PI) + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_vert_xvary_ref.vert index 2cefe718bd8..9530c8b3f67 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec2_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 360.0 * 2.0 * (gtf_Color.rg - 0.5); - color = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec2 c = 360.0 * 2.0 * (gtf_Color.rg - 0.5); + color = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_frag_xvary.frag index 94dd67ef559..5cebc76b712 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_frag_xvary.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 360.0 * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(radians(c) / (4.0 * M_PI) + 0.5, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 360.0 * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(radians(c) / (4.0 * M_PI) + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_frag_xvary_ref.frag index 7e145683abb..3026b494c4a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_frag_xvary_ref.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 360.0 * 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 1.0); + const float M_PI = 3.14159265358979323846; + vec3 c = 360.0 * 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_vert_xvary.vert index 9baf5126999..7f91ba40401 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_vert_xvary.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 360.0 * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(radians(c) / (4.0 * M_PI) + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec3 c = 360.0 * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(radians(c) / (4.0 * M_PI) + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_vert_xvary_ref.vert index 8e7a3b0e9b6..74cad8da0bc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/radians/radians_vec3_vert_xvary_ref.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 360.0 * 2.0 * (gtf_Color.rgb - 0.5); - color = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + vec3 c = 360.0 * 2.0 * (gtf_Color.rgb - 0.5); + color = vec4((c * M_PI / 180.0) / (4.0 * M_PI) + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_001_to_006.html index 47943920d58..e41fa798009 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: reflect_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst.frag index 2f320ffbde9..23780bbec2d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (color.g + 1.0) / 2.0; - float v2 = (color.b + 1.0) / 2.0; + // Both are unit vectors + float v1 = (color.g + 1.0) / 2.0; + float v2 = (color.b + 1.0) / 2.0; - gl_FragColor = vec4((reflect(v1, v2) + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_FragColor = vec4((reflect(v1, v2) + 1.0) / 2.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst_ref.frag index 65143ab1a7d..7c9a07eb58c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_frag_ivarynconst_ref.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (color.g + 1.0) / 2.0; - float v2 = (color.b + 1.0) / 2.0; + // Both are unit vectors + float v1 = (color.g + 1.0) / 2.0; + float v2 = (color.b + 1.0) / 2.0; - gl_FragColor = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_FragColor = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst.vert index 4b73416c593..1881b976c2c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (gtf_Color.g + 1.0) / 2.0; - float v2 = (gtf_Color.b + 1.0) / 2.0; + // Both are unit vectors + float v1 = (gtf_Color.g + 1.0) / 2.0; + float v2 = (gtf_Color.b + 1.0) / 2.0; - color = vec4((reflect(v1, v2) + 1.0) / 2.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((reflect(v1, v2) + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst_ref.vert index d1d66781800..3b6162907c3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_float_vert_ivarynconst_ref.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (gtf_Color.g + 1.0) / 2.0; - float v2 = (gtf_Color.b + 1.0) / 2.0; + // Both are unit vectors + float v1 = (gtf_Color.g + 1.0) / 2.0; + float v2 = (gtf_Color.b + 1.0) / 2.0; - color = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst.frag index 46acb1136ae..d614676d8e0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst.frag @@ -30,16 +30,16 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - gl_FragColor = vec4((reflect(v1, v2) + 1.0) / 2.0, 0.0, 1.0); + gl_FragColor = vec4((reflect(v1, v2) + 1.0) / 2.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst_ref.frag index 8464f445acc..07a4a7c74b7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_frag_ivarynconst_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - gl_FragColor = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 0.0, 1.0); + gl_FragColor = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst.vert index baa47dd48ca..5f1e20ed116 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst.vert @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - color = vec4((reflect(v1, v2) + 1.0) / 2.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((reflect(v1, v2) + 1.0) / 2.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst_ref.vert index cdf49d2681e..dee1b983c7e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec2_vert_ivarynconst_ref.vert @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - color = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst.frag index 5014bb0772d..a7287f2304a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst.frag @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - gl_FragColor = vec4((reflect(v1, v2) + 1.0) / 2.0, 1.0); + gl_FragColor = vec4((reflect(v1, v2) + 1.0) / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst_ref.frag index 8e214417f08..cd141895823 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_frag_ivarynconst_ref.frag @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - gl_FragColor = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 1.0); + gl_FragColor = vec4((v1 - 2.0 * dot(v2, v1) * v2 + 1.0) / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst.vert index 25dcf65651b..f375b86a4d4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst.vert @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - color = vec4((reflect(v1, v2) + 1.0) / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((reflect(v1, v2) + 1.0) / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst_ref.vert index 86d84c33ad5..58a9b84f95f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/reflect/reflect_vec3_vert_ivarynconst_ref.vert @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - color = vec4((v1 - 2.0 * dot(v2, v1) * v2 + vec3(1.0)) / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((v1 - 2.0 * dot(v2, v1) * v2 + vec3(1.0)) / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_001_to_006.html index b5a96affb84..3fdad36dabf 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: refract_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_frag_ivarynconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_frag_ivarynconst.frag index 99844377886..6cd7faa0100 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_frag_ivarynconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_frag_ivarynconst.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (color.g + 1.0) / 2.0; - float v2 = (color.b + 1.0) / 2.0; + // Both are unit vectors + float v1 = (color.g + 1.0) / 2.0; + float v2 = (color.b + 1.0) / 2.0; - gl_FragColor = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_FragColor = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_frag_ivarynconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_frag_ivarynconst_ref.frag index a42f9ab98aa..a0159b0f518 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_frag_ivarynconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_frag_ivarynconst_ref.frag @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - // Both are unit vectors - float v1 = (color.g + 1.0) / 2.0; - float v2 = (color.b + 1.0) / 2.0; + // Both are unit vectors + float v1 = (color.g + 1.0) / 2.0; + float v2 = (color.b + 1.0) / 2.0; - float result; - float eta = 0.5; - float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); - if(k < 0.0) - result = 0.0; - else - result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; + float result; + float eta = 0.5; + float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); + if(k < 0.0) + result = 0.0; + else + result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; - gl_FragColor = vec4((result + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_FragColor = vec4((result + 1.0) / 2.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_vert_ivarynconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_vert_ivarynconst.vert index 706c7de3c05..83dcb5930dd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_vert_ivarynconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_vert_ivarynconst.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - // Both are unit vectors - float v1 = (gtf_Color.g + 1.0) / 2.0; - float v2 = (gtf_Color.b + 1.0) / 2.0; + // Both are unit vectors + float v1 = (gtf_Color.g + 1.0) / 2.0; + float v2 = (gtf_Color.b + 1.0) / 2.0; - color = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_vert_ivarynconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_vert_ivarynconst_ref.vert index da5d44e5926..31826c6c25f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_vert_ivarynconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_float_vert_ivarynconst_ref.vert @@ -30,20 +30,20 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - float v1 = (gtf_Color.g + 1.0) / 2.0; - float v2 = (gtf_Color.b + 1.0) / 2.0; + // Both are unit vectors + float v1 = (gtf_Color.g + 1.0) / 2.0; + float v2 = (gtf_Color.b + 1.0) / 2.0; - float result; - float eta = 0.5; - float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); - if(k < 0.0) - result = 0.0; - else - result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; + float result; + float eta = 0.5; + float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); + if(k < 0.0) + result = 0.0; + else + result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; - color = vec4((result + 1.0) / 2.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((result + 1.0) / 2.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst.frag index b693807b9de..189a168f82e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst.frag @@ -30,16 +30,16 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - gl_FragColor = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 0.0, 1.0); + gl_FragColor = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst_ref.frag index db45136d7f1..bad139c37e7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_frag_ivarynconst_ref.frag @@ -30,25 +30,25 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - vec2 result; - float eta = 0.5; - float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); - if(k < 0.0) - result = vec2(0.0); - else - result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; + vec2 result; + float eta = 0.5; + float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); + if(k < 0.0) + result = vec2(0.0); + else + result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; - gl_FragColor = vec4((result + 1.0) / 2.0, 0.0, 1.0); + gl_FragColor = vec4((result + 1.0) / 2.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst.vert index 8d41de32067..62b77e91c8c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst.vert @@ -30,17 +30,17 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - color = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst_ref.vert index 8f0980076f5..d01fb22ba9f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec2_vert_ivarynconst_ref.vert @@ -30,25 +30,25 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec2 v1; - vec2 v2 = normalize(vec2(1.0, 1.0)); + // Both are unit vectors + vec2 v1; + vec2 v2 = normalize(vec2(1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); - vec2 result; - float eta = 0.5; - float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); - if(k < 0.0) - result = vec2(0.0); - else - result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; + vec2 result; + float eta = 0.5; + float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); + if(k < 0.0) + result = vec2(0.0); + else + result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; - color = vec4((result + 1.0) / 2.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((result + 1.0) / 2.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst.frag index 5370f4e2328..421cf9b5813 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst.frag @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - gl_FragColor = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 1.0); + gl_FragColor = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst_ref.frag index 3128882b4e5..16be25c1da3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_frag_ivarynconst_ref.frag @@ -30,26 +30,26 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = color.g * 2.0 * M_PI; - float phi = color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = color.g * 2.0 * M_PI; + float phi = color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - vec3 result; - float eta = 0.5; - float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); - if(k < 0.0) - result = vec3(0.0); - else - result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; + vec3 result; + float eta = 0.5; + float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); + if(k < 0.0) + result = vec3(0.0); + else + result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; - gl_FragColor = vec4((result + 1.0) / 2.0, 1.0); + gl_FragColor = vec4((result + 1.0) / 2.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst.vert index 65d22412d84..6423ca40e4e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst.vert @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - color = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((refract(v1, v2, 0.5) + 1.0) / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst_ref.vert index 12a66c66554..0fa9b7cbcaa 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/refract/refract_vec3_vert_ivarynconst_ref.vert @@ -30,26 +30,26 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; + const float M_PI = 3.14159265358979323846; - // Both are unit vectors - vec3 v1; - vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); + // Both are unit vectors + vec3 v1; + vec3 v2 = normalize(vec3(1.0, 1.0, 1.0)); - float theta = gtf_Color.g * 2.0 * M_PI; - float phi = gtf_Color.b * 2.0 * M_PI; - v1.x = cos(theta) * sin(phi); - v1.y = sin(theta) * sin(phi); - v1.z = cos(phi); + float theta = gtf_Color.g * 2.0 * M_PI; + float phi = gtf_Color.b * 2.0 * M_PI; + v1.x = cos(theta) * sin(phi); + v1.y = sin(theta) * sin(phi); + v1.z = cos(phi); - vec3 result; - float eta = 0.5; - float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); - if(k < 0.0) - result = vec3(0.0); - else - result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; + vec3 result; + float eta = 0.5; + float k = 1.0 - eta * eta * (1.0 - dot(v1, v2) * dot(v1, v2)); + if(k < 0.0) + result = vec3(0.0); + else + result = eta * v1 - (eta * dot(v1, v2) + sqrt(k)) * v2; - color = vec4((result + 1.0) / 2.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4((result + 1.0) / 2.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_001_to_006.html index f74d7979c22..0e4a56dbcd1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: sign_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_frag_xvary.frag index 9b272833482..0a3fcd169cd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 2.0 * (color.r - 0.5); - gl_FragColor = vec4(c * sign(c), 0.0, 0.0, 1.0); + float c = 2.0 * (color.r - 0.5); + gl_FragColor = vec4(c * sign(c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_frag_xvary_ref.frag index a3b31518a45..082dea1d1d8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_frag_xvary_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - float c = 2.0 * (color.r - 0.5); - if(c > 0.0) c = 1.0 * c; - if(c < 0.0) c = -1.0 * c; + float c = 2.0 * (color.r - 0.5); + if(c > 0.0) c = 1.0 * c; + if(c < 0.0) c = -1.0 * c; - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_vert_xvary.vert index 3b82bdd427e..e2a048f3480 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 2.0 * (gtf_Color.r - 0.5); - color = vec4(c * sign(c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 2.0 * (gtf_Color.r - 0.5); + color = vec4(c * sign(c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_vert_xvary_ref.vert index 3c58c1f2f2a..7646fb73662 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_float_vert_xvary_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - float c = 2.0 * (gtf_Color.r - 0.5); - if(c > 0.0) c = 1.0 * c; - if(c < 0.0) c = -1.0 * c; + float c = 2.0 * (gtf_Color.r - 0.5); + if(c > 0.0) c = 1.0 * c; + if(c < 0.0) c = -1.0 * c; - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_frag_xvary.frag index 77564c11c50..3dbdde2079e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (color.rg - 0.5); - gl_FragColor = vec4(c * sign(c), 0.0, 1.0); + vec2 c = 2.0 * (color.rg - 0.5); + gl_FragColor = vec4(c * sign(c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_frag_xvary_ref.frag index bf01dcc0d8b..08a6c3d0343 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_frag_xvary_ref.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (color.rg - 0.5); - if(c[0] > 0.0) c[0] = 1.0 * c[0]; - if(c[0] < 0.0) c[0] = -1.0 * c[0]; - if(c[1] > 0.0) c[1] = 1.0 * c[1]; - if(c[1] < 0.0) c[1] = -1.0 * c[1]; + vec2 c = 2.0 * (color.rg - 0.5); + if(c[0] > 0.0) c[0] = 1.0 * c[0]; + if(c[0] < 0.0) c[0] = -1.0 * c[0]; + if(c[1] > 0.0) c[1] = 1.0 * c[1]; + if(c[1] < 0.0) c[1] = -1.0 * c[1]; - gl_FragColor = vec4(c, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_vert_xvary.vert index 862e687f110..fde1a269c83 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - color = vec4(c * sign(c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + color = vec4(c * sign(c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_vert_xvary_ref.vert index e467a409553..000159fc54f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec2_vert_xvary_ref.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - vec2 c = 2.0 * (gtf_Color.rg - 0.5); - if(c[0] > 0.0) c[0] = 1.0 * c[0]; - if(c[0] < 0.0) c[0] = -1.0 * c[0]; - if(c[1] > 0.0) c[1] = 1.0 * c[1]; - if(c[1] < 0.0) c[1] = -1.0 * c[1]; + vec2 c = 2.0 * (gtf_Color.rg - 0.5); + if(c[0] > 0.0) c[0] = 1.0 * c[0]; + if(c[0] < 0.0) c[0] = -1.0 * c[0]; + if(c[1] > 0.0) c[1] = 1.0 * c[1]; + if(c[1] < 0.0) c[1] = -1.0 * c[1]; - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_frag_xvary.frag index c803710a11f..21b915804c5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (color.rgb - 0.5); - gl_FragColor = vec4(c * (sign(c)), 1.0); + vec3 c = 2.0 * (color.rgb - 0.5); + gl_FragColor = vec4(c * (sign(c)), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_frag_xvary_ref.frag index 802d1159aa8..4646aadadf8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_frag_xvary_ref.frag @@ -30,14 +30,14 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (color.rgb - 0.5); + vec3 c = 2.0 * (color.rgb - 0.5); - if(c[0] > 0.0) c[0] = 1.0 * c[0]; - if(c[0] < 0.0) c[0] = -1.0 * c[0]; - if(c[1] > 0.0) c[1] = 1.0 * c[1]; - if(c[1] < 0.0) c[1] = -1.0 * c[1]; - if(c[2] > 0.0) c[2] = 1.0 * c[2]; - if(c[2] < 0.0) c[2] = -1.0 * c[2]; + if(c[0] > 0.0) c[0] = 1.0 * c[0]; + if(c[0] < 0.0) c[0] = -1.0 * c[0]; + if(c[1] > 0.0) c[1] = 1.0 * c[1]; + if(c[1] < 0.0) c[1] = -1.0 * c[1]; + if(c[2] > 0.0) c[2] = 1.0 * c[2]; + if(c[2] < 0.0) c[2] = -1.0 * c[2]; - gl_FragColor = vec4(c, 1.0); + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_vert_xvary.vert index 7f140ee760f..991fbcad8c0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - color = vec4(c * sign(c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + color = vec4(c * sign(c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_vert_xvary_ref.vert index 8f514f8472d..d6cb2e71103 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sign/sign_vec3_vert_xvary_ref.vert @@ -30,15 +30,15 @@ varying vec4 color; void main (void) { - vec3 c = 2.0 * (gtf_Color.rgb - 0.5); + vec3 c = 2.0 * (gtf_Color.rgb - 0.5); - if(c[0] > 0.0) c[0] = 1.0 * c[0]; - if(c[0] < 0.0) c[0] = -1.0 * c[0]; - if(c[1] > 0.0) c[1] = 1.0 * c[1]; - if(c[1] < 0.0) c[1] = -1.0 * c[1]; - if(c[2] > 0.0) c[2] = 1.0 * c[2]; - if(c[2] < 0.0) c[2] = -1.0 * c[2]; + if(c[0] > 0.0) c[0] = 1.0 * c[0]; + if(c[0] < 0.0) c[0] = -1.0 * c[0]; + if(c[1] > 0.0) c[1] = 1.0 * c[1]; + if(c[1] < 0.0) c[1] = -1.0 * c[1]; + if(c[2] > 0.0) c[2] = 1.0 * c[2]; + if(c[2] < 0.0) c[2] = -1.0 * c[2]; - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_001_to_006.html index 4ea1502e2b7..ae6a80723b5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: sin_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_frag_xvary.frag index 876149c6d0d..ce1bd224fd3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - gl_FragColor = vec4(0.5 * sin(2.0 * M_PI * color.r) + 0.5, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + gl_FragColor = vec4(0.5 * sin(2.0 * M_PI * color.r) + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_frag_xvary_ref.frag index 38a730d45ef..16253c93b54 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_frag_xvary_ref.frag @@ -30,72 +30,72 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float sinValues[17]; - sinValues[0] = 0.0; - sinValues[1] = 0.382683; - sinValues[2] = 0.707107; - sinValues[3] = 0.92388; - sinValues[4] = 1.0; - sinValues[5] = 0.92388; - sinValues[6] = 0.707107; - sinValues[7] = 0.382683; - sinValues[8] = 0.0; - sinValues[9] = -0.382683; - sinValues[10] = -0.707107; - sinValues[11] = -0.92388; - sinValues[12] = -1.0; - sinValues[13] = -0.923879; - sinValues[14] = -0.707107; - sinValues[15] = -0.382683; - sinValues[16] = 0.0; + float sinValues[17]; + sinValues[0] = 0.0; + sinValues[1] = 0.382683; + sinValues[2] = 0.707107; + sinValues[3] = 0.92388; + sinValues[4] = 1.0; + sinValues[5] = 0.92388; + sinValues[6] = 0.707107; + sinValues[7] = 0.382683; + sinValues[8] = 0.0; + sinValues[9] = -0.382683; + sinValues[10] = -0.707107; + sinValues[11] = -0.92388; + sinValues[12] = -1.0; + sinValues[13] = -0.923879; + sinValues[14] = -0.707107; + sinValues[15] = -0.382683; + sinValues[16] = 0.0; - const float M_PI = 3.14159265358979323846; - float c = 2.0 * M_PI * color.r; + const float M_PI = 3.14159265358979323846; + float c = 2.0 * M_PI * color.r; - float arrVal = c * 2.546478971; - int arr0 = int(floor(arrVal)); - float weight = arrVal - floor(arrVal); - float sin_c = 0.0; + float arrVal = c * 2.546478971; + int arr0 = int(floor(arrVal)); + float weight = arrVal - floor(arrVal); + float sin_c = 0.0; - if (arr0 == 0) - sin_c = lerp(sinValues[0], sinValues[1], weight); - else if (arr0 == 1) - sin_c = lerp(sinValues[1], sinValues[2], weight); - else if (arr0 == 2) - sin_c = lerp(sinValues[2], sinValues[3], weight); - else if (arr0 == 3) - sin_c = lerp(sinValues[3], sinValues[4], weight); - else if (arr0 == 4) - sin_c = lerp(sinValues[4], sinValues[5], weight); - else if (arr0 == 5) - sin_c = lerp(sinValues[5], sinValues[6], weight); - else if (arr0 == 6) - sin_c = lerp(sinValues[6], sinValues[7], weight); - else if (arr0 == 7) - sin_c = lerp(sinValues[7], sinValues[8], weight); - else if (arr0 == 8) - sin_c = lerp(sinValues[8], sinValues[9], weight); - else if (arr0 == 9) - sin_c = lerp(sinValues[9], sinValues[10], weight); - else if (arr0 == 10) - sin_c = lerp(sinValues[10], sinValues[11], weight); - else if (arr0 == 11) - sin_c = lerp(sinValues[11], sinValues[12], weight); - else if (arr0 == 12) - sin_c = lerp(sinValues[12], sinValues[13], weight); - else if (arr0 == 13) - sin_c = lerp(sinValues[13], sinValues[14], weight); - else if (arr0 == 14) - sin_c = lerp(sinValues[14], sinValues[15], weight); - else if (arr0 == 15) - sin_c = lerp(sinValues[15], sinValues[16], weight); + if (arr0 == 0) + sin_c = lerp(sinValues[0], sinValues[1], weight); + else if (arr0 == 1) + sin_c = lerp(sinValues[1], sinValues[2], weight); + else if (arr0 == 2) + sin_c = lerp(sinValues[2], sinValues[3], weight); + else if (arr0 == 3) + sin_c = lerp(sinValues[3], sinValues[4], weight); + else if (arr0 == 4) + sin_c = lerp(sinValues[4], sinValues[5], weight); + else if (arr0 == 5) + sin_c = lerp(sinValues[5], sinValues[6], weight); + else if (arr0 == 6) + sin_c = lerp(sinValues[6], sinValues[7], weight); + else if (arr0 == 7) + sin_c = lerp(sinValues[7], sinValues[8], weight); + else if (arr0 == 8) + sin_c = lerp(sinValues[8], sinValues[9], weight); + else if (arr0 == 9) + sin_c = lerp(sinValues[9], sinValues[10], weight); + else if (arr0 == 10) + sin_c = lerp(sinValues[10], sinValues[11], weight); + else if (arr0 == 11) + sin_c = lerp(sinValues[11], sinValues[12], weight); + else if (arr0 == 12) + sin_c = lerp(sinValues[12], sinValues[13], weight); + else if (arr0 == 13) + sin_c = lerp(sinValues[13], sinValues[14], weight); + else if (arr0 == 14) + sin_c = lerp(sinValues[14], sinValues[15], weight); + else if (arr0 == 15) + sin_c = lerp(sinValues[15], sinValues[16], weight); else if (arr0 == 16) sin_c = sinValues[16]; - gl_FragColor = vec4(0.5 * sin_c + 0.5, 0.0, 0.0, 1.0); + gl_FragColor = vec4(0.5 * sin_c + 0.5, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_vert_xvary.vert index 9ff14001164..e1fd79d7272 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - color = vec4(0.5 * sin(2.0 * M_PI * gtf_Color.r) + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + color = vec4(0.5 * sin(2.0 * M_PI * gtf_Color.r) + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_vert_xvary_ref.vert index 183cee6a32a..2e4a52afa92 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_float_vert_xvary_ref.vert @@ -30,26 +30,26 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 2.0 * M_PI * gtf_Color.r; - float sign = 1.0; + const float M_PI = 3.14159265358979323846; + float c = 2.0 * M_PI * gtf_Color.r; + float sign = 1.0; - float sin_c = 0.0; - float fact; - float fact_of; + float sin_c = 0.0; + float fact; + float fact_of; - // Taylors series expansion for sin - for(int i = 0; i < 12; i++) - { - fact = 1.0; - for(int j = 2; j <= 23; j++) - if (j <= 2 * i + 1) - fact *= float(j); + // Taylors series expansion for sin + for(int i = 0; i < 12; i++) + { + fact = 1.0; + for(int j = 2; j <= 23; j++) + if (j <= 2 * i + 1) + fact *= float(j); - sin_c += sign * pow(c, 2.0 * float(i) + 1.0) / fact; - sign *= -1.0; - } + sin_c += sign * pow(c, 2.0 * float(i) + 1.0) / fact; + sign *= -1.0; + } - color = vec4(0.5 * sin_c + 0.5, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(0.5 * sin_c + 0.5, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_frag_xvary.frag index dd520ddef8d..6227170b3dd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - gl_FragColor = vec4(0.5 * sin(2.0 * M_PI * color.rg) + 0.5, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + gl_FragColor = vec4(0.5 * sin(2.0 * M_PI * color.rg) + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_frag_xvary_ref.frag index e8584593c33..2d3fc7f372a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_frag_xvary_ref.frag @@ -30,108 +30,108 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float sinValues[17]; - sinValues[0] = 0.0; - sinValues[1] = 0.382683; - sinValues[2] = 0.707107; - sinValues[3] = 0.92388; - sinValues[4] = 1.0; - sinValues[5] = 0.92388; - sinValues[6] = 0.707107; - sinValues[7] = 0.382683; - sinValues[8] = 0.0; - sinValues[9] = -0.382683; - sinValues[10] = -0.707107; - sinValues[11] = -0.92388; - sinValues[12] = -1.0; - sinValues[13] = -0.923879; - sinValues[14] = -0.707107; - sinValues[15] = -0.382683; - sinValues[16] = 0.0; + float sinValues[17]; + sinValues[0] = 0.0; + sinValues[1] = 0.382683; + sinValues[2] = 0.707107; + sinValues[3] = 0.92388; + sinValues[4] = 1.0; + sinValues[5] = 0.92388; + sinValues[6] = 0.707107; + sinValues[7] = 0.382683; + sinValues[8] = 0.0; + sinValues[9] = -0.382683; + sinValues[10] = -0.707107; + sinValues[11] = -0.92388; + sinValues[12] = -1.0; + sinValues[13] = -0.923879; + sinValues[14] = -0.707107; + sinValues[15] = -0.382683; + sinValues[16] = 0.0; - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * M_PI * color.rg; + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * M_PI * color.rg; - vec2 arrVal = c * 2.546478971; - int arr0x = int(floor(arrVal.x)); - int arr0y = int(floor(arrVal.y)); - vec2 weight = arrVal - floor(arrVal); - vec2 sin_c = vec2(0.0, 0.0); + vec2 arrVal = c * 2.546478971; + int arr0x = int(floor(arrVal.x)); + int arr0y = int(floor(arrVal.y)); + vec2 weight = arrVal - floor(arrVal); + vec2 sin_c = vec2(0.0, 0.0); - if (arr0x == 0) - sin_c.x = lerp(sinValues[0], sinValues[1], weight.x); - else if (arr0x == 1) - sin_c.x = lerp(sinValues[1], sinValues[2], weight.x); - else if (arr0x == 2) - sin_c.x = lerp(sinValues[2], sinValues[3], weight.x); - else if (arr0x == 3) - sin_c.x = lerp(sinValues[3], sinValues[4], weight.x); - else if (arr0x == 4) - sin_c.x = lerp(sinValues[4], sinValues[5], weight.x); - else if (arr0x == 5) - sin_c.x = lerp(sinValues[5], sinValues[6], weight.x); - else if (arr0x == 6) - sin_c.x = lerp(sinValues[6], sinValues[7], weight.x); - else if (arr0x == 7) - sin_c.x = lerp(sinValues[7], sinValues[8], weight.x); - else if (arr0x == 8) - sin_c.x = lerp(sinValues[8], sinValues[9], weight.x); - else if (arr0x == 9) - sin_c.x = lerp(sinValues[9], sinValues[10], weight.x); - else if (arr0x == 10) - sin_c.x = lerp(sinValues[10], sinValues[11], weight.x); - else if (arr0x == 11) - sin_c.x = lerp(sinValues[11], sinValues[12], weight.x); - else if (arr0x == 12) - sin_c.x = lerp(sinValues[12], sinValues[13], weight.x); - else if (arr0x == 13) - sin_c.x = lerp(sinValues[13], sinValues[14], weight.x); - else if (arr0x == 14) - sin_c.x = lerp(sinValues[14], sinValues[15], weight.x); - else if (arr0x == 15) - sin_c.x = lerp(sinValues[15], sinValues[16], weight.x); + if (arr0x == 0) + sin_c.x = lerp(sinValues[0], sinValues[1], weight.x); + else if (arr0x == 1) + sin_c.x = lerp(sinValues[1], sinValues[2], weight.x); + else if (arr0x == 2) + sin_c.x = lerp(sinValues[2], sinValues[3], weight.x); + else if (arr0x == 3) + sin_c.x = lerp(sinValues[3], sinValues[4], weight.x); + else if (arr0x == 4) + sin_c.x = lerp(sinValues[4], sinValues[5], weight.x); + else if (arr0x == 5) + sin_c.x = lerp(sinValues[5], sinValues[6], weight.x); + else if (arr0x == 6) + sin_c.x = lerp(sinValues[6], sinValues[7], weight.x); + else if (arr0x == 7) + sin_c.x = lerp(sinValues[7], sinValues[8], weight.x); + else if (arr0x == 8) + sin_c.x = lerp(sinValues[8], sinValues[9], weight.x); + else if (arr0x == 9) + sin_c.x = lerp(sinValues[9], sinValues[10], weight.x); + else if (arr0x == 10) + sin_c.x = lerp(sinValues[10], sinValues[11], weight.x); + else if (arr0x == 11) + sin_c.x = lerp(sinValues[11], sinValues[12], weight.x); + else if (arr0x == 12) + sin_c.x = lerp(sinValues[12], sinValues[13], weight.x); + else if (arr0x == 13) + sin_c.x = lerp(sinValues[13], sinValues[14], weight.x); + else if (arr0x == 14) + sin_c.x = lerp(sinValues[14], sinValues[15], weight.x); + else if (arr0x == 15) + sin_c.x = lerp(sinValues[15], sinValues[16], weight.x); else if (arr0x == 16) sin_c.x = sinValues[16]; - if (arr0y == 0) - sin_c.y = lerp(sinValues[0], sinValues[1], weight.y); - else if (arr0y == 1) - sin_c.y = lerp(sinValues[1], sinValues[2], weight.y); - else if (arr0y == 2) - sin_c.y = lerp(sinValues[2], sinValues[3], weight.y); - else if (arr0y == 3) - sin_c.y = lerp(sinValues[3], sinValues[4], weight.y); - else if (arr0y == 4) - sin_c.y = lerp(sinValues[4], sinValues[5], weight.y); - else if (arr0y == 5) - sin_c.y = lerp(sinValues[5], sinValues[6], weight.y); - else if (arr0y == 6) - sin_c.y = lerp(sinValues[6], sinValues[7], weight.y); - else if (arr0y == 7) - sin_c.y = lerp(sinValues[7], sinValues[8], weight.y); - else if (arr0y == 8) - sin_c.y = lerp(sinValues[8], sinValues[9], weight.y); - else if (arr0y == 9) - sin_c.y = lerp(sinValues[9], sinValues[10], weight.y); - else if (arr0y == 10) - sin_c.y = lerp(sinValues[10], sinValues[11], weight.y); - else if (arr0y == 11) - sin_c.y = lerp(sinValues[11], sinValues[12], weight.y); - else if (arr0y == 12) - sin_c.y = lerp(sinValues[12], sinValues[13], weight.y); - else if (arr0y == 13) - sin_c.y = lerp(sinValues[13], sinValues[14], weight.y); - else if (arr0y == 14) - sin_c.y = lerp(sinValues[14], sinValues[15], weight.y); - else if (arr0y == 15) - sin_c.y = lerp(sinValues[15], sinValues[16], weight.y); + if (arr0y == 0) + sin_c.y = lerp(sinValues[0], sinValues[1], weight.y); + else if (arr0y == 1) + sin_c.y = lerp(sinValues[1], sinValues[2], weight.y); + else if (arr0y == 2) + sin_c.y = lerp(sinValues[2], sinValues[3], weight.y); + else if (arr0y == 3) + sin_c.y = lerp(sinValues[3], sinValues[4], weight.y); + else if (arr0y == 4) + sin_c.y = lerp(sinValues[4], sinValues[5], weight.y); + else if (arr0y == 5) + sin_c.y = lerp(sinValues[5], sinValues[6], weight.y); + else if (arr0y == 6) + sin_c.y = lerp(sinValues[6], sinValues[7], weight.y); + else if (arr0y == 7) + sin_c.y = lerp(sinValues[7], sinValues[8], weight.y); + else if (arr0y == 8) + sin_c.y = lerp(sinValues[8], sinValues[9], weight.y); + else if (arr0y == 9) + sin_c.y = lerp(sinValues[9], sinValues[10], weight.y); + else if (arr0y == 10) + sin_c.y = lerp(sinValues[10], sinValues[11], weight.y); + else if (arr0y == 11) + sin_c.y = lerp(sinValues[11], sinValues[12], weight.y); + else if (arr0y == 12) + sin_c.y = lerp(sinValues[12], sinValues[13], weight.y); + else if (arr0y == 13) + sin_c.y = lerp(sinValues[13], sinValues[14], weight.y); + else if (arr0y == 14) + sin_c.y = lerp(sinValues[14], sinValues[15], weight.y); + else if (arr0y == 15) + sin_c.y = lerp(sinValues[15], sinValues[16], weight.y); else if (arr0y == 16) sin_c.y = sinValues[16]; - gl_FragColor = vec4(0.5 * sin_c + 0.5, 0.0, 1.0); + gl_FragColor = vec4(0.5 * sin_c + 0.5, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_vert_xvary.vert index ebc2c3369f3..615eb679358 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - color = vec4(0.5 * sin(2.0 * M_PI * gtf_Color.rg) + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + color = vec4(0.5 * sin(2.0 * M_PI * gtf_Color.rg) + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_vert_xvary_ref.vert index e60dc5e6c9d..9c11df9a2ad 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec2_vert_xvary_ref.vert @@ -30,50 +30,50 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float sinValues[17]; - sinValues[0] = 0.0; - sinValues[1] = 0.382683; - sinValues[2] = 0.707107; - sinValues[3] = 0.92388; - sinValues[4] = 1.0; - sinValues[5] = 0.92388; - sinValues[6] = 0.707107; - sinValues[7] = 0.382683; - sinValues[8] = 0.0; - sinValues[9] = -0.382683; - sinValues[10] = -0.707107; - sinValues[11] = -0.92388; - sinValues[12] = -1.0; - sinValues[13] = -0.923879; - sinValues[14] = -0.707107; - sinValues[15] = -0.382683; - sinValues[16] = 0.0; + float sinValues[17]; + sinValues[0] = 0.0; + sinValues[1] = 0.382683; + sinValues[2] = 0.707107; + sinValues[3] = 0.92388; + sinValues[4] = 1.0; + sinValues[5] = 0.92388; + sinValues[6] = 0.707107; + sinValues[7] = 0.382683; + sinValues[8] = 0.0; + sinValues[9] = -0.382683; + sinValues[10] = -0.707107; + sinValues[11] = -0.92388; + sinValues[12] = -1.0; + sinValues[13] = -0.923879; + sinValues[14] = -0.707107; + sinValues[15] = -0.382683; + sinValues[16] = 0.0; - const float M_PI = 3.14159265358979323846; - vec2 c = 2.0 * M_PI * gtf_Color.rg; - float sign = 1.0; + const float M_PI = 3.14159265358979323846; + vec2 c = 2.0 * M_PI * gtf_Color.rg; + float sign = 1.0; - vec2 sin_c = vec2(0.0); - float fact; - float fact_of; + vec2 sin_c = vec2(0.0); + float fact; + float fact_of; - // Taylors series expansion for sin - for(int i = 0; i < 12; i++) - { - fact = 1.0; - for(int j = 2; j <= 23; j++) - if (j <= 2 * i + 1) - fact *= float(j); + // Taylors series expansion for sin + for(int i = 0; i < 12; i++) + { + fact = 1.0; + for(int j = 2; j <= 23; j++) + if (j <= 2 * i + 1) + fact *= float(j); - sin_c += sign * pow(c, vec2(2.0 * float(i) + 1.0)) / fact; - sign *= -1.0; - } + sin_c += sign * pow(c, vec2(2.0 * float(i) + 1.0)) / fact; + sign *= -1.0; + } - color = vec4(0.5 * sin_c + 0.5, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(0.5 * sin_c + 0.5, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_frag_xvary.frag index 1f7c62e3d21..892e996e900 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - gl_FragColor = vec4(0.5 * sin(2.0 * M_PI * color.rgb) + 0.5, 1.0); + const float M_PI = 3.14159265358979323846; + gl_FragColor = vec4(0.5 * sin(2.0 * M_PI * color.rgb) + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_frag_xvary_ref.frag index bbed1568ba9..44c586d2fa6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_frag_xvary_ref.frag @@ -30,144 +30,144 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float sinValues[17]; - sinValues[0] = 0.0; - sinValues[1] = 0.382683; - sinValues[2] = 0.707107; - sinValues[3] = 0.92388; - sinValues[4] = 1.0; - sinValues[5] = 0.92388; - sinValues[6] = 0.707107; - sinValues[7] = 0.382683; - sinValues[8] = 0.0; - sinValues[9] = -0.382683; - sinValues[10] = -0.707107; - sinValues[11] = -0.92388; - sinValues[12] = -1.0; - sinValues[13] = -0.923879; - sinValues[14] = -0.707107; - sinValues[15] = -0.382683; - sinValues[16] = 0.0; + float sinValues[17]; + sinValues[0] = 0.0; + sinValues[1] = 0.382683; + sinValues[2] = 0.707107; + sinValues[3] = 0.92388; + sinValues[4] = 1.0; + sinValues[5] = 0.92388; + sinValues[6] = 0.707107; + sinValues[7] = 0.382683; + sinValues[8] = 0.0; + sinValues[9] = -0.382683; + sinValues[10] = -0.707107; + sinValues[11] = -0.92388; + sinValues[12] = -1.0; + sinValues[13] = -0.923879; + sinValues[14] = -0.707107; + sinValues[15] = -0.382683; + sinValues[16] = 0.0; - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * M_PI * color.rgb; + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * M_PI * color.rgb; - vec3 arrVal = c * 2.546478971; - int arr0x = int(floor(arrVal.x)); - int arr0y = int(floor(arrVal.y)); - int arr0z = int(floor(arrVal.z)); - vec3 weight = arrVal - floor(arrVal); - vec3 sin_c = vec3(0.0, 0.0, 0.0); + vec3 arrVal = c * 2.546478971; + int arr0x = int(floor(arrVal.x)); + int arr0y = int(floor(arrVal.y)); + int arr0z = int(floor(arrVal.z)); + vec3 weight = arrVal - floor(arrVal); + vec3 sin_c = vec3(0.0, 0.0, 0.0); - if (arr0x == 0) - sin_c.x = lerp(sinValues[0], sinValues[1], weight.x); - else if (arr0x == 1) - sin_c.x = lerp(sinValues[1], sinValues[2], weight.x); - else if (arr0x == 2) - sin_c.x = lerp(sinValues[2], sinValues[3], weight.x); - else if (arr0x == 3) - sin_c.x = lerp(sinValues[3], sinValues[4], weight.x); - else if (arr0x == 4) - sin_c.x = lerp(sinValues[4], sinValues[5], weight.x); - else if (arr0x == 5) - sin_c.x = lerp(sinValues[5], sinValues[6], weight.x); - else if (arr0x == 6) - sin_c.x = lerp(sinValues[6], sinValues[7], weight.x); - else if (arr0x == 7) - sin_c.x = lerp(sinValues[7], sinValues[8], weight.x); - else if (arr0x == 8) - sin_c.x = lerp(sinValues[8], sinValues[9], weight.x); - else if (arr0x == 9) - sin_c.x = lerp(sinValues[9], sinValues[10], weight.x); - else if (arr0x == 10) - sin_c.x = lerp(sinValues[10], sinValues[11], weight.x); - else if (arr0x == 11) - sin_c.x = lerp(sinValues[11], sinValues[12], weight.x); - else if (arr0x == 12) - sin_c.x = lerp(sinValues[12], sinValues[13], weight.x); - else if (arr0x == 13) - sin_c.x = lerp(sinValues[13], sinValues[14], weight.x); - else if (arr0x == 14) - sin_c.x = lerp(sinValues[14], sinValues[15], weight.x); - else if (arr0x == 15) - sin_c.x = lerp(sinValues[15], sinValues[16], weight.x); + if (arr0x == 0) + sin_c.x = lerp(sinValues[0], sinValues[1], weight.x); + else if (arr0x == 1) + sin_c.x = lerp(sinValues[1], sinValues[2], weight.x); + else if (arr0x == 2) + sin_c.x = lerp(sinValues[2], sinValues[3], weight.x); + else if (arr0x == 3) + sin_c.x = lerp(sinValues[3], sinValues[4], weight.x); + else if (arr0x == 4) + sin_c.x = lerp(sinValues[4], sinValues[5], weight.x); + else if (arr0x == 5) + sin_c.x = lerp(sinValues[5], sinValues[6], weight.x); + else if (arr0x == 6) + sin_c.x = lerp(sinValues[6], sinValues[7], weight.x); + else if (arr0x == 7) + sin_c.x = lerp(sinValues[7], sinValues[8], weight.x); + else if (arr0x == 8) + sin_c.x = lerp(sinValues[8], sinValues[9], weight.x); + else if (arr0x == 9) + sin_c.x = lerp(sinValues[9], sinValues[10], weight.x); + else if (arr0x == 10) + sin_c.x = lerp(sinValues[10], sinValues[11], weight.x); + else if (arr0x == 11) + sin_c.x = lerp(sinValues[11], sinValues[12], weight.x); + else if (arr0x == 12) + sin_c.x = lerp(sinValues[12], sinValues[13], weight.x); + else if (arr0x == 13) + sin_c.x = lerp(sinValues[13], sinValues[14], weight.x); + else if (arr0x == 14) + sin_c.x = lerp(sinValues[14], sinValues[15], weight.x); + else if (arr0x == 15) + sin_c.x = lerp(sinValues[15], sinValues[16], weight.x); else if (arr0x == 16) sin_c.x = sinValues[16]; - if (arr0y == 0) - sin_c.y = lerp(sinValues[0], sinValues[1], weight.y); - else if (arr0y == 1) - sin_c.y = lerp(sinValues[1], sinValues[2], weight.y); - else if (arr0y == 2) - sin_c.y = lerp(sinValues[2], sinValues[3], weight.y); - else if (arr0y == 3) - sin_c.y = lerp(sinValues[3], sinValues[4], weight.y); - else if (arr0y == 4) - sin_c.y = lerp(sinValues[4], sinValues[5], weight.y); - else if (arr0y == 5) - sin_c.y = lerp(sinValues[5], sinValues[6], weight.y); - else if (arr0y == 6) - sin_c.y = lerp(sinValues[6], sinValues[7], weight.y); - else if (arr0y == 7) - sin_c.y = lerp(sinValues[7], sinValues[8], weight.y); - else if (arr0y == 8) - sin_c.y = lerp(sinValues[8], sinValues[9], weight.y); - else if (arr0y == 9) - sin_c.y = lerp(sinValues[9], sinValues[10], weight.y); - else if (arr0y == 10) - sin_c.y = lerp(sinValues[10], sinValues[11], weight.y); - else if (arr0y == 11) - sin_c.y = lerp(sinValues[11], sinValues[12], weight.y); - else if (arr0y == 12) - sin_c.y = lerp(sinValues[12], sinValues[13], weight.y); - else if (arr0y == 13) - sin_c.y = lerp(sinValues[13], sinValues[14], weight.y); - else if (arr0y == 14) - sin_c.y = lerp(sinValues[14], sinValues[15], weight.y); - else if (arr0y == 15) - sin_c.y = lerp(sinValues[15], sinValues[16], weight.y); + if (arr0y == 0) + sin_c.y = lerp(sinValues[0], sinValues[1], weight.y); + else if (arr0y == 1) + sin_c.y = lerp(sinValues[1], sinValues[2], weight.y); + else if (arr0y == 2) + sin_c.y = lerp(sinValues[2], sinValues[3], weight.y); + else if (arr0y == 3) + sin_c.y = lerp(sinValues[3], sinValues[4], weight.y); + else if (arr0y == 4) + sin_c.y = lerp(sinValues[4], sinValues[5], weight.y); + else if (arr0y == 5) + sin_c.y = lerp(sinValues[5], sinValues[6], weight.y); + else if (arr0y == 6) + sin_c.y = lerp(sinValues[6], sinValues[7], weight.y); + else if (arr0y == 7) + sin_c.y = lerp(sinValues[7], sinValues[8], weight.y); + else if (arr0y == 8) + sin_c.y = lerp(sinValues[8], sinValues[9], weight.y); + else if (arr0y == 9) + sin_c.y = lerp(sinValues[9], sinValues[10], weight.y); + else if (arr0y == 10) + sin_c.y = lerp(sinValues[10], sinValues[11], weight.y); + else if (arr0y == 11) + sin_c.y = lerp(sinValues[11], sinValues[12], weight.y); + else if (arr0y == 12) + sin_c.y = lerp(sinValues[12], sinValues[13], weight.y); + else if (arr0y == 13) + sin_c.y = lerp(sinValues[13], sinValues[14], weight.y); + else if (arr0y == 14) + sin_c.y = lerp(sinValues[14], sinValues[15], weight.y); + else if (arr0y == 15) + sin_c.y = lerp(sinValues[15], sinValues[16], weight.y); else if (arr0y == 16) sin_c.y = sinValues[16]; - if (arr0z == 0) - sin_c.z = lerp(sinValues[0], sinValues[1], weight.z); - else if (arr0z == 1) - sin_c.z = lerp(sinValues[1], sinValues[2], weight.z); - else if (arr0z == 2) - sin_c.z = lerp(sinValues[2], sinValues[3], weight.z); - else if (arr0z == 3) - sin_c.z = lerp(sinValues[3], sinValues[4], weight.z); - else if (arr0z == 4) - sin_c.z = lerp(sinValues[4], sinValues[5], weight.z); - else if (arr0z == 5) - sin_c.z = lerp(sinValues[5], sinValues[6], weight.z); - else if (arr0z == 6) - sin_c.z = lerp(sinValues[6], sinValues[7], weight.z); - else if (arr0z == 7) - sin_c.z = lerp(sinValues[7], sinValues[8], weight.z); - else if (arr0z == 8) - sin_c.z = lerp(sinValues[8], sinValues[9], weight.z); - else if (arr0z == 9) - sin_c.z = lerp(sinValues[9], sinValues[10], weight.z); - else if (arr0z == 10) - sin_c.z = lerp(sinValues[10], sinValues[11], weight.z); - else if (arr0z == 11) - sin_c.z = lerp(sinValues[11], sinValues[12], weight.z); - else if (arr0z == 12) - sin_c.z = lerp(sinValues[12], sinValues[13], weight.z); - else if (arr0z == 13) - sin_c.z = lerp(sinValues[13], sinValues[14], weight.z); - else if (arr0z == 14) - sin_c.z = lerp(sinValues[14], sinValues[15], weight.z); - else if (arr0z == 15) - sin_c.z = lerp(sinValues[15], sinValues[16], weight.z); + if (arr0z == 0) + sin_c.z = lerp(sinValues[0], sinValues[1], weight.z); + else if (arr0z == 1) + sin_c.z = lerp(sinValues[1], sinValues[2], weight.z); + else if (arr0z == 2) + sin_c.z = lerp(sinValues[2], sinValues[3], weight.z); + else if (arr0z == 3) + sin_c.z = lerp(sinValues[3], sinValues[4], weight.z); + else if (arr0z == 4) + sin_c.z = lerp(sinValues[4], sinValues[5], weight.z); + else if (arr0z == 5) + sin_c.z = lerp(sinValues[5], sinValues[6], weight.z); + else if (arr0z == 6) + sin_c.z = lerp(sinValues[6], sinValues[7], weight.z); + else if (arr0z == 7) + sin_c.z = lerp(sinValues[7], sinValues[8], weight.z); + else if (arr0z == 8) + sin_c.z = lerp(sinValues[8], sinValues[9], weight.z); + else if (arr0z == 9) + sin_c.z = lerp(sinValues[9], sinValues[10], weight.z); + else if (arr0z == 10) + sin_c.z = lerp(sinValues[10], sinValues[11], weight.z); + else if (arr0z == 11) + sin_c.z = lerp(sinValues[11], sinValues[12], weight.z); + else if (arr0z == 12) + sin_c.z = lerp(sinValues[12], sinValues[13], weight.z); + else if (arr0z == 13) + sin_c.z = lerp(sinValues[13], sinValues[14], weight.z); + else if (arr0z == 14) + sin_c.z = lerp(sinValues[14], sinValues[15], weight.z); + else if (arr0z == 15) + sin_c.z = lerp(sinValues[15], sinValues[16], weight.z); else if (arr0z == 16) sin_c.z = sinValues[16]; - gl_FragColor = vec4(0.5 * sin_c + 0.5, 1.0); + gl_FragColor = vec4(0.5 * sin_c + 0.5, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_vert_xvary.vert index 80a9595d002..d60370e4509 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - color = vec4(0.5 * sin(2.0 * M_PI * gtf_Color.rgb) + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + color = vec4(0.5 * sin(2.0 * M_PI * gtf_Color.rgb) + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_vert_xvary_ref.vert index 85b69f5f0b1..85578df07e4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sin/sin_vec3_vert_xvary_ref.vert @@ -30,50 +30,50 @@ varying vec4 color; float lerp(float a, float b, float s) { - return a + (b - a) * s; + return a + (b - a) * s; } void main (void) { - float sinValues[17]; - sinValues[0] = 0.0; - sinValues[1] = 0.382683; - sinValues[2] = 0.707107; - sinValues[3] = 0.92388; - sinValues[4] = 1.0; - sinValues[5] = 0.92388; - sinValues[6] = 0.707107; - sinValues[7] = 0.382683; - sinValues[8] = 0.0; - sinValues[9] = -0.382683; - sinValues[10] = -0.707107; - sinValues[11] = -0.92388; - sinValues[12] = -1.0; - sinValues[13] = -0.923879; - sinValues[14] = -0.707107; - sinValues[15] = -0.382683; - sinValues[16] = 0.0; + float sinValues[17]; + sinValues[0] = 0.0; + sinValues[1] = 0.382683; + sinValues[2] = 0.707107; + sinValues[3] = 0.92388; + sinValues[4] = 1.0; + sinValues[5] = 0.92388; + sinValues[6] = 0.707107; + sinValues[7] = 0.382683; + sinValues[8] = 0.0; + sinValues[9] = -0.382683; + sinValues[10] = -0.707107; + sinValues[11] = -0.92388; + sinValues[12] = -1.0; + sinValues[13] = -0.923879; + sinValues[14] = -0.707107; + sinValues[15] = -0.382683; + sinValues[16] = 0.0; - const float M_PI = 3.14159265358979323846; - vec3 c = 2.0 * M_PI * gtf_Color.rgb; - float sign = 1.0; + const float M_PI = 3.14159265358979323846; + vec3 c = 2.0 * M_PI * gtf_Color.rgb; + float sign = 1.0; - vec3 sin_c = vec3(0.0); - float fact; - float fact_of; + vec3 sin_c = vec3(0.0); + float fact; + float fact_of; - // Taylors series expansion for sin - for(int i = 0; i < 12; i++) - { - fact = 1.0; - for(int j = 2; j <= 23; j++) - if (j <= 2 * i + 1) - fact *= float(j); + // Taylors series expansion for sin + for(int i = 0; i < 12; i++) + { + fact = 1.0; + for(int j = 2; j <= 23; j++) + if (j <= 2 * i + 1) + fact *= float(j); - sin_c += sign * pow(c, vec3(2.0 * float(i) + 1.0)) / fact; - sign *= -1.0; - } + sin_c += sign * pow(c, vec3(2.0 * float(i) + 1.0)) / fact; + sign *= -1.0; + } - color = vec4(0.5 * sin_c + 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(0.5 * sin_c + 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html index 4baa5040607..06731acc314 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: smoothstep_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter.frag index bc010406815..f7b8ed3d5d5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float edge0 = 0.25; - const float edge1 = 0.75; - gl_FragColor = vec4(smoothstep(edge0, edge1, color.r), 0.0, 0.0, 1.0); + const float edge0 = 0.25; + const float edge1 = 0.75; + gl_FragColor = vec4(smoothstep(edge0, edge1, color.r), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter_ref.frag index ae2c03e4139..92e49f0f059 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_frag_xvary_edgeconstquarter_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const float edge0 = 0.25; - const float edge1 = 0.75; - float c = clamp((color.r - edge0) / (edge1 - edge0), 0.0, 1.0); + const float edge0 = 0.25; + const float edge1 = 0.75; + float c = clamp((color.r - edge0) / (edge1 - edge0), 0.0, 1.0); - gl_FragColor = vec4(c * c * (3.0 - 2.0 * c), 0.0, 0.0, 1.0); + gl_FragColor = vec4(c * c * (3.0 - 2.0 * c), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter.vert index 8556f8fbd95..bf8ff22cce9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const float edge0 = 0.25; - const float edge1 = 0.75; - color = vec4(smoothstep(edge0, edge1, gtf_Color.r), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float edge0 = 0.25; + const float edge1 = 0.75; + color = vec4(smoothstep(edge0, edge1, gtf_Color.r), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter_ref.vert index 15d3f091b2c..55422bffd2f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_float_vert_xvary_edgeconstquarter_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const float edge0 = 0.25; - const float edge1 = 0.75; - float c = clamp((gtf_Color.r - edge0) / (edge1 - edge0), 0.0, 1.0); + const float edge0 = 0.25; + const float edge1 = 0.75; + float c = clamp((gtf_Color.r - edge0) / (edge1 - edge0), 0.0, 1.0); - color = vec4(c * c * (3.0 - 2.0 * c), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c * c * (3.0 - 2.0 * c), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter.frag index c6b915d2daa..bd235720c5b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec2 edge0 = vec2(0.25, 0.25); - const vec2 edge1 = vec2(0.75, 0.75); - gl_FragColor = vec4(smoothstep(edge0, edge1, color.rg), 0.0, 1.0); + const vec2 edge0 = vec2(0.25, 0.25); + const vec2 edge1 = vec2(0.75, 0.75); + gl_FragColor = vec4(smoothstep(edge0, edge1, color.rg), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter_ref.frag index 7ded86e8e19..8790241d9af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_frag_xvary_edgeconstquarter_ref.frag @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec2 edge0 = vec2(0.25, 0.25); - const vec2 edge1 = vec2(0.75, 0.75); - vec2 c = clamp((color.rg - edge0) / (edge1 - edge0), 0.0, 1.0); - gl_FragColor = vec4(c * c * (3.0 - 2.0 * c), 0.0, 1.0); + const vec2 edge0 = vec2(0.25, 0.25); + const vec2 edge1 = vec2(0.75, 0.75); + vec2 c = clamp((color.rg - edge0) / (edge1 - edge0), 0.0, 1.0); + gl_FragColor = vec4(c * c * (3.0 - 2.0 * c), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter.vert index db7701f4058..06f12e32874 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec2 edge0 = vec2(0.25, 0.25); - const vec2 edge1 = vec2(0.75, 0.75); - color = vec4(smoothstep(edge0, edge1, gtf_Color.rg), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec2 edge0 = vec2(0.25, 0.25); + const vec2 edge1 = vec2(0.75, 0.75); + color = vec4(smoothstep(edge0, edge1, gtf_Color.rg), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter_ref.vert index 666157158c5..00b4f7a25c1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec2_vert_xvary_edgeconstquarter_ref.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const vec2 edge0 = vec2(0.25, 0.25); - const vec2 edge1 = vec2(0.75, 0.75); - vec2 c = clamp((gtf_Color.rg - edge0) / (edge1 - edge0), 0.0, 1.0); - color = vec4(c * c * (3.0 - 2.0 * c), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec2 edge0 = vec2(0.25, 0.25); + const vec2 edge1 = vec2(0.75, 0.75); + vec2 c = clamp((gtf_Color.rg - edge0) / (edge1 - edge0), 0.0, 1.0); + color = vec4(c * c * (3.0 - 2.0 * c), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter.frag index 20385341b35..e7ad681e780 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter.frag @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec3 edge0 = vec3(0.25, 0.25, 0.25); - const vec3 edge1 = vec3(0.75, 0.75, 0.75); - gl_FragColor = vec4(smoothstep(edge0, edge1, color.rgb), 1.0); + const vec3 edge0 = vec3(0.25, 0.25, 0.25); + const vec3 edge1 = vec3(0.75, 0.75, 0.75); + gl_FragColor = vec4(smoothstep(edge0, edge1, color.rgb), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter_ref.frag index 204781c1f3c..e07971e0f39 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_frag_xvary_edgeconstquarter_ref.frag @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - const vec3 edge0 = vec3(0.25, 0.25, 0.25); - const vec3 edge1 = vec3(0.75, 0.75, 0.75); - vec3 c = clamp((color.rgb - edge0) / (edge1 - edge0), 0.0, 1.0); + const vec3 edge0 = vec3(0.25, 0.25, 0.25); + const vec3 edge1 = vec3(0.75, 0.75, 0.75); + vec3 c = clamp((color.rgb - edge0) / (edge1 - edge0), 0.0, 1.0); - gl_FragColor = vec4(c * c * (3.0 - 2.0 * c), 1.0); + gl_FragColor = vec4(c * c * (3.0 - 2.0 * c), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter.vert index 6dcf4b63965..e12ed931752 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - const vec3 edge0 = vec3(0.25, 0.25, 0.25); - const vec3 edge1 = vec3(0.75, 0.75, 0.75); - color = vec4(smoothstep(edge0, edge1, gtf_Color.rgb), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec3 edge0 = vec3(0.25, 0.25, 0.25); + const vec3 edge1 = vec3(0.75, 0.75, 0.75); + color = vec4(smoothstep(edge0, edge1, gtf_Color.rgb), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter_ref.vert index 07656ac8545..4798adb9073 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/smoothstep/smoothstep_vec3_vert_xvary_edgeconstquarter_ref.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const vec3 edge0 = vec3(0.25, 0.25, 0.25); - const vec3 edge1 = vec3(0.75, 0.75, 0.75); - vec3 c = clamp((gtf_Color.rgb - edge0) / (edge1 - edge0), 0.0, 1.0); + const vec3 edge0 = vec3(0.25, 0.25, 0.25); + const vec3 edge1 = vec3(0.75, 0.75, 0.75); + vec3 c = clamp((gtf_Color.rgb - edge0) / (edge1 - edge0), 0.0, 1.0); - color = vec4(c * c * (3.0 - 2.0 * c), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c * c * (3.0 - 2.0 * c), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_001_to_006.html index 5a323c5e46c..ff5fb1cee99 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: sqrt_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_frag_xvary.frag index 6c9555088d8..bb2604b1864 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = sqrt(100.0 * color.r); - gl_FragColor = vec4(c * c / 100.0, 0.0, 0.0, 1.0); + float c = sqrt(100.0 * color.r); + gl_FragColor = vec4(c * c / 100.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_frag_xvary_ref.frag index d06f8309e83..2055b814db8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - float c = 100.0 * color.r; - gl_FragColor = vec4(c / 100.0, 0.0, 0.0, 1.0); + float c = 100.0 * color.r; + gl_FragColor = vec4(c / 100.0, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_vert_xvary.vert index 5f149d0e7d1..7982ebf2a1e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = sqrt(100.0 * gtf_Color.r); - color = vec4(c * c / 100.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = sqrt(100.0 * gtf_Color.r); + color = vec4(c * c / 100.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_vert_xvary_ref.vert index 51967d48b31..eb4f1441377 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_float_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - float c = 100.0 * gtf_Color.r; - color = vec4(c / 100.0, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + float c = 100.0 * gtf_Color.r; + color = vec4(c / 100.0, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary.frag index 0c14ebf810e..e70a2ccbdfa 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = sqrt(100.0 * color.rg); - gl_FragColor = vec4(c * c / 100.0, 0.0, 1.0); + vec2 c = sqrt(100.0 * color.rg); + gl_FragColor = vec4(c * c / 100.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary_ref.frag index 487a0a91bb2..4253e103457 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec2 c = 100.0 * color.rg; - gl_FragColor = vec4(c / 100.0, 0.0, 1.0); + vec2 c = 100.0 * color.rg; + gl_FragColor = vec4(c / 100.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary.vert index 76318ee6de8..30587af1d67 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = sqrt(100.0 * gtf_Color.rg); - color = vec4(c * c / 100.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = sqrt(100.0 * gtf_Color.rg); + color = vec4(c * c / 100.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary_ref.vert index d10292f53b0..cb61ec8f079 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec2_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec2 c = 100.0 * gtf_Color.rg; - color = vec4(c / 100.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 c = 100.0 * gtf_Color.rg; + color = vec4(c / 100.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary.frag index cf1013b6369..b4d5c281cad 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = sqrt(100.0 * color.rgb); - gl_FragColor = vec4(c * c / 100.0, 1.0); + vec3 c = sqrt(100.0 * color.rgb); + gl_FragColor = vec4(c * c / 100.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary_ref.frag index f53781ad62a..1fb1f880a95 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_frag_xvary_ref.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - vec3 c = 100.0 * color.rgb; - gl_FragColor = vec4(c / 100.0, 1.0); + vec3 c = 100.0 * color.rgb; + gl_FragColor = vec4(c / 100.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary.vert index 9c41688116f..1e3c8beae77 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = sqrt(100.0 * gtf_Color.rgb); - color = vec4(c * c / 100.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = sqrt(100.0 * gtf_Color.rgb); + color = vec4(c * c / 100.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary_ref.vert index adf962d17ec..e54f86babb1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/sqrt/sqrt_vec3_vert_xvary_ref.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - vec3 c = 100.0 * gtf_Color.rgb; - color = vec4(c / 100.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 c = 100.0 * gtf_Color.rgb; + color = vec4(c / 100.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_001_to_006.html index 8951b38c395..b2572d445b5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: step_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf.frag index 556fb97b40e..94e69d79c7c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const float edge = 0.5; - gl_FragColor = vec4(step(edge, color.r), 0.0, 0.0, 1.0); + const float edge = 0.5; + gl_FragColor = vec4(step(edge, color.r), 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf_ref.frag index bea2957bc4f..b601eb78bfe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_frag_xvary_edgeconsthalf_ref.frag @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - const float edge = 0.5; - float c = color.r; - if(c >= edge) c = 1.0; - else c = 0.0; + const float edge = 0.5; + float c = color.r; + if(c >= edge) c = 1.0; + else c = 0.0; - gl_FragColor = vec4(c, 0.0, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf.vert index a57186aa6db..2a3834f21d6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const float edge = 0.5; - color = vec4(step(edge, gtf_Color.r), 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float edge = 0.5; + color = vec4(step(edge, gtf_Color.r), 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf_ref.vert index bb6cf933a2e..3db47cac60e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_float_vert_xvary_edgeconsthalf_ref.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - const float edge = 0.5; - float c = gtf_Color.r; - if(c >= edge) c = 1.0; - else c = 0.0; + const float edge = 0.5; + float c = gtf_Color.r; + if(c >= edge) c = 1.0; + else c = 0.0; - color = vec4(c, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf.frag index 7d119d9f0f4..93cc99fe2d3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const vec2 edge = vec2(0.5, 0.5); - gl_FragColor = vec4(step(edge, color.rg), 0.0, 1.0); + const vec2 edge = vec2(0.5, 0.5); + gl_FragColor = vec4(step(edge, color.rg), 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf_ref.frag index 75ba101d117..d8d361010af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_frag_xvary_edgeconsthalf_ref.frag @@ -30,24 +30,24 @@ varying vec4 color; void main (void) { - const vec2 edge = vec2(0.5, 0.5); - vec2 c = color.rg; - if(c[0] >= edge[0]) - { - c[0] = 1.0; - } - else - { - c[0] = 0.0; - } - if(c[1] >= edge[1]) - { - c[1] = 1.0; - } - else - { - c[1] = 0.0; - } + const vec2 edge = vec2(0.5, 0.5); + vec2 c = color.rg; + if(c[0] >= edge[0]) + { + c[0] = 1.0; + } + else + { + c[0] = 0.0; + } + if(c[1] >= edge[1]) + { + c[1] = 1.0; + } + else + { + c[1] = 0.0; + } - gl_FragColor = vec4(c, 0.0, 1.0); + gl_FragColor = vec4(c, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf.vert index 988e14b1da9..d0df7388634 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec2 edge = vec2(0.5, 0.5); - color = vec4(step(edge, gtf_Color.rg), 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec2 edge = vec2(0.5, 0.5); + color = vec4(step(edge, gtf_Color.rg), 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf_ref.vert index ec0f12bb6ed..11c5640e5aa 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec2_vert_xvary_edgeconsthalf_ref.vert @@ -30,25 +30,25 @@ varying vec4 color; void main (void) { - const vec2 edge = vec2(0.5, 0.5); - vec2 c = gtf_Color.rg; - if(c[0] >= edge[0]) - { - c[0] = 1.0; - } - else - { - c[0] = 0.0; - } - if(c[1] >= edge[1]) - { - c[1] = 1.0; - } - else - { - c[1] = 0.0; - } + const vec2 edge = vec2(0.5, 0.5); + vec2 c = gtf_Color.rg; + if(c[0] >= edge[0]) + { + c[0] = 1.0; + } + else + { + c[0] = 0.0; + } + if(c[1] >= edge[1]) + { + c[1] = 1.0; + } + else + { + c[1] = 0.0; + } - color = vec4(c, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf.frag index e131d2a364b..87c64f539f9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf.frag @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - const vec3 edge = vec3(0.5, 0.5, 0.5); - gl_FragColor = vec4(step(edge, color.rgb), 1.0); + const vec3 edge = vec3(0.5, 0.5, 0.5); + gl_FragColor = vec4(step(edge, color.rgb), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf_ref.frag index 015882077d4..3d99682225a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_frag_xvary_edgeconsthalf_ref.frag @@ -30,32 +30,32 @@ varying vec4 color; void main (void) { - const vec3 edge = vec3(0.5, 0.5, 0.5); - vec3 c = color.rgb; - if(c[0] >= edge[0]) - { - c[0] = 1.0; - } - else - { - c[0] = 0.0; - } - if(c[1] >= edge[1]) - { - c[1] = 1.0; - } - else - { - c[1] = 0.0; - } - if(c[2] >= edge[2]) - { - c[2] = 1.0; - } - else - { - c[2] = 0.0; - } + const vec3 edge = vec3(0.5, 0.5, 0.5); + vec3 c = color.rgb; + if(c[0] >= edge[0]) + { + c[0] = 1.0; + } + else + { + c[0] = 0.0; + } + if(c[1] >= edge[1]) + { + c[1] = 1.0; + } + else + { + c[1] = 0.0; + } + if(c[2] >= edge[2]) + { + c[2] = 1.0; + } + else + { + c[2] = 0.0; + } - gl_FragColor = vec4(c, 1.0); + gl_FragColor = vec4(c, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf.vert index 35baf02b646..0ac85addc02 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - const vec3 edge = vec3(0.5, 0.5, 0.5); - color = vec4(step(edge, gtf_Color.rgb), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const vec3 edge = vec3(0.5, 0.5, 0.5); + color = vec4(step(edge, gtf_Color.rgb), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf_ref.vert index cf2fa4cf06b..d85a52ebe7f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/step/step_vec3_vert_xvary_edgeconsthalf_ref.vert @@ -30,33 +30,33 @@ varying vec4 color; void main (void) { - const vec3 edge = vec3(0.5, 0.5, 0.5); - vec3 c = gtf_Color.rgb; - if(c[0] >= edge[0]) - { - c[0] = 1.0; - } - else - { - c[0] = 0.0; - } - if(c[1] >= edge[1]) - { - c[1] = 1.0; - } - else - { - c[1] = 0.0; - } - if(c[2] >= edge[2]) - { - c[2] = 1.0; - } - else - { - c[2] = 0.0; - } + const vec3 edge = vec3(0.5, 0.5, 0.5); + vec3 c = gtf_Color.rgb; + if(c[0] >= edge[0]) + { + c[0] = 1.0; + } + else + { + c[0] = 0.0; + } + if(c[1] >= edge[1]) + { + c[1] = 1.0; + } + else + { + c[1] = 0.0; + } + if(c[2] >= edge[2]) + { + c[2] = 1.0; + } + else + { + c[2] = 0.0; + } - color = vec4(c, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(c, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/nestedstructcomb_various_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/nestedstructcomb_various_frag.frag index 2cc51cfb644..151888a8836 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/nestedstructcomb_various_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/nestedstructcomb_various_frag.frag @@ -31,70 +31,70 @@ varying vec4 color; #define ERROR_EPSILON 0.125 void main (void){ - struct second_nest - { - float sc_nt; - mat2 sc_mt2; - vec4 sc_vc4; - }; + struct second_nest + { + float sc_nt; + mat2 sc_mt2; + vec4 sc_vc4; + }; - struct nest - { - ivec3 nt_ivc3; - bvec4 nt_bvc4; - second_nest nt_scne; - }; + struct nest + { + ivec3 nt_ivc3; + bvec4 nt_bvc4; + second_nest nt_scne; + }; - struct test_t - { - float t_fl; - vec2 t_vc2; - vec3 t_vc3; - mat4 t_mt4; + struct test_t + { + float t_fl; + vec2 t_vc2; + vec3 t_vc3; + mat4 t_mt4; nest t_nested; - float t_2fl; - }; + float t_2fl; + }; - vec4 mt1 = vec4(31.0, 32.0, 33.0, 34.0); - vec4 mt2 = vec4(35.0, 36.0, 37.0, 38.0); - vec4 mt3 = vec4(39.0, 40.0, 41.0, 42.0); - vec4 mt4 = vec4(43.0, 44.0, 45.0, 46.0); - int i=0; - float sum1=0.0, sum2=0.0, sum3=0.0, sum4=0.0; + vec4 mt1 = vec4(31.0, 32.0, 33.0, 34.0); + vec4 mt2 = vec4(35.0, 36.0, 37.0, 38.0); + vec4 mt3 = vec4(39.0, 40.0, 41.0, 42.0); + vec4 mt4 = vec4(43.0, 44.0, 45.0, 46.0); + int i=0; + float sum1=0.0, sum2=0.0, sum3=0.0, sum4=0.0; - test_t a = test_t(23.0, vec2(12.0, 13.0), + test_t a = test_t(23.0, vec2(12.0, 13.0), - vec3(163.0, 173.0, 183.0), + vec3(163.0, 173.0, 183.0), - mat4(mt1, mt2, mt3, mt4), + mat4(mt1, mt2, mt3, mt4), - nest( ivec3(73, 74, 75), + nest( ivec3(73, 74, 75), - bvec4(12, 0, 17.0, 193.0 ), + bvec4(12, 0, 17.0, 193.0 ), - second_nest(144.0, mat2(22.0, 23.0, 24.0, 25.0), vec4(57.0, 58.0, 59.0, 60.0 ) - ) - ), + second_nest(144.0, mat2(22.0, 23.0, 24.0, 25.0), vec4(57.0, 58.0, 59.0, 60.0 ) + ) + ), - 203.0 - ); + 203.0 + ); - sum1 = a.t_mt4[0][0] + a.t_mt4[0][1] + a.t_mt4[0][2] + a.t_mt4[0][3]; - sum2 = a.t_mt4[1][0] + a.t_mt4[1][1] + a.t_mt4[1][2] + a.t_mt4[1][3]; - sum3 = a.t_mt4[2][0] + a.t_mt4[2][1] + a.t_mt4[2][2] + a.t_mt4[2][3]; - sum4 = a.t_mt4[3][0] + a.t_mt4[3][1] + a.t_mt4[3][2] + a.t_mt4[3][3]; + sum1 = a.t_mt4[0][0] + a.t_mt4[0][1] + a.t_mt4[0][2] + a.t_mt4[0][3]; + sum2 = a.t_mt4[1][0] + a.t_mt4[1][1] + a.t_mt4[1][2] + a.t_mt4[1][3]; + sum3 = a.t_mt4[2][0] + a.t_mt4[2][1] + a.t_mt4[2][2] + a.t_mt4[2][3]; + sum4 = a.t_mt4[3][0] + a.t_mt4[3][1] + a.t_mt4[3][2] + a.t_mt4[3][3]; - float gray; - if( ( a.t_fl == 23.0 ) && + float gray; + if( ( a.t_fl == 23.0 ) && - (a.t_vc2[0] == 12.0) && (a.t_vc2[1] == 13.0) && + (a.t_vc2[0] == 12.0) && (a.t_vc2[1] == 13.0) && - (a.t_vc3[0] == 163.0) && (a.t_vc3[1] == 173.0) && (a.t_vc3[2] == 183.0) && + (a.t_vc3[0] == 163.0) && (a.t_vc3[1] == 173.0) && (a.t_vc3[2] == 183.0) && (sum1 > 130.0-ERROR_EPSILON && sum1 < 130.0+ERROR_EPSILON ) && (sum2 > 146.0-ERROR_EPSILON && sum2 < 146.0+ERROR_EPSILON ) && (sum3 >162.0-ERROR_EPSILON && sum3 < 162.0+ERROR_EPSILON ) && (sum4 > 178.0-ERROR_EPSILON && sum4 < 178.0+ERROR_EPSILON ) && (a.t_nested.nt_ivc3[0] == 73 ) && (a.t_nested.nt_ivc3[1] == 74 ) && (a.t_nested.nt_ivc3[2] == 75 ) && - (a.t_nested.nt_bvc4[0] == true) && (a.t_nested.nt_bvc4[1] == false) && + (a.t_nested.nt_bvc4[0] == true) && (a.t_nested.nt_bvc4[1] == false) && (a.t_nested.nt_bvc4[2] == true ) && (a.t_nested.nt_bvc4[0] == true) && @@ -110,7 +110,7 @@ void main (void){ (a.t_2fl == 203.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/nestedstructcomb_various_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/nestedstructcomb_various_vert.vert index e27de221f52..ddc2610fdd7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/nestedstructcomb_various_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/nestedstructcomb_various_vert.vert @@ -31,70 +31,70 @@ varying vec4 color; void main (void) { - struct second_nest - { - float sc_nt; - mat2 sc_mt2; - vec4 sc_vc4; - }; + struct second_nest + { + float sc_nt; + mat2 sc_mt2; + vec4 sc_vc4; + }; - struct nest - { - ivec3 nt_ivc3; - bvec4 nt_bvc4; - second_nest nt_scne; - }; + struct nest + { + ivec3 nt_ivc3; + bvec4 nt_bvc4; + second_nest nt_scne; + }; - struct test_t - { - float t_fl; - vec2 t_vc2; - vec3 t_vc3; - mat4 t_mt4; + struct test_t + { + float t_fl; + vec2 t_vc2; + vec3 t_vc3; + mat4 t_mt4; nest t_nested; - float t_2fl; - }; + float t_2fl; + }; - vec4 mt1 = vec4(31.0, 32.0, 33.0, 34.0); - vec4 mt2 = vec4(35.0, 36.0, 37.0, 38.0); - vec4 mt3 = vec4(39.0, 40.0, 41.0, 42.0); - vec4 mt4 = vec4(43.0, 44.0, 45.0, 46.0); - int i=0; - float sum1=0.0, sum2=0.0, sum3=0.0, sum4=0.0; + vec4 mt1 = vec4(31.0, 32.0, 33.0, 34.0); + vec4 mt2 = vec4(35.0, 36.0, 37.0, 38.0); + vec4 mt3 = vec4(39.0, 40.0, 41.0, 42.0); + vec4 mt4 = vec4(43.0, 44.0, 45.0, 46.0); + int i=0; + float sum1=0.0, sum2=0.0, sum3=0.0, sum4=0.0; - test_t a = test_t(23.0, vec2(12.0, 13.0), + test_t a = test_t(23.0, vec2(12.0, 13.0), - vec3(163.0, 173.0, 183.0), + vec3(163.0, 173.0, 183.0), - mat4(mt1, mt2, mt3, mt4), + mat4(mt1, mt2, mt3, mt4), - nest( ivec3(73, 74, 75), + nest( ivec3(73, 74, 75), - bvec4(12, 0, 17.0, 193.0 ), + bvec4(12, 0, 17.0, 193.0 ), - second_nest(144.0, mat2(22.0, 23.0, 24.0, 25.0), vec4(57.0, 58.0, 59.0, 60.0 ) - ) - ), + second_nest(144.0, mat2(22.0, 23.0, 24.0, 25.0), vec4(57.0, 58.0, 59.0, 60.0 ) + ) + ), - 203.0 - ); + 203.0 + ); - sum1 = a.t_mt4[0][0] + a.t_mt4[0][1] + a.t_mt4[0][2] + a.t_mt4[0][3]; - sum2 = a.t_mt4[1][0] + a.t_mt4[1][1] + a.t_mt4[1][2] + a.t_mt4[1][3]; - sum3 = a.t_mt4[2][0] + a.t_mt4[2][1] + a.t_mt4[2][2] + a.t_mt4[2][3]; - sum4 = a.t_mt4[3][0] + a.t_mt4[3][1] + a.t_mt4[3][2] + a.t_mt4[3][3]; + sum1 = a.t_mt4[0][0] + a.t_mt4[0][1] + a.t_mt4[0][2] + a.t_mt4[0][3]; + sum2 = a.t_mt4[1][0] + a.t_mt4[1][1] + a.t_mt4[1][2] + a.t_mt4[1][3]; + sum3 = a.t_mt4[2][0] + a.t_mt4[2][1] + a.t_mt4[2][2] + a.t_mt4[2][3]; + sum4 = a.t_mt4[3][0] + a.t_mt4[3][1] + a.t_mt4[3][2] + a.t_mt4[3][3]; - float gray; - if( ( a.t_fl == 23.0 ) && + float gray; + if( ( a.t_fl == 23.0 ) && - (a.t_vc2[0] == 12.0) && (a.t_vc2[1] == 13.0) && + (a.t_vc2[0] == 12.0) && (a.t_vc2[1] == 13.0) && - (a.t_vc3[0] == 163.0) && (a.t_vc3[1] == 173.0) && (a.t_vc3[2] == 183.0) && + (a.t_vc3[0] == 163.0) && (a.t_vc3[1] == 173.0) && (a.t_vc3[2] == 183.0) && (sum1 > 130.0-ERROR_EPSILON && sum1 < 130.0+ERROR_EPSILON ) && (sum2 > 146.0-ERROR_EPSILON && sum2 < 146.0+ERROR_EPSILON ) && (sum3 >162.0-ERROR_EPSILON && sum3 < 162.0+ERROR_EPSILON ) && (sum4 > 178.0-ERROR_EPSILON && sum4 < 178.0+ERROR_EPSILON ) && (a.t_nested.nt_ivc3[0] == 73 ) && (a.t_nested.nt_ivc3[1] == 74 ) && (a.t_nested.nt_ivc3[2] == 75 ) && - (a.t_nested.nt_bvc4[0] == true) && (a.t_nested.nt_bvc4[1] == false) && + (a.t_nested.nt_bvc4[0] == true) && (a.t_nested.nt_bvc4[1] == false) && (a.t_nested.nt_bvc4[2] == true ) && (a.t_nested.nt_bvc4[0] == true) && @@ -110,10 +110,10 @@ void main (void) (a.t_2fl == 203.0) ) - gray=1.0; - else gray=0.0; + gray=1.0; + else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_001_to_008.html index 4ed563d1f5a..28691b78971 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: struct_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_009_to_016.html index add65466dcb..ce9ea01c22c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: struct_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_017_to_024.html b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_017_to_024.html index 3ebaea323cc..5e64ae4210b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_017_to_024.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_017_to_024.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: struct_017_to_024.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_025_to_032.html b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_025_to_032.html index 86adf72b387..1cd3af91d66 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_025_to_032.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_025_to_032.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: struct_025_to_032.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_033_to_040.html b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_033_to_040.html index a7a1fa06eaa..e81478b8baf 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_033_to_040.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_033_to_040.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: struct_033_to_040.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_041_to_048.html b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_041_to_048.html index 7a39a73ce02..8aaa8da8e80 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_041_to_048.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_041_to_048.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: struct_041_to_048.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_049_to_056.html b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_049_to_056.html index 7c5574d49d9..831ad2fb371 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_049_to_056.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_049_to_056.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: struct_049_to_056.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bool_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bool_frag.frag index 9c3c7fd6d32..2c0439b4cd0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bool_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bool_frag.frag @@ -28,22 +28,22 @@ precision mediump float; #endif struct sabcd { - bool a; - bool b; - bool c; - bool d; + bool a; + bool b; + bool c; + bool d; }; void main (void) { - sabcd s = sabcd(bool(12), bool(0), bool(25.5), bool(0.0)); - float gray = 0.0; - if( (s.a==true) && (s.b==false) && (s.c == true) && (s.d==false)) - gray=1.0; - else + sabcd s = sabcd(bool(12), bool(0), bool(25.5), bool(0.0)); + float gray = 0.0; + if( (s.a==true) && (s.b==false) && (s.c == true) && (s.d==false)) + gray=1.0; + else gray =0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bool_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bool_vert.vert index 56ee2c47dda..56aade4f102 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bool_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bool_vert.vert @@ -31,22 +31,22 @@ varying vec4 color; struct sabcd { - bool a; - bool b; - bool c; - bool d; + bool a; + bool b; + bool c; + bool d; }; void main (void) { - sabcd s = sabcd(bool(12), bool(0), bool(25.5), bool(0.0)); - float gray = 0.0; - if( (s.a==true) && (s.b==false) && (s.c == true) && (s.d==false)) - gray=1.0; - else + sabcd s = sabcd(bool(12), bool(0), bool(25.5), bool(0.0)); + float gray = 0.0; + if( (s.a==true) && (s.b==false) && (s.c == true) && (s.d==false)) + gray=1.0; + else gray =0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_frag.frag index 8badb0dba8a..d819f7a6177 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_frag.frag @@ -28,19 +28,19 @@ precision mediump float; #endif struct sabcd { - bvec2 a; - bvec3 b; - bvec4 c; + bvec2 a; + bvec3 b; + bvec4 c; }; void main (void) { - sabcd s = sabcd( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ) ); - float gray = 0.0; - if( (s.a[0]) && (s.a[1]) && (s.b[0]) && (!s.b[1]) && (s.b[2]) && (s.c[0]) && (s.c[1]) && (s.c[2]) ) - gray=1.0; - else + sabcd s = sabcd( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ) ); + float gray = 0.0; + if( (s.a[0]) && (s.a[1]) && (s.b[0]) && (!s.b[1]) && (s.b[2]) && (s.c[0]) && (s.c[1]) && (s.c[2]) ) + gray=1.0; + else gray =0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_vert.vert index e41deca4aa3..4509de1b588 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_bvec2bvec3bvec4_vert.vert @@ -29,19 +29,19 @@ varying vec4 color; struct sabcd { - bvec2 a; - bvec3 b; - bvec4 c; + bvec2 a; + bvec3 b; + bvec4 c; }; void main (void) { - sabcd s = sabcd( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ) ); - float gray = 0.0; - if( (s.a[0]) && (s.a[1]) && (s.b[0]) && (!s.b[1]) && (s.b[2]) && (s.c[0]) && (s.c[1]) && (s.c[2]) ) - gray=1.0; - else + sabcd s = sabcd( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ) ); + float gray = 0.0; + if( (s.a[0]) && (s.a[1]) && (s.b[0]) && (!s.b[1]) && (s.b[2]) && (s.c[0]) && (s.c[1]) && (s.c[2]) ) + gray=1.0; + else gray =0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_float_frag.frag index e22c26d4a7c..57139805bb2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_float_frag.frag @@ -28,16 +28,16 @@ precision mediump float; #endif struct sabcd { - float a; - float b; - float c; - float d; + float a; + float b; + float c; + float d; }; void main (void) { - sabcd s = sabcd(1.0, 2.0, 4.0, 8.0); - gl_FragColor = vec4(vec3((s.a + s.b + s.c + s.d) / 15.0), 1.0); + sabcd s = sabcd(1.0, 2.0, 4.0, 8.0); + gl_FragColor = vec4(vec3((s.a + s.b + s.c + s.d) / 15.0), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_float_vert.vert index 75659636e50..2bb966bf275 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_float_vert.vert @@ -31,17 +31,17 @@ varying vec4 color; struct sabcd { - float a; - float b; - float c; - float d; + float a; + float b; + float c; + float d; }; void main (void) { - sabcd s = sabcd(1.0, 2.0, 4.0, 8.0); - color = vec4(vec3((s.a + s.b + s.c + s.d) / 15.0), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s = sabcd(1.0, 2.0, 4.0, 8.0); + color = vec4(vec3((s.a + s.b + s.c + s.d) / 15.0), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat2_frag.frag index d4994ebb499..2859cb8d387 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat2_frag.frag @@ -35,6 +35,6 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat2(12.0, 29.0, 13.0, 26.0) ); - gl_FragColor = vec4( vec3( (s.a[0][0] + s.a[0][1] + s.a[1][0] + s.a[1][1]) / 80.0 ), 1.0); + sabcd s = sabcd(mat2(12.0, 29.0, 13.0, 26.0) ); + gl_FragColor = vec4( vec3( (s.a[0][0] + s.a[0][1] + s.a[1][0] + s.a[1][1]) / 80.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat2_vert.vert index 6a180d03491..a4c7f6df3b5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat2_vert.vert @@ -34,7 +34,7 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat2(12.0, 29.0, 13.0, 26.0) ); - color = vec4( vec3( (s.a[0][0] + s.a[0][1] + s.a[1][0] + s.a[1][1]) / 80.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s = sabcd(mat2(12.0, 29.0, 13.0, 26.0) ); + color = vec4( vec3( (s.a[0][0] + s.a[0][1] + s.a[1][0] + s.a[1][1]) / 80.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat3_frag.frag index 25a99d0ad84..8fe6b3dbebc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat3_frag.frag @@ -35,19 +35,19 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat3(12.0, 29.0, 13.0, 26.0, 71.0, 63.0, 90.0, 118.0, 128.0) ); - float sum=0.0; - int i,j; + sabcd s = sabcd(mat3(12.0, 29.0, 13.0, 26.0, 71.0, 63.0, 90.0, 118.0, 128.0) ); + float sum=0.0; + int i,j; - sum = sum + s.a[0][0]; - sum = sum + s.a[0][1]; - sum = sum + s.a[0][2]; - sum = sum + s.a[1][0]; - sum = sum + s.a[1][1]; - sum = sum + s.a[1][2]; - sum = sum + s.a[2][0]; - sum = sum + s.a[2][1]; - sum = sum + s.a[2][2]; + sum = sum + s.a[0][0]; + sum = sum + s.a[0][1]; + sum = sum + s.a[0][2]; + sum = sum + s.a[1][0]; + sum = sum + s.a[1][1]; + sum = sum + s.a[1][2]; + sum = sum + s.a[2][0]; + sum = sum + s.a[2][1]; + sum = sum + s.a[2][2]; - gl_FragColor = vec4( vec3( sum / 550.0 ), 1.0); + gl_FragColor = vec4( vec3( sum / 550.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat3_vert.vert index 1ef5d9df910..173085e2a67 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat3_vert.vert @@ -34,21 +34,21 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat3(12.0, 29.0, 13.0, 26.0, 71.0, 63.0, 90.0, 118.0, 128.0) ); - float sum=0.0; + sabcd s = sabcd(mat3(12.0, 29.0, 13.0, 26.0, 71.0, 63.0, 90.0, 118.0, 128.0) ); + float sum=0.0; - sum = sum + s.a[0][0]; - sum = sum + s.a[0][1]; - sum = sum + s.a[0][2]; + sum = sum + s.a[0][0]; + sum = sum + s.a[0][1]; + sum = sum + s.a[0][2]; - sum = sum + s.a[1][0]; - sum = sum + s.a[1][1]; - sum = sum + s.a[1][2]; + sum = sum + s.a[1][0]; + sum = sum + s.a[1][1]; + sum = sum + s.a[1][2]; - sum = sum + s.a[2][0]; - sum = sum + s.a[2][1]; - sum = sum + s.a[2][2]; + sum = sum + s.a[2][0]; + sum = sum + s.a[2][1]; + sum = sum + s.a[2][2]; - color = vec4( vec3( sum / 550.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4( vec3( sum / 550.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat4_frag.frag index 31bb6b9287a..5c7e0facf33 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat4_frag.frag @@ -35,29 +35,29 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat4(12.0, 29.0, 13.0, 26.0, - 71.0, 63.0, 90.0, 118.0, - 128.0, 44.0, 57.0, 143.0, - 151.0, 14.0, 15.0, 21.0 ) ); - float sum=0.0; - int i,j; + sabcd s = sabcd(mat4(12.0, 29.0, 13.0, 26.0, + 71.0, 63.0, 90.0, 118.0, + 128.0, 44.0, 57.0, 143.0, + 151.0, 14.0, 15.0, 21.0 ) ); + float sum=0.0; + int i,j; - sum = sum + s.a[0][0]; - sum = sum + s.a[0][1]; - sum = sum + s.a[0][2]; - sum = sum + s.a[0][3]; - sum = sum + s.a[1][0]; - sum = sum + s.a[1][1]; - sum = sum + s.a[1][2]; - sum = sum + s.a[1][3]; - sum = sum + s.a[2][0]; - sum = sum + s.a[2][1]; - sum = sum + s.a[2][2]; - sum = sum + s.a[2][3]; - sum = sum + s.a[3][0]; - sum = sum + s.a[3][1]; - sum = sum + s.a[3][2]; - sum = sum + s.a[3][3]; + sum = sum + s.a[0][0]; + sum = sum + s.a[0][1]; + sum = sum + s.a[0][2]; + sum = sum + s.a[0][3]; + sum = sum + s.a[1][0]; + sum = sum + s.a[1][1]; + sum = sum + s.a[1][2]; + sum = sum + s.a[1][3]; + sum = sum + s.a[2][0]; + sum = sum + s.a[2][1]; + sum = sum + s.a[2][2]; + sum = sum + s.a[2][3]; + sum = sum + s.a[3][0]; + sum = sum + s.a[3][1]; + sum = sum + s.a[3][2]; + sum = sum + s.a[3][3]; - gl_FragColor = vec4( vec3( sum / 995.0 ), 1.0); + gl_FragColor = vec4( vec3( sum / 995.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat4_vert.vert index b28718b3f97..4fdfdc1d235 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_mat4_vert.vert @@ -34,32 +34,32 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat4(12.0, 29.0, 13.0, 26.0, - 71.0, 63.0, 90.0, 118.0, - 128.0, 44.0, 57.0, 143.0, - 151.0, 14.0, 15.0, 21.0 ) ); - float sum=0.0; + sabcd s = sabcd(mat4(12.0, 29.0, 13.0, 26.0, + 71.0, 63.0, 90.0, 118.0, + 128.0, 44.0, 57.0, 143.0, + 151.0, 14.0, 15.0, 21.0 ) ); + float sum=0.0; - sum = sum + s.a[0][0]; - sum = sum + s.a[0][1]; - sum = sum + s.a[0][2]; - sum = sum + s.a[0][3]; + sum = sum + s.a[0][0]; + sum = sum + s.a[0][1]; + sum = sum + s.a[0][2]; + sum = sum + s.a[0][3]; - sum = sum + s.a[1][0]; - sum = sum + s.a[1][1]; - sum = sum + s.a[1][2]; - sum = sum + s.a[1][3]; + sum = sum + s.a[1][0]; + sum = sum + s.a[1][1]; + sum = sum + s.a[1][2]; + sum = sum + s.a[1][3]; - sum = sum + s.a[2][0]; - sum = sum + s.a[2][1]; - sum = sum + s.a[2][2]; - sum = sum + s.a[2][3]; + sum = sum + s.a[2][0]; + sum = sum + s.a[2][1]; + sum = sum + s.a[2][2]; + sum = sum + s.a[2][3]; - sum = sum + s.a[3][0]; - sum = sum + s.a[3][1]; - sum = sum + s.a[3][2]; - sum = sum + s.a[3][3]; + sum = sum + s.a[3][0]; + sum = sum + s.a[3][1]; + sum = sum + s.a[3][2]; + sum = sum + s.a[3][3]; - color = vec4( vec3( sum / 995.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4( vec3( sum / 995.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec2_frag.frag index cc11121898a..fbb8d7d0984 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec2_frag.frag @@ -28,14 +28,14 @@ precision mediump float; #endif struct sabcd { - vec2 a; - vec2 b; + vec2 a; + vec2 b; }; void main (void) { - sabcd s = sabcd(vec2(12.0, 29.0), vec2(13.0, 26.0) ); + sabcd s = sabcd(vec2(12.0, 29.0), vec2(13.0, 26.0) ); - gl_FragColor = vec4( vec3( (s.a[0] + s.a[1] + s.b[0] + s.b[1]) / 80.0 ), 1.0); + gl_FragColor = vec4( vec3( (s.a[0] + s.a[1] + s.b[0] + s.b[1]) / 80.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec2_vert.vert index 3cea0aabea9..a3660fe241d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec2_vert.vert @@ -31,15 +31,15 @@ varying vec4 color; struct sabcd { - vec2 a; - vec2 b; + vec2 a; + vec2 b; }; void main (void) { - sabcd s = sabcd(vec2(12.0, 29.0), vec2(13.0, 26.0) ); - color = vec4( vec3( (s.a[0] + s.a[1] + s.b[0] + s.b[1]) / 80.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s = sabcd(vec2(12.0, 29.0), vec2(13.0, 26.0) ); + color = vec4( vec3( (s.a[0] + s.a[1] + s.b[0] + s.b[1]) / 80.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec3_frag.frag index 9f83ff65d67..ab024562014 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec3_frag.frag @@ -28,14 +28,14 @@ precision mediump float; #endif struct sabcd { - vec3 a; - vec3 b; + vec3 a; + vec3 b; }; void main (void) { - sabcd s = sabcd(vec3(12.0, 29.0, 32.0), vec3(13.0, 26.0, 38.0 ) ); + sabcd s = sabcd(vec3(12.0, 29.0, 32.0), vec3(13.0, 26.0, 38.0 ) ); - gl_FragColor = vec4( vec3( (s.a[0] + s.a[1] + s.a[2] + s.b[0] + s.b[1] + s.b[2]) / 150.0 ), 1.0); + gl_FragColor = vec4( vec3( (s.a[0] + s.a[1] + s.a[2] + s.b[0] + s.b[1] + s.b[2]) / 150.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec3_vert.vert index b931e91d61c..e532d39563c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec3_vert.vert @@ -31,15 +31,15 @@ varying vec4 color; struct sabcd { - vec3 a; - vec3 b; + vec3 a; + vec3 b; }; void main (void) { - sabcd s = sabcd(vec3(12.0, 29.0, 32.0), vec3(13.0, 26.0, 38.0 ) ); - color = vec4( vec3( (s.a[0] + s.a[1] + s.a[2] + s.b[0] + s.b[1] + s.b[2]) / 150.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s = sabcd(vec3(12.0, 29.0, 32.0), vec3(13.0, 26.0, 38.0 ) ); + color = vec4( vec3( (s.a[0] + s.a[1] + s.a[2] + s.b[0] + s.b[1] + s.b[2]) / 150.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec4_frag.frag index 90f3e4f72d8..85d19e8ac11 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec4_frag.frag @@ -30,12 +30,12 @@ varying vec4 color; struct sabcd { - vec4 a; - vec4 b; + vec4 a; + vec4 b; }; void main (void) { - sabcd s = sabcd(vec4(12.0, 29.0, 32.0, 47.0), vec4(13.0, 26.0, 38.0, 53.0 ) ); - gl_FragColor = vec4( vec3( (s.a[0] + s.a[1] + s.a[2] + s.a[3] + s.b[0] + s.b[1] + s.b[2] + s.b[3]) / 250.0 ), 1.0); + sabcd s = sabcd(vec4(12.0, 29.0, 32.0, 47.0), vec4(13.0, 26.0, 38.0, 53.0 ) ); + gl_FragColor = vec4( vec3( (s.a[0] + s.a[1] + s.a[2] + s.a[3] + s.b[0] + s.b[1] + s.b[2] + s.b[3]) / 250.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec4_vert.vert index 7a27b27d053..f85a3ad8737 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/struct_vec4_vert.vert @@ -29,13 +29,13 @@ varying vec4 color; struct sabcd { - vec4 a; - vec4 b; + vec4 a; + vec4 b; }; void main (void) { - sabcd s = sabcd(vec4(12.0, 29.0, 32.0, 47.0), vec4(13.0, 26.0, 38.0, 53.0 ) ); - color = vec4( vec3( (s.a[0] + s.a[1] + s.a[2] + s.a[3] + s.b[0] + s.b[1] + s.b[2] + s.b[3]) / 250.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s = sabcd(vec4(12.0, 29.0, 32.0, 47.0), vec4(13.0, 26.0, 38.0, 53.0 ) ); + color = vec4( vec3( (s.a[0] + s.a[1] + s.a[2] + s.a[3] + s.b[0] + s.b[1] + s.b[2] + s.b[3]) / 250.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bool_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bool_frag.frag index 0e0233ccc87..232ee1acb10 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bool_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bool_frag.frag @@ -28,23 +28,23 @@ precision mediump float; #endif struct sabcd { - bool a; - bool b; - bool c; - bool d; + bool a; + bool b; + bool c; + bool d; }; void main (void) { - sabcd s1 = sabcd(bool(12), bool(0), bool(25.5), bool(0.0)); - sabcd s2 = sabcd(bool(0.0), bool(0.0), bool(0.0), bool(0.0)); - s2 = s1; - float gray = 0.0; - if( (s2.a==true) && (s2.b==false) && (s2.c == true) && (s2.d==false)) - gray=1.0; - else + sabcd s1 = sabcd(bool(12), bool(0), bool(25.5), bool(0.0)); + sabcd s2 = sabcd(bool(0.0), bool(0.0), bool(0.0), bool(0.0)); + s2 = s1; + float gray = 0.0; + if( (s2.a==true) && (s2.b==false) && (s2.c == true) && (s2.d==false)) + gray=1.0; + else gray =0.0; - gl_FragColor = vec4(gray,gray,gray,1.0); + gl_FragColor = vec4(gray,gray,gray,1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bool_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bool_vert.vert index dfa5e56500f..965778e40df 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bool_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bool_vert.vert @@ -31,25 +31,25 @@ varying vec4 color; struct sabcd { - bool a; - bool b; - bool c; - bool d; + bool a; + bool b; + bool c; + bool d; }; void main (void) { - sabcd s1 = sabcd(bool(12), bool(0), bool(25.5), bool(0.0)); - sabcd s2 = sabcd(bool(0.0), bool(0.0), bool(0.0), bool(0.0)); - s2 = s1; - float gray = 0.0; - if( (s2.a==true) && (s2.b==false) && (s2.c == true) && (s2.d==false)) - gray=1.0; - else + sabcd s1 = sabcd(bool(12), bool(0), bool(25.5), bool(0.0)); + sabcd s2 = sabcd(bool(0.0), bool(0.0), bool(0.0), bool(0.0)); + s2 = s1; + float gray = 0.0; + if( (s2.a==true) && (s2.b==false) && (s2.c == true) && (s2.d==false)) + gray=1.0; + else gray =0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_frag.frag index 3c470889369..c84b2453b1e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_frag.frag @@ -28,21 +28,21 @@ precision mediump float; #endif struct sabcd { - bvec2 a; - bvec3 b; - bvec4 c; + bvec2 a; + bvec3 b; + bvec4 c; }; void main (void) { - sabcd s = sabcd( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ) ); - sabcd s2 = sabcd( bvec2(0, 0), bvec3(0.0, 0.0, 0.0), bvec4(0.0, 0.0, 0.0, 0.0 ) ); - s2 = s; - float gray = 0.0; - if( (s2.a[0]) && (s2.a[1]) && (s2.b[0]) && (!s2.b[1]) && (s2.b[2]) && (s2.c[0]) && (s2.c[1]) && (s2.c[2]) ) - gray=1.0; - else + sabcd s = sabcd( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ) ); + sabcd s2 = sabcd( bvec2(0, 0), bvec3(0.0, 0.0, 0.0), bvec4(0.0, 0.0, 0.0, 0.0 ) ); + s2 = s; + float gray = 0.0; + if( (s2.a[0]) && (s2.a[1]) && (s2.b[0]) && (!s2.b[1]) && (s2.b[2]) && (s2.c[0]) && (s2.c[1]) && (s2.c[2]) ) + gray=1.0; + else gray =0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_vert.vert index 307dbed0d4f..43b2aeda4c2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_bvec2bvec3bvec4_vert.vert @@ -29,21 +29,21 @@ varying vec4 color; struct sabcd { - bvec2 a; - bvec3 b; - bvec4 c; + bvec2 a; + bvec3 b; + bvec4 c; }; void main (void) { - sabcd s = sabcd( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ) ); - sabcd s2 = sabcd( bvec2(0, 0), bvec3(0.0, 0.0, 0.0), bvec4(0.0, 0.0, 0.0, 0.0 ) ); - s2 = s; - float gray = 0.0; - if( (s2.a[0]) && (s2.a[1]) && (s2.b[0]) && (!s2.b[1]) && (s2.b[2]) && (s2.c[0]) && (s2.c[1]) && (s2.c[2]) && (s2.c[3]) ) - gray=1.0; - else + sabcd s = sabcd( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ) ); + sabcd s2 = sabcd( bvec2(0, 0), bvec3(0.0, 0.0, 0.0), bvec4(0.0, 0.0, 0.0, 0.0 ) ); + s2 = s; + float gray = 0.0; + if( (s2.a[0]) && (s2.a[1]) && (s2.b[0]) && (!s2.b[1]) && (s2.b[2]) && (s2.c[0]) && (s2.c[1]) && (s2.c[2]) && (s2.c[3]) ) + gray=1.0; + else gray =0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_float_frag.frag index d9539d950cb..b685fa4425b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_float_frag.frag @@ -28,18 +28,18 @@ precision mediump float; #endif struct sabcd { - float a; - float b; - float c; - float d; + float a; + float b; + float c; + float d; }; void main (void) { - sabcd s = sabcd(1.0, 2.0, 4.0, 8.0); - sabcd s2 = sabcd(0.0, 0.0, 0.0, 0.0); - s2 = s; - gl_FragColor = vec4((s.a + s.b + s.c + s.d) / 15.0, (s2.a + s2.b + s2.c + s2.d) / 15.0, 1.0, 1.0); + sabcd s = sabcd(1.0, 2.0, 4.0, 8.0); + sabcd s2 = sabcd(0.0, 0.0, 0.0, 0.0); + s2 = s; + gl_FragColor = vec4((s.a + s.b + s.c + s.d) / 15.0, (s2.a + s2.b + s2.c + s2.d) / 15.0, 1.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_float_vert.vert index 5fc15a1336c..157e29221ea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_float_vert.vert @@ -31,19 +31,19 @@ varying vec4 color; struct sabcd { - float a; - float b; - float c; - float d; + float a; + float b; + float c; + float d; }; void main (void) { - sabcd s = sabcd(1.0, 2.0, 4.0, 8.0); - sabcd s2 = sabcd(0.0, 0.0, 0.0, 0.0); - s2 = s; - color = vec4((s.a + s.b + s.c + s.d) / 15.0, (s2.a + s2.b + s2.c + s2.d) / 15.0, 1.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s = sabcd(1.0, 2.0, 4.0, 8.0); + sabcd s2 = sabcd(0.0, 0.0, 0.0, 0.0); + s2 = s; + color = vec4((s.a + s.b + s.c + s.d) / 15.0, (s2.a + s2.b + s2.c + s2.d) / 15.0, 1.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat2_frag.frag index 5f9cabb5f71..35f4a0ea3c1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat2_frag.frag @@ -35,8 +35,8 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat2(12.0, 29.0, 13.0, 26.0) ); - sabcd s2 = sabcd(mat2(0.0, 0.0, 0.0, 0.0) ); - s2 = s; - gl_FragColor = vec4( vec3( (s2.a[0][0] + s2.a[0][1] + s2.a[1][0] + s2.a[1][1]) / 80.0 ), 1.0); + sabcd s = sabcd(mat2(12.0, 29.0, 13.0, 26.0) ); + sabcd s2 = sabcd(mat2(0.0, 0.0, 0.0, 0.0) ); + s2 = s; + gl_FragColor = vec4( vec3( (s2.a[0][0] + s2.a[0][1] + s2.a[1][0] + s2.a[1][1]) / 80.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat2_vert.vert index e6ea7148607..e880bbbf1c4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat2_vert.vert @@ -34,9 +34,9 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat2(12.0, 29.0, 13.0, 26.0) ); - sabcd s2 = sabcd(mat2(0.0, 0.0, 0.0, 0.0) ); - s2 = s; - color = vec4( vec3( (s2.a[0][0] + s2.a[0][1] + s2.a[1][0] + s2.a[1][1]) / 80.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s = sabcd(mat2(12.0, 29.0, 13.0, 26.0) ); + sabcd s2 = sabcd(mat2(0.0, 0.0, 0.0, 0.0) ); + s2 = s; + color = vec4( vec3( (s2.a[0][0] + s2.a[0][1] + s2.a[1][0] + s2.a[1][1]) / 80.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat3_frag.frag index 2d8678d8052..6439b0180b8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat3_frag.frag @@ -35,21 +35,21 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat3(12.0, 29.0, 13.0, 26.0, 71.0, 63.0, 90.0, 118.0, 128.0) ); - sabcd s2 = sabcd(mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) ); - s2 = s; - float sum=0.0; - int i,j; + sabcd s = sabcd(mat3(12.0, 29.0, 13.0, 26.0, 71.0, 63.0, 90.0, 118.0, 128.0) ); + sabcd s2 = sabcd(mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) ); + s2 = s; + float sum=0.0; + int i,j; - sum = sum + s2.a[0][0]; - sum = sum + s2.a[0][1]; - sum = sum + s2.a[0][2]; - sum = sum + s2.a[1][0]; - sum = sum + s2.a[1][1]; - sum = sum + s2.a[1][2]; - sum = sum + s2.a[2][0]; - sum = sum + s2.a[2][1]; - sum = sum + s2.a[2][2]; + sum = sum + s2.a[0][0]; + sum = sum + s2.a[0][1]; + sum = sum + s2.a[0][2]; + sum = sum + s2.a[1][0]; + sum = sum + s2.a[1][1]; + sum = sum + s2.a[1][2]; + sum = sum + s2.a[2][0]; + sum = sum + s2.a[2][1]; + sum = sum + s2.a[2][2]; - gl_FragColor = vec4( vec3( sum / 550.0 ), 1.0); + gl_FragColor = vec4( vec3( sum / 550.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat3_vert.vert index ed7f6470b35..2a53277a9fe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat3_vert.vert @@ -34,23 +34,23 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat3(12.0, 29.0, 13.0, 26.0, 71.0, 63.0, 90.0, 118.0, 128.0) ); - sabcd s2 = sabcd(mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) ); - s2 = s; - float sum=0.0; + sabcd s = sabcd(mat3(12.0, 29.0, 13.0, 26.0, 71.0, 63.0, 90.0, 118.0, 128.0) ); + sabcd s2 = sabcd(mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) ); + s2 = s; + float sum=0.0; - sum = sum + s2.a[0][0]; - sum = sum + s2.a[0][1]; - sum = sum + s2.a[0][2]; + sum = sum + s2.a[0][0]; + sum = sum + s2.a[0][1]; + sum = sum + s2.a[0][2]; - sum = sum + s2.a[1][0]; - sum = sum + s2.a[1][1]; - sum = sum + s2.a[1][2]; + sum = sum + s2.a[1][0]; + sum = sum + s2.a[1][1]; + sum = sum + s2.a[1][2]; - sum = sum + s2.a[2][0]; - sum = sum + s2.a[2][1]; - sum = sum + s2.a[2][2]; + sum = sum + s2.a[2][0]; + sum = sum + s2.a[2][1]; + sum = sum + s2.a[2][2]; - color = vec4( vec3( sum / 550.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4( vec3( sum / 550.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat4_frag.frag index 5ac75203e88..53deba872a6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat4_frag.frag @@ -35,34 +35,34 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat4(12.0, 29.0, 13.0, 26.0, - 71.0, 63.0, 90.0, 118.0, - 128.0, 44.0, 57.0, 143.0, - 151.0, 14.0, 15.0, 21.0 ) ); - sabcd s2 = sabcd(mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0 ) ); - s2 = s; - float sum=0.0; - int i,j; + sabcd s = sabcd(mat4(12.0, 29.0, 13.0, 26.0, + 71.0, 63.0, 90.0, 118.0, + 128.0, 44.0, 57.0, 143.0, + 151.0, 14.0, 15.0, 21.0 ) ); + sabcd s2 = sabcd(mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0 ) ); + s2 = s; + float sum=0.0; + int i,j; - sum = sum + s2.a[0][0]; - sum = sum + s2.a[0][1]; - sum = sum + s2.a[0][2]; - sum = sum + s2.a[0][3]; - sum = sum + s2.a[1][0]; - sum = sum + s2.a[1][1]; - sum = sum + s2.a[1][2]; - sum = sum + s2.a[1][3]; - sum = sum + s2.a[2][0]; - sum = sum + s2.a[2][1]; - sum = sum + s2.a[2][2]; - sum = sum + s2.a[2][3]; - sum = sum + s2.a[3][0]; - sum = sum + s2.a[3][1]; - sum = sum + s2.a[3][2]; - sum = sum + s2.a[3][3]; + sum = sum + s2.a[0][0]; + sum = sum + s2.a[0][1]; + sum = sum + s2.a[0][2]; + sum = sum + s2.a[0][3]; + sum = sum + s2.a[1][0]; + sum = sum + s2.a[1][1]; + sum = sum + s2.a[1][2]; + sum = sum + s2.a[1][3]; + sum = sum + s2.a[2][0]; + sum = sum + s2.a[2][1]; + sum = sum + s2.a[2][2]; + sum = sum + s2.a[2][3]; + sum = sum + s2.a[3][0]; + sum = sum + s2.a[3][1]; + sum = sum + s2.a[3][2]; + sum = sum + s2.a[3][3]; - gl_FragColor = vec4( vec3( sum / 995.0 ), 1.0); + gl_FragColor = vec4( vec3( sum / 995.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat4_vert.vert index 74d20240072..3c375279544 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_mat4_vert.vert @@ -34,37 +34,37 @@ struct sabcd void main (void) { - sabcd s = sabcd(mat4(12.0, 29.0, 13.0, 26.0, - 71.0, 63.0, 90.0, 118.0, - 128.0, 44.0, 57.0, 143.0, - 151.0, 14.0, 15.0, 21.0 ) ); - sabcd s2 = sabcd(mat4(0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0, - 0.0, 0.0, 0.0, 0.0 ) ); - s2 = s; - float sum=0.0; + sabcd s = sabcd(mat4(12.0, 29.0, 13.0, 26.0, + 71.0, 63.0, 90.0, 118.0, + 128.0, 44.0, 57.0, 143.0, + 151.0, 14.0, 15.0, 21.0 ) ); + sabcd s2 = sabcd(mat4(0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0 ) ); + s2 = s; + float sum=0.0; - sum = sum + s2.a[0][0]; - sum = sum + s2.a[0][1]; - sum = sum + s2.a[0][2]; - sum = sum + s2.a[0][3]; + sum = sum + s2.a[0][0]; + sum = sum + s2.a[0][1]; + sum = sum + s2.a[0][2]; + sum = sum + s2.a[0][3]; - sum = sum + s2.a[1][0]; - sum = sum + s2.a[1][1]; - sum = sum + s2.a[1][2]; - sum = sum + s2.a[1][3]; + sum = sum + s2.a[1][0]; + sum = sum + s2.a[1][1]; + sum = sum + s2.a[1][2]; + sum = sum + s2.a[1][3]; - sum = sum + s2.a[2][0]; - sum = sum + s2.a[2][1]; - sum = sum + s2.a[2][2]; - sum = sum + s2.a[2][3]; + sum = sum + s2.a[2][0]; + sum = sum + s2.a[2][1]; + sum = sum + s2.a[2][2]; + sum = sum + s2.a[2][3]; - sum = sum + s2.a[3][0]; - sum = sum + s2.a[3][1]; - sum = sum + s2.a[3][2]; - sum = sum + s2.a[3][3]; + sum = sum + s2.a[3][0]; + sum = sum + s2.a[3][1]; + sum = sum + s2.a[3][2]; + sum = sum + s2.a[3][3]; - color = vec4( vec3( sum / 995.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4( vec3( sum / 995.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec2_frag.frag index 07c0f87dbad..56c15b6e907 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec2_frag.frag @@ -28,15 +28,15 @@ precision mediump float; #endif struct sabcd { - vec2 a; - vec2 b; + vec2 a; + vec2 b; }; void main (void) { - sabcd s1 = sabcd(vec2(12.0, 29.0), vec2(13.0, 26.0) ); - sabcd s2 = sabcd(vec2(0.0, 0.0), vec2(0.0, 0.0) ); - s2 = s1; - gl_FragColor = vec4( vec3( (s2.a[0] + s2.a[1] + s2.b[0] + s2.b[1]) / 80.0 ), 1.0); + sabcd s1 = sabcd(vec2(12.0, 29.0), vec2(13.0, 26.0) ); + sabcd s2 = sabcd(vec2(0.0, 0.0), vec2(0.0, 0.0) ); + s2 = s1; + gl_FragColor = vec4( vec3( (s2.a[0] + s2.a[1] + s2.b[0] + s2.b[1]) / 80.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec2_vert.vert index ab407f3ec8d..1ec34123f3d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec2_vert.vert @@ -31,17 +31,17 @@ varying vec4 color; struct sabcd { - vec2 a; - vec2 b; + vec2 a; + vec2 b; }; void main (void) { - sabcd s1 = sabcd(vec2(12.0, 29.0), vec2(13.0, 26.0) ); - sabcd s2 = sabcd(vec2(0.0, 0.0), vec2(0.0, 0.0) ); - s2 = s1; - color = vec4( vec3( (s2.a[0] + s2.a[1] + s2.b[0] + s2.b[1]) / 80.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s1 = sabcd(vec2(12.0, 29.0), vec2(13.0, 26.0) ); + sabcd s2 = sabcd(vec2(0.0, 0.0), vec2(0.0, 0.0) ); + s2 = s1; + color = vec4( vec3( (s2.a[0] + s2.a[1] + s2.b[0] + s2.b[1]) / 80.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec3_frag.frag index e43dd807f09..7d0530c8113 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec3_frag.frag @@ -28,15 +28,15 @@ precision mediump float; #endif struct sabcd { - vec3 a; - vec3 b; + vec3 a; + vec3 b; }; void main (void) { - sabcd s = sabcd(vec3(12.0, 29.0, 32.0), vec3(13.0, 26.0, 38.0 ) ); - sabcd s2 = sabcd(vec3(0.0, 0.0, 0.0), vec3(0.0, 0.0, 0.0 ) ); - s2 = s; - gl_FragColor = vec4( vec3( (s2.a[0] + s2.a[1] + s2.a[2] + s2.b[0] + s2.b[1] + s2.b[2]) / 150.0 ), 1.0); + sabcd s = sabcd(vec3(12.0, 29.0, 32.0), vec3(13.0, 26.0, 38.0 ) ); + sabcd s2 = sabcd(vec3(0.0, 0.0, 0.0), vec3(0.0, 0.0, 0.0 ) ); + s2 = s; + gl_FragColor = vec4( vec3( (s2.a[0] + s2.a[1] + s2.a[2] + s2.b[0] + s2.b[1] + s2.b[2]) / 150.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec3_vert.vert index 417e22ba182..a686f9c6d7f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec3_vert.vert @@ -31,17 +31,17 @@ varying vec4 color; struct sabcd { - vec3 a; - vec3 b; + vec3 a; + vec3 b; }; void main (void) { - sabcd s1 = sabcd(vec3(12.0, 29.0, 32.0), vec3(13.0, 26.0, 38.0 ) ); - sabcd s2 = sabcd(vec3(0.0, 0.0, 0.0), vec3(0.0, 0.0, 0.0 ) ); - s2 = s1; - color = vec4( vec3( (s2.a[0] + s2.a[1] + s2.a[2] + s2.b[0] + s2.b[1] + s2.b[2]) / 150.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s1 = sabcd(vec3(12.0, 29.0, 32.0), vec3(13.0, 26.0, 38.0 ) ); + sabcd s2 = sabcd(vec3(0.0, 0.0, 0.0), vec3(0.0, 0.0, 0.0 ) ); + s2 = s1; + color = vec4( vec3( (s2.a[0] + s2.a[1] + s2.a[2] + s2.b[0] + s2.b[1] + s2.b[2]) / 150.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec4_frag.frag index 58fd49bd98f..e628b8caf18 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec4_frag.frag @@ -30,14 +30,14 @@ varying vec4 color; struct sabcd { - vec4 a; - vec4 b; + vec4 a; + vec4 b; }; void main (void) { - sabcd s = sabcd(vec4(12.0, 29.0, 32.0, 47.0), vec4(13.0, 26.0, 38.0, 53.0 ) ); - sabcd s2 = sabcd(vec4(0.0, 0.0, 0.0, 0.0), vec4(0.0, 0.0, 0.0, 0.0 ) ); - s2 = s; - gl_FragColor = vec4( vec3( (s2.a[0] + s2.a[1] + s2.a[2] + s2.a[3] + s2.b[0] + s2.b[1] + s2.b[2] + s2.b[3]) / 250.0 ), 1.0); + sabcd s = sabcd(vec4(12.0, 29.0, 32.0, 47.0), vec4(13.0, 26.0, 38.0, 53.0 ) ); + sabcd s2 = sabcd(vec4(0.0, 0.0, 0.0, 0.0), vec4(0.0, 0.0, 0.0, 0.0 ) ); + s2 = s; + gl_FragColor = vec4( vec3( (s2.a[0] + s2.a[1] + s2.a[2] + s2.a[3] + s2.b[0] + s2.b[1] + s2.b[2] + s2.b[3]) / 250.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec4_vert.vert index 6b174b857ec..70f46538a91 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structcopy_vec4_vert.vert @@ -29,15 +29,15 @@ varying vec4 color; struct sabcd { - vec4 a; - vec4 b; + vec4 a; + vec4 b; }; void main (void) { - sabcd s = sabcd(vec4(12.0, 29.0, 32.0, 47.0), vec4(13.0, 26.0, 38.0, 53.0 ) ); - sabcd s2 = sabcd(vec4(0.0, 0.0, 0.0, 0.0), vec4(0.0, 0.0, 0.0, 0.0 ) ); - s2 = s; - color = vec4( vec3( (s2.a[0] + s2.a[1] + s2.a[2] + s2.a[3] + s2.b[0] + s2.b[1] + s2.b[2] + s2.b[3]) / 250.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + sabcd s = sabcd(vec4(12.0, 29.0, 32.0, 47.0), vec4(13.0, 26.0, 38.0, 53.0 ) ); + sabcd s2 = sabcd(vec4(0.0, 0.0, 0.0, 0.0), vec4(0.0, 0.0, 0.0, 0.0 ) ); + s2 = s; + color = vec4( vec3( (s2.a[0] + s2.a[1] + s2.a[2] + s2.a[3] + s2.b[0] + s2.b[1] + s2.b[2] + s2.b[3]) / 250.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bool_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bool_frag.frag index c97ffc76c91..1d0abca4105 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bool_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bool_frag.frag @@ -28,28 +28,28 @@ precision mediump float; #endif struct nestb { - bool b; + bool b; }; struct nesta { - bool a; - nestb nest_b; + bool a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(bool(1.0), nestb(bool(0.0)))); - float gray = 0.0; + nest s = nest(nesta(bool(1.0), nestb(bool(0.0)))); + float gray = 0.0; - if( (s.nest_a.a == true) && (s.nest_a.nest_b.b == false)) - gray=1.0; - else + if( (s.nest_a.a == true) && (s.nest_a.nest_b.b == false)) + gray=1.0; + else gray =0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bool_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bool_vert.vert index caa9280ac5b..8a52a6ab15f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bool_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bool_vert.vert @@ -29,30 +29,30 @@ varying vec4 color; struct nestb { - bool b; + bool b; }; struct nesta { - bool a; - nestb nest_b; + bool a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(bool(1.0), nestb(bool(0.0)))); - float gray = 0.0; + nest s = nest(nesta(bool(1.0), nestb(bool(0.0)))); + float gray = 0.0; - if( (s.nest_a.a == true) && (s.nest_a.nest_b.b == false)) - gray=1.0; - else + if( (s.nest_a.a == true) && (s.nest_a.nest_b.b == false)) + gray=1.0; + else gray =0.0; - color = vec4(gray, gray, gray, 1.0); + color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_frag.frag index 3724ea000f3..d13d2bbb6c9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_frag.frag @@ -30,42 +30,42 @@ varying vec4 color; struct nestb { - bvec2 a2; - bvec3 b2; - bvec4 c2; + bvec2 a2; + bvec3 b2; + bvec4 c2; }; struct nesta { - bvec2 a1; - bvec3 b1; - bvec4 c1; - nestb nest_b; + bvec2 a1; + bvec3 b1; + bvec4 c1; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest( nesta( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ), + nest s = nest( nesta( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ), nestb( bvec2(28, 0), bvec3(0.0, 0.0, 1.0), bvec4(0.0, 17.0, 145, 0 ) ) ) ); - float gray = 0.0; - if( ( s.nest_a.a1[0] ) && ( s.nest_a.a1[1] ) && + float gray = 0.0; + if( ( s.nest_a.a1[0] ) && ( s.nest_a.a1[1] ) && ( s.nest_a.b1[0] ) && (! (s.nest_a.b1[1]) ) && ( s.nest_a.b1[2] ) && ( s.nest_a.c1[0] ) && ( s.nest_a.c1[1] ) && ( s.nest_a.c1[2] ) && ( s.nest_a.c1[3] ) && ( s.nest_a.nest_b.a2[0] ) && ( !( s.nest_a.nest_b.a2[1] ) ) && (! ( s.nest_a.nest_b.b2[0] ) ) && (! ( s.nest_a.nest_b.b2[1] ) ) && (s.nest_a.nest_b.b2[2]) && (! ( s.nest_a.nest_b.c2[0] ) ) && (s.nest_a.nest_b.c2[1]) && (s.nest_a.nest_b.c2[2]) && (! ( s.nest_a.nest_b.c2[3] ) ) ) - gray=1.0; - else + gray=1.0; + else gray =0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_vert.vert index bb76283a384..dfc515cac2d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_bvec2bvec3bvec4_vert.vert @@ -29,46 +29,46 @@ varying vec4 color; struct nestb { - bvec2 a2; - bvec3 b2; - bvec4 c2; + bvec2 a2; + bvec3 b2; + bvec4 c2; }; struct nesta { - bvec2 a1; - bvec3 b1; - bvec4 c1; - nestb nest_b; + bvec2 a1; + bvec3 b1; + bvec4 c1; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest( nesta( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ), + nest s = nest( nesta( bvec2(12, 13), bvec3(14.0, 0.0, 139.0), bvec4(25.5, 17.0, 145, 163 ), nestb( bvec2(28, 0), bvec3(0.0, 0.0, 1.0), bvec4(0.0, 17.0, 145, 0 ) ) ) ); - float gray = 0.0; + float gray = 0.0; - if( ( s.nest_a.a1[0] ) && ( s.nest_a.a1[1] ) && + if( ( s.nest_a.a1[0] ) && ( s.nest_a.a1[1] ) && ( s.nest_a.b1[0] ) && (! (s.nest_a.b1[1]) ) && ( s.nest_a.b1[2] ) && ( s.nest_a.c1[0] ) && ( s.nest_a.c1[1] ) && ( s.nest_a.c1[2] ) && ( s.nest_a.c1[3] ) && ( s.nest_a.nest_b.a2[0] ) && ( !( s.nest_a.nest_b.a2[1] ) ) && (! ( s.nest_a.nest_b.b2[0] ) ) && (! ( s.nest_a.nest_b.b2[1] ) ) && (s.nest_a.nest_b.b2[2]) && (! ( s.nest_a.nest_b.c2[0] ) ) && (s.nest_a.nest_b.c2[1]) && (s.nest_a.nest_b.c2[2]) && (! ( s.nest_a.nest_b.c2[3] ) ) ) - gray=1.0; - else + gray=1.0; + else gray =0.0; - color = vec4(gray, gray, gray, 1.0); + color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_float_frag.frag index 661dd52cd69..8cb2e49b088 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_float_frag.frag @@ -28,22 +28,22 @@ precision mediump float; #endif struct nestb { - float b; + float b; }; struct nesta { - float a; - nestb nest_b; + float a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(1.0, nestb(2.0))); - gl_FragColor = vec4(vec3((s.nest_a.a + s.nest_a.nest_b.b) / 3.0), 1.0); + nest s = nest(nesta(1.0, nestb(2.0))); + gl_FragColor = vec4(vec3((s.nest_a.a + s.nest_a.nest_b.b) / 3.0), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_float_vert.vert index 6769dbf5465..18b3353c2d7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_float_vert.vert @@ -29,23 +29,23 @@ varying vec4 color; struct nestb { - float b; + float b; }; struct nesta { - float a; - nestb nest_b; + float a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(1.0, nestb(2.0))); - color = vec4(vec3((s.nest_a.a + s.nest_a.nest_b.b) / 3.0), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + nest s = nest(nesta(1.0, nestb(2.0))); + color = vec4(vec3((s.nest_a.a + s.nest_a.nest_b.b) / 3.0), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat2_frag.frag index 0e942e44923..d08a7b148ea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat2_frag.frag @@ -28,24 +28,24 @@ precision mediump float; #endif struct nestb { - mat2 b; + mat2 b; }; struct nesta { - mat2 a; - nestb nest_b; + mat2 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta( mat2(11, 13, 29, 33), nestb( mat2(12, 19, 79, 81) ) ) ); + nest s = nest(nesta( mat2(11, 13, 29, 33), nestb( mat2(12, 19, 79, 81) ) ) ); - gl_FragColor = vec4( vec3( (s.nest_a.a[0][0] + s.nest_a.a[0][1] + s.nest_a.a[1][0] + s.nest_a.a[1][1] + s.nest_a.nest_b.b[0][0] + s.nest_a.nest_b.b[0][1] + s.nest_a.nest_b.b[1][0] + s.nest_a.nest_b.b[1][1] ) / 277.0 ), 1.0); + gl_FragColor = vec4( vec3( (s.nest_a.a[0][0] + s.nest_a.a[0][1] + s.nest_a.a[1][0] + s.nest_a.a[1][1] + s.nest_a.nest_b.b[0][0] + s.nest_a.nest_b.b[0][1] + s.nest_a.nest_b.b[1][0] + s.nest_a.nest_b.b[1][1] ) / 277.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat2_vert.vert index 5caff6844c2..770b63d74dc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat2_vert.vert @@ -29,23 +29,23 @@ varying vec4 color; struct nestb { - mat2 b; + mat2 b; }; struct nesta { - mat2 a; - nestb nest_b; + mat2 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta( mat2(11, 13, 29, 33), nestb( mat2(12, 19, 79, 81) ) ) ); - color = vec4( vec3( (s.nest_a.a[0][0] + s.nest_a.a[0][1] + s.nest_a.a[1][0] + s.nest_a.a[1][1] + s.nest_a.nest_b.b[0][0] + s.nest_a.nest_b.b[0][1] + s.nest_a.nest_b.b[1][0] + s.nest_a.nest_b.b[1][1] ) / 277.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + nest s = nest(nesta( mat2(11, 13, 29, 33), nestb( mat2(12, 19, 79, 81) ) ) ); + color = vec4( vec3( (s.nest_a.a[0][0] + s.nest_a.a[0][1] + s.nest_a.a[1][0] + s.nest_a.a[1][1] + s.nest_a.nest_b.b[0][0] + s.nest_a.nest_b.b[0][1] + s.nest_a.nest_b.b[1][0] + s.nest_a.nest_b.b[1][1] ) / 277.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat3_frag.frag index 7f60a690b33..3e01ed5b6fd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat3_frag.frag @@ -28,52 +28,52 @@ precision mediump float; #endif struct nestb { - mat3 b; + mat3 b; }; struct nesta { - mat3 a; - nestb nest_b; + mat3 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta( mat3(11, 13, 29, 33, 63, 13, 49, 57, 71), nestb( mat3(12, 19, 79, 81, 35, 51, 73, 66, 23) ) ) ); - float sum1=0.0,sum2=0.0; - int i,j; + nest s = nest(nesta( mat3(11, 13, 29, 33, 63, 13, 49, 57, 71), nestb( mat3(12, 19, 79, 81, 35, 51, 73, 66, 23) ) ) ); + float sum1=0.0,sum2=0.0; + int i,j; - sum1 = sum1 + s.nest_a.a[0][0]; - sum2 = sum2 + s.nest_a.nest_b.b[0][0]; + sum1 = sum1 + s.nest_a.a[0][0]; + sum2 = sum2 + s.nest_a.nest_b.b[0][0]; - sum1 = sum1 + s.nest_a.a[0][1]; - sum2 = sum2 + s.nest_a.nest_b.b[0][1]; + sum1 = sum1 + s.nest_a.a[0][1]; + sum2 = sum2 + s.nest_a.nest_b.b[0][1]; - sum1 = sum1 + s.nest_a.a[0][2]; - sum2 = sum2 + s.nest_a.nest_b.b[0][2]; + sum1 = sum1 + s.nest_a.a[0][2]; + sum2 = sum2 + s.nest_a.nest_b.b[0][2]; - sum1 = sum1 + s.nest_a.a[1][0]; - sum2 = sum2 + s.nest_a.nest_b.b[1][0]; + sum1 = sum1 + s.nest_a.a[1][0]; + sum2 = sum2 + s.nest_a.nest_b.b[1][0]; - sum1 = sum1 + s.nest_a.a[1][1]; - sum2 = sum2 + s.nest_a.nest_b.b[1][1]; + sum1 = sum1 + s.nest_a.a[1][1]; + sum2 = sum2 + s.nest_a.nest_b.b[1][1]; - sum1 = sum1 + s.nest_a.a[1][2]; - sum2 = sum2 + s.nest_a.nest_b.b[1][2]; + sum1 = sum1 + s.nest_a.a[1][2]; + sum2 = sum2 + s.nest_a.nest_b.b[1][2]; - sum1 = sum1 + s.nest_a.a[2][0]; - sum2 = sum2 + s.nest_a.nest_b.b[2][0]; + sum1 = sum1 + s.nest_a.a[2][0]; + sum2 = sum2 + s.nest_a.nest_b.b[2][0]; - sum1 = sum1 + s.nest_a.a[2][1]; - sum2 = sum2 + s.nest_a.nest_b.b[2][1]; + sum1 = sum1 + s.nest_a.a[2][1]; + sum2 = sum2 + s.nest_a.nest_b.b[2][1]; - sum1 = sum1 + s.nest_a.a[2][2]; - sum2 = sum2 + s.nest_a.nest_b.b[2][2]; + sum1 = sum1 + s.nest_a.a[2][2]; + sum2 = sum2 + s.nest_a.nest_b.b[2][2]; - gl_FragColor = vec4( vec3( ( sum1 + sum2 )/ 778.0 ), 1.0); + gl_FragColor = vec4( vec3( ( sum1 + sum2 )/ 778.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat3_vert.vert index 23629a23d25..0c63e231d7c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat3_vert.vert @@ -29,46 +29,46 @@ varying vec4 color; struct nestb { - mat3 b; + mat3 b; }; struct nesta { - mat3 a; - nestb nest_b; + mat3 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta( mat3(11, 13, 29, 33, 63, 13, 49, 57, 71), nestb( mat3(12, 19, 79, 81, 35, 51, 73, 66, 23) ) ) ); - float sum1=0.0,sum2=0.0; + nest s = nest(nesta( mat3(11, 13, 29, 33, 63, 13, 49, 57, 71), nestb( mat3(12, 19, 79, 81, 35, 51, 73, 66, 23) ) ) ); + float sum1=0.0,sum2=0.0; - sum1 = sum1 + s.nest_a.a[0][0]; - sum2 = sum2 + s.nest_a.nest_b.b[0][0]; - sum1 = sum1 + s.nest_a.a[0][1]; - sum2 = sum2 + s.nest_a.nest_b.b[0][1]; - sum1 = sum1 + s.nest_a.a[0][2]; - sum2 = sum2 + s.nest_a.nest_b.b[0][2]; + sum1 = sum1 + s.nest_a.a[0][0]; + sum2 = sum2 + s.nest_a.nest_b.b[0][0]; + sum1 = sum1 + s.nest_a.a[0][1]; + sum2 = sum2 + s.nest_a.nest_b.b[0][1]; + sum1 = sum1 + s.nest_a.a[0][2]; + sum2 = sum2 + s.nest_a.nest_b.b[0][2]; - sum1 = sum1 + s.nest_a.a[1][0]; - sum2 = sum2 + s.nest_a.nest_b.b[1][0]; - sum1 = sum1 + s.nest_a.a[1][1]; - sum2 = sum2 + s.nest_a.nest_b.b[1][1]; - sum1 = sum1 + s.nest_a.a[1][2]; - sum2 = sum2 + s.nest_a.nest_b.b[1][2]; + sum1 = sum1 + s.nest_a.a[1][0]; + sum2 = sum2 + s.nest_a.nest_b.b[1][0]; + sum1 = sum1 + s.nest_a.a[1][1]; + sum2 = sum2 + s.nest_a.nest_b.b[1][1]; + sum1 = sum1 + s.nest_a.a[1][2]; + sum2 = sum2 + s.nest_a.nest_b.b[1][2]; - sum1 = sum1 + s.nest_a.a[2][0]; - sum2 = sum2 + s.nest_a.nest_b.b[2][0]; - sum1 = sum1 + s.nest_a.a[2][1]; - sum2 = sum2 + s.nest_a.nest_b.b[2][1]; - sum1 = sum1 + s.nest_a.a[2][2]; - sum2 = sum2 + s.nest_a.nest_b.b[2][2]; + sum1 = sum1 + s.nest_a.a[2][0]; + sum2 = sum2 + s.nest_a.nest_b.b[2][0]; + sum1 = sum1 + s.nest_a.a[2][1]; + sum2 = sum2 + s.nest_a.nest_b.b[2][1]; + sum1 = sum1 + s.nest_a.a[2][2]; + sum2 = sum2 + s.nest_a.nest_b.b[2][2]; - color = vec4( vec3( ( sum1 + sum2 )/ 778.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4( vec3( ( sum1 + sum2 )/ 778.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat4_frag.frag index 35dfd46db6d..03fb03c181b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat4_frag.frag @@ -28,73 +28,73 @@ precision mediump float; #endif struct nestb { - mat4 b; + mat4 b; }; struct nesta { - mat4 a; - nestb nest_b; + mat4 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta( mat4(11, 13, 29, 33, 63, 13, 49, 57, 71, 47, 91, 101, 167, 21, 39, 41), nestb( mat4(12, 19, 79, 81, 35, 51, 73, 66, 23, 134, 121, 156, 76, 23, 24, 78) ) ) ); - float sum1=0.0,sum2=0.0; - int i,j; + nest s = nest(nesta( mat4(11, 13, 29, 33, 63, 13, 49, 57, 71, 47, 91, 101, 167, 21, 39, 41), nestb( mat4(12, 19, 79, 81, 35, 51, 73, 66, 23, 134, 121, 156, 76, 23, 24, 78) ) ) ); + float sum1=0.0,sum2=0.0; + int i,j; - sum1 = sum1 + s.nest_a.a[0][0]; - sum2 = sum2 + s.nest_a.nest_b.b[0][0]; + sum1 = sum1 + s.nest_a.a[0][0]; + sum2 = sum2 + s.nest_a.nest_b.b[0][0]; - sum1 = sum1 + s.nest_a.a[0][1]; - sum2 = sum2 + s.nest_a.nest_b.b[0][1]; + sum1 = sum1 + s.nest_a.a[0][1]; + sum2 = sum2 + s.nest_a.nest_b.b[0][1]; - sum1 = sum1 + s.nest_a.a[0][2]; - sum2 = sum2 + s.nest_a.nest_b.b[0][2]; + sum1 = sum1 + s.nest_a.a[0][2]; + sum2 = sum2 + s.nest_a.nest_b.b[0][2]; - sum1 = sum1 + s.nest_a.a[0][3]; - sum2 = sum2 + s.nest_a.nest_b.b[0][3]; + sum1 = sum1 + s.nest_a.a[0][3]; + sum2 = sum2 + s.nest_a.nest_b.b[0][3]; - sum1 = sum1 + s.nest_a.a[1][0]; - sum2 = sum2 + s.nest_a.nest_b.b[1][0]; + sum1 = sum1 + s.nest_a.a[1][0]; + sum2 = sum2 + s.nest_a.nest_b.b[1][0]; - sum1 = sum1 + s.nest_a.a[1][1]; - sum2 = sum2 + s.nest_a.nest_b.b[1][1]; + sum1 = sum1 + s.nest_a.a[1][1]; + sum2 = sum2 + s.nest_a.nest_b.b[1][1]; - sum1 = sum1 + s.nest_a.a[1][2]; - sum2 = sum2 + s.nest_a.nest_b.b[1][2]; + sum1 = sum1 + s.nest_a.a[1][2]; + sum2 = sum2 + s.nest_a.nest_b.b[1][2]; - sum1 = sum1 + s.nest_a.a[1][3]; - sum2 = sum2 + s.nest_a.nest_b.b[1][3]; + sum1 = sum1 + s.nest_a.a[1][3]; + sum2 = sum2 + s.nest_a.nest_b.b[1][3]; - sum1 = sum1 + s.nest_a.a[2][0]; - sum2 = sum2 + s.nest_a.nest_b.b[2][0]; + sum1 = sum1 + s.nest_a.a[2][0]; + sum2 = sum2 + s.nest_a.nest_b.b[2][0]; - sum1 = sum1 + s.nest_a.a[2][1]; - sum2 = sum2 + s.nest_a.nest_b.b[2][1]; + sum1 = sum1 + s.nest_a.a[2][1]; + sum2 = sum2 + s.nest_a.nest_b.b[2][1]; - sum1 = sum1 + s.nest_a.a[2][2]; - sum2 = sum2 + s.nest_a.nest_b.b[2][2]; + sum1 = sum1 + s.nest_a.a[2][2]; + sum2 = sum2 + s.nest_a.nest_b.b[2][2]; - sum1 = sum1 + s.nest_a.a[2][3]; - sum2 = sum2 + s.nest_a.nest_b.b[2][3]; + sum1 = sum1 + s.nest_a.a[2][3]; + sum2 = sum2 + s.nest_a.nest_b.b[2][3]; - sum1 = sum1 + s.nest_a.a[3][0]; - sum2 = sum2 + s.nest_a.nest_b.b[3][0]; + sum1 = sum1 + s.nest_a.a[3][0]; + sum2 = sum2 + s.nest_a.nest_b.b[3][0]; - sum1 = sum1 + s.nest_a.a[3][1]; - sum2 = sum2 + s.nest_a.nest_b.b[3][1]; + sum1 = sum1 + s.nest_a.a[3][1]; + sum2 = sum2 + s.nest_a.nest_b.b[3][1]; - sum1 = sum1 + s.nest_a.a[3][2]; - sum2 = sum2 + s.nest_a.nest_b.b[3][2]; + sum1 = sum1 + s.nest_a.a[3][2]; + sum2 = sum2 + s.nest_a.nest_b.b[3][2]; - sum1 = sum1 + s.nest_a.a[3][3]; - sum2 = sum2 + s.nest_a.nest_b.b[3][3]; + sum1 = sum1 + s.nest_a.a[3][3]; + sum2 = sum2 + s.nest_a.nest_b.b[3][3]; - gl_FragColor = vec4( vec3( ( sum1 + sum2 )/ 1897.0 ), 1.0); + gl_FragColor = vec4( vec3( ( sum1 + sum2 )/ 1897.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat4_vert.vert index 037fcb6fd98..89ae396b6c4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_mat4_vert.vert @@ -29,61 +29,61 @@ varying vec4 color; struct nestb { - mat4 b; + mat4 b; }; struct nesta { - mat4 a; - nestb nest_b; + mat4 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta( mat4(11, 13, 29, 33, 63, 13, 49, 57, 71, 47, 91, 101, 167, 21, 39, 41), nestb( mat4(12, 19, 79, 81, 35, 51, 73, 66, 23, 134, 121, 156, 76, 23, 24, 78) ) ) ); - float sum1=0.0,sum2=0.0; + nest s = nest(nesta( mat4(11, 13, 29, 33, 63, 13, 49, 57, 71, 47, 91, 101, 167, 21, 39, 41), nestb( mat4(12, 19, 79, 81, 35, 51, 73, 66, 23, 134, 121, 156, 76, 23, 24, 78) ) ) ); + float sum1=0.0,sum2=0.0; - sum1 = sum1 + s.nest_a.a[0][0]; - sum2 = sum2 + s.nest_a.nest_b.b[0][0]; - sum1 = sum1 + s.nest_a.a[0][1]; - sum2 = sum2 + s.nest_a.nest_b.b[0][1]; - sum1 = sum1 + s.nest_a.a[0][2]; - sum2 = sum2 + s.nest_a.nest_b.b[0][2]; - sum1 = sum1 + s.nest_a.a[0][3]; - sum2 = sum2 + s.nest_a.nest_b.b[0][3]; + sum1 = sum1 + s.nest_a.a[0][0]; + sum2 = sum2 + s.nest_a.nest_b.b[0][0]; + sum1 = sum1 + s.nest_a.a[0][1]; + sum2 = sum2 + s.nest_a.nest_b.b[0][1]; + sum1 = sum1 + s.nest_a.a[0][2]; + sum2 = sum2 + s.nest_a.nest_b.b[0][2]; + sum1 = sum1 + s.nest_a.a[0][3]; + sum2 = sum2 + s.nest_a.nest_b.b[0][3]; - sum1 = sum1 + s.nest_a.a[1][0]; - sum2 = sum2 + s.nest_a.nest_b.b[1][0]; - sum1 = sum1 + s.nest_a.a[1][1]; - sum2 = sum2 + s.nest_a.nest_b.b[1][1]; - sum1 = sum1 + s.nest_a.a[1][2]; - sum2 = sum2 + s.nest_a.nest_b.b[1][2]; - sum1 = sum1 + s.nest_a.a[1][3]; - sum2 = sum2 + s.nest_a.nest_b.b[1][3]; + sum1 = sum1 + s.nest_a.a[1][0]; + sum2 = sum2 + s.nest_a.nest_b.b[1][0]; + sum1 = sum1 + s.nest_a.a[1][1]; + sum2 = sum2 + s.nest_a.nest_b.b[1][1]; + sum1 = sum1 + s.nest_a.a[1][2]; + sum2 = sum2 + s.nest_a.nest_b.b[1][2]; + sum1 = sum1 + s.nest_a.a[1][3]; + sum2 = sum2 + s.nest_a.nest_b.b[1][3]; - sum1 = sum1 + s.nest_a.a[2][0]; - sum2 = sum2 + s.nest_a.nest_b.b[2][0]; - sum1 = sum1 + s.nest_a.a[2][1]; - sum2 = sum2 + s.nest_a.nest_b.b[2][1]; - sum1 = sum1 + s.nest_a.a[2][2]; - sum2 = sum2 + s.nest_a.nest_b.b[2][2]; - sum1 = sum1 + s.nest_a.a[2][3]; - sum2 = sum2 + s.nest_a.nest_b.b[2][3]; + sum1 = sum1 + s.nest_a.a[2][0]; + sum2 = sum2 + s.nest_a.nest_b.b[2][0]; + sum1 = sum1 + s.nest_a.a[2][1]; + sum2 = sum2 + s.nest_a.nest_b.b[2][1]; + sum1 = sum1 + s.nest_a.a[2][2]; + sum2 = sum2 + s.nest_a.nest_b.b[2][2]; + sum1 = sum1 + s.nest_a.a[2][3]; + sum2 = sum2 + s.nest_a.nest_b.b[2][3]; - sum1 = sum1 + s.nest_a.a[3][0]; - sum2 = sum2 + s.nest_a.nest_b.b[3][0]; - sum1 = sum1 + s.nest_a.a[3][1]; - sum2 = sum2 + s.nest_a.nest_b.b[3][1]; - sum1 = sum1 + s.nest_a.a[3][2]; - sum2 = sum2 + s.nest_a.nest_b.b[3][2]; - sum1 = sum1 + s.nest_a.a[3][3]; - sum2 = sum2 + s.nest_a.nest_b.b[3][3]; + sum1 = sum1 + s.nest_a.a[3][0]; + sum2 = sum2 + s.nest_a.nest_b.b[3][0]; + sum1 = sum1 + s.nest_a.a[3][1]; + sum2 = sum2 + s.nest_a.nest_b.b[3][1]; + sum1 = sum1 + s.nest_a.a[3][2]; + sum2 = sum2 + s.nest_a.nest_b.b[3][2]; + sum1 = sum1 + s.nest_a.a[3][3]; + sum2 = sum2 + s.nest_a.nest_b.b[3][3]; - color = vec4( vec3( ( sum1 + sum2 )/ 1897.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4( vec3( ( sum1 + sum2 )/ 1897.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec2_frag.frag index ce406c86074..feff010e6c3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec2_frag.frag @@ -28,23 +28,23 @@ precision mediump float; #endif struct nestb { - vec2 b; + vec2 b; }; struct nesta { - vec2 a; - nestb nest_b; + vec2 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(vec2(11, 13), nestb(vec2(12, 19) ) ) ); + nest s = nest(nesta(vec2(11, 13), nestb(vec2(12, 19) ) ) ); - gl_FragColor = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] ) / 55.0 ), 1.0); + gl_FragColor = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] ) / 55.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec2_vert.vert index 8aef5dc3197..d9db7a3573f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec2_vert.vert @@ -29,23 +29,23 @@ varying vec4 color; struct nestb { - vec2 b; + vec2 b; }; struct nesta { - vec2 a; - nestb nest_b; + vec2 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(vec2(11, 13), nestb(vec2(12, 19) ) ) ); - color = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] ) / 55.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + nest s = nest(nesta(vec2(11, 13), nestb(vec2(12, 19) ) ) ); + color = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] ) / 55.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec3_frag.frag index 47a6476ae29..6f23082574b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec3_frag.frag @@ -28,22 +28,22 @@ precision mediump float; #endif struct nestb { - vec3 b; + vec3 b; }; struct nesta { - vec3 a; - nestb nest_b; + vec3 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(vec3(11, 13, 17), nestb(vec3(12, 19, 29) ) ) ); - gl_FragColor = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.a[2] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] + s.nest_a.nest_b.b[2]) / 101.0 ), 1.0); + nest s = nest(nesta(vec3(11, 13, 17), nestb(vec3(12, 19, 29) ) ) ); + gl_FragColor = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.a[2] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] + s.nest_a.nest_b.b[2]) / 101.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec3_vert.vert index b51d97fe834..b07d8f1fb16 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec3_vert.vert @@ -29,23 +29,23 @@ varying vec4 color; struct nestb { - vec3 b; + vec3 b; }; struct nesta { - vec3 a; - nestb nest_b; + vec3 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(vec3(11, 13, 17), nestb(vec3(12, 19, 29) ) ) ); - color = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.a[2] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] + s.nest_a.nest_b.b[2]) / 101.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + nest s = nest(nesta(vec3(11, 13, 17), nestb(vec3(12, 19, 29) ) ) ); + color = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.a[2] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] + s.nest_a.nest_b.b[2]) / 101.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec4_frag.frag index 9e901e4f5e7..0d365ea01e6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec4_frag.frag @@ -28,22 +28,22 @@ precision mediump float; #endif struct nestb { - vec4 b; + vec4 b; }; struct nesta { - vec4 a; - nestb nest_b; + vec4 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(vec4(11, 13, 17, 31), nestb(vec4(12, 19, 29, 69) ) ) ); - gl_FragColor = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.a[2] + s.nest_a.a[3] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] + s.nest_a.nest_b.b[2] + s.nest_a.nest_b.b[3]) / 201.0 ), 1.0); + nest s = nest(nesta(vec4(11, 13, 17, 31), nestb(vec4(12, 19, 29, 69) ) ) ); + gl_FragColor = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.a[2] + s.nest_a.a[3] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] + s.nest_a.nest_b.b[2] + s.nest_a.nest_b.b[3]) / 201.0 ), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec4_vert.vert index b553d629ccd..7dae13b129d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/struct/structnest_vec4_vert.vert @@ -29,23 +29,23 @@ varying vec4 color; struct nestb { - vec4 b; + vec4 b; }; struct nesta { - vec4 a; - nestb nest_b; + vec4 a; + nestb nest_b; }; struct nest { - nesta nest_a; + nesta nest_a; }; void main (void) { - nest s = nest(nesta(vec4(11, 13, 17, 31), nestb(vec4(12, 19, 29, 69) ) ) ); - color = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.a[2] + s.nest_a.a[3] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] + s.nest_a.nest_b.b[2] + s.nest_a.nest_b.b[3]) / 201.0 ), 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + nest s = nest(nesta(vec4(11, 13, 17, 31), nestb(vec4(12, 19, 29, 69) ) ) ); + color = vec4( vec3( (s.nest_a.a[0] + s.nest_a.a[1] + s.nest_a.a[2] + s.nest_a.a[3] + s.nest_a.nest_b.b[0] + s.nest_a.nest_b.b[1] + s.nest_a.nest_b.b[2] + s.nest_a.nest_b.b[3]) / 201.0 ), 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html index 82421dd13b3..022d14cab70 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html index 3ad71920d34..b4894c019ee 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html index 902f4018742..76e6a9a97e6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_017_to_024.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html index d5333ae4f47..6a38d1f9e33 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_025_to_032.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html index 67d3f1220a8..27b9a25bd09 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_033_to_040.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html index 11d2c59562f..02586662570 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_041_to_048.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html index 8d1cf828895..e0953edc174 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_049_to_056.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html index d9f8d55befa..6932dca5693 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_057_to_064.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html index 54f63483165..8687c5dbde5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_065_to_072.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html index 066102bf67f..5df7f6e3bfe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_073_to_080.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html index feb44c4246e..f2705dd6559 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_081_to_088.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html index 6680b526de3..7f4e8ffbd31 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_089_to_096.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html index b9a2be4011f..44ad2ab8a82 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_097_to_104.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html index 2822db4e6bf..27f01167c48 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_105_to_112.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html index 6ef654514f3..23528dea2a7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: swizzlers_113_to_120.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_frag.frag index 904f37f63fd..ad4c2503097 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.rgb; - vec3 t = m.bgr; - vec4 a = vec4(t.b, t.g, t.r ,al.a); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.rgb; + vec3 t = m.bgr; + vec4 a = vec4(t.b, t.g, t.r ,al.a); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_vert.vert index c6d2db2dc34..b4caea0eeb6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_bgr_1vec3_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.rgb; - vec3 t = m.bgr; - vec4 a = vec4(t.b, t.g, t.r, lightloc.a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.rgb; + vec3 t = m.bgr; + vec4 a = vec4(t.b, t.g, t.r, lightloc.a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_frag.frag index 5c42f38268b..6b878fddbea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.rgb; - float k = m.g; - vec2 n = m.br; - vec4 a = vec4(n.g, k, n.r, al.a); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.rgb; + float k = m.g; + vec2 n = m.br; + vec4 a = vec4(n.g, k, n.r, al.a); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_vert.vert index 859f9a30d3e..615ad13e2d1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_br_g_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.rgb; - vec2 t = m.br; - float k = m.g; - vec4 a = vec4(t.g, k, t.r, lightloc.a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.rgb; + vec2 t = m.br; + float k = m.g; + vec4 a = vec4(t.g, k, t.r, lightloc.a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_frag.frag index b70dd07ed2a..c0d2fb496ba 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.rgb; - float k = m.r; - vec2 n = m.gb; - vec4 a = vec4(k, n.r, n.g, al.a); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.rgb; + float k = m.r; + vec2 n = m.gb; + vec4 a = vec4(k, n.r, n.g, al.a); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_vert.vert index b839fa04674..99ea09fc418 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_gb_r_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.rgb; - vec2 t = m.gb; - float k = m.r; - vec4 a = vec4(k, t.r, t.g, lightloc.a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.rgb; + vec2 t = m.gb; + float k = m.r; + vec4 a = vec4(k, t.r, t.g, lightloc.a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_grb_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_grb_1vec3_frag.frag index c83e4edfa4a..d0fd4432f11 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_grb_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_grb_1vec3_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.rgb; - vec3 t = m.grb; - vec4 a = vec4(t.g, t.r, t.b ,al.a); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.rgb; + vec3 t = m.grb; + vec4 a = vec4(t.g, t.r, t.b ,al.a); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_grb_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_grb_1vec3_vert.vert index aa05b1c0de5..1b87fd8424b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_grb_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_grb_1vec3_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.rgb; - vec3 t = m.grb; - vec4 a = vec4(t.g, t.r, t.b, lightloc.a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.rgb; + vec3 t = m.grb; + vec4 a = vec4(t.g, t.r, t.b, lightloc.a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_frag.frag index 4d068c812d8..b1af38f61e2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.stp; - float k = m.t; - vec2 n = m.ps; - vec4 a = vec4(n.t, k, n.s, al.q); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.stp; + float k = m.t; + vec2 n = m.ps; + vec4 a = vec4(n.t, k, n.s, al.q); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_vert.vert index 06f239c637e..9ad785edab4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_ps_t_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.stp; - vec2 t = m.ps; - float k = m.t; - vec4 a = vec4(t.t, k, t.s, lightloc.q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.stp; + vec2 t = m.ps; + float k = m.t; + vec4 a = vec4(t.t, k, t.s, lightloc.q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_pts_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_pts_1vec3_frag.frag index 38fa95bbb79..e32c444ca3a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_pts_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_pts_1vec3_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.stp; - vec3 t = m.pts; - vec4 a = vec4(t.p, t.t, t.s ,al.q); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.stp; + vec3 t = m.pts; + vec4 a = vec4(t.p, t.t, t.s ,al.q); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_pts_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_pts_1vec3_vert.vert index 1ee3ee5c705..56dd2a5fdb4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_pts_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_pts_1vec3_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.stp; - vec3 t = m.pts; - vec4 a = vec4(t.p, t.t, t.s, lightloc.q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.stp; + vec3 t = m.pts; + vec4 a = vec4(t.p, t.t, t.s, lightloc.q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_frag.frag index 793bbdaf31f..f3a5db36f20 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.rgb; - float k = m.g; - vec2 n = m.rb; - vec4 a = vec4(n.r, k, n.g, al.a); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.rgb; + float k = m.g; + vec2 n = m.rb; + vec4 a = vec4(n.r, k, n.g, al.a); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_vert.vert index ba783a0e23e..eba6b333724 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rb_g_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.rgb; - vec2 t = m.rb; - float k = m.g; - vec4 a = vec4(t.r, k, t.g, lightloc.a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.rgb; + vec2 t = m.rb; + float k = m.g; + vec4 a = vec4(t.r, k, t.g, lightloc.a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_frag.frag index d7dc421eda3..a7765ae5295 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.rgb; - float k = m.b; - vec2 n = m.rg; - vec4 a = vec4(n, k, al.a); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.rgb; + float k = m.b; + vec2 n = m.rg; + vec4 a = vec4(n, k, al.a); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_vert.vert index 4cb156c760b..ff44c4bd3a8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rg_b_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.rgb; - vec2 t = m.rg; - float k = m.b; - vec4 a = vec4(t, k, lightloc.a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.rgb; + vec2 t = m.rg; + float k = m.b; + vec4 a = vec4(t, k, lightloc.a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_frag.frag index 4f1562090f1..16ca1bf55f0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.rgb; - vec4 a = vec4(m.rgb,al.a); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.rgb; + vec4 a = vec4(m.rgb,al.a); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_vert.vert index 18a3cb6d753..3cbb049d620 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_rgb_1vec3_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.rgb; - vec4 a = vec4(m.rgb,lightloc.a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.rgb; + vec4 a = vec4(m.rgb,lightloc.a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_frag.frag index 6b44706bbc9..1246e9f9adc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.stp; - float k = m.t; - vec2 n = m.sp; - vec4 a = vec4(n.s, k, n.t, al.q); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.stp; + float k = m.t; + vec2 n = m.sp; + vec4 a = vec4(n.s, k, n.t, al.q); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_vert.vert index b1eac1be120..4f3327c746f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_sp_t_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.stp; - vec2 t = m.sp; - float k = m.t; - vec4 a = vec4(t.s, k, t.t, lightloc.q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.stp; + vec2 t = m.sp; + float k = m.t; + vec4 a = vec4(t.s, k, t.t, lightloc.q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_frag.frag index 45b3521258a..73a9a27c50a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.stp; - float k = m.p; - vec2 n = m.st; - vec4 a = vec4(n, k, al.q); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.stp; + float k = m.p; + vec2 n = m.st; + vec4 a = vec4(n, k, al.q); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_vert.vert index c89dafaf67b..240354816a3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_st_p_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.stp; - vec2 t = m.st; - float k = m.p; - vec4 a = vec4(t, k, lightloc.q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.stp; + vec2 t = m.st; + float k = m.p; + vec4 a = vec4(t, k, lightloc.q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_stp_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_stp_1vec3_frag.frag index 4aac757c40f..6a96f44ecec 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_stp_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_stp_1vec3_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.stp; - vec4 a = vec4(m.stp,al.q); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.stp; + vec4 a = vec4(m.stp,al.q); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_stp_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_stp_1vec3_vert.vert index 528cf1249a7..985e8f29894 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_stp_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_stp_1vec3_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.stp; - vec4 a = vec4(m.stp,lightloc.q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.stp; + vec4 a = vec4(m.stp,lightloc.q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_frag.frag index 22687bb5181..86912c02292 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.stp; - float k = m.s; - vec2 n = m.tp; - vec4 a = vec4(k, n.s, n.t, al.q); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.stp; + float k = m.s; + vec2 n = m.tp; + vec4 a = vec4(k, n.s, n.t, al.q); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_vert.vert index 3e67fca45e7..c6f48a25fc0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tp_s_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.stp; - vec2 t = m.tp; - float k = m.s; - vec4 a = vec4(k, t.s, t.t, lightloc.q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.stp; + vec2 t = m.tp; + float k = m.s; + vec4 a = vec4(k, t.s, t.t, lightloc.q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_frag.frag index 5a79a309ee3..672cfa9392e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.stp; - vec3 t = m.tsp; - vec4 a = vec4(t.t, t.s, t.p ,al.q); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.stp; + vec3 t = m.tsp; + vec4 a = vec4(t.t, t.s, t.p ,al.q); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_vert.vert index 2c0ad2fdb6a..0a031f39510 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_tsp_1vec3_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.stp; - vec3 t = m.tsp; - vec4 a = vec4(t.t, t.s, t.p, lightloc.q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.stp; + vec3 t = m.tsp; + vec4 a = vec4(t.t, t.s, t.p, lightloc.q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_frag.frag index f6af58942ca..ac820d26517 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.xyz; - float k = m.z; - vec2 n = m.xy; - vec4 a = vec4(n, k, al.w); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.xyz; + float k = m.z; + vec2 n = m.xy; + vec4 a = vec4(n, k, al.w); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_vert.vert index 9ea95691487..03451256c0d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xy_z_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.xyz; - vec2 t = m.xy; - float k = m.z; - vec4 a = vec4(t, k, lightloc.w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.xyz; + vec2 t = m.xy; + float k = m.z; + vec4 a = vec4(t, k, lightloc.w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_frag.frag index 674e1a100d0..011e0572efb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.xyz; - vec4 a = vec4(m.xyz,al.w); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.xyz; + vec4 a = vec4(m.xyz,al.w); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_vert.vert index da7ef1ecd7e..ab46b50ff70 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xyz_1vec3_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.xyz; - vec4 a = vec4(m.xyz,lightloc.w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.xyz; + vec4 a = vec4(m.xyz,lightloc.w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_frag.frag index 82170b2bbbf..58b59deca38 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.xyz; - float k = m.y; - vec2 n = m.xz; - vec4 a = vec4(n.x, k, n.y, al.w); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.xyz; + float k = m.y; + vec2 n = m.xz; + vec4 a = vec4(n.x, k, n.y, al.w); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_vert.vert index c9f266fbcc7..d747725f332 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_xz_y_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.xyz; - vec2 t = m.xz; - float k = m.y; - vec4 a = vec4(t.x, k, t.y, lightloc.w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.xyz; + vec2 t = m.xz; + float k = m.y; + vec4 a = vec4(t.x, k, t.y, lightloc.w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_frag.frag index 5797ea35ff5..2141bf3003b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.xyz; - vec3 t = m.yxz; - vec4 a = vec4(t.y, t.x, t.z ,al.w); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.xyz; + vec3 t = m.yxz; + vec4 a = vec4(t.y, t.x, t.z ,al.w); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_vert.vert index 52b7e881286..ebe9e6e63d7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yxz_1vec3_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.xyz; - vec3 t = m.yxz; - vec4 a = vec4(t.y, t.x, t.z, lightloc.w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.xyz; + vec3 t = m.yxz; + vec4 a = vec4(t.y, t.x, t.z, lightloc.w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_frag.frag index 4e9ab94ab6c..92a8bd4fe94 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.xyz; - float k = m.x; - vec2 n = m.yz; - vec4 a = vec4(k, n.x, n.y, al.w); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.xyz; + float k = m.x; + vec2 n = m.yz; + vec4 a = vec4(k, n.x, n.y, al.w); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_vert.vert index e7ab588c1c3..4e43c5be23a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_yz_x_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.xyz; - vec2 t = m.yz; - float k = m.x; - vec4 a = vec4(k, t.x, t.y, lightloc.w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.xyz; + vec2 t = m.yz; + float k = m.x; + vec4 a = vec4(k, t.x, t.y, lightloc.w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_frag.frag index cfbf0b162e2..f3ff8238992 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_frag.frag @@ -29,10 +29,10 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.xyz; - float k = m.y; - vec2 n = m.zx; - vec4 a = vec4(n.y, k, n.x, al.w); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.xyz; + float k = m.y; + vec2 n = m.zx; + vec4 a = vec4(n.y, k, n.x, al.w); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_vert.vert index 18140bb0ccf..121ca1f670c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zx_y_1vec2_1float_vert.vert @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.xyz; - vec2 t = m.zx; - float k = m.y; - vec4 a = vec4(t.y, k, t.x, lightloc.w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.xyz; + vec2 t = m.zx; + float k = m.y; + vec4 a = vec4(t.y, k, t.x, lightloc.w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_frag.frag index ebfd7617407..e3679559281 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.xyz; - vec3 t = m.zyx; - vec4 a = vec4(t.z, t.y, t.x ,al.w); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.xyz; + vec3 t = m.zyx; + vec4 a = vec4(t.z, t.y, t.x ,al.w); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_vert.vert index 5ad7348180a..aa1f2e2d1b6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec3_zyx_1vec3_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.xyz; - vec3 t = m.zyx; - vec4 a = vec4(t.z, t.y, t.x, lightloc.w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.xyz; + vec3 t = m.zyx; + vec4 a = vec4(t.z, t.y, t.x, lightloc.w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_frag.frag index e42011c292f..9588e402040 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.ar; - vec2 n = al.bg; - vec4 a = vec4(m.g, n.g, n.r, m.r); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.ar; + vec2 n = al.bg; + vec4 a = vec4(m.g, n.g, n.r, m.r); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_vert.vert index 9e584820a8e..4994e10937c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ar_bg_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.ar; - vec2 n = lightloc.bg; - vec4 a = vec4(m.g, n.g, n.r, m.r); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.ar; + vec2 n = lightloc.bg; + vec4 a = vec4(m.g, n.g, n.r, m.r); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_frag.frag index aa96f9d3068..c3b91a5f858 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.arb; - float g = al.g; - vec4 a = vec4(m.g, g, m.b, m.r); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.arb; + float g = al.g; + vec4 a = vec4(m.g, g, m.b, m.r); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_vert.vert index e957f3638c2..fe1e74fed26 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arb_g_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.arb; - float g = lightloc.g; - vec4 a = vec4(m.g, g, m.b, m.r); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.arb; + float g = lightloc.g; + vec4 a = vec4(m.g, g, m.b, m.r); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_frag.frag index 79a497d7c29..0f78a88847f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.arbg; - vec4 a = vec4(m.g, m.a, m.b, m.r); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.arbg; + vec4 a = vec4(m.g, m.a, m.b, m.r); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_vert.vert index dfadb88459a..e384b19ca2d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_arbg_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.arbg; - vec4 a = vec4(m.g, m.a, m.b, m.r); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.arbg; + vec4 a = vec4(m.g, m.a, m.b, m.r); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_frag.frag index 5bd6abff315..0111f494e39 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.bar; - float g = al.g; - vec4 a = vec4(m.b, g, m.r, m.g); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.bar; + float g = al.g; + vec4 a = vec4(m.b, g, m.r, m.g); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_vert.vert index 6c805639251..ab8b2b2dc18 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_bar_g_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.bar; - float g = lightloc.g; - vec4 a = vec4(m.b, g, m.r, m.g); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.bar; + float g = lightloc.g; + vec4 a = vec4(m.b, g, m.r, m.g); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_barg_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_barg_1vec4_frag.frag index b504a29d242..2569183a38a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_barg_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_barg_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.barg; - vec4 a = vec4(m.b, m.a, m.r, m.g); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.barg; + vec4 a = vec4(m.b, m.a, m.r, m.g); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_barg_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_barg_1vec4_vert.vert index a87174130bc..2142720d48f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_barg_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_barg_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.barg; - vec4 a = vec4(m.b, m.a, m.r, m.g); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.barg; + vec4 a = vec4(m.b, m.a, m.r, m.g); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_frag.frag index a43e9838da9..ab9e05c0b7b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.br; - vec2 n = al.ag; - vec4 a = vec4(m.g, n.g, m.r, n.r); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.br; + vec2 n = al.ag; + vec4 a = vec4(m.g, n.g, m.r, n.r); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_vert.vert index 719fcbedc25..c181e0c0c91 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_br_ag_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.br; - vec2 n = lightloc.ag; - vec4 a = vec4(m.g, n.g, m.r, n.r); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.br; + vec2 n = lightloc.ag; + vec4 a = vec4(m.g, n.g, m.r, n.r); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_frag.frag index 8bd20ec2e5d..b1462af6e68 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.gr; - vec2 n = al.ab; - vec4 a = vec4(m.g, m.r, n.g, n.r); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.gr; + vec2 n = al.ab; + vec4 a = vec4(m.g, m.r, n.g, n.r); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_vert.vert index b513ee51e92..bb3993f1b78 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gr_ab_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.gr; - vec2 n = lightloc.ab; - vec4 a = vec4(m.g, m.r, n.g, n.r); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.gr; + vec2 n = lightloc.ab; + vec4 a = vec4(m.g, m.r, n.g, n.r); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_frag.frag index 48c1680aa32..3388c78fa3c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.gra; - float b = al.b; - vec4 a = vec4(m.g, m.r, b, m.b); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.gra; + float b = al.b; + vec4 a = vec4(m.g, m.r, b, m.b); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_vert.vert index 96f0f593ea3..1ec63ed7510 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_gra_b_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.gra; - float b = lightloc.b; - vec4 a = vec4(m.g, m.r, b, m.b); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.gra; + float b = lightloc.b; + vec4 a = vec4(m.g, m.r, b, m.b); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_grab_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_grab_1vec4_frag.frag index 3b68ac528c3..f8d4f33c18f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_grab_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_grab_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.grab; - vec4 a = vec4(m.g, m.r, m.a, m.b); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.grab; + vec4 a = vec4(m.g, m.r, m.a, m.b); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_grab_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_grab_1vec4_vert.vert index 4b55bd6c679..85f8d0c7563 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_grab_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_grab_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.grab; - vec4 a = vec4(m.g, m.r, m.a, m.b); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.grab; + vec4 a = vec4(m.g, m.r, m.a, m.b); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_frag.frag index c9917378504..84fe428ee8b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.pqs; - float t = al.t; - vec4 a = vec4(m.p, t, m.s, m.t); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.pqs; + float t = al.t; + vec4 a = vec4(m.p, t, m.s, m.t); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_vert.vert index b23f17642f1..1fa79b24bbe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqs_t_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.pqs; - float t = lightloc.t; - vec4 a = vec4(m.p, t, m.s, m.t); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.pqs; + float t = lightloc.t; + vec4 a = vec4(m.p, t, m.s, m.t); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_frag.frag index ca953e890d0..04cdf35363e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.pqst; - vec4 a = vec4(m.p, m.q, m.s, m.t); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.pqst; + vec4 a = vec4(m.p, m.q, m.s, m.t); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_vert.vert index e01a4edecc6..1a4d502a4d7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_pqst_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.pqst; - vec4 a = vec4(m.p, m.q, m.s, m.t); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.pqst; + vec4 a = vec4(m.p, m.q, m.s, m.t); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_frag.frag index 3c1dcf434db..2f932a49af7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.ps; - vec2 n = al.qt; - vec4 a = vec4(m.t, n.t, m.s, n.s); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.ps; + vec2 n = al.qt; + vec4 a = vec4(m.t, n.t, m.s, n.s); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_vert.vert index 636d9f19f73..7b6f4394d8a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ps_qt_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.ps; - vec2 n = lightloc.qt; - vec4 a = vec4(m.t, n.t, m.s, n.s); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.ps; + vec2 n = lightloc.qt; + vec4 a = vec4(m.t, n.t, m.s, n.s); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_frag.frag index 6ab917e12fa..e5d725eec60 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.qs; - vec2 n = al.pt; - vec4 a = vec4(m.t, n.t, n.s, m.s); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.qs; + vec2 n = al.pt; + vec4 a = vec4(m.t, n.t, n.s, m.s); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_vert.vert index 314ebf8535a..0f36642aca0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qs_pt_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.qs; - vec2 n = lightloc.pt; - vec4 a = vec4(m.t, n.t, n.s, m.s); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.qs; + vec2 n = lightloc.pt; + vec4 a = vec4(m.t, n.t, n.s, m.s); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_frag.frag index ff1c69b09bd..8649155b86d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.qsp; - float t = al.t; - vec4 a = vec4(m.t, t, m.p, m.s); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.qsp; + float t = al.t; + vec4 a = vec4(m.t, t, m.p, m.s); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_vert.vert index cc9477074cd..cdf2a3934af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qsp_t_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.qsp; - float t = lightloc.t; - vec4 a = vec4(m.t, t, m.p, m.s); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.qsp; + float t = lightloc.t; + vec4 a = vec4(m.t, t, m.p, m.s); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_frag.frag index e98da284309..7c7ab1ca36e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.qspt; - vec4 a = vec4(m.t, m.q, m.p, m.s); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.qspt; + vec4 a = vec4(m.t, m.q, m.p, m.s); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_vert.vert index 831e3db6c22..dec21c445de 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_qspt_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.qspt; - vec4 a = vec4(m.t, m.q, m.p, m.s); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.qspt; + vec4 a = vec4(m.t, m.q, m.p, m.s); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_frag.frag index 80a65804cf8..1f6ba05dbf4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_frag.frag @@ -29,11 +29,11 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - float r = al.r; - float g = al.g; - float b = al.b; - float a = al.a; - vec4 m = vec4(r,g,b,a); - gl_FragColor = m; + vec4 al = color; + float r = al.r; + float g = al.g; + float b = al.b; + float a = al.a; + vec4 m = vec4(r,g,b,a); + gl_FragColor = m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_vert.vert index 2caa2a6ae73..bd69ccbe2ea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_r_g_b_a_4float_vert.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - float r = lightloc.r; - float g = lightloc.g; - float b = lightloc.b; - float a = lightloc.a; - vec4 m = vec4(r, g, b, a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * m; + vec4 lightloc = gtf_Vertex; + float r = lightloc.r; + float g = lightloc.g; + float b = lightloc.b; + float a = lightloc.a; + vec4 m = vec4(r, g, b, a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_frag.frag index 2ebfe00f25d..7483c92f1ee 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.rg; - vec2 n = al.ba; - vec4 a = vec4(m,n); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.rg; + vec2 n = al.ba; + vec4 a = vec4(m,n); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_vert.vert index 386d0363fbe..1b1fa0e2593 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rg_ba_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.rg; - vec2 n = lightloc.ba; - vec4 a = vec4(m,n); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.rg; + vec2 n = lightloc.ba; + vec4 a = vec4(m,n); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_frag.frag index 91e1a820d06..91f88ab550f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.rgb; - float a = al.a; - vec4 b = vec4(m, a); - gl_FragColor = b; + vec4 al = color; + vec3 m = al.rgb; + float a = al.a; + vec4 b = vec4(m, a); + gl_FragColor = b; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_vert.vert index 8ebd84f72d5..68e1a75b962 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgb_a_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.rgb; - float a = lightloc.a; - vec4 b = vec4(m, a); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * b; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.rgb; + float a = lightloc.a; + vec4 b = vec4(m, a); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * b; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_frag.frag index 99bdaba5448..a470f51cce4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_frag.frag @@ -29,7 +29,7 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.rgba; - gl_FragColor = m; + vec4 al = color; + vec4 m = al.rgba; + gl_FragColor = m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_vert.vert index 951332de813..adf605add96 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_rgba_1vec4_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.rgba; - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * m; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.rgba; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_frag.frag index 5b5788c255f..b848511c3be 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_frag.frag @@ -29,11 +29,11 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - float s = al.s; - float t = al.t; - float p = al.p; - float q = al.q; - vec4 m = vec4(s,t,p,q); - gl_FragColor = m; + vec4 al = color; + float s = al.s; + float t = al.t; + float p = al.p; + float q = al.q; + vec4 m = vec4(s,t,p,q); + gl_FragColor = m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_vert.vert index d1dcb69e4c7..689d7d5e7db 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_s_t_p_q_4float_vert.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - float s = lightloc.s; - float t = lightloc.t; - float p = lightloc.p; - float q = lightloc.q; - vec4 m = vec4(s, t, p, q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * m; + vec4 lightloc = gtf_Vertex; + float s = lightloc.s; + float t = lightloc.t; + float p = lightloc.p; + float q = lightloc.q; + vec4 m = vec4(s, t, p, q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_frag.frag index ad5b7ab81c6..5d600a2cfab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.st; - vec2 n = al.pq; - vec4 a = vec4(m,n); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.st; + vec2 n = al.pq; + vec4 a = vec4(m,n); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_vert.vert index de28603ef10..9c57a8d5da4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_st_pq_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.st; - vec2 n = lightloc.pq; - vec4 a = vec4(m,n); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.st; + vec2 n = lightloc.pq; + vec4 a = vec4(m,n); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_frag.frag index 0f18279c3bc..c709061a525 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.stp; - float q = al.q; - vec4 a = vec4(m, q); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.stp; + float q = al.q; + vec4 a = vec4(m, q); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_vert.vert index 350307f5478..93316f4ebdc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stp_q_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.stp; - float q = lightloc.q; - vec4 a = vec4(m, q); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.stp; + float q = lightloc.q; + vec4 a = vec4(m, q); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_frag.frag index 6e083748011..c97bf22073d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_frag.frag @@ -29,7 +29,7 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.stpq; - gl_FragColor = m; + vec4 al = color; + vec4 m = al.stpq; + gl_FragColor = m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_vert.vert index c37ab831c9a..e8496216389 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_stpq_1vec4_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.stpq; - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * m; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.stpq; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_frag.frag index aef088ad521..45b472c1090 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.ts; - vec2 n = al.qp; - vec4 a = vec4(m.t, m.s, n.t, n.s); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.ts; + vec2 n = al.qp; + vec4 a = vec4(m.t, m.s, n.t, n.s); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_vert.vert index f3b1ead75c8..d433805fd58 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_ts_qp_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.ts; - vec2 n = lightloc.qp; - vec4 a = vec4(m.t, m.s, n.t, n.s); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.ts; + vec2 n = lightloc.qp; + vec4 a = vec4(m.t, m.s, n.t, n.s); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_frag.frag index 581d9f71d4e..b78c8e49e3a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.tsq; - float p = al.p; - vec4 a = vec4(m.t, m.s, p, m.p); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.tsq; + float p = al.p; + vec4 a = vec4(m.t, m.s, p, m.p); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_vert.vert index 2ea520f698d..c30c6aa9529 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsq_p_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.tsq; - float p = lightloc.p; - vec4 a = vec4(m.t, m.s, p, m.p); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.tsq; + float p = lightloc.p; + vec4 a = vec4(m.t, m.s, p, m.p); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_frag.frag index e5396dd9c96..cad5fab2c3d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.tsqp; - vec4 a = vec4(m.t, m.s, m.q, m.p); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.tsqp; + vec4 a = vec4(m.t, m.s, m.q, m.p); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_vert.vert index 7c441b18ebc..7296ff0ae9a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_tsqp_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.tsqp; - vec4 a = vec4(m.t, m.s, m.q, m.p); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.tsqp; + vec4 a = vec4(m.t, m.s, m.q, m.p); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_frag.frag index 0ad485aae80..2c23493b67b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.wx; - vec2 n = al.zy; - vec4 a = vec4(m.y, n.y, n.x, m.x); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.wx; + vec2 n = al.zy; + vec4 a = vec4(m.y, n.y, n.x, m.x); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_vert.vert index 64555ff3ce9..dd3af2d9f86 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wx_zy_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.wx; - vec2 n = lightloc.zy; - vec4 a = vec4(m.y, n.y, n.x, m.x); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.wx; + vec2 n = lightloc.zy; + vec4 a = vec4(m.y, n.y, n.x, m.x); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_frag.frag index d545e4f8392..d0856d99a96 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.wxz; - float y = al.y; - vec4 a = vec4(m.y, y, m.z, m.x); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.wxz; + float y = al.y; + vec4 a = vec4(m.y, y, m.z, m.x); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_vert.vert index 0947d0e14fe..3229f29aab7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxz_y_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.wxz; - float y = lightloc.y; - vec4 a = vec4(m.y, y, m.z, m.x); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.wxz; + float y = lightloc.y; + vec4 a = vec4(m.y, y, m.z, m.x); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_frag.frag index a519c224a9b..500a03fcb98 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.wxzy; - vec4 a = vec4(m.y, m.w, m.z, m.x); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.wxzy; + vec4 a = vec4(m.y, m.w, m.z, m.x); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_vert.vert index fda1510f271..147c13482ca 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_wxzy_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.wxzy; - vec4 a = vec4(m.y, m.w, m.z, m.x); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.wxzy; + vec4 a = vec4(m.y, m.w, m.z, m.x); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_frag.frag index 616ce284174..8b807bfd243 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_frag.frag @@ -29,11 +29,11 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - float x = al.x; - float y = al.y; - float z = al.z; - float w = al.w; - vec4 m = vec4(x,y,z,w); - gl_FragColor = m; + vec4 al = color; + float x = al.x; + float y = al.y; + float z = al.z; + float w = al.w; + vec4 m = vec4(x,y,z,w); + gl_FragColor = m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_vert.vert index 2543c3d5e6f..1b70abe6dca 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_x_y_z_w_4float_vert.vert @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - float x = lightloc.x; - float y = lightloc.y; - float z = lightloc.z; - float w = lightloc.w; - vec4 m = vec4(x, y, z, w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * m; + vec4 lightloc = gtf_Vertex; + float x = lightloc.x; + float y = lightloc.y; + float z = lightloc.z; + float w = lightloc.w; + vec4 m = vec4(x, y, z, w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_frag.frag index 41fa50244a5..89e6c8d0dc0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.xy; - vec2 n = al.zw; - vec4 a = vec4(m,n); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.xy; + vec2 n = al.zw; + vec4 a = vec4(m,n); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_vert.vert index 34d130a828f..b0b7c276c57 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xy_zw_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.xy; - vec2 n = lightloc.zw; - vec4 a = vec4(m,n); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.xy; + vec2 n = lightloc.zw; + vec4 a = vec4(m,n); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_frag.frag index 01743837d5e..37be342cf75 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.xyz; - float w = al.w; - vec4 a = vec4(m, w); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.xyz; + float w = al.w; + vec4 a = vec4(m, w); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_vert.vert index 3767b27f079..8ae968d1840 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyz_w_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.xyz; - float w = lightloc.w; - vec4 a = vec4(m, w); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.xyz; + float w = lightloc.w; + vec4 a = vec4(m, w); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_frag.frag index 9bb3c7eb895..4fc638f249f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_frag.frag @@ -29,7 +29,7 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.xyzw; - gl_FragColor = m; + vec4 al = color; + vec4 m = al.xyzw; + gl_FragColor = m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_vert.vert index ba7ac54d9ad..71b245113d4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_xyzw_1vec4_vert.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.xyzw; - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * m; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.xyzw; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * m; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_frag.frag index 364ac8ad4fe..403a9110a85 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.yx; - vec2 n = al.wz; - vec4 a = vec4(m.y, m.x, n.y, n.x); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.yx; + vec2 n = al.wz; + vec4 a = vec4(m.y, m.x, n.y, n.x); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_vert.vert index e56967dd280..0d05df10109 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yx_wz_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.yx; - vec2 n = lightloc.wz; - vec4 a = vec4(m.y, m.x, n.y, n.x); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.yx; + vec2 n = lightloc.wz; + vec4 a = vec4(m.y, m.x, n.y, n.x); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_frag.frag index 83dc4a3d729..07757ff1a98 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.yxw; - float z = al.z; - vec4 a = vec4(m.y, m.x, z, m.z); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.yxw; + float z = al.z; + vec4 a = vec4(m.y, m.x, z, m.z); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_vert.vert index 7cce9237b6d..00f5f2e7e84 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxw_z_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.yxw; - float z = lightloc.z; - vec4 a = vec4(m.y, m.x, z, m.z); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.yxw; + float z = lightloc.z; + vec4 a = vec4(m.y, m.x, z, m.z); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_frag.frag index 1c04fc45b20..9e49edde780 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.yxwz; - vec4 a = vec4(m.y, m.x, m.w, m.z); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.yxwz; + vec4 a = vec4(m.y, m.x, m.w, m.z); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_vert.vert index fee29117f31..99bf91c1ee9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_yxwz_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.yxwz; - vec4 a = vec4(m.y, m.x, m.w, m.z); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.yxwz; + vec4 a = vec4(m.y, m.x, m.w, m.z); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_frag.frag index 8153bdadb03..d67d7b1387c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec3 m = al.zwx; - float y = al.y; - vec4 a = vec4(m.z, y, m.x, m.y); - gl_FragColor = a; + vec4 al = color; + vec3 m = al.zwx; + float y = al.y; + vec4 a = vec4(m.z, y, m.x, m.y); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_vert.vert index 50b379eef17..9bb3028ebc6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwx_y_1vec3_1float_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec3 m = lightloc.zwx; - float y = lightloc.y; - vec4 a = vec4(m.z, y, m.x, m.y); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec3 m = lightloc.zwx; + float y = lightloc.y; + vec4 a = vec4(m.z, y, m.x, m.y); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_frag.frag index 50bbfd21683..6af3719cbe8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_frag.frag @@ -29,8 +29,8 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec4 m = al.zwxy; - vec4 a = vec4(m.z, m.w, m.x, m.y); - gl_FragColor = a; + vec4 al = color; + vec4 m = al.zwxy; + vec4 a = vec4(m.z, m.w, m.x, m.y); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_vert.vert index 5ca0bd85fa1..106077653f5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zwxy_1vec4_vert.vert @@ -30,9 +30,9 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec4 m = lightloc.zwxy; - vec4 a = vec4(m.z, m.w, m.x, m.y); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec4 m = lightloc.zwxy; + vec4 a = vec4(m.z, m.w, m.x, m.y); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_frag.frag index e23254f88f6..059d5dcd042 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_frag.frag @@ -29,9 +29,9 @@ precision mediump float; varying vec4 color; void main (void) { - vec4 al = color; - vec2 m = al.zx; - vec2 n = al.wy; - vec4 a = vec4(m.y, n.y, m.x, n.x); - gl_FragColor = a; + vec4 al = color; + vec2 m = al.zx; + vec2 n = al.wy; + vec4 a = vec4(m.y, n.y, m.x, n.x); + gl_FragColor = a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_vert.vert index 5856cd12c5a..ff8513507e2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/swizzlers/vec4_zx_wy_2vec2_vert.vert @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec4 lightloc = gtf_Vertex; - vec2 m = lightloc.zx; - vec2 n = lightloc.wy; - vec4 a = vec4(m.y, n.y, m.x, n.x); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * a; + vec4 lightloc = gtf_Vertex; + vec2 m = lightloc.zx; + vec2 n = lightloc.wy; + vec4 a = vec4(m.y, n.y, m.x, n.x); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * a; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_001_to_006.html b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_001_to_006.html index bef02d1d4d8..0d8b1d70a87 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_001_to_006.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_001_to_006.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: tan_001_to_006.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_frag_xvary.frag index d8b1787574c..f5c02d0457a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_frag_xvary.frag @@ -30,13 +30,13 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 0.5 * M_PI * 2.0 * (color.r - 0.5); - float o; + const float M_PI = 3.14159265358979323846; + float c = 0.5 * M_PI * 2.0 * (color.r - 0.5); + float o; - if(abs(c) < 0.5) // -45..45 - o = 0.5 * tan(c) + 0.5; - else // 45..90, -45..-90 - o = 0.5 / tan(c) + 0.5; - gl_FragColor = vec4(o, 0.0, 0.0, 1.0); + if(abs(c) < 0.5) // -45..45 + o = 0.5 * tan(c) + 0.5; + else // 45..90, -45..-90 + o = 0.5 / tan(c) + 0.5; + gl_FragColor = vec4(o, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_frag_xvary_ref.frag index 0ea301ee323..65a820e13eb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_frag_xvary_ref.frag @@ -30,12 +30,12 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 0.5 * M_PI * 2.0 * (color.r - 0.5); - float o; - if(abs(c) < 0.5) // -45..45 - o = 0.5 * (sin(c) / cos(c)) + 0.5; - else // 45..90, -45..-90 - o = 0.5 * (cos(c) / sin(c)) + 0.5; - gl_FragColor = vec4(o, 0.0, 0.0, 1.0); + const float M_PI = 3.14159265358979323846; + float c = 0.5 * M_PI * 2.0 * (color.r - 0.5); + float o; + if(abs(c) < 0.5) // -45..45 + o = 0.5 * (sin(c) / cos(c)) + 0.5; + else // 45..90, -45..-90 + o = 0.5 * (cos(c) / sin(c)) + 0.5; + gl_FragColor = vec4(o, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_vert_xvary.vert index 4cbf683dc89..501b5725fe8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_vert_xvary.vert @@ -30,14 +30,14 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 0.5 * M_PI * 2.0 * (gtf_Color.r - 0.5); - float o; + const float M_PI = 3.14159265358979323846; + float c = 0.5 * M_PI * 2.0 * (gtf_Color.r - 0.5); + float o; - if(abs(c) < 0.5) // -45..45 - o = 0.5 * tan(c) + 0.5; - else // 45..90, -45..-90 - o = 0.5 / tan(c) + 0.5; - color = vec4(o, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if(abs(c) < 0.5) // -45..45 + o = 0.5 * tan(c) + 0.5; + else // 45..90, -45..-90 + o = 0.5 / tan(c) + 0.5; + color = vec4(o, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_vert_xvary_ref.vert index fa38fb1f290..97cd3cca258 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_float_vert_xvary_ref.vert @@ -30,13 +30,13 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - float c = 0.5 * M_PI * 2.0 * (gtf_Color.r - 0.5); - float o; - if(abs(c) < 0.5) // -45..45 - o = 0.5 * (sin(c) / cos(c)) + 0.5; - else // 45..90, -45..-90 - o = 0.5 * (cos(c) / sin(c)) + 0.5; - color = vec4(o, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + const float M_PI = 3.14159265358979323846; + float c = 0.5 * M_PI * 2.0 * (gtf_Color.r - 0.5); + float o; + if(abs(c) < 0.5) // -45..45 + o = 0.5 * (sin(c) / cos(c)) + 0.5; + else // 45..90, -45..-90 + o = 0.5 * (cos(c) / sin(c)) + 0.5; + color = vec4(o, 0.0, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_frag_xvary.frag index 4291ce92725..759e622e95e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_frag_xvary.frag @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 0.5 * M_PI * 2.0 * (color.rg - 0.5); - vec2 o; - if(abs(c.r) < 0.5) // -45..45 - o.r = 0.5 * tan(c.r) + 0.5; - else // 45..90, -45..-90 - o.r = 0.5 / tan(c.r) + 0.5; + const float M_PI = 3.14159265358979323846; + vec2 c = 0.5 * M_PI * 2.0 * (color.rg - 0.5); + vec2 o; + if(abs(c.r) < 0.5) // -45..45 + o.r = 0.5 * tan(c.r) + 0.5; + else // 45..90, -45..-90 + o.r = 0.5 / tan(c.r) + 0.5; - if(abs(c.g) < 0.5) // -45..45 - o.g = 0.5 * tan(c.g) + 0.5; - else // 45..90, -45..-90 - o.g = 0.5 / tan(c.g) + 0.5; + if(abs(c.g) < 0.5) // -45..45 + o.g = 0.5 * tan(c.g) + 0.5; + else // 45..90, -45..-90 + o.g = 0.5 / tan(c.g) + 0.5; - gl_FragColor = vec4(o, 0.0, 1.0); + gl_FragColor = vec4(o, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_frag_xvary_ref.frag index 1cec3170ef0..0b427094bdd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_frag_xvary_ref.frag @@ -30,18 +30,18 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 0.5 * M_PI * 2.0 * (color.rg - 0.5); - vec2 o; - if(abs(c.r) < 0.5) // -45..45 - o.r = 0.5 * (sin(c.r) / cos(c.r)) + 0.5; - else // 45..90, -45..-90 - o.r = 0.5 * (cos(c.r) / sin(c.r)) + 0.5; + const float M_PI = 3.14159265358979323846; + vec2 c = 0.5 * M_PI * 2.0 * (color.rg - 0.5); + vec2 o; + if(abs(c.r) < 0.5) // -45..45 + o.r = 0.5 * (sin(c.r) / cos(c.r)) + 0.5; + else // 45..90, -45..-90 + o.r = 0.5 * (cos(c.r) / sin(c.r)) + 0.5; - if(abs(c.g) < 0.5) // -45..45 - o.g = 0.5 * (sin(c.g) / cos(c.g)) + 0.5; - else // 45..90, -45..-90 - o.g = 0.5 * (cos(c.g) / sin(c.g)) + 0.5; + if(abs(c.g) < 0.5) // -45..45 + o.g = 0.5 * (sin(c.g) / cos(c.g)) + 0.5; + else // 45..90, -45..-90 + o.g = 0.5 * (cos(c.g) / sin(c.g)) + 0.5; - gl_FragColor = vec4(o, 0.0, 1.0); + gl_FragColor = vec4(o, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_vert_xvary.vert index 67fd15d11aa..9bb1d5b0fdb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_vert_xvary.vert @@ -30,19 +30,19 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 0.5 * M_PI * 2.0 * (gtf_Color.rg - 0.5); - vec2 o; - if(abs(c.r) < 0.5) // -45..45 - o.r = 0.5 * tan(c.r) + 0.5; - else // 45..90, -45..-90 - o.r = 0.5 / tan(c.r) + 0.5; + const float M_PI = 3.14159265358979323846; + vec2 c = 0.5 * M_PI * 2.0 * (gtf_Color.rg - 0.5); + vec2 o; + if(abs(c.r) < 0.5) // -45..45 + o.r = 0.5 * tan(c.r) + 0.5; + else // 45..90, -45..-90 + o.r = 0.5 / tan(c.r) + 0.5; - if(abs(c.g) < 0.5) // -45..45 - o.g = 0.5 * tan(c.g) + 0.5; - else // 45..90, -45..-90 - o.g = 0.5 / tan(c.g) + 0.5; + if(abs(c.g) < 0.5) // -45..45 + o.g = 0.5 * tan(c.g) + 0.5; + else // 45..90, -45..-90 + o.g = 0.5 / tan(c.g) + 0.5; - color = vec4(o, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(o, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_vert_xvary_ref.vert index 00ad75c1e9a..fdd63bc2e6d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec2_vert_xvary_ref.vert @@ -30,19 +30,19 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec2 c = 0.5 * M_PI * 2.0 * (gtf_Color.rg - 0.5); - vec2 o; - if(abs(c.r) < 0.5) // -45..45 - o.r = 0.5 * (sin(c.r) / cos(c.r)) + 0.5; - else // 45..90, -45..-90 - o.r = 0.5 * (cos(c.r) / sin(c.r)) + 0.5; + const float M_PI = 3.14159265358979323846; + vec2 c = 0.5 * M_PI * 2.0 * (gtf_Color.rg - 0.5); + vec2 o; + if(abs(c.r) < 0.5) // -45..45 + o.r = 0.5 * (sin(c.r) / cos(c.r)) + 0.5; + else // 45..90, -45..-90 + o.r = 0.5 * (cos(c.r) / sin(c.r)) + 0.5; - if(abs(c.g) < 0.5) // -45..45 - o.g = 0.5 * (sin(c.g) / cos(c.g)) + 0.5; - else // 45..90, -45..-90 - o.g = 0.5 * (cos(c.g) / sin(c.g)) + 0.5; + if(abs(c.g) < 0.5) // -45..45 + o.g = 0.5 * (sin(c.g) / cos(c.g)) + 0.5; + else // 45..90, -45..-90 + o.g = 0.5 * (cos(c.g) / sin(c.g)) + 0.5; - color = vec4(o, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(o, 0.0, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_frag_xvary.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_frag_xvary.frag index d4002a139d8..5e442b591a9 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_frag_xvary.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_frag_xvary.frag @@ -30,23 +30,23 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 0.5 * M_PI * 2.0 * (color.rgb - 0.5); - vec3 o; - if(abs(c.r) < 0.5) // -45..45 - o.r = 0.5 * tan(c.r) + 0.5; - else // 45..90, -45..-90 - o.r = 0.5 / tan(c.r) + 0.5; + const float M_PI = 3.14159265358979323846; + vec3 c = 0.5 * M_PI * 2.0 * (color.rgb - 0.5); + vec3 o; + if(abs(c.r) < 0.5) // -45..45 + o.r = 0.5 * tan(c.r) + 0.5; + else // 45..90, -45..-90 + o.r = 0.5 / tan(c.r) + 0.5; - if(abs(c.g) < 0.5) // -45..45 - o.g = 0.5 * tan(c.g) + 0.5; - else // 45..90, -45..-90 - o.g = 0.5 / tan(c.g) + 0.5; + if(abs(c.g) < 0.5) // -45..45 + o.g = 0.5 * tan(c.g) + 0.5; + else // 45..90, -45..-90 + o.g = 0.5 / tan(c.g) + 0.5; - if(abs(c.b) < 0.5) // -45..45 - o.b = 0.5 * tan(c.b) + 0.5; - else // 45..90, -45..-90 - o.b = 0.5 / tan(c.b) + 0.5; + if(abs(c.b) < 0.5) // -45..45 + o.b = 0.5 * tan(c.b) + 0.5; + else // 45..90, -45..-90 + o.b = 0.5 / tan(c.b) + 0.5; - gl_FragColor = vec4(o, 1.0); + gl_FragColor = vec4(o, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_frag_xvary_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_frag_xvary_ref.frag index 19deb191598..09d152b2518 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_frag_xvary_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_frag_xvary_ref.frag @@ -30,23 +30,23 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 0.5 * M_PI * 2.0 * (color.rgb - 0.5); - vec3 o; - if(abs(c.r) < 0.5) // -45..45 - o.r = 0.5 * (sin(c.r) / cos(c.r)) + 0.5; - else // 45..90, -45..-90 - o.r = 0.5 * (cos(c.r) / sin(c.r)) + 0.5; + const float M_PI = 3.14159265358979323846; + vec3 c = 0.5 * M_PI * 2.0 * (color.rgb - 0.5); + vec3 o; + if(abs(c.r) < 0.5) // -45..45 + o.r = 0.5 * (sin(c.r) / cos(c.r)) + 0.5; + else // 45..90, -45..-90 + o.r = 0.5 * (cos(c.r) / sin(c.r)) + 0.5; - if(abs(c.g) < 0.5) // -45..45 - o.g = 0.5 * (sin(c.g) / cos(c.g)) + 0.5; - else // 45..90, -45..-90 - o.g = 0.5 * (cos(c.g) / sin(c.g)) + 0.5; + if(abs(c.g) < 0.5) // -45..45 + o.g = 0.5 * (sin(c.g) / cos(c.g)) + 0.5; + else // 45..90, -45..-90 + o.g = 0.5 * (cos(c.g) / sin(c.g)) + 0.5; - if(abs(c.b) < 0.5) // -45..45 - o.b = 0.5 * (sin(c.b) / cos(c.b)) + 0.5; - else // 45..90, -45..-90 - o.b = 0.5 * (cos(c.b) / sin(c.b)) + 0.5; + if(abs(c.b) < 0.5) // -45..45 + o.b = 0.5 * (sin(c.b) / cos(c.b)) + 0.5; + else // 45..90, -45..-90 + o.b = 0.5 * (cos(c.b) / sin(c.b)) + 0.5; - gl_FragColor = vec4(o, 1.0); + gl_FragColor = vec4(o, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_vert_xvary.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_vert_xvary.vert index 375549ff46d..66929bae675 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_vert_xvary.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_vert_xvary.vert @@ -30,24 +30,24 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 0.5 * M_PI * 2.0 * (gtf_Color.rgb - 0.5); - vec3 o; - if(abs(c.r) < 0.5) // -45..45 - o.r = 0.5 * tan(c.r) + 0.5; - else // 45..90, -45..-90 - o.r = 0.5 / tan(c.r) + 0.5; + const float M_PI = 3.14159265358979323846; + vec3 c = 0.5 * M_PI * 2.0 * (gtf_Color.rgb - 0.5); + vec3 o; + if(abs(c.r) < 0.5) // -45..45 + o.r = 0.5 * tan(c.r) + 0.5; + else // 45..90, -45..-90 + o.r = 0.5 / tan(c.r) + 0.5; - if(abs(c.g) < 0.5) // -45..45 - o.g = 0.5 * tan(c.g) + 0.5; - else // 45..90, -45..-90 - o.g = 0.5 / tan(c.g) + 0.5; + if(abs(c.g) < 0.5) // -45..45 + o.g = 0.5 * tan(c.g) + 0.5; + else // 45..90, -45..-90 + o.g = 0.5 / tan(c.g) + 0.5; - if(abs(c.b) < 0.5) // -45..45 - o.b = 0.5 * tan(c.b) + 0.5; - else // 45..90, -45..-90 - o.b = 0.5 / tan(c.b) + 0.5; + if(abs(c.b) < 0.5) // -45..45 + o.b = 0.5 * tan(c.b) + 0.5; + else // 45..90, -45..-90 + o.b = 0.5 / tan(c.b) + 0.5; - color = vec4(o, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(o, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_vert_xvary_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_vert_xvary_ref.vert index 53e10c04b0a..fd99616bac6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_vert_xvary_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/tan/tan_vec3_vert_xvary_ref.vert @@ -30,24 +30,24 @@ varying vec4 color; void main (void) { - const float M_PI = 3.14159265358979323846; - vec3 c = 0.5 * M_PI * 2.0 * (gtf_Color.rgb - 0.5); - vec3 o; - if(abs(c.r) < 0.5) // -45..45 - o.r = 0.5 * (sin(c.r) / cos(c.r)) + 0.5; - else // 45..90, -45..-90 - o.r = 0.5 * (cos(c.r) / sin(c.r)) + 0.5; + const float M_PI = 3.14159265358979323846; + vec3 c = 0.5 * M_PI * 2.0 * (gtf_Color.rgb - 0.5); + vec3 o; + if(abs(c.r) < 0.5) // -45..45 + o.r = 0.5 * (sin(c.r) / cos(c.r)) + 0.5; + else // 45..90, -45..-90 + o.r = 0.5 * (cos(c.r) / sin(c.r)) + 0.5; - if(abs(c.g) < 0.5) // -45..45 - o.g = 0.5 * (sin(c.g) / cos(c.g)) + 0.5; - else // 45..90, -45..-90 - o.g = 0.5 * (cos(c.g) / sin(c.g)) + 0.5; + if(abs(c.g) < 0.5) // -45..45 + o.g = 0.5 * (sin(c.g) / cos(c.g)) + 0.5; + else // 45..90, -45..-90 + o.g = 0.5 * (cos(c.g) / sin(c.g)) + 0.5; - if(abs(c.b) < 0.5) // -45..45 - o.b = 0.5 * (sin(c.b) / cos(c.b)) + 0.5; - else // 45..90, -45..-90 - o.b = 0.5 * (cos(c.b) / sin(c.b)) + 0.5; + if(abs(c.b) < 0.5) // -45..45 + o.b = 0.5 * (sin(c.b) / cos(c.b)) + 0.5; + else // 45..90, -45..-90 + o.b = 0.5 * (cos(c.b) / sin(c.b)) + 0.5; - color = vec4(o, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(o, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/bvec4_2int_2float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/bvec4_2int_2float_frag.frag index 27b4aa1de37..91f6ba06950 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/bvec4_2int_2float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/bvec4_2int_2float_frag.frag @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - bvec4 a = bvec4(0, 23, 0.0, 23.0); - float gray; - if( (a[0] == false) && (a[1] == true) && (a[2] == false) && (a[3] == true) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + bvec4 a = bvec4(0, 23, 0.0, 23.0); + float gray; + if( (a[0] == false) && (a[1] == true) && (a[2] == false) && (a[3] == true) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/bvec4_2int_2float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/bvec4_2int_2float_vert.vert index e9ad4f444f4..9a672e0ef73 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/bvec4_2int_2float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/bvec4_2int_2float_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - bvec4 a = bvec4(0, 23, 0.0, 23.0); - float gray; - if( (a[0] == false) && (a[1] == true) && (a[2] == false) && (a[3] == true) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + bvec4 a = bvec4(0, 23, 0.0, 23.0); + float gray; + if( (a[0] == false) && (a[1] == true) && (a[2] == false) && (a[3] == true) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/ivec3_3int_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/ivec3_3int_frag.frag index fbe878e2140..a603bad89cb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/ivec3_3int_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/ivec3_3int_frag.frag @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - ivec3 a = ivec3(20, 13, 17); - float gray; - if( (a[0] == 20) && (a[1] == 13) && (a[2] == 17) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + ivec3 a = ivec3(20, 13, 17); + float gray; + if( (a[0] == 20) && (a[1] == 13) && (a[2] == 17) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/ivec3_3int_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/ivec3_3int_vert.vert index ced476a5b83..81d0b3701ff 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/ivec3_3int_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/ivec3_3int_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - ivec3 a = ivec3(20, 13, 17); - float gray; - if( (a[0] == 20) && (a[1] == 13) && (a[2] == 17) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + ivec3 a = ivec3(20, 13, 17); + float gray; + if( (a[0] == 20) && (a[1] == 13) && (a[2] == 17) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_2float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_2float_frag.frag index 138f4bd5a88..d2b17980a70 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_2float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_2float_frag.frag @@ -30,10 +30,10 @@ varying vec4 color; void main (void) { - vec2 a = vec2(13.0,53.0); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + vec2 a = vec2(13.0,53.0); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_2float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_2float_vert.vert index 8d7cff9392f..0a1854c8129 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_2float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_2float_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - vec2 a = vec2(13.0,53.0); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 a = vec2(13.0,53.0); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_vec3_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_vec3_frag.frag index aa553d87ef8..6dae4e49bd1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_vec3_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_vec3_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec3 b = vec3(13.0, 53.0, 139.0); - vec2 a = vec2(b); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + vec3 b = vec3(13.0, 53.0, 139.0); + vec2 a = vec2(b); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_vec3_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_vec3_vert.vert index 4425357ee06..b0be5bb6f25 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_vec3_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec2_vec3_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - vec3 b = vec3(13.0, 53.0, 139.0); - vec2 a = vec2(b); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 b = vec3(13.0, 53.0, 139.0); + vec2 a = vec2(b); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_float_vec2_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_float_vec2_frag.frag index 8e150996862..50f3b951b9c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_float_vec2_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_float_vec2_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec2 b = vec2(53.0, 139.0); - vec3 a = vec3(13.0, b); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + vec2 b = vec2(53.0, 139.0); + vec3 a = vec3(13.0, b); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_float_vec2_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_float_vec2_vert.vert index 8ec60c166bb..cb6dbca18ff 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_float_vec2_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_float_vec2_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - vec2 b = vec2(53.0, 139.0); - vec3 a = vec3(13.0, b); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 b = vec2(53.0, 139.0); + vec3 a = vec3(13.0, b); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec2_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec2_float_frag.frag index e51890bb252..d093aa29fdd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec2_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec2_float_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec2 b = vec2(13.0, 53.0); - vec3 a = vec3(b, 139.0); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + vec2 b = vec2(13.0, 53.0); + vec3 a = vec3(b, 139.0); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec2_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec2_float_vert.vert index af4463f059d..21da106893c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec2_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec2_float_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - vec2 b = vec2(13.0, 53.0); - vec3 a = vec3(b,139.0); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec2 b = vec2(13.0, 53.0); + vec3 a = vec3(b,139.0); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec4_frag.frag index 9a2573416d2..b0c8e3b6cfe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec4_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec4 b = vec4(13.0, 53.0, 139.0, 217.0); - vec3 a = vec3(b); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + vec4 b = vec4(13.0, 53.0, 139.0, 217.0); + vec3 a = vec3(b); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec4_vert.vert index 4f2d19bc1d5..60e3e4d79a3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec3_vec4_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - vec4 b = vec4(13.0, 53.0, 139.0, 217.0); - vec3 a = vec3(b); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 b = vec4(13.0, 53.0, 139.0, 217.0); + vec3 a = vec3(b); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_ivec4_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_ivec4_frag.frag index 616c784b26e..15ce47066dc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_ivec4_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_ivec4_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - ivec4 init = ivec4(2,3,5,9); - vec4 a = vec4(init); - float gray; - if( (a[0] == 2.0) && (a[1] == 3.0) && (a[2] == 5.0) && (a[3] == 9.0) ) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + ivec4 init = ivec4(2,3,5,9); + vec4 a = vec4(init); + float gray; + if( (a[0] == 2.0) && (a[1] == 3.0) && (a[2] == 5.0) && (a[3] == 9.0) ) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_ivec4_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_ivec4_vert.vert index 4d7876a8f89..510fd123a32 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_ivec4_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_ivec4_vert.vert @@ -29,13 +29,13 @@ varying vec4 color; void main (void) { - ivec4 init = ivec4(2,3,5,9); - vec4 a = vec4(init); - float gray; - if( (a[0] == 2.0) && (a[1] == 3.0) && (a[2] == 5.0) && (a[3] == 9.0) ) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + ivec4 init = ivec4(2,3,5,9); + vec4 a = vec4(init); + float gray; + if( (a[0] == 2.0) && (a[1] == 3.0) && (a[2] == 5.0) && (a[3] == 9.0) ) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_vec3_float_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_vec3_float_frag.frag index 96929536717..6e330f797af 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_vec3_float_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_vec3_float_frag.frag @@ -30,11 +30,11 @@ varying vec4 color; void main (void) { - vec3 b = vec3(13.0, 53.0, 139.0); - vec4 a = vec4(b, 217.0); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) && (a[3] == 217.0)) - gray=1.0; - else gray=0.0; - gl_FragColor = vec4(gray, gray, gray, 1.0); + vec3 b = vec3(13.0, 53.0, 139.0); + vec4 a = vec4(b, 217.0); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) && (a[3] == 217.0)) + gray=1.0; + else gray=0.0; + gl_FragColor = vec4(gray, gray, gray, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_vec3_float_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_vec3_float_vert.vert index 8d1c4a0f950..3ad46ce59d8 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_vec3_float_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec4_vec3_float_vert.vert @@ -29,12 +29,12 @@ varying vec4 color; void main (void) { - vec3 b = vec3(13.0, 53.0, 139.0); - vec4 a = vec4(b, 217.0); - float gray; - if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) && (a[3] == 217.0)) - gray=1.0; - else gray=0.0; - color = vec4(gray, gray, gray, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec3 b = vec3(13.0, 53.0, 139.0); + vec4 a = vec4(b, 217.0); + float gray; + if( (a[0] == 13.0) && (a[1] == 53.0) && (a[2] == 139.0) && (a[3] == 217.0)) + gray=1.0; + else gray=0.0; + color = vec4(gray, gray, gray, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_001_to_008.html index 1bc3cd6c34a..5f55e732176 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: vec_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_009_to_016.html b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_009_to_016.html index 4e81d4cff92..d8573af715c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_009_to_016.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_009_to_016.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: vec_009_to_016.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_017_to_018.html b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_017_to_018.html index 6fd7f05dfc1..0b4c05e4309 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_017_to_018.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec/vec_017_to_018.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: vec_017_to_018.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec3/vec3_001_to_008.html b/tests/wpt/webgl/tests/conformance/ogles/GL/vec3/vec3_001_to_008.html index 776df70f05f..b88ba393ff6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec3/vec3_001_to_008.html +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec3/vec3_001_to_008.html @@ -30,11 +30,11 @@ WebGL GLSL conformance test: vec3_001_to_008.html - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL/vec3/vec3arrayindirect_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL/vec3/vec3arrayindirect_frag.frag index 2f884a20184..7e6e26e49c4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL/vec3/vec3arrayindirect_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL/vec3/vec3arrayindirect_frag.frag @@ -41,15 +41,15 @@ void main(void) gl_FragColor = vec4(0.0); - /* - // No indirect indexing in fragment shaders + /* + // No indirect indexing in fragment shaders for (i = 0; i < 2; i++) { gl_FragColor += vec4(lightPosition[i], 0.0); } - */ - gl_FragColor += vec4(lightPosition[0], 0.0); - gl_FragColor += vec4(lightPosition[1], 0.0); + */ + gl_FragColor += vec4(lightPosition[0], 0.0); + gl_FragColor += vec4(lightPosition[1], 0.0); gl_FragColor /= 2.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.frag index 8711f9fba19..dc65a5a7183 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.frag @@ -32,5 +32,5 @@ varying vec4 gtf_TexCoord[1]; void main (void) { - gl_FragColor = color * texture2D(gtf_Texture0, gtf_TexCoord[0].xy); + gl_FragColor = color * texture2D(gtf_Texture0, gtf_TexCoord[0].xy); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.vert index aa4a0fc57f2..16a2c2a72b6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/compressed_paletted_texture/compressed_paletted_texture.vert @@ -32,7 +32,7 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gtf_TexCoord[0] = gtf_MultiTexCoord0; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = gtf_Color; + gtf_TexCoord[0] = gtf_MultiTexCoord0; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.frag index 410d2051b30..e605bf75854 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.frag @@ -32,14 +32,14 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 // This fragment shader computes an image representation of the derivative of // sine. The derivative of sine is cosine. This shader's output is compared to // the reference shader that computes an image representation of cosine -// directly. +// directly. uniform float viewportwidth; uniform float viewportheight; @@ -48,21 +48,21 @@ varying vec2 vertXY; void main (void) { - const float M_PI = 3.14159265358979323846; - float sine; - float cosine; + const float M_PI = 3.14159265358979323846; + float sine; + float cosine; #ifdef GL_OES_standard_derivatives - sine = sin(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI)); - cosine = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * dFdx(sine)); + sine = sin(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI)); + cosine = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * dFdx(sine)); #else - cosine = 0.5; + cosine = 0.5; #endif - if( gl_FragCoord.x < SAFETY_BOUND ) - { + if( gl_FragCoord.x < SAFETY_BOUND ) + { gl_FragColor = vec4(cosine, cosine, cosine, 1.0); - } - else discard; + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.vert index 45621b7622b..19f17bd5edc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag.vert @@ -30,7 +30,7 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.frag index 80aa8c3e391..6cae5b9557d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.frag @@ -32,7 +32,7 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 @@ -43,19 +43,19 @@ varying vec2 vertXY; void main (void) { - const float M_PI = 3.14159265358979323846; - float cosine; + const float M_PI = 3.14159265358979323846; + float cosine; - if( gl_FragCoord.x < SAFETY_BOUND ) - { - // horizontal cosine wave with a period of 128 pixels + if( gl_FragCoord.x < SAFETY_BOUND ) + { + // horizontal cosine wave with a period of 128 pixels #ifdef GL_OES_standard_derivatives - cosine = REDUCE_RANGE(cos(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI))); + cosine = REDUCE_RANGE(cos(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI))); #else - cosine = 0.5; + cosine = 0.5; #endif - gl_FragColor = vec4(cosine, cosine, cosine, 1.0); - } - else discard; + gl_FragColor = vec4(cosine, cosine, cosine, 1.0); + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.vert index 45621b7622b..19f17bd5edc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdx/dFdx_frag_ref.vert @@ -30,7 +30,7 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.frag index 427d31552e5..dfeb3db7c15 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.frag @@ -32,14 +32,14 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 // This fragment shader computes an image representation of the derivative of // sine. The derivative of sine is cosine. This shader's output is compared to // the reference shader that computes an image representation of cosine -// directly. +// directly. uniform float viewportwidth; uniform float viewportheight; @@ -48,21 +48,21 @@ varying vec2 vertXY; void main (void) { - const float M_PI = 3.14159265358979323846; - float sine; - float cosine; + const float M_PI = 3.14159265358979323846; + float sine; + float cosine; #ifdef GL_OES_standard_derivatives - sine = sin(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI)); - cosine = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * dFdy(sine)); + sine = sin(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI)); + cosine = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * dFdy(sine)); #else cosine = 0.5; #endif - if( gl_FragCoord.y < SAFETY_BOUND ) - { - gl_FragColor = vec4(cosine, cosine, cosine, 1.0); - } - else discard; + if( gl_FragCoord.y < SAFETY_BOUND ) + { + gl_FragColor = vec4(cosine, cosine, cosine, 1.0); + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.vert index dd1378f46c3..a373ce62499 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag.vert @@ -30,8 +30,8 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.frag index c988b0e07b4..1036de45551 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.frag @@ -32,7 +32,7 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 @@ -43,20 +43,22 @@ varying vec2 vertXY; void main (void) { - const float M_PI = 3.14159265358979323846; - float cosine; + const float M_PI = 3.14159265358979323846; + float cosine; - if( gl_FragCoord.y < SAFETY_BOUND ) - { - // vertical cosine wave with a period of 128 pixels + if( gl_FragCoord.y < SAFETY_BOUND ) + { + // vertical cosine wave with a period of 128 pixels #ifdef GL_OES_standard_derivatives - cosine = REDUCE_RANGE(cos(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI))); + cosine = REDUCE_RANGE(cos(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI))); #else cosine = 0.5; #endif - gl_FragColor = vec4(cosine, cosine, cosine, 1.0); - } - else discard; + gl_FragColor = vec4(cosine, cosine, cosine, 1.0); + } + else discard; } + + diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.vert index dd1378f46c3..a373ce62499 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/dFdy/dFdy_frag_ref.vert @@ -30,8 +30,8 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default.frag index 90478e8490b..e9d460fb20c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default.vert index 15ce4de99ac..4cb92aa773d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default.vert @@ -30,8 +30,8 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = 1.0; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.frag index bf905fab9b1..8db3c6954f7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.frag @@ -32,5 +32,5 @@ varying vec4 gtf_TexCoord[1]; void main (void) { - gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].xy); + gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].xy); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.vert index 56e028240b7..1b5b7831a46 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/default_shaders/default_textured.vert @@ -32,8 +32,8 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gtf_TexCoord[0] = gtf_MultiTexCoord0; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = 1.0; + color = gtf_Color; + gtf_TexCoord[0] = gtf_MultiTexCoord0; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.frag index 3c59847835a..cae6f567444 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.frag @@ -32,7 +32,7 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 @@ -44,22 +44,22 @@ uniform float viewportheight; void main (void) { - const float M_PI = 3.14159265358979323846; - float func; - float funcfwidth; + const float M_PI = 3.14159265358979323846; + float func; + float funcfwidth; #ifdef GL_OES_standard_derivatives - // fwidth of average of horizontal and vertical sine waves with periods of 128 pixels, scaled to go from -1 to +1 - func = 0.5 * (sin(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI)) + sin(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI))); - funcfwidth = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * fwidth(func)); + // fwidth of average of horizontal and vertical sine waves with periods of 128 pixels, scaled to go from -1 to +1 + func = 0.5 * (sin(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI)) + sin(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI))); + funcfwidth = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * fwidth(func)); #else funcfwidth = 0.5; #endif - if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) - { - gl_FragColor = vec4(funcfwidth, funcfwidth, funcfwidth, 1.0); - } - else discard; + if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) + { + gl_FragColor = vec4(funcfwidth, funcfwidth, funcfwidth, 1.0); + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.vert index 45621b7622b..19f17bd5edc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag.vert @@ -30,7 +30,7 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.frag index 83a198d553d..023f07111a1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.frag @@ -33,7 +33,7 @@ precision mediump float; #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 @@ -44,22 +44,22 @@ uniform float viewportheight; void main (void) { - const float M_PI = 3.14159265358979323846; - float cosine; - float sine; + const float M_PI = 3.14159265358979323846; + float cosine; + float sine; #ifdef GL_OES_standard_derivatives - // fwidth of horizontal sine wave with a period of 128 pixels, scaled to go from -1 to +1 - sine = sin(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI)); - cosine = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * fwidth(sine)); + // fwidth of horizontal sine wave with a period of 128 pixels, scaled to go from -1 to +1 + sine = sin(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI)); + cosine = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * fwidth(sine)); #else cosine = 0.5; #endif - if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) - { - gl_FragColor = vec4(cosine, cosine, cosine, 1.0); - } - else discard; + if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) + { + gl_FragColor = vec4(cosine, cosine, cosine, 1.0); + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.vert index 45621b7622b..19f17bd5edc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dx.vert @@ -30,7 +30,7 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.frag index ff4dda6eb63..24e6be01333 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.frag @@ -32,7 +32,7 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 @@ -44,22 +44,22 @@ uniform float viewportheight; void main (void) { - const float M_PI = 3.14159265358979323846; - float cosine; - float sine; + const float M_PI = 3.14159265358979323846; + float cosine; + float sine; #ifdef GL_OES_standard_derivatives - // fwidth of vertical sine wave with a period of 128 pixels, scaled to go from -1 to +1 - sine = sin(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI)); - cosine = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * fwidth(sine)); + // fwidth of vertical sine wave with a period of 128 pixels, scaled to go from -1 to +1 + sine = sin(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI)); + cosine = REDUCE_RANGE((128.0 / (2.0 * M_PI)) * fwidth(sine)); #else cosine = 0.5; #endif - if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) - { - gl_FragColor = vec4(cosine, cosine, cosine, 1.0); - } - else discard; + if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) + { + gl_FragColor = vec4(cosine, cosine, cosine, 1.0); + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.vert index 45621b7622b..19f17bd5edc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_dy.vert @@ -30,7 +30,7 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.frag index 26e1b40416f..6dc825a7865 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.frag @@ -32,7 +32,7 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 @@ -44,21 +44,21 @@ varying vec2 vertXY; void main (void) { - const float M_PI = 3.14159265358979323846; - float func; + const float M_PI = 3.14159265358979323846; + float func; - if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) - { - // average of horizontal and vertical abs cosine waves with periods of 128 pixels + if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) + { + // average of horizontal and vertical abs cosine waves with periods of 128 pixels #ifdef GL_OES_standard_derivatives - func = REDUCE_RANGE(0.5 * (abs(cos(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI))) + abs(cos(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI))))); + func = REDUCE_RANGE(0.5 * (abs(cos(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI))) + abs(cos(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI))))); #else func = 0.5; #endif - gl_FragColor = vec4(func, func, func, 1.0); - } - else discard; + gl_FragColor = vec4(func, func, func, 1.0); + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.vert index 45621b7622b..19f17bd5edc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref.vert @@ -30,7 +30,7 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.frag index cbb4cd00c5f..5f7173c3e88 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.frag @@ -32,7 +32,7 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0].. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 @@ -43,21 +43,21 @@ varying vec2 vertXY; void main (void) { - const float M_PI = 3.14159265358979323846; - float cosine; + const float M_PI = 3.14159265358979323846; + float cosine; - if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) - { - // horizontal abs cosine wave with a period of 128 pixels + if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) + { + // horizontal abs cosine wave with a period of 128 pixels #ifdef GL_OES_standard_derivatives - cosine = REDUCE_RANGE(abs(cos(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI)))); + cosine = REDUCE_RANGE(abs(cos(fract(gl_FragCoord.x / 128.0) * (2.0 * M_PI)))); #else cosine = 0.5; #endif - gl_FragColor = vec4(cosine, cosine, cosine, 1.0); - } - else discard; + gl_FragColor = vec4(cosine, cosine, cosine, 1.0); + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.vert index 45621b7622b..19f17bd5edc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dx.vert @@ -30,7 +30,7 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.frag index 0b171011419..1f25729b44e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.frag @@ -32,7 +32,7 @@ precision mediump float; // of the arithmetic used. #define SAFETY_BOUND 500.0 -// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0]. +// Macro to scale/bias the range of output. If input is [-1.0, 1.0], maps to [0.5, 1.0]. // Accounts for precision errors magnified by derivative operation. #define REDUCE_RANGE(A) ((A) + 3.0) / 4.0 @@ -44,21 +44,21 @@ varying vec2 vertXY; void main (void) { - const float M_PI = 3.14159265358979323846; - float cosine; + const float M_PI = 3.14159265358979323846; + float cosine; - if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) - { - // vertical abs cosine wave with a period of 128 pixels + if( (gl_FragCoord.x < SAFETY_BOUND) && (gl_FragCoord.y < SAFETY_BOUND) ) + { + // vertical abs cosine wave with a period of 128 pixels #ifdef GL_OES_standard_derivatives - cosine = REDUCE_RANGE(abs(cos(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI)))); + cosine = REDUCE_RANGE(abs(cos(fract(gl_FragCoord.y / 128.0) * (2.0 * M_PI)))); #else cosine = 0.5; #endif - gl_FragColor = vec4(cosine, cosine, cosine, 1.0); - } - else discard; + gl_FragColor = vec4(cosine, cosine, cosine, 1.0); + } + else discard; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.vert index 45621b7622b..19f17bd5edc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2ExtensionTests/fwidth/fwidth_frag_ref_dy.vert @@ -30,7 +30,7 @@ varying vec2 vertXY; void main (void) { - vertXY = gtf_Vertex.xy; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vertXY = gtf_Vertex.xy; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.frag index 60293df815b..b25540e1e6e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.frag @@ -32,5 +32,5 @@ varying vec4 gtf_TexCoord[1]; void main (void) { - gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].st, 1.0) * color; + gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].st, 1.0) * color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.vert index eaff41129f8..3c0c0e0764a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects.vert @@ -113,11 +113,11 @@ void spotLight(in int i, vec3 fnormal(void) { - //Compute the normal + //Compute the normal vec3 normal = gtf_NormalMatrix * gtf_Normal; normal = normalize(normal); - - return normal; + + return normal; } void flight(in vec3 normal, in vec4 ecPosition, float alphaFade) @@ -132,7 +132,7 @@ void flight(in vec3 normal, in vec4 ecPosition, float alphaFade) Ambient = vec4 (0.0); Diffuse = vec4 (0.0); Specular = vec4 (0.0); - + //lightSpecular = gtf_Color; spotLight(0, normal, eye, ecPosition3); @@ -148,14 +148,14 @@ void flight(in vec3 normal, in vec4 ecPosition, float alphaFade) void main (void) { - vec3 transformedNormal; + vec3 transformedNormal; float alphaFade = 1.0; - - vec4 ecPosition = gtf_Vertex; - - color = gtf_Color; - gtf_TexCoord[0] = gtf_MultiTexCoord0; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - transformedNormal = fnormal(); + + vec4 ecPosition = gtf_Vertex; + + color = gtf_Color; + gtf_TexCoord[0] = gtf_MultiTexCoord0; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + transformedNormal = fnormal(); flight(transformedNormal, ecPosition, alphaFade); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.frag index 27f68c20410..30115c372b2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.frag @@ -34,6 +34,6 @@ varying vec4 gtf_TexCoord[2]; void main (void) { - gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].st, 1.0); - gl_FragColor += texture2D(gtf_Texture1, gtf_TexCoord[1].st, 1.0); + gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].st, 1.0); + gl_FragColor += texture2D(gtf_Texture1, gtf_TexCoord[1].st, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.vert index b496ac1d9a4..a327a7e0d86 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_multitexturing.vert @@ -35,8 +35,8 @@ varying vec4 gtf_TexCoord[2]; void main (void) { - color = gtf_Color; - gtf_TexCoord[0] = gtf_MultiTexCoord0; - gtf_TexCoord[1] = gtf_MultiTexCoord1; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = gtf_Color; + gtf_TexCoord[0] = gtf_MultiTexCoord0; + gtf_TexCoord[1] = gtf_MultiTexCoord1; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.frag index 90478e8490b..e9d460fb20c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.vert index fe4fa52c295..2811521b7fb 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/buffer_objects/buffer_objects_pointSize.vert @@ -31,7 +31,7 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = gtf_PointSize; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = gtf_PointSize; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/copy_texture/copy_texture.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/copy_texture/copy_texture.frag index abab5fe58e1..3fc499ba0b0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/copy_texture/copy_texture.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/copy_texture/copy_texture.frag @@ -32,8 +32,8 @@ varying vec4 gtf_TexCoord[1]; void main (void) { - if (gtf_TexCoord[0].s == 1.0) - gl_FragColor = color; - else - gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].st, 1.0); + if (gtf_TexCoord[0].s == 1.0) + gl_FragColor = color; + else + gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].st, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default.frag index 90478e8490b..e9d460fb20c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default.vert index 2943d817bcf..72e83fd0322 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = 1.0; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default_textured.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default_textured.frag index bf905fab9b1..8db3c6954f7 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default_textured.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default_textured.frag @@ -32,5 +32,5 @@ varying vec4 gtf_TexCoord[1]; void main (void) { - gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].xy); + gl_FragColor = texture2D(gtf_Texture0, gtf_TexCoord[0].xy); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default_textured.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default_textured.vert index 56e028240b7..1b5b7831a46 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default_textured.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/default_shaders/default_textured.vert @@ -32,8 +32,8 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gtf_TexCoord[0] = gtf_MultiTexCoord0; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = 1.0; + color = gtf_Color; + gtf_TexCoord[0] = gtf_MultiTexCoord0; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.frag index 90478e8490b..2f751e7062b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.frag @@ -28,7 +28,7 @@ precision mediump float; #endif varying vec4 color; -void main (void) +void main (void) { gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.vert index 106752f68a2..aafe53fbba4 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse.vert @@ -98,12 +98,12 @@ void pointLight(in int i, in vec3 normal, in vec3 eye, in vec3 ecPosition3) vec3 fnormal(void) { - //Compute the normal + //Compute the normal vec3 normal = gtf_Normal * gtf_NormalMatrix; normal = normalize(normal); - - // This should change to "return normal" but for this test, we force a normal pointing towards the light - // return normal + + // This should change to "return normal" but for this test, we force a normal pointing towards the light + // return normal return vec3(0.0, 0.0, 1.0); } @@ -119,8 +119,8 @@ void flight(in vec3 normal, in vec4 ecPosition, float alphaFade) Ambient = vec4 (0.0); Diffuse = vec4 (0.0); Specular = vec4 (0.0); - - lightDiffuse = gtf_Color; + + lightDiffuse = gtf_Color; pointLight(0, normal, eye, ecPosition3); diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.frag index 90478e8490b..e9d460fb20c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.vert index 428a664dd89..da6387dcc67 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/lighting_diffuse/lighting_diffuse_ref.vert @@ -30,6 +30,6 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.frag index 90478e8490b..e9d460fb20c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.vert index 1495d97065a..5ff01258741 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_rasterization/point_rasterization.vert @@ -31,7 +31,7 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = gtf_PointSize; + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = gtf_PointSize; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_sprites/point_sprites.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_sprites/point_sprites.frag index 3b45776b997..96a04a9ce24 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_sprites/point_sprites.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_sprites/point_sprites.frag @@ -27,5 +27,5 @@ uniform sampler2D gtf_Texture0; void main (void) { - gl_FragColor = texture2D(gtf_Texture0, gl_PointCoord.st); + gl_FragColor = texture2D(gtf_Texture0, gl_PointCoord.st); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_sprites/point_sprites.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_sprites/point_sprites.vert index 11ee23e7625..a85dd66bb8a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_sprites/point_sprites.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/point_sprites/point_sprites.vert @@ -29,6 +29,6 @@ uniform mat4 gtf_ModelViewProjectionMatrix; void main (void) { - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = gtf_PointSize; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = gtf_PointSize; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.frag index c0f674a1e7b..f91d4b0e8d5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.frag @@ -30,10 +30,10 @@ precision mediump float; varying vec4 color; varying float dotClip[2]; -void main (void) +void main (void) { - if (dotClip[0] >= 0.0 || dotClip[1] >= 0.0) - discard; - + if (dotClip[0] >= 0.0 || dotClip[1] >= 0.0) + discard; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.vert index 79a8817fc40..ed27fe77e45 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2FixedTests/user_clip_planes/user_clip_planes.vert @@ -32,13 +32,13 @@ varying float dotClip[2]; void main (void) { - vec4 userClipPlanes[2]; - userClipPlanes[0] = vec4(0.0, 1.0, 0.0, 0.0); - userClipPlanes[1] = vec4(-1.0, 0.0, 0.0, 0.0); + vec4 userClipPlanes[2]; + userClipPlanes[0] = vec4(0.0, 1.0, 0.0, 0.0); + userClipPlanes[1] = vec4(-1.0, 0.0, 0.0, 0.0); - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - - dotClip[0] = dot(userClipPlanes[0], gl_Position); - dotClip[1] = dot(userClipPlanes[1], gl_Position); + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + + dotClip[0] = dot(userClipPlanes[0], gl_Position); + dotClip[1] = dot(userClipPlanes[1], gl_Position); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/successfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/successfulcompile_frag.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/successfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/successfulcompile_frag.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/successfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/successfulcompile_vert.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/successfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/successfulcompile_vert.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_frag.frag index c95c8273764..fd471888521 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_frag.frag @@ -30,7 +30,7 @@ uniform float GrainSize; uniform vec3 DarkColor; uniform vec3 colorSpread; -varying float lightIntensity; +varying float lightIntensity; varying vec3 Position; void main (void) @@ -55,12 +55,12 @@ void main (void) // grain effects as function of distance // float brightness = fract(grain); - if (brightness > 0.5) + if (brightness > 0.5) brightness = (1.0 - brightness); vec3 color = DarkColor + 0.5 * brightness * (colorSpread); - - brightness = fract(grain*7.0); - if (brightness > 0.5) + + brightness = fract(grain*7.0); + if (brightness > 0.5) brightness = 1.0 - brightness; color -= 0.5 * brightness * colorSpread; @@ -77,7 +77,7 @@ void main (void) // apply lighting effects from vertex processor // color *= lightIntensity; - color = clamp(color, 0.0, 1.0); + color = clamp(color, 0.0, 1.0); gl_FragColor = vec4(color, 0.1) } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_vert.vert index 6f761866b4c..c73892a4cab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/attach_shader/unsuccessfulcompile_vert.vert @@ -46,8 +46,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -55,6 +55,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/bind_attribute_location/brick.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/bind_attribute_location/brick.frag index fb1e02735d1..870d53d0533 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/bind_attribute_location/brick.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/bind_attribute_location/brick.frag @@ -27,25 +27,25 @@ precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/bind_attribute_location/brick.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/bind_attribute_location/brick.vert index d09c29a4713..8895eba8810 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/bind_attribute_location/brick.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/bind_attribute_location/brick.vert @@ -46,8 +46,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2[1]); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2[1]); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -55,6 +55,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/brick.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/brick.vert index 6f761866b4c..c73892a4cab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/brick.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/brick.vert @@ -46,8 +46,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -55,6 +55,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/wood.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/wood.frag index c95c8273764..fd471888521 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/wood.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/wood.frag @@ -30,7 +30,7 @@ uniform float GrainSize; uniform vec3 DarkColor; uniform vec3 colorSpread; -varying float lightIntensity; +varying float lightIntensity; varying vec3 Position; void main (void) @@ -55,12 +55,12 @@ void main (void) // grain effects as function of distance // float brightness = fract(grain); - if (brightness > 0.5) + if (brightness > 0.5) brightness = (1.0 - brightness); vec3 color = DarkColor + 0.5 * brightness * (colorSpread); - - brightness = fract(grain*7.0); - if (brightness > 0.5) + + brightness = fract(grain*7.0); + if (brightness > 0.5) brightness = 1.0 - brightness; color -= 0.5 * brightness * colorSpread; @@ -77,7 +77,7 @@ void main (void) // apply lighting effects from vertex processor // color *= lightIntensity; - color = clamp(color, 0.0, 1.0); + color = clamp(color, 0.0, 1.0); gl_FragColor = vec4(color, 0.1) } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/wood.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/wood.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/wood.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/compile_shader/wood.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/delete_object/successfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/delete_object/successfulcompile_frag.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/delete_object/successfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/delete_object/successfulcompile_frag.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/delete_object/successfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/delete_object/successfulcompile_vert.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/delete_object/successfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/delete_object/successfulcompile_vert.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/detach_shader/successfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/detach_shader/successfulcompile_frag.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/detach_shader/successfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/detach_shader/successfulcompile_frag.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/detach_shader/successfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/detach_shader/successfulcompile_vert.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/detach_shader/successfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/detach_shader/successfulcompile_vert.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat2.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat2.vert index 2e15c398828..2f30ce65417 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat2.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat2.vert @@ -46,10 +46,10 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - float f = myAttrib2m[0][0]; + float f = myAttrib2m[0][0]; - float spec = clamp(dot(reflectVec, viewVec), f, 1.0); - //float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + float spec = clamp(dot(reflectVec, viewVec), f, 1.0); + //float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -57,6 +57,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat3.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat3.vert index 35b393eb119..6653570d694 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat3.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat3.vert @@ -46,10 +46,10 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - float f = myAttrib3m[0][0]; + float f = myAttrib3m[0][0]; - float spec = clamp(dot(reflectVec, viewVec), f, 1.0); - //float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + float spec = clamp(dot(reflectVec, viewVec), f, 1.0); + //float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -57,6 +57,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat4.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat4.vert index 70c9744cd4a..41cbc95b24f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat4.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_mat4.vert @@ -46,10 +46,10 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - float f = myAttrib4m[0][0]; + float f = myAttrib4m[0][0]; - float spec = clamp(dot(reflectVec, viewVec), f, 1.0); - //float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + float spec = clamp(dot(reflectVec, viewVec), f, 1.0); + //float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -57,6 +57,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_vec.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_vec.vert index 9d038e189a8..cbb971545b2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_vec.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_attribute/brick_vec.vert @@ -49,10 +49,10 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - float f = myAttrib1f + myAttrib2f[0] + myAttrib3f[0] + myAttrib4f[0]; + float f = myAttrib1f + myAttrib2f[0] + myAttrib3f[0] + myAttrib4f[0]; - float spec = clamp(dot(reflectVec, viewVec), f, 1.0); - //float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + float spec = clamp(dot(reflectVec, viewVec), f, 1.0); + //float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -60,6 +60,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_uniform/brick.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_uniform/brick.frag index 3bae9ffd9f5..41c8d30a202 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_uniform/brick.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_uniform/brick.frag @@ -27,23 +27,23 @@ precision mediump float; #endif -uniform vec3 brickColor; -uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform vec3 brickColor; +uniform vec3 mortarColor; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_uniform/brick.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_uniform/brick.vert index 292c2ec1b05..cc24e815f70 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_uniform/brick.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_active_uniform/brick.vert @@ -49,12 +49,12 @@ uniform mat3 myAttrib3m; //< 17 uniform mat4 myAttrib4m; //< 18 uniform float myUniformfv[5]; //< 19 // Used in the fragment shader. -uniform vec3 brickColor; //< 20 -uniform vec3 mortarColor; //< 21 -uniform float brickMortarWidth; //< 22 -uniform float brickMortarHeight; //< 23 -uniform float mwf; //< 24 -uniform float mhf; //< 25 +uniform vec3 brickColor; //< 20 +uniform vec3 mortarColor; //< 21 +uniform float brickMortarWidth; //< 22 +uniform float brickMortarHeight; //< 23 +uniform float mwf; //< 24 +uniform float mhf; //< 25 const float specularContribution = 0.7; @@ -68,14 +68,14 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - float f = myAttrib1f + myAttrib2f[0] + myAttrib4f[0] - + float(myAttrib1i) + float(myAttrib2i[0]) + float(myAttrib3i[0]) + float(myAttrib4i[0]) - + float(myAttrib1b) + float(myAttrib2b[0]) + float(myAttrib3b[0]) + float(myAttrib4b[0]) - + myAttrib2m[0][0] + myAttrib3m[0][0] + myAttrib4m[0][0] - + myUniformfv[0] + myUniformfv[1] + myUniformfv[2] + myUniformfv[3] + myUniformfv[4]; + float f = myAttrib1f + myAttrib2f[0] + myAttrib4f[0] + + float(myAttrib1i) + float(myAttrib2i[0]) + float(myAttrib3i[0]) + float(myAttrib4i[0]) + + float(myAttrib1b) + float(myAttrib2b[0]) + float(myAttrib3b[0]) + float(myAttrib4b[0]) + + myAttrib2m[0][0] + myAttrib3m[0][0] + myAttrib4m[0][0] + + myUniformfv[0] + myUniformfv[1] + myUniformfv[2] + myUniformfv[3] + myUniformfv[4]; - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), f, 1.0); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), f, 1.0); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -83,6 +83,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_attribute_location/brick.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_attribute_location/brick.vert index 3214a604197..2a94ead4fbc 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_attribute_location/brick.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_attribute_location/brick.vert @@ -31,9 +31,9 @@ attribute float myAttribute3; varying vec3 colors; -void main(void) +void main(void) { - colors = vec3(myAttribute1, 0, 0); - + colors = vec3(myAttribute1, 0, 0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_handle/successfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_handle/successfulcompile_frag.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_handle/successfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_handle/successfulcompile_frag.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_handle/successfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_handle/successfulcompile_vert.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_handle/successfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_handle/successfulcompile_vert.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_uniform_location/brick.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_uniform_location/brick.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_uniform_location/brick.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_uniform_location/brick.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_uniform_location/brick.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_uniform_location/brick.vert index 13bea9af933..24227d48f74 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_uniform_location/brick.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/get_uniform_location/brick.vert @@ -46,8 +46,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -55,6 +55,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.frag index 865f9d8e55d..99c78e20739 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.frag @@ -30,6 +30,6 @@ varying vec3 tc; void main (void) { - vec3 foo = tc; - gl_FragColor = vec4 (foo, 1.0); + vec3 foo = tc; + gl_FragColor = vec4 (foo, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.vert index ca6fb335b50..cc4028a5f7d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramInfoLog_2.0/simple.vert @@ -30,6 +30,6 @@ varying vec3 tc; void main(void) { - tc = triangleColor; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + tc = triangleColor; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.vert index 13bea9af933..24227d48f74 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetProgramiv_2.0/brick.vert @@ -46,8 +46,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -55,6 +55,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.frag index 865f9d8e55d..99c78e20739 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.frag @@ -30,6 +30,6 @@ varying vec3 tc; void main (void) { - vec3 foo = tc; - gl_FragColor = vec4 (foo, 1.0); + vec3 foo = tc; + gl_FragColor = vec4 (foo, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.vert index ca6fb335b50..cc4028a5f7d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetShaderInfoLog_2.0/simple.vert @@ -30,6 +30,6 @@ varying vec3 tc; void main(void) { - tc = triangleColor; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + tc = triangleColor; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/bvec_tests.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/bvec_tests.frag index ae223718cc8..5ca53807ea2 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/bvec_tests.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/bvec_tests.frag @@ -34,8 +34,8 @@ varying vec4 color; void main (void) { - vec4 temp = vec4(0.0, 0.0, 0.0, 0.0); - if(funi1 || funi2[0] && funi2[1] && funi3[0] && funi3[1] && funi3[2] || funi4[0] && funi4[1] && funi4[2] && funi4[3]) - temp = vec4(1.0, 0.0, 0.5, 1.0); - gl_FragColor = temp + color; + vec4 temp = vec4(0.0, 0.0, 0.0, 0.0); + if(funi1 || funi2[0] && funi2[1] && funi3[0] && funi3[1] && funi3[2] || funi4[0] && funi4[1] && funi4[2] && funi4[3]) + temp = vec4(1.0, 0.0, 0.5, 1.0); + gl_FragColor = temp + color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/bvec_tests.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/bvec_tests.vert index 4eeb4ea8f94..1d9153361e3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/bvec_tests.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/bvec_tests.vert @@ -33,7 +33,7 @@ varying vec4 color; void main (void) { - if(vuni1 || vuni2[0] && vuni2[1] && vuni3[0] && vuni3[1] && vuni3[2] || vuni4[0] && vuni4[1] && vuni4[2] && vuni4[3]) - color = vec4(1.0, 0.0, 0.5, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + if(vuni1 || vuni2[0] && vuni2[1] && vuni3[0] && vuni3[1] && vuni3[2] || vuni4[0] && vuni4[1] && vuni4[2] && vuni4[3]) + color = vec4(1.0, 0.0, 0.5, 1.0); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/ivec_tests.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/ivec_tests.frag index a64461d8b81..6d7e37eba35 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/ivec_tests.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/ivec_tests.frag @@ -34,6 +34,6 @@ varying vec4 color; void main (void) { - vec4 temp = vec4(float(funi1), float(funi2[0] + funi2[1]), float(funi3[0] + funi3[1] + funi3[2]), float(funi4[0] + funi4[1] + funi4[2] + funi4[3])); - gl_FragColor = temp + color; + vec4 temp = vec4(float(funi1), float(funi2[0] + funi2[1]), float(funi3[0] + funi3[1] + funi3[2]), float(funi4[0] + funi4[1] + funi4[2] + funi4[3])); + gl_FragColor = temp + color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/ivec_tests.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/ivec_tests.vert index 96ab2a45d92..d854d0f4b4b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/ivec_tests.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/ivec_tests.vert @@ -33,6 +33,6 @@ varying vec4 color; void main (void) { - color = vec4(float(vuni1), float(vuni2[0] + vuni2[1]), float(vuni3[0] + vuni3[1] + vuni3[2]), float(vuni4[0] + vuni4[1] + vuni4[2] + vuni4[3]) ); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(float(vuni1), float(vuni2[0] + vuni2[1]), float(vuni3[0] + vuni3[1] + vuni3[2]), float(vuni4[0] + vuni4[1] + vuni4[2] + vuni4[3]) ); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/mat_tests.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/mat_tests.frag index 87049a71414..ea3f8599515 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/mat_tests.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/mat_tests.frag @@ -33,10 +33,10 @@ varying vec4 color; void main (void) { - vec4 temp = vec4( funi2[0][0] + funi2[0][1] + funi2[1][0] + funi2[1][1], + vec4 temp = vec4( funi2[0][0] + funi2[0][1] + funi2[1][0] + funi2[1][1], - funi3[0][0] + funi3[0][1] + funi3[0][2] + funi3[1][0] + funi3[1][1] + funi3[1][2] + funi3[2][0] + funi3[2][1] + funi3[2][2], + funi3[0][0] + funi3[0][1] + funi3[0][2] + funi3[1][0] + funi3[1][1] + funi3[1][2] + funi3[2][0] + funi3[2][1] + funi3[2][2], funi4[0][0] + funi4[0][1] + funi4[0][2] + funi4[0][3] + funi4[1][0] + funi4[1][1] + funi4[1][2] + funi4[1][3] + funi4[2][0] + funi4[2][1] + funi4[2][2] + funi4[2][3] + funi4[3][0] + funi4[3][1] + funi4[3][2] + funi4[3][3], 1.0 ); - gl_FragColor = temp + color; + gl_FragColor = temp + color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/mat_tests.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/mat_tests.vert index f1171ef1e66..f3f6e0dcc75 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/mat_tests.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/mat_tests.vert @@ -32,11 +32,11 @@ varying vec4 color; void main (void) { - color = vec4( vuni2[0][0] + vuni2[0][1] + vuni2[1][0] + vuni2[1][1], + color = vec4( vuni2[0][0] + vuni2[0][1] + vuni2[1][0] + vuni2[1][1], - vuni3[0][0] + vuni3[0][1] + vuni3[0][2] + vuni3[1][0] + vuni3[1][1] + vuni3[1][2] + vuni3[2][0] + vuni3[2][1] + vuni3[2][2], + vuni3[0][0] + vuni3[0][1] + vuni3[0][2] + vuni3[1][0] + vuni3[1][1] + vuni3[1][2] + vuni3[2][0] + vuni3[2][1] + vuni3[2][2], vuni4[0][0] + vuni4[0][1] + vuni4[0][2] + vuni4[0][3] + vuni4[1][0] + vuni4[1][1] + vuni4[1][2] + vuni4[1][3] + vuni4[2][0] + vuni4[2][1] + vuni4[2][2] + vuni4[2][3] + vuni4[3][0] + vuni4[3][1] + vuni4[3][2] + vuni4[3][3], 1.0 ); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/vec_tests.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/vec_tests.frag index c10c18b1322..e3f2c84db2c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/vec_tests.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/vec_tests.frag @@ -34,6 +34,6 @@ varying vec4 color; void main (void) { - vec4 temp = vec4(funi1, funi2[0] + funi2[1], funi3[0] + funi3[1] + funi3[2], funi4[0] + funi4[1] + funi4[2] + funi4[3]); - gl_FragColor = temp + color; + vec4 temp = vec4(funi1, funi2[0] + funi2[1], funi3[0] + funi3[1] + funi3[2], funi4[0] + funi4[1] + funi4[2] + funi4[3]); + gl_FragColor = temp + color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/vec_tests.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/vec_tests.vert index 63f5521fc9e..86138149d75 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/vec_tests.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetUniform/vec_tests.vert @@ -33,6 +33,6 @@ varying vec4 color; void main (void) { - color = vec4(vuni1, vuni2[0] + vuni2[1], vuni3[0] + vuni3[1] + vuni3[2], vuni4[0] + vuni4[1] + vuni4[2] + vuni4[3]); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(vuni1, vuni2[0] + vuni2[1], vuni3[0] + vuni3[1] + vuni3[2], vuni4[0] + vuni4[1] + vuni4[2] + vuni4[3]); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests.vert index be44b11b534..e9b83a49094 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests.vert @@ -31,11 +31,11 @@ varying vec4 color; void main (void) { - color = vec4( 1.0, + color = vec4( 1.0, - att3[0][0] + att3[0][1] + att3[0][2] + att3[1][0] + att3[1][1] + att3[1][2] + att3[2][0] + att3[2][1] + att3[2][2], + att3[0][0] + att3[0][1] + att3[0][2] + att3[1][0] + att3[1][1] + att3[1][2] + att3[2][0] + att3[2][1] + att3[2][2], att4[0][0] + att4[0][1] + att4[0][2] + att4[0][3] + att4[1][0] + att4[1][1] + att4[1][2] + att4[1][3] + att4[2][0] + att4[2][1] + att4[2][2] + att4[2][3] + att4[3][0] + att4[3][1] + att4[3][2] + att4[3][3], 1.0 ); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests2.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests2.vert index 9d426534c93..2d0fbeea7d1 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests2.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/mat_tests2.vert @@ -31,11 +31,11 @@ varying vec4 color; void main (void) { - color = vec4( att2[0][0] + att2[0][1] + att2[1][0] + att2[1][1], + color = vec4( att2[0][0] + att2[0][1] + att2[1][0] + att2[1][1], - att3[0][0] + att3[0][1] + att3[0][2] + att3[1][0] + att3[1][1] + att3[1][2] + att3[2][0] + att3[2][1] + att3[2][2], + att3[0][0] + att3[0][1] + att3[0][2] + att3[1][0] + att3[1][1] + att3[1][2] + att3[2][0] + att3[2][1] + att3[2][2], 1.0, 1.0 ); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/vec_tests.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/vec_tests.vert index 3f576d39438..fc870e7393f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/vec_tests.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glGetVertexAttrib/vec_tests.vert @@ -33,6 +33,6 @@ varying vec4 color; void main (void) { - color = vec4(att1, att2.x + att2.y, att3.x + att3.y + att3.z, att4.x + att4.y + att4.z + att4.w); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = vec4(att1, att2.x + att2.y, att3.x + att3.y + att3.z, att4.x + att4.y + att4.z + att4.w); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_frag.frag index 6e1f0215569..a8d9f3fe430 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_frag.frag @@ -30,5 +30,5 @@ uniform bool color; void main (void) { - gl_FragColor = vec4 (float(color), 0.0, 0.0, 1.0); + gl_FragColor = vec4 (float(color), 0.0, 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_vert.frag index 41eb65ff1f2..ba62f2f2d93 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_vert.frag @@ -30,5 +30,5 @@ varying float col; void main (void) { - gl_FragColor = vec4 (col, 0.0, 0.0, 1.0); + gl_FragColor = vec4 (col, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_vert.vert index 7b8afb7953b..a28e76a77ad 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1b_vert.vert @@ -30,6 +30,6 @@ uniform bool color; varying float col; void main (void) { - col = float(color); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = float(color); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_frag.frag index 175d2c26eac..9156be3c0ae 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_frag.frag @@ -30,5 +30,5 @@ uniform float color; void main (void) { - gl_FragColor = vec4 (color, 0.0, 0.0, 1.0); + gl_FragColor = vec4 (color, 0.0, 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_vert.frag index 975a5611ec1..ac8f2b4ccaa 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_vert.frag @@ -29,5 +29,5 @@ precision mediump float; varying float col; void main (void) { - gl_FragColor = vec4 (col, 0.0, 0.0, 1.0); + gl_FragColor = vec4 (col, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_vert.vert index e76b40b69c9..06699439726 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1f_vert.vert @@ -30,6 +30,6 @@ uniform float color; varying float col; void main (void) { - col = color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_frag.frag index 384638e32d5..35d70bce9ce 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_frag.frag @@ -30,5 +30,5 @@ uniform int color; void main (void) { - gl_FragColor = vec4 (color, 0.0, 0.0, 1.0); + gl_FragColor = vec4 (color, 0.0, 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_vert.frag index 975a5611ec1..ac8f2b4ccaa 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_vert.frag @@ -29,5 +29,5 @@ precision mediump float; varying float col; void main (void) { - gl_FragColor = vec4 (col, 0.0, 0.0, 1.0); + gl_FragColor = vec4 (col, 0.0, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_vert.vert index 087b5982365..7f22a96747d 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/1i_vert.vert @@ -30,6 +30,6 @@ uniform int color; varying float col; void main (void) { - col = float(color); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = float(color); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/21f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/21f_frag.frag index 8bfcabbc7bf..c60e5e07d60 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/21f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/21f_frag.frag @@ -30,5 +30,5 @@ uniform float color[2]; void main (void) { - gl_FragColor = vec4 (color[0], color[1], 0.0, 1.0); + gl_FragColor = vec4 (color[0], color[1], 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/21i_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/21i_frag.frag index e2c32ef2055..16960a59bab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/21i_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/21i_frag.frag @@ -30,7 +30,7 @@ uniform int color[2]; void main (void) { - float r = float(color[0]); - float g = float(color[1]); - gl_FragColor = vec4 (r/256.0, g/256.0, 0.0, 1.0); + float r = float(color[0]); + float g = float(color[1]); + gl_FragColor = vec4 (r/256.0, g/256.0, 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/22f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/22f_frag.frag index dab986a61ec..dd823e36172 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/22f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/22f_frag.frag @@ -30,5 +30,5 @@ uniform vec2 color[2]; void main (void) { - gl_FragColor = vec4 (color[0][0], color[0][1], color[1][0], color[1][1]); + gl_FragColor = vec4 (color[0][0], color[0][1], color[1][0], color[1][1]); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/22i_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/22i_frag.frag index e9ec4153d31..67577430b14 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/22i_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/22i_frag.frag @@ -30,10 +30,10 @@ uniform ivec2 color[2]; void main (void) { - float r = float(color[0][0]); - float g = float(color[0][1]); - float b = float(color[1][0]); - float a = float(color[1][1]); + float r = float(color[0][0]); + float g = float(color[0][1]); + float b = float(color[1][0]); + float a = float(color[1][1]); - gl_FragColor = vec4 (r/256.0, g/256.0, b/256.0, a/256.0); + gl_FragColor = vec4 (r/256.0, g/256.0, b/256.0, a/256.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/23f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/23f_frag.frag index 1421659b57d..8d7a6c3ba68 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/23f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/23f_frag.frag @@ -30,7 +30,7 @@ uniform vec3 color[2]; void main (void) { - gl_FragColor = vec4 (color[0][0] + color[0][1] + color[0][2], - color[1][0] + color[1][1] + color[1][2], - 0.0, 1.0); + gl_FragColor = vec4 (color[0][0] + color[0][1] + color[0][2], + color[1][0] + color[1][1] + color[1][2], + 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/23i_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/23i_frag.frag index 6959d439a41..c4574b87078 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/23i_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/23i_frag.frag @@ -30,8 +30,8 @@ uniform ivec3 color[2]; void main (void) { - float r = float(color[0][0] + color[0][1] + color[0][2]); - float g = float(color[1][0] + color[1][1] + color[1][2]); + float r = float(color[0][0] + color[0][1] + color[0][2]); + float g = float(color[1][0] + color[1][1] + color[1][2]); - gl_FragColor = vec4(r/256.0, g/256.0, 0.0, 1.0); + gl_FragColor = vec4(r/256.0, g/256.0, 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/24f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/24f_frag.frag index 7e5218f0c03..5363d5e4970 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/24f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/24f_frag.frag @@ -30,7 +30,7 @@ uniform vec4 color[2]; void main (void) { - gl_FragColor = vec4 (color[0][0] + color[0][1] + color[0][2] + color[0][3], - color[1][0] + color[1][1] + color[1][2] + color[1][3], - 0.0, 1.0); + gl_FragColor = vec4 (color[0][0] + color[0][1] + color[0][2] + color[0][3], + color[1][0] + color[1][1] + color[1][2] + color[1][3], + 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/24i_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/24i_frag.frag index ceec76b0ff0..8427354158f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/24i_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/24i_frag.frag @@ -30,8 +30,8 @@ uniform ivec4 color[2]; void main (void) { - float r = float(color[0][0] + color[0][1] + color[0][2] + color[0][3]); - float g = float(color[1][0] + color[1][1] + color[1][2] + color[1][3]); + float r = float(color[0][0] + color[0][1] + color[0][2] + color[0][3]); + float g = float(color[1][0] + color[1][1] + color[1][2] + color[1][3]); - gl_FragColor = vec4 (r/256.0, g/256.0, 0.0, 1.0); + gl_FragColor = vec4 (r/256.0, g/256.0, 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_frag.frag index fa5de60ed6f..83e9039ca81 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_frag.frag @@ -30,5 +30,5 @@ uniform bvec2 color; void main (void) { - gl_FragColor = vec4 (vec2(color), 0.0, 1.0); + gl_FragColor = vec4 (vec2(color), 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_vert.frag index 8a13fe2453d..7ce39a19131 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_vert.frag @@ -30,5 +30,5 @@ varying vec2 col; void main (void) { - gl_FragColor = vec4 (col[0], col[1], 0.0, 1.0); + gl_FragColor = vec4 (col[0], col[1], 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_vert.vert index ae4645b6a8d..b4096752887 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2b_vert.vert @@ -30,6 +30,6 @@ uniform bvec2 color; varying vec2 col; void main (void) { - col = vec2(color); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = vec2(color); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_frag.frag index 30f599cbfd6..655e0d31d64 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_frag.frag @@ -30,5 +30,5 @@ uniform vec2 color; void main (void) { - gl_FragColor = vec4 (color, 0.0, 1.0); + gl_FragColor = vec4 (color, 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_vert.frag index 0527342d8e4..14a4b29599f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_vert.frag @@ -30,5 +30,5 @@ varying vec2 col; void main (void) { - gl_FragColor = vec4 (col, 0.0, 1.0); + gl_FragColor = vec4 (col, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_vert.vert index 11b0100908e..41ecaf70ebf 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2f_vert.vert @@ -30,6 +30,6 @@ uniform vec2 color; varying vec2 col; void main (void) { - col = color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_frag.frag index db99c160bb8..edb986a0b4f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_frag.frag @@ -30,5 +30,5 @@ uniform ivec2 color; void main (void) { - gl_FragColor = vec4 (color[0], color[1], 0.0, 1.0); + gl_FragColor = vec4 (color[0], color[1], 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_vert.frag index 0527342d8e4..14a4b29599f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_vert.frag @@ -30,5 +30,5 @@ varying vec2 col; void main (void) { - gl_FragColor = vec4 (col, 0.0, 1.0); + gl_FragColor = vec4 (col, 0.0, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_vert.vert index e08189f5b63..8cd247668f3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2i_vert.vert @@ -30,6 +30,6 @@ uniform ivec2 color; varying vec2 col; void main (void) { - col = vec2(color); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = vec2(color); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2m_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2m_frag.frag index 3675d7ac815..98e98ac4a5e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2m_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/2m_frag.frag @@ -30,5 +30,5 @@ uniform mat2 color; void main (void) { - gl_FragColor = vec4 (color[0][0] + color[0][1], color[1][0] + color[1][1], 0.0, 1.0); + gl_FragColor = vec4 (color[0][0] + color[0][1], color[1][0] + color[1][1], 0.0, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_frag.frag index 9b6e36922b2..80f1ef9f871 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_frag.frag @@ -30,5 +30,5 @@ uniform bvec3 color; void main (void) { - gl_FragColor = vec4 (vec3(color), 1.0); + gl_FragColor = vec4 (vec3(color), 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_vert.frag index 8fdba432c7d..be8e7b195fe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_vert.frag @@ -30,5 +30,5 @@ varying vec3 col; void main (void) { - gl_FragColor = vec4 (col[0], col[1], col[2], 1.0); + gl_FragColor = vec4 (col[0], col[1], col[2], 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_vert.vert index f3f4fc79cc1..d74e4a37f55 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3b_vert.vert @@ -30,6 +30,6 @@ uniform bvec3 color; varying vec3 col; void main (void) { - col = vec3(color); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = vec3(color); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_frag.frag index 4959173b8f5..00e8aa71d2e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_frag.frag @@ -30,5 +30,5 @@ uniform vec3 color; void main (void) { - gl_FragColor = vec4 (color, 1.0); + gl_FragColor = vec4 (color, 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_vert.frag index 3dc299202f3..603ba0d6537 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_vert.frag @@ -30,5 +30,5 @@ varying vec3 col; void main (void) { - gl_FragColor = vec4 (col, 1.0); + gl_FragColor = vec4 (col, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_vert.vert index 7797add0378..d35becff12f 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3f_vert.vert @@ -30,6 +30,6 @@ uniform vec3 color; varying vec3 col; void main (void) { - col = color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_frag.frag index 77b26a58588..a2f0a3cddbe 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_frag.frag @@ -30,5 +30,5 @@ uniform ivec3 color; void main (void) { - gl_FragColor = vec4 (color[0], color[1], color[2], 1.0); + gl_FragColor = vec4 (color[0], color[1], color[2], 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_vert.frag index 3dc299202f3..603ba0d6537 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_vert.frag @@ -30,5 +30,5 @@ varying vec3 col; void main (void) { - gl_FragColor = vec4 (col, 1.0); + gl_FragColor = vec4 (col, 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_vert.vert index 250252654fa..d27c38f5886 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3i_vert.vert @@ -30,6 +30,6 @@ uniform ivec3 color; varying vec3 col; void main (void) { - col = vec3(color); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = vec3(color); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3m_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3m_frag.frag index 5434484c110..9de57288406 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3m_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/3m_frag.frag @@ -30,8 +30,8 @@ uniform mat3 color; void main (void) { - gl_FragColor = vec4 (color[0][0] + color[0][1] + color[0][2], - color[1][0] + color[1][1] + color[1][2], - color[2][0] + color[2][1] + color[2][2], - 1.0); + gl_FragColor = vec4 (color[0][0] + color[0][1] + color[0][2], + color[1][0] + color[1][1] + color[1][2], + color[2][0] + color[2][1] + color[2][2], + 1.0); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_firstthree_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_firstthree_frag.frag index 6dabc44a64b..1700c2b7635 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_firstthree_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_firstthree_frag.frag @@ -30,5 +30,5 @@ uniform bvec4 color; void main (void) { - gl_FragColor = vec4 (float(color[0]), float(color[1]), float(color[2]), 1.0); + gl_FragColor = vec4 (float(color[0]), float(color[1]), float(color[2]), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_firstthree_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_firstthree_vert.frag index bd970b1d2ef..ee81a869b36 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_firstthree_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_firstthree_vert.frag @@ -30,5 +30,5 @@ varying vec4 col; void main (void) { - gl_FragColor = vec4 (col[0], col[1], col[2], 1.0); + gl_FragColor = vec4 (col[0], col[1], col[2], 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_lastthree_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_lastthree_frag.frag index a5070b8aacd..024f3ca5443 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_lastthree_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_lastthree_frag.frag @@ -30,5 +30,5 @@ uniform bvec4 color; void main (void) { - gl_FragColor = vec4 (float(color[1]), float(color[2]), float(color[3]), 1.0); + gl_FragColor = vec4 (float(color[1]), float(color[2]), float(color[3]), 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_lastthree_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_lastthree_vert.frag index 3296c3dd1da..408d6035431 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_lastthree_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_lastthree_vert.frag @@ -30,5 +30,5 @@ varying vec4 col; void main (void) { - gl_FragColor = vec4 (col[1], col[2], col[3], 1.0); + gl_FragColor = vec4 (col[1], col[2], col[3], 1.0); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_vert.vert index eea548c1743..a8ce5e1d7ea 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4b_vert.vert @@ -30,6 +30,6 @@ uniform bvec4 color; varying vec4 col; void main (void) { - col = vec4(color); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = vec4(color); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_frag.frag index 4241b239d96..bda6bc1394b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_frag.frag @@ -30,5 +30,5 @@ uniform vec4 color; void main (void) { - gl_FragColor = vec4 (color[0], color[1], color[2], color[3]); + gl_FragColor = vec4 (color[0], color[1], color[2], color[3]); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_vert.frag index cac3a29ca1a..4f771b09f90 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_vert.frag @@ -30,5 +30,5 @@ varying vec4 col; void main (void) { - gl_FragColor = vec4 (col[0], col[1], col[2], col[3]); + gl_FragColor = vec4 (col[0], col[1], col[2], col[3]); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_vert.vert index f158a535638..53129488413 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4f_vert.vert @@ -30,6 +30,6 @@ uniform vec4 color; varying vec4 col; void main (void) { - col = color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_frag.frag index 781bc6b01b7..bd00e3c3309 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_frag.frag @@ -30,5 +30,5 @@ uniform ivec4 color; void main (void) { - gl_FragColor = vec4 (color[0], color[1], color[2], color[3]); + gl_FragColor = vec4 (color[0], color[1], color[2], color[3]); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_vert.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_vert.frag index cac3a29ca1a..4f771b09f90 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_vert.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_vert.frag @@ -30,5 +30,5 @@ varying vec4 col; void main (void) { - gl_FragColor = vec4 (col[0], col[1], col[2], col[3]); + gl_FragColor = vec4 (col[0], col[1], col[2], col[3]); } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_vert.vert index 1f51c992a70..ea97a42551b 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4i_vert.vert @@ -30,6 +30,6 @@ uniform ivec4 color; varying vec4 col; void main (void) { - col = vec4(color); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + col = vec4(color); + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4m_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4m_frag.frag index 4cc23468570..030ef608f1e 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4m_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/4m_frag.frag @@ -30,8 +30,8 @@ uniform mat4 color; void main (void) { - gl_FragColor = vec4 (color[0][0] + color[0][1] + color[0][2] + color[0][3], - color[1][0] + color[1][1] + color[1][2] + color[1][3], - color[2][0] + color[2][1] + color[2][2] + color[2][3], - color[3][0] + color[3][1] + color[3][2] + color[3][3]); + gl_FragColor = vec4 (color[0][0] + color[0][1] + color[0][2] + color[0][3], + color[1][0] + color[1][1] + color[1][2] + color[1][3], + color[2][0] + color[2][1] + color[2][2] + color[2][3], + color[3][0] + color[3][1] + color[3][2] + color[3][3]); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/default.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/default.vert index b41b6ec7930..45426238de0 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/default.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/default.vert @@ -28,6 +28,6 @@ uniform mat4 gtf_ModelViewProjectionMatrix; void main (void) { - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; - gl_PointSize = 1.0; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_PointSize = 1.0; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrix2VSU.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrix2VSU.frag index d5c1dafc337..fc4b633d382 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrix2VSU.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrix2VSU.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; // Apply it on a per vertex level + gl_FragColor = color; // Apply it on a per vertex level } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrix2arrayVSU.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrix2arrayVSU.frag index d5c1dafc337..fc4b633d382 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrix2arrayVSU.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrix2arrayVSU.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; // Apply it on a per vertex level + gl_FragColor = color; // Apply it on a per vertex level } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrixVSU.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrixVSU.frag index d5c1dafc337..fc4b633d382 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrixVSU.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrixVSU.frag @@ -30,5 +30,5 @@ varying vec4 color; void main (void) { - gl_FragColor = color; // Apply it on a per vertex level + gl_FragColor = color; // Apply it on a per vertex level } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrixVSU.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrixVSU.vert index 49ab3d401b6..1e4264cbcce 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrixVSU.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/glUniform/matrixVSU.vert @@ -32,7 +32,7 @@ varying vec4 color; void main(void) { color = gtf_Color; // color is per vertex and matches glColor used - + gl_Position = gtf_ModelViewProjectionMatrix* transforms * gtf_Vertex; - + } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/successfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/successfulcompile_frag.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/successfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/successfulcompile_frag.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/successfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/successfulcompile_vert.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/successfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/successfulcompile_vert.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_frag.frag index c95c8273764..fd471888521 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_frag.frag @@ -30,7 +30,7 @@ uniform float GrainSize; uniform vec3 DarkColor; uniform vec3 colorSpread; -varying float lightIntensity; +varying float lightIntensity; varying vec3 Position; void main (void) @@ -55,12 +55,12 @@ void main (void) // grain effects as function of distance // float brightness = fract(grain); - if (brightness > 0.5) + if (brightness > 0.5) brightness = (1.0 - brightness); vec3 color = DarkColor + 0.5 * brightness * (colorSpread); - - brightness = fract(grain*7.0); - if (brightness > 0.5) + + brightness = fract(grain*7.0); + if (brightness > 0.5) brightness = 1.0 - brightness; color -= 0.5 * brightness * colorSpread; @@ -77,7 +77,7 @@ void main (void) // apply lighting effects from vertex processor // color *= lightIntensity; - color = clamp(color, 0.0, 1.0); + color = clamp(color, 0.0, 1.0); gl_FragColor = vec4(color, 0.1) } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_vert.vert index 6f761866b4c..c73892a4cab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/link_program/unsuccessfulcompile_vert.vert @@ -46,8 +46,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -55,6 +55,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.frag index 08d9a602f0b..9010f5a1212 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.frag @@ -27,5 +27,5 @@ varying mediump vec4 color; void main (void) { - gl_FragColor = color; + gl_FragColor = color; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.vert index 847011fceac..4cc0174c81c 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/precision_specifiers/precision_specifiers.vert @@ -30,13 +30,13 @@ varying highp vec4 color; void main (void) { - mediump int x = 5; - lowp int y = 3; - mediump float x2 = 5.0; - lowp float y2 = 1.0; - - color = vec4(x + y, x2 * y2, x, 1.0); - - color = gtf_Color; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + mediump int x = 5; + lowp int y = 3; + mediump float x2 = 5.0; + lowp float y2 = 1.0; + + color = vec4(x + y, x2 * y2, x, 1.0); + + color = gtf_Color; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/relink_program/simple.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/relink_program/simple.frag index af5458fe8af..966495e61c6 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/relink_program/simple.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/relink_program/simple.frag @@ -30,5 +30,5 @@ varying vec4 tc; void main (void) { - gl_FragColor = tc; + gl_FragColor = tc; } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/relink_program/simple.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/relink_program/simple.vert index bf2e956a729..703847d5ff5 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/relink_program/simple.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/relink_program/simple.vert @@ -31,7 +31,7 @@ varying vec4 tc; void main (void) { - tc = vec4(gtf_Color, 0.0, 0.0, 1.0); + tc = vec4(gtf_Color, 0.0, 0.0, 1.0); - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/successfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/successfulcompile_frag.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/successfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/successfulcompile_frag.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/successfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/successfulcompile_vert.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/successfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/successfulcompile_vert.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_frag.frag index c95c8273764..fd471888521 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_frag.frag @@ -30,7 +30,7 @@ uniform float GrainSize; uniform vec3 DarkColor; uniform vec3 colorSpread; -varying float lightIntensity; +varying float lightIntensity; varying vec3 Position; void main (void) @@ -55,12 +55,12 @@ void main (void) // grain effects as function of distance // float brightness = fract(grain); - if (brightness > 0.5) + if (brightness > 0.5) brightness = (1.0 - brightness); vec3 color = DarkColor + 0.5 * brightness * (colorSpread); - - brightness = fract(grain*7.0); - if (brightness > 0.5) + + brightness = fract(grain*7.0); + if (brightness > 0.5) brightness = 1.0 - brightness; color -= 0.5 * brightness * colorSpread; @@ -77,7 +77,7 @@ void main (void) // apply lighting effects from vertex processor // color *= lightIntensity; - color = clamp(color, 0.0, 1.0); + color = clamp(color, 0.0, 1.0); gl_FragColor = vec4(color, 0.1) } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_vert.vert index 7565bb316fd..6e3536513c3 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/shader_source/unsuccessfulcompile_vert.vert @@ -47,8 +47,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -56,6 +56,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/three_uniforms/4f_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/three_uniforms/4f_frag.frag index 1fb51e2fea0..b37c5a0e03a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/three_uniforms/4f_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/three_uniforms/4f_frag.frag @@ -32,8 +32,8 @@ uniform bool flag; void main (void) { - if(flag) - gl_FragColor = vec4 (icolor[0], icolor[1], icolor[2], icolor[3]); - else - gl_FragColor = vec4 (color[0], color[1], color[2], color[3]); + if(flag) + gl_FragColor = vec4 (icolor[0], icolor[1], icolor[2], icolor[3]); + else + gl_FragColor = vec4 (color[0], color[1], color[2], color[3]); } \ No newline at end of file diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/successfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/successfulcompile_frag.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/successfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/successfulcompile_frag.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/successfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/successfulcompile_vert.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/successfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/successfulcompile_vert.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_frag.frag index c95c8273764..fd471888521 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_frag.frag @@ -30,7 +30,7 @@ uniform float GrainSize; uniform vec3 DarkColor; uniform vec3 colorSpread; -varying float lightIntensity; +varying float lightIntensity; varying vec3 Position; void main (void) @@ -55,12 +55,12 @@ void main (void) // grain effects as function of distance // float brightness = fract(grain); - if (brightness > 0.5) + if (brightness > 0.5) brightness = (1.0 - brightness); vec3 color = DarkColor + 0.5 * brightness * (colorSpread); - - brightness = fract(grain*7.0); - if (brightness > 0.5) + + brightness = fract(grain*7.0); + if (brightness > 0.5) brightness = 1.0 - brightness; color -= 0.5 * brightness * colorSpread; @@ -77,7 +77,7 @@ void main (void) // apply lighting effects from vertex processor // color *= lightIntensity; - color = clamp(color, 0.0, 1.0); + color = clamp(color, 0.0, 1.0); gl_FragColor = vec4(color, 0.1) } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_vert.vert index 6f761866b4c..c73892a4cab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/use_program/unsuccessfulcompile_vert.vert @@ -46,8 +46,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -55,6 +55,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/successfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/successfulcompile_frag.frag index 714318a048a..9069489545a 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/successfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/successfulcompile_frag.frag @@ -26,25 +26,25 @@ #ifdef GL_ES precision mediump float; #endif -uniform float mortarThickness; -uniform vec3 brickColor; -uniform vec3 mortarColor; +uniform float mortarThickness; +uniform vec3 brickColor; +uniform vec3 mortarColor; -uniform float brickMortarWidth; -uniform float brickMortarHeight; -uniform float mwf; -uniform float mhf; +uniform float brickMortarWidth; +uniform float brickMortarHeight; +uniform float mwf; +uniform float mhf; varying vec3 Position; varying float lightIntensity; void main (void) { - vec3 ct; - float ss, tt, w, h; + vec3 ct; + float ss, tt, w, h; vec3 pos = Position; - + ss = pos.x / brickMortarWidth; tt = pos.z / brickMortarHeight; diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/successfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/successfulcompile_vert.vert index 7de9e4bf053..3b42e9d1595 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/successfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/successfulcompile_vert.vert @@ -35,9 +35,9 @@ uniform vec3 LightPosition; uniform float Scale; void main(void) { - vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; - Position = vec3(gtf_Vertex) * Scale; - vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); - lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + vec4 pos = gtf_ModelViewMatrix * gtf_Vertex; + Position = vec3(gtf_Vertex) * Scale; + vec3 tnorm = normalize(gtf_NormalMatrix * gtf_Normal); + lightIntensity = dot(normalize(LightPosition - vec3(pos)), tnorm) * 1.5; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_frag.frag b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_frag.frag index c95c8273764..fd471888521 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_frag.frag +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_frag.frag @@ -30,7 +30,7 @@ uniform float GrainSize; uniform vec3 DarkColor; uniform vec3 colorSpread; -varying float lightIntensity; +varying float lightIntensity; varying vec3 Position; void main (void) @@ -55,12 +55,12 @@ void main (void) // grain effects as function of distance // float brightness = fract(grain); - if (brightness > 0.5) + if (brightness > 0.5) brightness = (1.0 - brightness); vec3 color = DarkColor + 0.5 * brightness * (colorSpread); - - brightness = fract(grain*7.0); - if (brightness > 0.5) + + brightness = fract(grain*7.0); + if (brightness > 0.5) brightness = 1.0 - brightness; color -= 0.5 * brightness * colorSpread; @@ -77,7 +77,7 @@ void main (void) // apply lighting effects from vertex processor // color *= lightIntensity; - color = clamp(color, 0.0, 1.0); + color = clamp(color, 0.0, 1.0); gl_FragColor = vec4(color, 0.1) } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_vert.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_vert.vert index 6f761866b4c..c73892a4cab 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_vert.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/validate_program/unsuccessfulcompile_vert.vert @@ -46,8 +46,8 @@ void main(void) { vec3 reflectVec = reflect(lightVec, tnorm); vec3 viewVec = normalize(vec3(pos)); - //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); - float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); + //float spec = clamp(dot(reflectVec, viewVec), 0.0, 1.0); + float spec = clamp(dot(reflectVec, viewVec), myAttribute1, myAttribute2); spec = spec * spec; spec = spec * spec; spec = spec * spec; @@ -55,6 +55,6 @@ void main(void) { lightIntensity = diffuseContribution * dot(lightVec, tnorm) + specularContribution * spec; - + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/vertex_program_point_size/point_size.vert b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/vertex_program_point_size/point_size.vert index dbd70a85507..6d5b454fb06 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/vertex_program_point_size/point_size.vert +++ b/tests/wpt/webgl/tests/conformance/ogles/GL2Tests/vertex_program_point_size/point_size.vert @@ -30,7 +30,7 @@ varying vec4 color; void main (void) { - color = gtf_Color; - gl_PointSize = 20.0; - gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; + color = gtf_Color; + gl_PointSize = 20.0; + gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; } diff --git a/tests/wpt/webgl/tests/conformance/ogles/ogles-utils.js b/tests/wpt/webgl/tests/conformance/ogles/ogles-utils.js index 73be9240ea3..bcf58f27f40 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/ogles-utils.js +++ b/tests/wpt/webgl/tests/conformance/ogles/ogles-utils.js @@ -497,13 +497,29 @@ function drawWithProgram(program, programInfo, test) { } } + // Filter out specified built-in uniforms + if (programInfo.builtin_uniforms) { + var num_builtins_found = 0; + var valid_values = programInfo.builtin_uniforms.valid_values; + for (var index in valid_values) { + var uniform = uniforms[valid_values[index]]; + if (uniform) { + ++num_builtins_found; + uniform.builtin = true; + } + } + + var min_required = programInfo.builtin_uniforms.min_required; + if (num_builtins_found < min_required) { + testFailed("only found " + num_builtins_found + " of " + min_required + + " required built-in uniforms: " + valid_values); + } + } + // Check for unset uniforms for (var name in uniforms) { var uniform = uniforms[name]; - if (name.indexOf("gl_") == 0) { - continue; - } - if (!uniform.used) { + if (!uniform.used && !uniform.builtin) { testFailed("uniform " + name + " never set"); } } @@ -566,13 +582,15 @@ function runProgram(programInfo, test, label, callback) { var result; if (shaders.length == 2) { debug(""); + if (!quietMode()) { var consoleDiv = document.getElementById("console"); - wtu.addShaderSources( - gl, consoleDiv, label + " vertex shader", shaders[0], source[0], - programInfo.vertexShader); - wtu.addShaderSources( - gl, consoleDiv, label + " fragment shader", shaders[1], source[1], - programInfo.fragmentShader); + wtu.addShaderSources( + gl, consoleDiv, label + " vertex shader", shaders[0], source[0], + programInfo.vertexShader); + wtu.addShaderSources( + gl, consoleDiv, label + " fragment shader", shaders[1], source[1], + programInfo.fragmentShader); + } var program = wtu.createProgram(gl, shaders[0], shaders[1]); result = drawWithProgram(program, programInfo, test); } @@ -606,16 +624,18 @@ function compareResults(expected, actual) { diffImg = wtu.makeImageFromCanvas(canvas); } - var div = document.createElement("div"); - div.className = "testimages"; - wtu.insertImage(div, "reference", expected.img); - wtu.insertImage(div, "test", actual.img); - if (diffImg) { - wtu.insertImage(div, "diff", diffImg); - } - div.appendChild(document.createElement('br')); + if (!quietMode()) { + var div = document.createElement("div"); + div.className = "testimages"; + wtu.insertImage(div, "reference", expected.img); + wtu.insertImage(div, "test", actual.img); + if (diffImg) { + wtu.insertImage(div, "diff", diffImg); + } + div.appendChild(document.createElement('br')); - console.appendChild(div); + console.appendChild(div); + } if (!same) { testFailed("images are different"); @@ -623,7 +643,8 @@ function compareResults(expected, actual) { testPassed("images are the same"); } - console.appendChild(document.createElement('hr')); + if (!quietMode()) + console.appendChild(document.createElement('hr')); } function runCompareTest(test, callback) { @@ -688,14 +709,16 @@ function runBuildTest(test, callback) { function attachAndLink() { ++count; if (count == 2) { - debug(""); - var c = document.getElementById("console"); - wtu.addShaderSource( - c, "vertex shader", source[0], test.testProgram.vertexShader); - debug("compile: " + (success[0] ? "success" : "fail")); - wtu.addShaderSource( - c, "fragment shader", source[1], test.testProgram.fragmentShader); - debug("compile: " + (success[1] ? "success" : "fail")); + if (!quietMode()) { + debug(""); + var c = document.getElementById("console"); + wtu.addShaderSource( + c, "vertex shader", source[0], test.testProgram.vertexShader); + debug("compile: " + (success[0] ? "success" : "fail")); + wtu.addShaderSource( + c, "fragment shader", source[1], test.testProgram.fragmentShader); + debug("compile: " + (success[1] ? "success" : "fail")); + } compileSuccess = (success[0] && success[1]); if (!test.compstat) { if (compileSuccess) { diff --git a/tests/wpt/webgl/tests/conformance/ogles/process-ogles2-tests.py b/tests/wpt/webgl/tests/conformance/ogles/process-ogles2-tests.py index c7afc6ae6d1..5ef710a68fd 100644 --- a/tests/wpt/webgl/tests/conformance/ogles/process-ogles2-tests.py +++ b/tests/wpt/webgl/tests/conformance/ogles/process-ogles2-tests.py @@ -383,11 +383,11 @@ var successfullyParsed = true; """ css = [ "../../resources/js-test-style.css", - "../resources/ogles-tests.css", + "../../resources/ogles-tests.css", ] scripts = [ "../../resources/js-test-pre.js", - "../resources/webgl-test-utils.js", + "../../resources/webgl-test-utils.js", "ogles-utils.js", ] css_html = RelativizePaths(outname, css, '') diff --git a/tests/wpt/webgl/tests/conformance/programs/00_test_list.txt b/tests/wpt/webgl/tests/conformance/programs/00_test_list.txt index fd5efc7363a..fe74ff96d78 100644 --- a/tests/wpt/webgl/tests/conformance/programs/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/programs/00_test_list.txt @@ -6,5 +6,6 @@ gl-get-active-uniform.html gl-getshadersource.html gl-shader-test.html invalid-UTF-16.html +--min-version 1.0.4 program-infolog.html program-test.html --min-version 1.0.2 use-program-crash-with-discard-in-fragment-shader.html diff --git a/tests/wpt/webgl/tests/conformance/programs/get-active-test.html b/tests/wpt/webgl/tests/conformance/programs/get-active-test.html index 03c67a0d0b9..e6be4061c5f 100644 --- a/tests/wpt/webgl/tests/conformance/programs/get-active-test.html +++ b/tests/wpt/webgl/tests/conformance/programs/get-active-test.html @@ -32,8 +32,8 @@ - - + +
@@ -48,8 +48,8 @@ var context = wtu.create3DContext(); var context2 = wtu.create3DContext(); var program = wtu.loadStandardProgram(context); var program2 = wtu.loadProgramFromFile(context2, - "../resources/intArrayUniformShader.vert", - "../resources/noopUniformShader.frag"); + "../../resources/intArrayUniformShader.vert", + "../../resources/noopUniformShader.frag"); wtu.glErrorShouldBe(context, context.NO_ERROR); shouldBe("context.getActiveUniform(program, 0).name", "'u_modelViewProjMatrix'"); @@ -59,7 +59,8 @@ shouldBeNull("context.getActiveUniform(program, 1)"); wtu.glErrorShouldBe(context, context.INVALID_VALUE); shouldBeNull("context.getActiveUniform(program, -1)"); wtu.glErrorShouldBe(context, context.INVALID_VALUE); -wtu.shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getActiveUniform(null, 0)"); +shouldThrow("context.getActiveUniform(null, 0)"); +wtu.glErrorShouldBe(context, context.NO_ERROR); // we don't know the order the attribs will appear. var info = [ @@ -115,7 +116,8 @@ shouldBeNull("context.getActiveAttrib(program, 2)"); wtu.glErrorShouldBe(context, context.INVALID_VALUE); shouldBeNull("context.getActiveAttrib(program, -1)"); wtu.glErrorShouldBe(context, context.INVALID_VALUE); -wtu.shouldThrowOrGenerateGLError(context, context.INVALID_VALUE, "context.getActiveAttrib(null, 0)"); +shouldThrow("context.getActiveAttrib(null, 0)"); +wtu.glErrorShouldBe(context, context.NO_ERROR); wtu.glErrorShouldBe(context2, context.NO_ERROR); @@ -135,6 +137,6 @@ wtu.glErrorShouldBe(context, context.INVALID_VALUE); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/programs/gl-bind-attrib-location-long-names-test.html b/tests/wpt/webgl/tests/conformance/programs/gl-bind-attrib-location-long-names-test.html index e77725e790f..d5f76358513 100644 --- a/tests/wpt/webgl/tests/conformance/programs/gl-bind-attrib-location-long-names-test.html +++ b/tests/wpt/webgl/tests/conformance/programs/gl-bind-attrib-location-long-names-test.html @@ -33,8 +33,8 @@ - - + +
@@ -170,7 +170,7 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/programs/gl-bind-attrib-location-test.html b/tests/wpt/webgl/tests/conformance/programs/gl-bind-attrib-location-test.html index abdcb0ce1c2..ee9c98db347 100644 --- a/tests/wpt/webgl/tests/conformance/programs/gl-bind-attrib-location-test.html +++ b/tests/wpt/webgl/tests/conformance/programs/gl-bind-attrib-location-test.html @@ -33,8 +33,8 @@ - - + +
@@ -156,7 +156,7 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/programs/gl-get-active-attribute.html b/tests/wpt/webgl/tests/conformance/programs/gl-get-active-attribute.html index a5db952621d..dcf13fb3c87 100644 --- a/tests/wpt/webgl/tests/conformance/programs/gl-get-active-attribute.html +++ b/tests/wpt/webgl/tests/conformance/programs/gl-get-active-attribute.html @@ -33,8 +33,8 @@ - - + + @@ -100,7 +100,7 @@ for (var tt = 0; tt < tests.length; ++tt) { var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/programs/gl-get-active-uniform.html b/tests/wpt/webgl/tests/conformance/programs/gl-get-active-uniform.html index 3bb7dd1c54f..9ea5591b6fe 100644 --- a/tests/wpt/webgl/tests/conformance/programs/gl-get-active-uniform.html +++ b/tests/wpt/webgl/tests/conformance/programs/gl-get-active-uniform.html @@ -33,8 +33,8 @@ - - + + @@ -79,32 +79,24 @@ var wtu = WebGLTestUtils; var gl = wtu.create3DContext("example"); var tests = [ -{ glType: gl.FLOAT, size: 1, type: 'float', access: 'uniform0'}, -{ glType: gl.FLOAT_VEC2, size: 1, type: 'vec2', access: 'uniform0[1]'}, -{ glType: gl.FLOAT_VEC3, size: 1, type: 'vec3', access: 'uniform0[2]'}, -{ glType: gl.FLOAT_VEC4, size: 1, type: 'vec4', access: 'uniform0[3]'}, -{ glType: gl.FLOAT_MAT2, size: 1, type: 'mat2', access: 'uniform0[1][1]'}, -{ glType: gl.FLOAT_MAT3, size: 1, type: 'mat3', access: 'uniform0[2][2]'}, -{ glType: gl.FLOAT_MAT3, size: 1, type: 'mat3', access: 'uniform0[2][2]'}, -{ glType: gl.FLOAT_MAT4, size: 1, type: 'mat4', access: 'uniform0[3][3]'}, -{ glType: gl.INT, size: 1, type: 'int', access: 'float(uniform0)'}, -{ glType: gl.INT_VEC2, size: 1, type: 'ivec2', access: 'float(uniform0[1])'}, -{ glType: gl.INT_VEC3, size: 1, type: 'ivec3', access: 'float(uniform0[2])'}, -{ glType: gl.INT_VEC4, size: 1, type: 'ivec4', access: 'float(uniform0[3])'}, -{ glType: gl.BOOL, size: 1, type: 'bool', access: 'float(uniform0)'}, -{ glType: gl.BOOL_VEC2, size: 1, type: 'bvec2', access: 'float(uniform0[1])'}, -{ glType: gl.BOOL_VEC3, size: 1, type: 'bvec3', access: 'float(uniform0[2])'}, -{ glType: gl.BOOL_VEC4, size: 1, type: 'bvec4', access: 'float(uniform0[3])'}, -{ glType: gl.SAMPLER_2D, - size: 1, - type: 'sampler2D', - access: 'texture2D(uniform0, vec2(0,0)).x' -}, -{ glType: gl.SAMPLER_CUBE, - size: 1, - type: 'samplerCube', - access: 'textureCube(uniform0, vec3(0,1,0)).x' -} + { glType: gl.FLOAT, size: 1, type: 'float', access: 'uniform0'}, + { glType: gl.FLOAT_VEC2, size: 1, type: 'vec2', access: 'uniform0[1]'}, + { glType: gl.FLOAT_VEC3, size: 1, type: 'vec3', access: 'uniform0[2]'}, + { glType: gl.FLOAT_VEC4, size: 1, type: 'vec4', access: 'uniform0[3]'}, + { glType: gl.FLOAT_MAT2, size: 1, type: 'mat2', access: 'uniform0[1][1]'}, + { glType: gl.FLOAT_MAT3, size: 1, type: 'mat3', access: 'uniform0[2][2]'}, + { glType: gl.FLOAT_MAT3, size: 1, type: 'mat3', access: 'uniform0[2][2]'}, + { glType: gl.FLOAT_MAT4, size: 1, type: 'mat4', access: 'uniform0[3][3]'}, + { glType: gl.INT, size: 1, type: 'int', access: 'float(uniform0)'}, + { glType: gl.INT_VEC2, size: 1, type: 'ivec2', access: 'float(uniform0[1])'}, + { glType: gl.INT_VEC3, size: 1, type: 'ivec3', access: 'float(uniform0[2])'}, + { glType: gl.INT_VEC4, size: 1, type: 'ivec4', access: 'float(uniform0[3])'}, + { glType: gl.BOOL, size: 1, type: 'bool', access: 'float(uniform0)'}, + { glType: gl.BOOL_VEC2, size: 1, type: 'bvec2', access: 'float(uniform0[1])'}, + { glType: gl.BOOL_VEC3, size: 1, type: 'bvec3', access: 'float(uniform0[2])'}, + { glType: gl.BOOL_VEC4, size: 1, type: 'bvec4', access: 'float(uniform0[3])'}, + { glType: gl.SAMPLER_2D, size: 1, type: 'sampler2D', access: 'texture2D(uniform0, vec2(0,0)).x'}, + { glType: gl.SAMPLER_CUBE, size: 1, type: 'samplerCube', access: 'textureCube(uniform0, vec3(0,1,0)).x'} ]; var vs = wtu.loadShaderFromScript(gl, 'vshader', gl.VERTEX_SHADER); @@ -155,11 +147,11 @@ gl.uniform1f(l2, 1); wtu.glErrorShouldBe(gl, gl.NO_ERROR, "no errors setting uniform 0"); gl.uniform1f(l1, 2); wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, - "setting a uniform using a location from another program"); + "setting a uniform using a location from another program"); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/programs/gl-getshadersource.html b/tests/wpt/webgl/tests/conformance/programs/gl-getshadersource.html index d337b65f1e0..25f49790b22 100644 --- a/tests/wpt/webgl/tests/conformance/programs/gl-getshadersource.html +++ b/tests/wpt/webgl/tests/conformance/programs/gl-getshadersource.html @@ -33,8 +33,8 @@ - - + + @@ -54,7 +54,7 @@ shouldBe("source", "original"); wtu.glErrorShouldBe(gl, gl.NO_ERROR, "Should be no errors."); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/programs/gl-shader-test.html b/tests/wpt/webgl/tests/conformance/programs/gl-shader-test.html index 8c0ced55a90..ed13f23a963 100644 --- a/tests/wpt/webgl/tests/conformance/programs/gl-shader-test.html +++ b/tests/wpt/webgl/tests/conformance/programs/gl-shader-test.html @@ -33,9 +33,9 @@ - - - + + + - + diff --git a/tests/wpt/webgl/tests/conformance/programs/invalid-UTF-16.html b/tests/wpt/webgl/tests/conformance/programs/invalid-UTF-16.html index 3f28fc95b14..e360cb46ab2 100644 --- a/tests/wpt/webgl/tests/conformance/programs/invalid-UTF-16.html +++ b/tests/wpt/webgl/tests/conformance/programs/invalid-UTF-16.html @@ -32,8 +32,8 @@ - - + +

@@ -66,6 +66,6 @@ testPassed("bindAttribLocation with invalid UTF-16 did not crash"); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/programs/program-test.html b/tests/wpt/webgl/tests/conformance/programs/program-test.html index 18759f64af3..854c5ea0b9a 100644 --- a/tests/wpt/webgl/tests/conformance/programs/program-test.html +++ b/tests/wpt/webgl/tests/conformance/programs/program-test.html @@ -32,9 +32,9 @@ - - - + + + - + diff --git a/tests/wpt/webgl/tests/conformance/programs/use-program-crash-with-discard-in-fragment-shader.html b/tests/wpt/webgl/tests/conformance/programs/use-program-crash-with-discard-in-fragment-shader.html index 3277e94ecbe..4c100867104 100644 --- a/tests/wpt/webgl/tests/conformance/programs/use-program-crash-with-discard-in-fragment-shader.html +++ b/tests/wpt/webgl/tests/conformance/programs/use-program-crash-with-discard-in-fragment-shader.html @@ -33,8 +33,8 @@ - - + +
@@ -94,7 +94,7 @@ wtu.checkCanvasRect(gl, 0, 0, 1, 1, [255, 0, 0, 255], var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/reading/00_test_list.txt b/tests/wpt/webgl/tests/conformance/reading/00_test_list.txt index bff4db57ee6..8651fbd83fc 100644 --- a/tests/wpt/webgl/tests/conformance/reading/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/reading/00_test_list.txt @@ -1,3 +1,3 @@ +--min-version 1.0.4 fbo-remains-unchanged-after-read-pixels.html read-pixels-pack-alignment.html read-pixels-test.html - diff --git a/tests/wpt/webgl/tests/conformance/reading/fbo-remains-unchanged-after-read-pixels.html b/tests/wpt/webgl/tests/conformance/reading/fbo-remains-unchanged-after-read-pixels.html new file mode 100644 index 00000000000..595b20e5223 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/reading/fbo-remains-unchanged-after-read-pixels.html @@ -0,0 +1,127 @@ + + + + + + + + + + + + + +
+
+ + + + + + + + + diff --git a/tests/wpt/webgl/tests/conformance/reading/read-pixels-pack-alignment.html b/tests/wpt/webgl/tests/conformance/reading/read-pixels-pack-alignment.html index d1e812befe9..a6e74c9da55 100644 --- a/tests/wpt/webgl/tests/conformance/reading/read-pixels-pack-alignment.html +++ b/tests/wpt/webgl/tests/conformance/reading/read-pixels-pack-alignment.html @@ -32,8 +32,8 @@ - - + + - + diff --git a/tests/wpt/webgl/tests/conformance/reading/read-pixels-test.html b/tests/wpt/webgl/tests/conformance/reading/read-pixels-test.html index f3334d5b6ba..bf949e15c41 100644 --- a/tests/wpt/webgl/tests/conformance/reading/read-pixels-test.html +++ b/tests/wpt/webgl/tests/conformance/reading/read-pixels-test.html @@ -33,8 +33,9 @@ - - + + + @@ -47,6 +48,7 @@ description("Checks that ReadPixels works as expected."); var wtu = WebGLTestUtils; var canvas = document.getElementById("example"); var gl = wtu.create3DContext(canvas); +var contextVersion = wtu.getDefault3DContextVersion(); var actual; var expected; @@ -75,11 +77,11 @@ function continueTestAfterContextRestored() { } function continueTestPart1() { - gl.clearColor(0.5, 0.7, 1.0, 1); + gl.clearColor(0.2, 0.6, 0.4, 1); gl.clear(gl.COLOR_BUFFER_BIT); - var innerColor = [0.5, 0.7, 1.0, 1]; - var outerColor = [0, 0, 0, 0]; + var innerColor = [51, 153, 102, 255]; // (0.2, 0.6, 0.4, 1) + var outerColor = [19, 72, 0, 198]; // Random color other than [0, 0, 0, 0] var tests = [ { msg: 'in range', checkColor: innerColor, x: 0, y: 0, @@ -110,96 +112,169 @@ function continueTestPart1() { function checkBuffer(checkColor, x, y, oneColor, oneX, oneY) { var buf = new Uint8Array(width * height * 4); + // Initialize buf. + for (var ii = 0; ii < width * height; ++ii) { + buf[ii * 4] = outerColor[0]; + buf[ii * 4 + 1] = outerColor[1]; + buf[ii * 4 + 2] = outerColor[2]; + buf[ii * 4 + 3] = outerColor[3]; + } gl.readPixels(x, y, width, height, gl.RGBA, gl.UNSIGNED_BYTE, buf); for (var yy = 0; yy < height; ++yy) { for (var xx = 0; xx < width; ++xx) { var offset = (yy * width + xx) * 4; var expectedColors = (oneX == xx && oneY == yy) ? oneColor : checkColor; + var mismatch = false; for (var cc = 0; cc < 4; ++cc) { - var expectedColor = expectedColors[cc] * 255; + var expectedColor = expectedColors[cc]; var color = buf[offset + cc]; var diff = Math.abs(expectedColor - color); - assertMsg(diff < 3, - "color pixel at " + xx + ", " + yy + " should be about " + expectedColor); + if (diff >= 3) { + mismatch = true; + break; + } } + assertMsg(!mismatch, + "color pixel at " + xx + ", " + yy + " should be about " + expectedColors + + ", was = " + [buf[offset], buf[offset + 1], buf[offset + 2], buf[offset + 3]]); } } } - var badFormats = [ + continueTestPart2(); +} + +function continueTestPart2() { + var invalidFormat = [gl.DEPTH_COMPONENT, gl.DEPTH_STENCIL, desktopGL.R8, gl.RGBA4, gl.LUMINANCE, gl.LUMINANCE_ALPHA]; + if (contextVersion < 2) { + // They are valid in WebGL 2 or higher + invalidFormat = invalidFormat.concat([desktopGL.RED, desktopGL.RG_INTEGER, desktopGL.RGBA_INTEGER]); + } + + var invalidTypeInfo = [ + {type: desktopGL.UNSIGNED_INT_24_8, dest: new Uint32Array(4)} + ]; + if (contextVersion < 2) { + // They are valid in WebGL 2 or Higher + invalidTypeInfo = invalidTypeInfo.concat([ + {type: gl.UNSIGNED_SHORT, dest: new Uint16Array(4)}, + {type: gl.SHORT, dest: new Int16Array(4)}, + {type: gl.BYTE, dest: new Int8Array(4)}, + {type: gl.UNSIGNED_INT, dest: new Uint32Array(4)}, + {type: desktopGL.UNSIGNED_INT_2_10_10_10_REV, dest: new Uint32Array(4)} + ]); + } + + debug(""); + debug("check invalid format or type"); + for (var ff = 0; ff < invalidFormat.length; ++ff) { + var format = invalidFormat[ff]; + var buf = new Uint8Array(4); + gl.readPixels(0, 0, 1, 1, format, gl.UNSIGNED_BYTE, buf); + wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "Should not be able to read as " + wtu.glEnumToString(gl, format)); + } + + for (var tt = 0; tt < invalidTypeInfo.length; ++tt) { + var info = invalidTypeInfo[tt]; + var type = info.type; + var dest = info.dest; + gl.readPixels(0, 0, 1, 1, gl.RGBA, type, dest); + wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "Should not be able to read as " + wtu.glEnumToString(gl, type)); + } + + var combinations = [ + { + format: gl.RGBA, + type: gl.UNSIGNED_BYTE, + dest: new Uint8Array(4), + }, { format: gl.RGB, type: gl.UNSIGNED_BYTE, dest: new Uint8Array(3), - error: gl.INVALID_OPERATION }, { format: gl.RGB, type: gl.UNSIGNED_SHORT_5_6_5, dest: new Uint8Array(3), - error: gl.INVALID_OPERATION }, { format: gl.RGBA, type: gl.UNSIGNED_SHORT_5_5_5_1, dest: new Uint16Array(1), - error: gl.INVALID_OPERATION }, { format: gl.RGBA, type: gl.UNSIGNED_SHORT_4_4_4_4, dest: new Uint16Array(1), - error: gl.INVALID_OPERATION }, { format: gl.ALPHA, type: gl.UNSIGNED_BYTE, dest: new Uint8Array(1), - error: gl.INVALID_OPERATION - }, - { - format: gl.LUMINANCE, - type: gl.UNSIGNED_BYTE, - dest: new Uint8Array(1), - error: gl.INVALID_ENUM - }, - { - format: gl.LUMINANCE_ALPHA, - type: gl.UNSIGNED_BYTE, - dest: new Uint8Array(2), - error: gl.INVALID_ENUM } ]; + if (contextVersion > 1) { + combinations = combinations.concat([ + { + format: gl.RED, + type: gl.UNSIGNED_BYTE, + dest: new Uint8Array(1), + }, + { + format: gl.RGBA_INTEGER, + type: gl.UNSIGNED_INT, + dest: new Uint32Array(4), + }, + { + format: gl.RGBA_INTEGER, + type: gl.INT, + dest: new Int32Array(4), + } + ]); + } + debug(""); - debug("check disallowed formats"); - for (var tt = 0; tt < badFormats.length; ++ tt) { - var info = badFormats[tt] + debug("check invalid combinations of format/type"); + + var implFormat = gl.getParameter(gl.IMPLEMENTATION_COLOR_READ_FORMAT); + var implType = gl.getParameter(gl.IMPLEMENTATION_COLOR_READ_TYPE); + + for (var tt = 0; tt < combinations.length; ++ tt) { + var info = combinations[tt]; var format = info.format; var type = info.type; var dest = info.dest; - var error = info.error; gl.readPixels(0, 0, 1, 1, format, type, dest); - // note that the GL error is INVALID_OPERATION if both format and type are invalid, but - // INVALID_ENUM if only one is. - wtu.glErrorShouldBe( - gl, error, - "Should not be able to read as " + wtu.glEnumToString(gl, format) + - " / " + wtu.glEnumToString(gl, type)); + // Only two format/type parameter pairs are accepted. GL_RGBA/GL_UNSIGNED_BYTE is always + // accepted on default readbuffer. The other acceptable pair can be discovered by querying + // GL_IMPLEMENTATION_COLOR_READ_FORMAT and GL_IMPLEMENTATION_COLOR_READ_TYPE. + if ((format == gl.RGBA && type == gl.UNSIGNED_BYTE) || (format == implFormat && type == implType)) { + wtu.glErrorShouldBe( + gl, gl.NO_ERROR, + "Should be able to read as " + wtu.glEnumToString(gl, format) + + " / " + wtu.glEnumToString(gl, type)); + } else { + wtu.glErrorShouldBe( + gl, gl.INVALID_OPERATION, + "Should not be able to read as " + wtu.glEnumToString(gl, format) + + " / " + wtu.glEnumToString(gl, type)); + } } debug(""); debug("check reading with lots of drawing"); - continueTestFunc = continueTestPart2; + continueTestFunc = continueTestPart3; width = 1024; height = 1024; canvas.width = width; canvas.height = height; if (gl.getError() != gl.CONTEXT_LOST_WEBGL) { - continueTestPart2(); + continueTestPart3(); } } -function continueTestPart2() { +function continueTestPart3() { gl.viewport(0, 0, 1024, 1024); var program = wtu.setupTexturedQuad(gl); var loc = gl.getUniformLocation(program, "tex"); diff --git a/tests/wpt/webgl/tests/conformance/renderbuffers/00_test_list.txt b/tests/wpt/webgl/tests/conformance/renderbuffers/00_test_list.txt index 82a471c2ab2..af2c30e473b 100644 --- a/tests/wpt/webgl/tests/conformance/renderbuffers/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/renderbuffers/00_test_list.txt @@ -1,6 +1,8 @@ --min-version 1.0.3 feedback-loop.html -framebuffer-object-attachment.html +--max-version 1.9.9 framebuffer-object-attachment.html --min-version 1.0.2 framebuffer-state-restoration.html -framebuffer-test.html +--max-version 1.9.9 framebuffer-test.html renderbuffer-initialization.html +--min-version 1.0.4 depth-renderbuffer-initialization.html +--min-version 1.0.4 stencil-renderbuffer-initialization.html diff --git a/tests/wpt/webgl/tests/conformance/renderbuffers/depth-renderbuffer-initialization.html b/tests/wpt/webgl/tests/conformance/renderbuffers/depth-renderbuffer-initialization.html new file mode 100644 index 00000000000..615052019b8 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/renderbuffers/depth-renderbuffer-initialization.html @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/renderbuffers/feedback-loop.html b/tests/wpt/webgl/tests/conformance/renderbuffers/feedback-loop.html index 3c4567a1244..035b87aa8cd 100644 --- a/tests/wpt/webgl/tests/conformance/renderbuffers/feedback-loop.html +++ b/tests/wpt/webgl/tests/conformance/renderbuffers/feedback-loop.html @@ -33,8 +33,8 @@ - - + + @@ -121,7 +121,7 @@ var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-object-attachment.html b/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-object-attachment.html index d1f4753e645..f1681cccb93 100644 --- a/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-object-attachment.html +++ b/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-object-attachment.html @@ -32,8 +32,8 @@ - - + +
@@ -428,6 +428,7 @@ if (checkValidColorDepthCombination()) { testFramebufferIncompleteMissingAttachment(); testUsingIncompleteFramebuffer(); testReadingFromMissingAttachment(); + testBindRenderbufferBeforeFramebufferAttach(); } function checkFramebuffer(expected) { @@ -657,9 +658,44 @@ function testReadingFromMissingAttachment() { wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, "After CopyTexSubImage2D from missing attachment"); } +// [OpenGL ES 2.0.25] Section 4.4.3 page 112 +// [OpenGL ES 3.0.2] Section 4.4.2 page 201 +// 'renderbuffer' must be either zero or the name of an existing renderbuffer object of +// type 'renderbuffertarget', otherwise an INVALID_OPERATION error is generated. +function testBindRenderbufferBeforeFramebufferAttach() { + debug(""); + debug("Test calling framebufferRenderbuffer before bindRenderbuffer."); + + let fbo = gl.createFramebuffer(); + gl.bindFramebuffer(gl.FRAMEBUFFER, fbo); + + let attachmentTypes = [ + gl.COLOR_ATTACHMENT0, + gl.DEPTH_ATTACHMENT, + gl.STENCIL_ATTACHMENT, + gl.DEPTH_STENCIL_ATTACHMENT + ]; + + attachmentTypes.forEach(function(attachmentType) { + let strAttachmentType = wtu.glEnumToString(gl, attachmentType); + debug(""); + debug("Testing " + strAttachmentType); + let rbo = gl.createRenderbuffer(); + gl.framebufferRenderbuffer(gl.FRAMEBUFFER, attachmentType, gl.RENDERBUFFER, rbo); + wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, "bindRenderbuffer must be called before attachment to " + strAttachmentType); + shouldBe("gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, gl." + strAttachmentType + ", gl.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE)", "gl.NONE"); + gl.getFramebufferAttachmentParameter(gl.FRAMEBUFFER, attachmentType, gl.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME); + wtu.glErrorShouldBe(gl, gl.INVALID_ENUM, "Only OBJECT_TYPE can be queried when no image is attached"); + gl.framebufferRenderbuffer(gl.FRAMEBUFFER, attachmentType, gl.RENDERBUFFER, null); + gl.deleteRenderbuffer(rbo); + }); + + gl.deleteFramebuffer(fbo); +} + var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-state-restoration.html b/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-state-restoration.html index c4ff2589e64..4028029e468 100644 --- a/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-state-restoration.html +++ b/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-state-restoration.html @@ -33,8 +33,8 @@ - - + + diff --git a/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-test.html b/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-test.html index 80d038c4668..98a63076154 100644 --- a/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-test.html +++ b/tests/wpt/webgl/tests/conformance/renderbuffers/framebuffer-test.html @@ -33,9 +33,9 @@ - - - + + +
@@ -59,7 +59,7 @@ if (!gl) { debug(""); debug("Checking framebuffer/renderbuffer stuff."); - var value = gl.getFramebufferAttachmentParameter( + gl.getFramebufferAttachmentParameter( gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE); @@ -193,7 +193,7 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/renderbuffers/renderbuffer-initialization.html b/tests/wpt/webgl/tests/conformance/renderbuffers/renderbuffer-initialization.html index 1a1392e61f6..19d23eb68d2 100644 --- a/tests/wpt/webgl/tests/conformance/renderbuffers/renderbuffer-initialization.html +++ b/tests/wpt/webgl/tests/conformance/renderbuffers/renderbuffer-initialization.html @@ -32,8 +32,8 @@ - - + + @@ -117,6 +117,6 @@ function runTest(gl, width, height, order) var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/renderbuffers/stencil-renderbuffer-initialization.html b/tests/wpt/webgl/tests/conformance/renderbuffers/stencil-renderbuffer-initialization.html new file mode 100644 index 00000000000..878cd206bf5 --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/renderbuffers/stencil-renderbuffer-initialization.html @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + +
+
+ + + + diff --git a/tests/wpt/webgl/tests/conformance/rendering/00_test_list.txt b/tests/wpt/webgl/tests/conformance/rendering/00_test_list.txt index 1f58bb448b7..7a65c10e084 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/00_test_list.txt +++ b/tests/wpt/webgl/tests/conformance/rendering/00_test_list.txt @@ -1,6 +1,9 @@ +--min-version 1.0.4 --max-version 1.9.9 clipping-wide-points.html --min-version 1.0.2 culling.html +--min-version 1.0.4 default-texture-draw-bug.html draw-arrays-out-of-bounds.html draw-elements-out-of-bounds.html +--min-version 1.0.4 draw-with-changing-start-vertex-bug.html --min-version 1.0.3 framebuffer-switch.html --min-version 1.0.3 framebuffer-texture-switch.html gl-clear.html @@ -10,14 +13,23 @@ gl-scissor-test.html --min-version 1.0.2 gl-scissor-fbo-test.html --min-version 1.0.3 gl-scissor-canvas-dimensions.html --min-version 1.0.3 gl-viewport-test.html +--min-version 1.0.4 line-rendering-quality.html --min-version 1.0.3 many-draw-calls.html more-than-65536-indices.html multisample-corruption.html --min-version 1.0.3 negative-one-index.html +out-of-bounds-index-buffers.html --min-version 1.0.3 point-no-attributes.html point-size.html +--min-version 1.0.4 point-specific-shader-variables.html --min-version 1.0.3 point-with-gl-pointcoord-in-fragment-shader.html --min-version 1.0.3 polygon-offset.html +--min-version 1.0.4 preservedrawingbuffer-leak.html +--min-version 1.0.4 scissor-rect-repeated-rendering.html --min-version 1.0.2 simple.html triangle.html line-loop-tri-fan.html +--min-version 1.0.4 framebuffer-texture-clear.html +--min-version 1.0.4 clear-after-copyTexImage2D.html +--min-version 1.0.4 texture-switch-performance.html +--min-version 1.0.4 rendering-stencil-large-viewport.html diff --git a/tests/wpt/webgl/tests/conformance/rendering/clear-after-copyTexImage2D.html b/tests/wpt/webgl/tests/conformance/rendering/clear-after-copyTexImage2D.html new file mode 100644 index 00000000000..cd38d2df3db --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/rendering/clear-after-copyTexImage2D.html @@ -0,0 +1,87 @@ + + + + + + +WebGL clear after copyTexImage2D with a non-pure color + + + + + + + +
+
+ + + + + + diff --git a/tests/wpt/webgl/tests/conformance/rendering/culling.html b/tests/wpt/webgl/tests/conformance/rendering/culling.html index bb462c999d4..8f6a8ffaa93 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/culling.html +++ b/tests/wpt/webgl/tests/conformance/rendering/culling.html @@ -27,126 +27,124 @@ - - - - - - - - + + + + +void main() +{ + gl_Position = vec4(pos, 0, 1); +} + - +void main() +{ + gl_FragColor = col; +} + - - - - -
-
- - - + for (var i = 0; i < tests.length; ++i) { + var t = tests[i]; + debug('Setting ' + t.cullFace + ' and ' + t.frontFace); + gl.cullFace(gl[t.cullFace]); + gl.frontFace(gl[t.frontFace]); + clear(gl, t.drawCCW ? red : green); + draw(gl, ccwVertices, colLoc, t.drawCCW ? green : red); + check(gl, 'CCW', t.drawCCW); + clear(gl, t.drawCW ? red : green); + draw(gl, cwVertices, colLoc, t.drawCW ? green : red); + check(gl, 'CW', t.drawCW); + } +} + + + + +
+
+ + + diff --git a/tests/wpt/webgl/tests/conformance/rendering/draw-arrays-out-of-bounds.html b/tests/wpt/webgl/tests/conformance/rendering/draw-arrays-out-of-bounds.html index 75741aeb0fc..515649c8a2b 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/draw-arrays-out-of-bounds.html +++ b/tests/wpt/webgl/tests/conformance/rendering/draw-arrays-out-of-bounds.html @@ -32,9 +32,9 @@ - - - + + +
@@ -51,6 +51,6 @@ debug("") var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/rendering/draw-elements-out-of-bounds.html b/tests/wpt/webgl/tests/conformance/rendering/draw-elements-out-of-bounds.html index 0d4e05e27bb..1e8d3d5d08d 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/draw-elements-out-of-bounds.html +++ b/tests/wpt/webgl/tests/conformance/rendering/draw-elements-out-of-bounds.html @@ -32,9 +32,9 @@ - - - + + +
@@ -51,6 +51,6 @@ debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/rendering/framebuffer-switch.html b/tests/wpt/webgl/tests/conformance/rendering/framebuffer-switch.html index 7d208ff88a0..943f571b3b1 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/framebuffer-switch.html +++ b/tests/wpt/webgl/tests/conformance/rendering/framebuffer-switch.html @@ -33,8 +33,8 @@ - - + + @@ -50,7 +50,7 @@ var program = wtu.setupTexturedQuad(gl); var tex1 = gl.createTexture(); gl.bindTexture(gl.TEXTURE_2D, tex1); -gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGB, canvas.width, canvas.height, 0, gl.RGB, gl.UNSIGNED_BYTE, null); +gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, canvas.width, canvas.height, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); var fb1 = gl.createFramebuffer(); @@ -59,7 +59,7 @@ gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, tex var tex2 = gl.createTexture(); gl.bindTexture(gl.TEXTURE_2D, tex2); -gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGB, canvas.width, canvas.height, 0, gl.RGB, gl.UNSIGNED_BYTE, null); +gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, canvas.width, canvas.height, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); var fb2 = gl.createFramebuffer(); diff --git a/tests/wpt/webgl/tests/conformance/rendering/framebuffer-texture-clear.html b/tests/wpt/webgl/tests/conformance/rendering/framebuffer-texture-clear.html new file mode 100644 index 00000000000..374effc066e --- /dev/null +++ b/tests/wpt/webgl/tests/conformance/rendering/framebuffer-texture-clear.html @@ -0,0 +1,120 @@ + + + + + + +WebGL framebuffer clearColor with pure 0/1 + + + + + + + +
+
+ + + + + + diff --git a/tests/wpt/webgl/tests/conformance/rendering/framebuffer-texture-switch.html b/tests/wpt/webgl/tests/conformance/rendering/framebuffer-texture-switch.html index a2e7904a759..5b677f79ad9 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/framebuffer-texture-switch.html +++ b/tests/wpt/webgl/tests/conformance/rendering/framebuffer-texture-switch.html @@ -33,8 +33,8 @@ - - + + @@ -53,13 +53,13 @@ gl.bindFramebuffer(gl.FRAMEBUFFER, fb); var tex2 = gl.createTexture(); gl.bindTexture(gl.TEXTURE_2D, tex2); -gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGB, canvas.width, canvas.height, 0, gl.RGB, gl.UNSIGNED_BYTE, null); +gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, canvas.width, canvas.height, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); var tex1 = gl.createTexture(); gl.bindTexture(gl.TEXTURE_2D, tex1); -gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGB, canvas.width, canvas.height, 0, gl.RGB, gl.UNSIGNED_BYTE, null); +gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, canvas.width, canvas.height, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); diff --git a/tests/wpt/webgl/tests/conformance/rendering/gl-clear.html b/tests/wpt/webgl/tests/conformance/rendering/gl-clear.html index 6d1a5b58607..30bbe8d4239 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/gl-clear.html +++ b/tests/wpt/webgl/tests/conformance/rendering/gl-clear.html @@ -33,8 +33,8 @@ - - + + @@ -84,7 +84,7 @@ wtu.checkCanvas(gl, [128,128,128,255], "should be 128,128,128,255"); debug(""); var successfullyParsed = true; - + diff --git a/tests/wpt/webgl/tests/conformance/rendering/gl-drawarrays.html b/tests/wpt/webgl/tests/conformance/rendering/gl-drawarrays.html index c9241b85053..23bf439a7a4 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/gl-drawarrays.html +++ b/tests/wpt/webgl/tests/conformance/rendering/gl-drawarrays.html @@ -27,75 +27,79 @@ - + - WebGL drawArrays Test - - - - - - +WebGL drawArrays Test + + + + + +
- + - + - - + checkDrawArrays(gl.TRIANGLES, 3, + gl.NO_ERROR, "can call gl.DrawArrays with gl.TRIANGLES"); + + checkDrawArrays( + desktopGL['QUAD_STRIP'], 4, + gl.INVALID_ENUM, "gl.DrawArrays with QUAD_STRIP should return INVALID_ENUM"); + checkDrawArrays( + desktopGL['QUADS'], 4, + gl.INVALID_ENUM, "gl.DrawArrays with QUADS should return INVALID_ENUM"); + checkDrawArrays( + desktopGL['POLYGON'], 4, + gl.INVALID_ENUM, "gl.DrawArrays with POLYGON should return INVALID_ENUM"); +} + +init(); +var successfullyParsed = true; + + diff --git a/tests/wpt/webgl/tests/conformance/rendering/gl-drawelements.html b/tests/wpt/webgl/tests/conformance/rendering/gl-drawelements.html index e8c5200ccfd..3afe6774c56 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/gl-drawelements.html +++ b/tests/wpt/webgl/tests/conformance/rendering/gl-drawelements.html @@ -27,37 +27,36 @@ - + - WebGL drawElements Test - - - - - - +WebGL drawElements Test + + + + + +
- + - + - - + + diff --git a/tests/wpt/webgl/tests/conformance/rendering/gl-scissor-canvas-dimensions.html b/tests/wpt/webgl/tests/conformance/rendering/gl-scissor-canvas-dimensions.html index 5e7cd59a0f9..7bba50fb3fb 100644 --- a/tests/wpt/webgl/tests/conformance/rendering/gl-scissor-canvas-dimensions.html +++ b/tests/wpt/webgl/tests/conformance/rendering/gl-scissor-canvas-dimensions.html @@ -33,8 +33,8 @@ - - + +