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 <title>WebGL instanceof test.
</title>
12 <link rel=
"stylesheet" href=
"../../resources/js-test-style.css"/>
13 <script src=
"../../js/js-test-pre.js"></script>
14 <script src=
"../../js/webgl-test-utils.js"> </script>
17 <canvas id=
"canvas" width=
"2" height=
"2" style=
"width: 40px; height: 40px;"></canvas>
18 <div id=
"description"></div>
19 <div id=
"console"></div>
20 <script id=
"vshader" type=
"x-shader/x-vertex">
21 attribute vec4 vPosition;
22 varying vec2 texCoord;
25 gl_Position = vPosition;
28 <script id=
"fshader" type=
"x-shader/x-fragment">
29 precision mediump float;
38 var contextVersion
= 2;
40 <script src=
"../../js/tests/instanceof-test.js"></script>
41 <script src=
"../../js/js-test-post.js"></script>