| 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 <link rel="stylesheet" href="../../js/resources/js-test-style.css"/> | |
| 7 <script src="../../js/resources/js-test-pre.js"></script> | 6 <script src="../../js/resources/js-test-pre.js"></script> |
| 8 <script src="resources/webgl-test.js"> </script> | 7 <script src="resources/webgl-test.js"> </script> |
| 9 <script src="resources/webgl-test-utils.js"> </script> | 8 <script src="resources/webgl-test-utils.js"> </script> |
| 10 </head> | 9 </head> |
| 11 <body> | 10 <body> |
| 12 <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> |
| 13 <div id="description"></div> | 12 <div id="description"></div> |
| 14 <div id="console"></div> | 13 <div id="console"></div> |
| 15 <script> | 14 <script> |
| 16 if (window.initNonKhronosFramework) { | 15 if (window.initNonKhronosFramework) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 shouldBeTrue('shaderPrecisionFormat.rangeMax == shaderPrecisionFormat2.rangeMax'
); | 99 shouldBeTrue('shaderPrecisionFormat.rangeMax == shaderPrecisionFormat2.rangeMax'
); |
| 101 shouldBeTrue('shaderPrecisionFormat.precision == shaderPrecisionFormat2.precisio
n'); | 100 shouldBeTrue('shaderPrecisionFormat.precision == shaderPrecisionFormat2.precisio
n'); |
| 102 | 101 |
| 103 finishTest(); | 102 finishTest(); |
| 104 </script> | 103 </script> |
| 105 | 104 |
| 106 </body> | 105 </body> |
| 107 </html> | 106 </html> |
| 108 | 107 |
| 109 | 108 |
| OLD | NEW |