Backed out changeset b462e7b742d8 (bug 1908261) for causing multiple reftest failures...
[gecko.git] / dom / canvas / test / webgl-conf / checkout / conformance / uniforms / no-over-optimization-on-uniform-array-15.html
blob46b50679b782b5dd67f2b828210d1df498fedc80
1 <!--
2 Copyright (c) 2019 The Khronos Group Inc.
3 Use of this source code is governed by an MIT-style license that can be
4 found in the LICENSE.txt file.
5 -->
7 <!DOCTYPE html>
8 <html>
9 <head>
10 <meta charset="utf-8">
11 <title>WebGL uniform array Conformance Tests</title>
12 <link rel="stylesheet" href="../../resources/js-test-style.css"/>
13 <script src="../../js/js-test-pre.js"></script>
14 <script src="../../js/webgl-test-utils.js"></script>
15 <script src="../../js/tests/no-over-optimizations-on-uniform-array.js"></script>
16 </head>
17 <body>
18 <div id="description"></div>
19 <div id="console"></div>
20 <canvas id="example" width="2" height="2"> </canvas>
21 <script>
22 "use strict";
23 description();
24 debug("");
26 var wtu = WebGLTestUtils;
27 var gl = wtu.create3DContext("example");
28 var testIndex = 15;
29 var testSet = NoOverOptimizeOnUniformArrayTester.setupTests(gl);
30 var testCases = [testSet[testIndex]];
32 NoOverOptimizeOnUniformArrayTester.runTests(gl, testCases)
33 wtu.glErrorShouldBe(gl, gl.NO_ERROR, "there should be no errors");
35 var successfullyParsed = true;
36 </script>
37 <script src="../../js/js-test-post.js"></script>
38 </body>
39 </html>