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.
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-data.js"></script>
18 function testPrologue(gl
) {
19 if (!gl
.getExtension("OES_texture_float")) {
20 testPassed("No OES_texture_float support -- this is legal");
24 testPassed("Successfully enabled OES_texture_float extension");
29 <body onload='generateTest(
"RGBA",
"RGBA",
"FLOAT", testPrologue,
"../../resources/")()'
>
30 <canvas id=
"texcanvas" width=
"2" height=
"2"></canvas>
31 <canvas id=
"example" width=
"2" height=
"2"></canvas>
32 <div id=
"description"></div>
33 <div id=
"console"></div>