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.
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>
18 <div id=
"description"></div>
19 <div id=
"console"></div>
20 <canvas id=
"example" width=
"2" height=
"2"> </canvas>
26 var wtu
= WebGLTestUtils
;
27 var gl
= wtu
.create3DContext("example");
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;
37 <script src=
"../../js/js-test-post.js"></script>