summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/webgl-mochitest/ensure-exts/test_EXT_texture_norm16.html
blob: 0a636dc674d9987717261b419fa4cf1b940fb182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset='utf-8'/>
    <script src='/tests/SimpleTest/SimpleTest.js'></script>
    <link rel='stylesheet' href='/tests/SimpleTest/test.css'>
    <script src='ensure-ext.js'></script>
  </head>
  <body>
    <script>

'use strict';
EnsureExtFor('webgl', 'EXT_texture_norm16', false);
EnsureExtFor('webgl2', 'EXT_texture_norm16', false);

Lastly_WithDraftExtsEnabled(() => {
  EnsureExtFor('webgl', 'EXT_texture_norm16', false);
  EnsureExtFor('webgl2', 'EXT_texture_norm16', true);
});

    </script>
  </body>
</html>