98e3851f1699aa6ce68bfd5ab8461ae97deed1c1
[WebKit-https.git] / Tools / WebGPUShadingLanguageRI / Test.html
1 <html>
2 <head>
3 <title>WSL Test</title>
4 <script src="Node.js"></script>
5 <script src="Type.js"></script>
6 <script src="ReferenceType.js"></script>
7 <script src="Value.js"></script>
8 <script src="Expression.js"></script>
9 <script src="Rewriter.js"></script>
10 <script src="Visitor.js"></script>
11 <script src="CreateLiteral.js"></script>
12 <script src="CreateLiteralType.js"></script>
13 <script src="PropertyAccessExpression.js"></script>
14 <script src="NativeType.js"></script>
15
16 <script src="AddressSpace.js"></script>
17 <script src="AllocateAtEntryPoints.js"></script>
18 <script src="AnonymousVariable.js"></script>
19 <script src="ArrayRefType.js"></script>
20 <script src="ArrayType.js"></script>
21 <script src="Assignment.js"></script>
22 <script src="AutoWrapper.js"></script>
23 <script src="Block.js"></script>
24 <script src="BoolLiteral.js"></script>
25 <script src="Break.js"></script>
26 <script src="BuiltinMatrixGetter.js"></script>
27 <script src="BuiltinMatrixSetter.js"></script>
28 <script src="BuiltinVectorGetter.js"></script>
29 <script src="BuiltinVectorSetter.js"></script>
30 <script src="CallExpression.js"></script>
31 <script src="CallFunction.js"></script>
32 <script src="Casts.js"></script>
33 <script src="Check.js"></script>
34 <script src="CheckLiteralTypes.js"></script>
35 <script src="CheckLoops.js"></script>
36 <script src="CheckRecursion.js"></script>
37 <script src="CheckRecursiveTypes.js"></script>
38 <script src="CheckReturns.js"></script>
39 <script src="CheckTypesWithArguments.js"></script>
40 <script src="CheckUnreachableCode.js"></script>
41 <script src="CheckWrapped.js"></script>
42 <script src="Checker.js"></script>
43 <script src="CloneProgram.js"></script>
44 <script src="CommaExpression.js"></script>
45 <script src="ConstexprFolder.js"></script>
46 <script src="Continue.js"></script>
47 <script src="ConvertPtrToArrayRefExpression.js"></script>
48 <script src="DoWhileLoop.js"></script>
49 <script src="DotExpression.js"></script>
50 <script src="DereferenceExpression.js"></script>
51 <script src="EArrayRef.js"></script>
52 <script src="EBuffer.js"></script>
53 <script src="EBufferBuilder.js"></script>
54 <script src="EPtr.js"></script>
55 <script src="EnumLiteral.js"></script>
56 <script src="EnumMember.js"></script>
57 <script src="EnumType.js"></script>
58 <script src="EvaluationCommon.js"></script>
59 <script src="Evaluator.js"></script>
60 <script src="ExpressionFinder.js"></script>
61 <script src="ExternalOrigin.js"></script>
62 <script src="Field.js"></script>
63 <script src="FindHighZombies.js"></script>
64 <script src="FlattenedStructOffsetGatherer.js"></script>
65 <script src="FloatLiteral.js"></script>
66 <script src="FloatLiteralType.js"></script>
67 <script src="FoldConstexprs.js"></script>
68 <script src="ForLoop.js"></script>
69 <script src="Func.js"></script>
70 <script src="FuncDef.js"></script>
71 <script src="FuncParameter.js"></script>
72 <script src="FunctionLikeBlock.js"></script>
73 <script src="HighZombieFinder.js"></script>
74 <script src="IdentityExpression.js"></script>
75 <script src="IfStatement.js"></script>
76 <script src="IndexExpression.js"></script>
77 <script src="InferTypesForCall.js"></script>
78 <script src="Inline.js"></script>
79 <script src="Inliner.js"></script>
80 <script src="IntLiteral.js"></script>
81 <script src="IntLiteralType.js"></script>
82 <script src="Intrinsics.js"></script>
83 <script src="LateChecker.js"></script>
84 <script src="LateCheckAndLayoutBuffers.js"></script>
85 <script src="Lexer.js"></script>
86 <script src="LexerToken.js"></script>
87 <script src="LiteralTypeChecker.js"></script>
88 <script src="LogicalExpression.js"></script>
89 <script src="LogicalNot.js"></script>
90 <script src="LoopChecker.js"></script>
91 <script src="MakeArrayRefExpression.js"></script>
92 <script src="MakePtrExpression.js"></script>
93 <script src="MatrixType.js"></script>
94 <script src="NameContext.js"></script>
95 <script src="NameFinder.js"></script>
96 <script src="NameResolver.js"></script>
97 <script src="NativeFunc.js"></script>
98 <script src="NormalUsePropertyResolver.js"></script>
99 <script src="NullLiteral.js"></script>
100 <script src="NullType.js"></script>
101 <script src="OperatorAnderIndexer.js"></script>
102 <script src="OperatorArrayRefLength.js"></script>
103 <script src="OriginKind.js"></script>
104 <script src="OverloadResolutionFailure.js"></script>
105 <script src="Parse.js"></script>
106 <script src="Prepare.js"></script>
107 <script src="PropertyResolver.js"></script>
108 <script src="Program.js"></script>
109 <script src="ProgramWithUnnecessaryThingsRemoved.js"></script>
110 <script src="PtrType.js"></script>
111 <script src="ReadModifyWriteExpression.js"></script>
112 <script src="RecursionChecker.js"></script>
113 <script src="RecursiveTypeChecker.js"></script>
114 <script src="ResolveNames.js"></script>
115 <script src="ResolveOverloadImpl.js"></script>
116 <script src="ResolveProperties.js"></script>
117 <script src="ResolveTypeDefs.js"></script>
118 <script src="Return.js"></script>
119 <script src="ReturnChecker.js"></script>
120 <script src="ReturnException.js"></script>
121 <script src="Sampler.js"></script>
122 <script src="StandardLibrary.js"></script>
123 <script src="StatementCloner.js"></script>
124 <script src="StructLayoutBuilder.js"></script>
125 <script src="StructType.js"></script>
126 <script src="SwitchCase.js"></script>
127 <script src="SwitchStatement.js"></script>
128 <script src="SynthesizeArrayOperatorLength.js"></script>
129 <script src="SynthesizeEnumFunctions.js"></script>
130 <script src="SynthesizeStructAccessors.js"></script>
131 <script src="SynthesizeCopyConstructorOperator.js"></script>
132 <script src="SynthesizeDefaultConstructorOperator.js"></script>
133 <script src="TernaryExpression.js"></script>
134 <script src="Texture.js"></script>
135 <script src="TextureOperations.js"></script>
136 <script src="TrapStatement.js"></script>
137 <script src="TypeDef.js"></script>
138 <script src="TypeDefResolver.js"></script>
139 <script src="TypeRef.js"></script>
140 <script src="TypeOverloadResolutionFailure.js"></script>
141 <script src="TypedValue.js"></script>
142 <script src="UintLiteral.js"></script>
143 <script src="UintLiteralType.js"></script>
144 <script src="UnificationContext.js"></script>
145 <script src="UnreachableCodeChecker.js"></script>
146 <script src="VariableDecl.js"></script>
147 <script src="VariableRef.js"></script>
148 <script src="VectorType.js"></script>
149 <script src="VisitingSet.js"></script>
150 <script src="WLexicalError.js"></script>
151 <script src="WSyntaxError.js"></script>
152 <script src="WTrapError.js"></script>
153 <script src="WTypeError.js"></script>
154 <script src="WhileLoop.js"></script>
155 <script src="WrapChecker.js"></script>
156
157 <script src="Test.js"></script>
158
159 <script>
160 function doTestInBrowser()
161 {
162     var tester = doTest(/.*/);
163     var lastTime;
164     function next()
165     {
166         try {
167             if (tester.next().done)
168                 return;
169         } catch (e) {
170             print("ERROR: " + e.message);
171             print(e.stack);
172             return;
173         }
174         window.setTimeout(next, 0);
175     }
176     next();
177 }
178 </script>
179
180 <style>
181     pre {
182         margin:0;
183     }
184 </style>
185
186 </head>
187 <body onload="doTestInBrowser()">
188 <div id="messages"></div>
189 </body>
190 </html>