Backed out changeset b462e7b742d8 (bug 1908261) for causing multiple reftest failures...
[gecko.git] / dom / canvas / test / webgl-conf / checkout / conformance / extensions / oes-texture-float-with-image.html
blobcff19e5d51b2bc4924b57c8f1d97002fe3a22c19
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 -->
7 <!DOCTYPE html>
8 <html>
9 <head>
10 <meta charset="utf-8">
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 <script src="../../js/tests/tex-image-and-sub-image-utils.js"></script>
15 <script src="../../js/tests/tex-image-and-sub-image-2d-with-image.js"></script>
16 <script>
17 "use strict";
18 function testPrologue(gl) {
19 if (!gl.getExtension("OES_texture_float")) {
20 testPassed("No OES_texture_float support -- this is legal");
21 return false;
24 testPassed("Successfully enabled OES_texture_float extension");
25 return true;
27 </script>
28 </head>
29 <body onload='generateTest("RGBA", "RGBA", "FLOAT", testPrologue, "../../resources/")()'>
30 <canvas id="example" width="32" height="32"></canvas>
31 <div id="description"></div>
32 <div id="console"></div>
33 </body>
34 </html>