tor-browser

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

swizzles_vec4.html (1327B)


      1 <!--
      2 # WARNING: This file is auto-generated. Do NOT modify it manually, but rather
      3 # modify the generating script file. Otherwise changes will be lost!
      4 # See split-swizzles.js
      5 
      6 -->
      7 <html>
      8 <head>
      9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     10 <title>WebGL Shader Conformance Tests</title>
     11 <link rel="stylesheet" href="../../../../resources/js-test-style.css"/>
     12 <script src="../../../../js/js-test-pre.js"></script>
     13 <script src="../../../../js/webgl-test-utils.js"></script>
     14 
     15 <script src="../../../../closure-library/closure/goog/base.js"></script>
     16 <script src="../../../deqp-deps.js"></script>
     17 <script>goog.require('modules.shared.glsShaderLibrary');</script>
     18 </head>
     19 <body>
     20 <div id="description"></div>
     21 <div id="console"></div>
     22 <canvas id="canvas" width="200" height="100"> </canvas>
     23 <script>
     24 testName = 'swizzles_vec4';
     25 description("Shader test: " + testName + ".");
     26 WebGLTestUtils.setDefault3DContextVersion(2);
     27 
     28 var getFilter = function() {
     29    var queryVars = window.location.search.substring(1).split('&');
     30 
     31    for (var i = 0; i < queryVars.length; i++) {
     32        var value = queryVars[i].split('=');
     33        if (decodeURIComponent(value[0]) === 'filter')
     34            return decodeURIComponent(value[1]);
     35    }
     36 }
     37 
     38 modules.shared.glsShaderLibrary.run(testName, getFilter())
     39 
     40 </script>
     41 </body>
     42 </html>