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 GLSL Conformance Tests
</title>
12 <link rel=
"stylesheet" href=
"../../../resources/js-test-style.css"/>
13 <link rel=
"stylesheet" href=
"../../../resources/glsl-feature-tests.css"/>
14 <script src=
"../../../js/js-test-pre.js"></script>
15 <script src=
"../../../js/webgl-test-utils.js"></script>
16 <script src=
"../../../js/glsl-conformance-test.js"></script>
17 <script src=
"../../../js/glsl-constructor-tests-generator.js"></script>
20 <div id=
"description"></div>
21 <div id=
"console"></div>
24 var targetType
= "vec3";
25 description("Test " + targetType
+ " constructor expressions.");
27 var testSet
= GLSLConstructorTestsGenerator
.getDefaultTestSet(targetType
);
30 var testCases
= GLSLConstructorTestsGenerator
.getConstructorTests(targetType
, testSet
);
33 GLSLConformanceTester
.runTests(testCases
);
36 var successfullyParsed
= true;