Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / webgl / src / sdk / tests / conformance / glsl / constructors / glsl-construct-vec3.html
index aa03a71..1bfb554 100644 (file)
 <div id="console"></div>
 <script>
 "use strict";
-description("Test vec3 constructor expressions.");
+var targetType = "vec3"; 
+description("Test " + targetType + " constructor expressions.");
+
+var testSet = GLSLConstructorTestsGenerator.getDefaultTestSet(targetType);
 
 // Generate tests
-// Args: prefix scalar type name, component count, scalar type name 
-var testCases = GLSLConstructorTestsGenerator.getVectorConstructorTests("", 3, "float");
+var testCases = GLSLConstructorTestsGenerator.getConstructorTests(targetType, testSet);
  
 // Run the tests 
 GLSLConformanceTester.runTests(testCases);