OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title>WebGL shader precision format test.</title> | 5 <title>WebGL shader precision format test.</title> |
6 <script src="../../js/resources/js-test-pre.js"></script> | 6 <script src="../../../resources/js-test.js"></script> |
7 <script src="resources/webgl-test.js"> </script> | 7 <script src="resources/webgl-test.js"> </script> |
8 <script src="resources/webgl-test-utils.js"> </script> | 8 <script src="resources/webgl-test-utils.js"> </script> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
11 <canvas id="canvas" width="2" height="2" style="width: 40px; height: 40px;"></ca
nvas> | 11 <canvas id="canvas" width="2" height="2" style="width: 40px; height: 40px;"></ca
nvas> |
12 <div id="description"></div> | 12 <div id="description"></div> |
13 <div id="console"></div> | 13 <div id="console"></div> |
14 <script> | 14 <script> |
15 if (window.initNonKhronosFramework) { | 15 if (window.initNonKhronosFramework) { |
16 window.initNonKhronosFramework(true); | 16 window.initNonKhronosFramework(true); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 shouldBeTrue('shaderPrecisionFormat.rangeMax == shaderPrecisionFormat2.rangeMax'
); | 99 shouldBeTrue('shaderPrecisionFormat.rangeMax == shaderPrecisionFormat2.rangeMax'
); |
100 shouldBeTrue('shaderPrecisionFormat.precision == shaderPrecisionFormat2.precisio
n'); | 100 shouldBeTrue('shaderPrecisionFormat.precision == shaderPrecisionFormat2.precisio
n'); |
101 | 101 |
102 finishTest(); | 102 finishTest(); |
103 </script> | 103 </script> |
104 | 104 |
105 </body> | 105 </body> |
106 </html> | 106 </html> |
107 | 107 |
108 | 108 |
OLD | NEW |