tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

no-over-optimization-on-uniform-array-16.html (1105B)


      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 -->
      6 
      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("");
     25 
     26 var wtu = WebGLTestUtils;
     27 var gl = wtu.create3DContext("example");
     28 var testIndex = 16;
     29 var testSet = NoOverOptimizeOnUniformArrayTester.setupTests(gl);
     30 var testCases = [testSet[testIndex]];
     31 
     32 NoOverOptimizeOnUniformArrayTester.runTests(gl, testCases)
     33 wtu.glErrorShouldBe(gl, gl.NO_ERROR, "there should be no errors");
     34 
     35 var successfullyParsed = true;
     36 </script>
     37 <script src="../../js/js-test-post.js"></script>
     38 </body>
     39 </html>