Backed out changeset b462e7b742d8 (bug 1908261) for causing multiple reftest failures...
[gecko.git] / dom / canvas / test / webgl-conf / checkout / conformance / extensions / oes-texture-float-linear.html
blob2c8f194e8251fd5390c8381d8506a735855e8ca4
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/oes-texture-float-and-half-float-linear.js"></script>
15 </head>
16 <body>
17 <div id="description"></div>
18 <div id="console"></div>
19 <script>
20 "use strict";
22 description("Test OES_texture_float_linear, if available.");
24 const wtu = WebGLTestUtils;
25 const gl = wtu.create3DContext();
27 (function() {
28 if (!wtu.isWebGL2(gl)) {
29 if (!gl.getExtension("OES_texture_float")) {
30 testPassed("No OES_texture_float support -- this is legal");
31 return;
34 testTexLinear(gl, "OES_texture_float_linear", "RGBA32F", "FLOAT");
35 })();
37 debug("");
38 const successfullyParsed = true;
39 </script>
40 <script src="../../js/js-test-post.js"></script>
41 </body>
42 </html>