projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/src/third_party/webgl/src/sdk/tests/conformance/glsl/constructors/glsl-construct-vec3.html
b/src/third_party/webgl/src/sdk/tests/conformance/glsl/constructors/glsl-construct-vec3.html
index
aa03a71
..
1bfb554
100644
(file)
--- a/
src/third_party/webgl/src/sdk/tests/conformance/glsl/constructors/glsl-construct-vec3.html
+++ b/
src/third_party/webgl/src/sdk/tests/conformance/glsl/constructors/glsl-construct-vec3.html
@@
-42,11
+42,13
@@
<div id="console"></div>
<script>
"use strict";
<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
// 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);
// Run the tests
GLSLConformanceTester.runTests(testCases);