| Index: LayoutTests/webgl/resources/webgl_test_files/conformance/extensions/oes-texture-half-float-linear.html
|
| diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/extensions/oes-texture-half-float-with-image-data.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/extensions/oes-texture-half-float-linear.html
|
| similarity index 76%
|
| copy from LayoutTests/webgl/resources/webgl_test_files/conformance/extensions/oes-texture-half-float-with-image-data.html
|
| copy to LayoutTests/webgl/resources/webgl_test_files/conformance/extensions/oes-texture-half-float-linear.html
|
| index 8659bd2ac3aed4d2ceb2d6819ad05150700edcfb..a24a9183cfdda87be263370cfd251e25648a0a2b 100644
|
| --- a/LayoutTests/webgl/resources/webgl_test_files/conformance/extensions/oes-texture-half-float-with-image-data.html
|
| +++ b/LayoutTests/webgl/resources/webgl_test_files/conformance/extensions/oes-texture-half-float-linear.html
|
| @@ -33,29 +33,25 @@
|
| <script src="../../resources/js-test-pre.js"></script>
|
| <script src="../resources/webgl-test.js"></script>
|
| <script src="../resources/webgl-test-utils.js"></script>
|
| -<script src="../resources/tex-image-and-sub-image-2d-with-image-data.js"></script>
|
| +<script src="../resources/oes-texture-float-and-half-float-linear.js"></script>
|
| <script>
|
| "use strict";
|
| -function testPrologue(gl) {
|
| +function testPrologue(gl, extensionTypeName) {
|
| var ext = null;
|
| -
|
| - if (!(ext = gl.getExtension("OES_texture_half_float"))) {
|
| - testPassed("No OES_texture_half_float support -- this is legal");
|
| + if (!(ext = gl.getExtension(extensionTypeName))) {
|
| + testPassed("No " + extensionTypeName + " support -- this is legal");
|
| return false;
|
| }
|
| -
|
| // Required by the test harness.
|
| gl.HALF_FLOAT_OES = ext.HALF_FLOAT_OES;
|
| -
|
| - testPassed("Successfully enabled OES_texture_half_float extension");
|
| + testPassed("Successfully enabled " + extensionTypeName + " extension");
|
| return true;
|
| }
|
| </script>
|
| </head>
|
| -<body onload='generateTest("RGBA", "HALF_FLOAT_OES", testPrologue)()'>
|
| -<canvas id="texcanvas" width="1" height="2"></canvas>
|
| -<canvas id="example" width="1" height="2"></canvas>
|
| +<body onload='generateTest("OES_texture_half_float", "OES_texture_half_float_linear", "HALF_FLOAT_OES", testPrologue)()'>
|
| <div id="description"></div>
|
| +<canvas id="canvas" style="width: 50px; height: 50px;"> </canvas>
|
| <div id="console"></div>
|
| </body>
|
| </html>
|
|
|