blob: a757c7554edefcaa22eaa96135edf51b2e5f6a8d [file] [log] [blame]
John Stilesd836f842020-09-14 10:21:44 -04001# Copyright 2020 Google LLC
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
John Stiles7e248712020-09-24 16:42:09 -04006sksl_error_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -05007 "/sksl/errors/ArgumentCountMismatch.sksl",
8 "/sksl/errors/ArgumentMismatch.sksl",
9 "/sksl/errors/ArgumentModifiers.sksl",
John Stiles248f57b2021-02-03 15:11:18 -050010 "/sksl/errors/ArrayConstructorElementCount.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050011 "/sksl/errors/ArrayIndexOutOfRange.sksl",
John Stiles7253a202021-08-23 09:24:33 -040012 "/sksl/errors/ArrayOfInvalidSize.sksl",
John Stiles80b02af2021-02-12 17:07:51 -050013 "/sksl/errors/ArrayOfVoid.sksl",
14 "/sksl/errors/ArrayOfVoidInStruct.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050015 "/sksl/errors/ArrayReturnTypes.sksl",
John Stiles80b02af2021-02-12 17:07:51 -050016 "/sksl/errors/ArraySplitDimensions.sksl",
17 "/sksl/errors/ArraySplitDimensionsInFuncBody.sksl",
18 "/sksl/errors/ArraySplitDimensionsInFuncDecl.sksl",
19 "/sksl/errors/ArraySplitDimensionsInStruct.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050020 "/sksl/errors/ArrayTooManyDimensions.sksl",
John Stiles80b02af2021-02-12 17:07:51 -050021 "/sksl/errors/ArrayTooManyDimensionsInFuncBody.sksl",
22 "/sksl/errors/ArrayTooManyDimensionsInFuncDecl.sksl",
23 "/sksl/errors/ArrayTooManyDimensionsInStruct.sksl",
24 "/sksl/errors/ArrayTypeTooManyDimensions.sksl",
25 "/sksl/errors/ArrayTypeTooManyDimensionsInFuncBody.sksl",
26 "/sksl/errors/ArrayTypeTooManyDimensionsInFuncDecl.sksl",
27 "/sksl/errors/ArrayTypeTooManyDimensionsInStruct.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050028 "/sksl/errors/ArrayUnspecifiedDimensions.sksl",
29 "/sksl/errors/AssignmentTypeMismatch.sksl",
30 "/sksl/errors/BadCaps.sksl",
Brian Osman7b361492021-02-25 11:25:30 -050031 "/sksl/errors/BadConstInitializers.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050032 "/sksl/errors/BadFieldAccess.sksl",
33 "/sksl/errors/BadIndex.sksl",
34 "/sksl/errors/BadModifiers.sksl",
35 "/sksl/errors/BinaryInvalidType.sksl",
36 "/sksl/errors/BinaryTypeCoercion.sksl",
37 "/sksl/errors/BinaryTypeMismatch.sksl",
38 "/sksl/errors/BitShiftFloat.sksl",
39 "/sksl/errors/BitShiftFloatMatrix.sksl",
40 "/sksl/errors/BitShiftFloatVector.sksl",
41 "/sksl/errors/BooleanArithmetic.sksl",
42 "/sksl/errors/BreakOutsideLoop.sksl",
43 "/sksl/errors/CallNonFunction.sksl",
44 "/sksl/errors/CanExitWithoutReturningValue.sksl",
45 "/sksl/errors/ConstructorArgumentCount.sksl",
46 "/sksl/errors/ConstructorTypeMismatch.sksl",
47 "/sksl/errors/ContinueOutsideLoop.sksl",
48 "/sksl/errors/DivideByZero.sksl",
49 "/sksl/errors/DoTypeMismatch.sksl",
50 "/sksl/errors/DuplicateFunction.sksl",
51 "/sksl/errors/DuplicateOutput.sksl",
52 "/sksl/errors/DuplicateSymbol.sksl",
John Stiles781496f2021-04-09 09:56:40 -040053 "/sksl/errors/EmptyArray.sksl",
Brian Osman6c3b23f2021-02-12 13:09:58 -050054 "/sksl/errors/EmptyStruct.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050055 "/sksl/errors/ErrorsInDeadCode.sksl",
56 "/sksl/errors/FloatRemainder.sksl",
John Stiles49b409e2021-04-19 14:56:49 -040057 "/sksl/errors/ForInitStmt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050058 "/sksl/errors/ForTypeMismatch.sksl",
John Stiles147cfda2021-05-21 14:11:38 -040059 "/sksl/errors/FunctionParameterOfVoid.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050060 "/sksl/errors/GenericArgumentMismatch.sksl",
John Stilesb806da42021-08-04 16:26:47 -040061 "/sksl/errors/PrecisionQualifiersDisallowed.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050062 "/sksl/errors/IfTypeMismatch.sksl",
63 "/sksl/errors/InVarWithInitializerExpression.sksl",
64 "/sksl/errors/InterfaceBlockScope.sksl",
65 "/sksl/errors/InterfaceBlockStorageModifiers.sksl",
66 "/sksl/errors/InterfaceBlockWithNoMembers.sksl",
John Stiles842ee5b2021-08-27 12:37:27 -040067 "/sksl/errors/IntrinsicInGlobalVariable.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050068 "/sksl/errors/InvalidAssignment.sksl",
69 "/sksl/errors/InvalidOutParams.sksl",
70 "/sksl/errors/InvalidToken.sksl",
71 "/sksl/errors/InvalidUnary.sksl",
Brian Osmana81e7e22021-09-15 10:28:27 -040072 "/sksl/errors/LastFragColorWithoutCaps.sksl",
Brian Osmana654faa2021-02-26 11:52:59 -050073 "/sksl/errors/LayoutInFunctions.sksl",
Brian Osmana77ed8b2021-02-23 12:54:22 -050074 "/sksl/errors/LayoutRepeatedQualifiers.sksl",
John Stileseb689732021-09-16 17:21:40 -040075 "/sksl/errors/MatrixColumnOverflow.sksl",
John Stiles6de2e1d2021-07-09 12:41:55 -040076 "/sksl/errors/MatrixToVectorCast3x3.sksl",
John Stiles49c41762021-07-10 12:48:51 -040077 "/sksl/errors/MatrixToVectorCastBoolean.sksl",
John Stilesf9ad6ec2021-07-10 11:45:29 -040078 "/sksl/errors/MatrixToVectorCastInteger.sksl",
John Stiles6de2e1d2021-07-09 12:41:55 -040079 "/sksl/errors/MatrixToVectorCastTooSmall.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050080 "/sksl/errors/MismatchedNumbers.sksl",
81 "/sksl/errors/ModifiersInStruct.sksl",
John Stilesefde90d2021-08-12 23:06:24 -040082 "/sksl/errors/NoES3ModifierInUserCode.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050083 "/sksl/errors/OpaqueTypeAssignment.sksl",
84 "/sksl/errors/OpaqueTypeConstruction.sksl",
85 "/sksl/errors/OpaqueTypeInArray.sksl",
86 "/sksl/errors/OpaqueTypeInInterfaceBlock.sksl",
87 "/sksl/errors/OpaqueTypeInStruct.sksl",
88 "/sksl/errors/OpenArray.sksl",
89 "/sksl/errors/Ossfuzz26700.sksl",
John Stilesbb8542f2021-02-26 11:32:06 -050090 "/sksl/errors/Ossfuzz27614.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -050091 "/sksl/errors/Ossfuzz27650.sksl",
92 "/sksl/errors/Ossfuzz27663.sksl",
John Stiles97186dc2021-04-09 17:20:35 -040093 "/sksl/errors/Ossfuzz28050.sksl",
94 "/sksl/errors/Ossfuzz29444.sksl",
John Stiles76389b72021-01-25 13:49:05 -050095 "/sksl/errors/Ossfuzz29845.sksl",
John Stilese3a91cf2021-01-26 10:13:58 -050096 "/sksl/errors/Ossfuzz29849.sksl",
John Stilesbb8542f2021-02-26 11:32:06 -050097 "/sksl/errors/Ossfuzz31410.sksl",
John Stiles0c2d14a2021-03-01 10:08:08 -050098 "/sksl/errors/Ossfuzz31469.sksl",
John Stilesb0695822021-05-29 11:23:07 -040099 "/sksl/errors/Ossfuzz32156.sksl",
John Stilesfabed8b2021-03-29 09:38:59 -0400100 "/sksl/errors/Ossfuzz32587.sksl",
John Stiles0a12b852021-04-05 14:45:14 -0400101 "/sksl/errors/Ossfuzz32851.sksl",
John Stiles8f633ef2021-08-21 17:13:11 -0400102 "/sksl/errors/Ossfuzz37457.sksl",
John Stiles3f373222021-08-23 13:52:17 -0400103 "/sksl/errors/Ossfuzz37465.sksl",
John Stilesf95048c2021-08-25 12:09:16 -0400104 "/sksl/errors/Ossfuzz37620.sksl",
Ethan Nicholasbf4a7d52021-09-09 09:32:13 -0400105 "/sksl/errors/Ossfuzz38106.sksl",
Ethan Nicholasfd1332f2021-09-10 13:57:48 -0400106 "/sksl/errors/Ossfuzz38107.sksl",
Ethan Nicholasc973d262021-09-17 16:10:29 -0400107 "/sksl/errors/Ossfuzz38108.sksl",
Ethan Nicholasc9d65f02021-09-10 11:57:46 -0400108 "/sksl/errors/Ossfuzz38140.sksl",
John Stilesdc652562021-09-13 08:55:40 -0400109 "/sksl/errors/Ossfuzz38560.sksl",
Ethan Nicholas0dc1e0f2021-09-17 12:52:55 -0400110 "/sksl/errors/Ossfuzz38865.sksl",
Ethan Nicholasf62934b2021-09-20 10:18:58 -0400111 "/sksl/errors/Ossfuzz38944.sksl",
Ethan Nicholas2816dcf2021-09-21 09:18:47 -0400112 "/sksl/errors/Ossfuzz39000.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500113 "/sksl/errors/OverflowFloatLiteral.sksl",
114 "/sksl/errors/OverflowIntLiteral.sksl",
John Stiles9df48c62021-06-01 11:16:34 -0400115 "/sksl/errors/OverflowInt64Literal.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500116 "/sksl/errors/OverflowParamArraySize.sksl",
117 "/sksl/errors/OverflowUintLiteral.sksl",
John Stiles8dabeac2021-02-12 16:05:00 -0500118 "/sksl/errors/PrototypeInFuncBody.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500119 "/sksl/errors/PrivateTypes.sksl",
120 "/sksl/errors/RedeclareBasicType.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500121 "/sksl/errors/RedeclareSamplerType.sksl",
122 "/sksl/errors/RedeclareStruct.sksl",
123 "/sksl/errors/RedeclareStructTypeWithName.sksl",
124 "/sksl/errors/RedeclareUserType.sksl",
125 "/sksl/errors/RedeclareVariable.sksl",
126 "/sksl/errors/ReturnDifferentType.sksl",
127 "/sksl/errors/ReturnFromVoid.sksl",
128 "/sksl/errors/ReturnMissingValue.sksl",
129 "/sksl/errors/ReturnTypeMismatch.sksl",
130 "/sksl/errors/SelfReferentialInitializerExpression.sksl",
131 "/sksl/errors/SpuriousFloat.sksl",
132 "/sksl/errors/StaticIfTest.sksl",
133 "/sksl/errors/StaticSwitchConditionalBreak.sksl",
134 "/sksl/errors/StaticSwitchTest.sksl",
John Stiles04ca41a2021-02-23 09:58:04 -0500135 "/sksl/errors/StaticSwitchWithConditionalBreak.sksl",
136 "/sksl/errors/StaticSwitchWithConditionalContinue.sksl",
137 "/sksl/errors/StaticSwitchWithConditionalReturn.sksl",
Brian Osman00fea5b2021-01-28 09:46:30 -0500138 "/sksl/errors/StructNameWithoutIdentifier.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500139 "/sksl/errors/StructTooDeeplyNested.sksl",
140 "/sksl/errors/SwitchDuplicateCase.sksl",
John Stiles463fad22021-02-19 15:13:46 -0500141 "/sksl/errors/SwitchDuplicateDefault.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500142 "/sksl/errors/SwitchTypes.sksl",
John Stiles1c5eb4b2021-09-21 14:36:34 -0400143 "/sksl/errors/SwitchWithContinueInside.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500144 "/sksl/errors/SwizzleConstantOutput.sksl",
John Stiles9191e812021-07-09 15:29:10 -0400145 "/sksl/errors/SwizzleDomain.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500146 "/sksl/errors/SwizzleMatrix.sksl",
147 "/sksl/errors/SwizzleOnlyLiterals.sksl",
148 "/sksl/errors/SwizzleOutOfBounds.sksl",
149 "/sksl/errors/SwizzleTooManyComponents.sksl",
150 "/sksl/errors/TernaryMismatch.sksl",
151 "/sksl/errors/UndeclaredFunction.sksl",
152 "/sksl/errors/UndefinedFunction.sksl",
153 "/sksl/errors/UndefinedSymbol.sksl",
Brian Osman2fe67f92021-02-17 16:24:04 -0500154 "/sksl/errors/UniformVarWithInitializerExpression.sksl",
Ethan Nicholasc0f98152021-02-05 16:21:10 -0500155 "/sksl/errors/UnknownDivideByZero.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500156 "/sksl/errors/UnsupportedGLSLIdentifiers.sksl",
John Stilese3a91cf2021-01-26 10:13:58 -0500157 "/sksl/errors/UnscopedVariableInDoWhile.sksl",
158 "/sksl/errors/UnscopedVariableInElse.sksl",
John Stiles2b6ec982021-03-04 10:46:39 -0500159 "/sksl/errors/UnscopedVariableInFor.sksl",
John Stilese3a91cf2021-01-26 10:13:58 -0500160 "/sksl/errors/UnscopedVariableInIf.sksl",
161 "/sksl/errors/UnscopedVariableInWhile.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500162 "/sksl/errors/UsingInvalidValue.sksl",
John Stilesce7cdcd2021-07-12 15:48:27 -0400163 "/sksl/errors/VectorSlice.sksl",
John Stiles8d130842021-08-27 12:42:45 -0400164 "/sksl/errors/VertexEarlyReturn.vert",
John Stilesbfc9be02021-01-22 11:55:48 -0500165 "/sksl/errors/WhileTypeMismatch.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400166]
167
John Stilesab4ab202020-09-24 17:22:42 -0400168sksl_glsl_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500169 "/sksl/glsl/ForceHighPrecision.sksl",
170 "/sksl/glsl/IncompleteShortIntPrecision.sksl",
Brian Osmana81e7e22021-09-15 10:28:27 -0400171 "/sksl/glsl/LastFragColor.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500172 "/sksl/glsl/LayoutQualifiers.sksl",
173 "/sksl/glsl/ShortIntPrecision.sksl",
174 "/sksl/glsl/TextureSharpenVersion110.sksl",
175 "/sksl/glsl/TextureVersion110.sksl",
176 "/sksl/glsl/UsesPrecisionModifiers.sksl",
177 "/sksl/glsl/Version110.sksl",
178 "/sksl/glsl/Version450Core.sksl",
John Stilesab4ab202020-09-24 17:22:42 -0400179]
180
John Stiles34de5cb2020-11-13 18:14:11 -0500181sksl_metal_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500182 "/sksl/metal/CastHalf4ToMat2x2.sksl",
183 "/sksl/metal/CastMat2x2ToMat3x3.sksl",
184 "/sksl/metal/CastMat2x3ToMat4x4.sksl",
185 "/sksl/metal/CastMat4x4ToMat3x4.sksl",
186 "/sksl/metal/CastMat4x4ToMat4x3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500187 "/sksl/metal/NumericGlobals.sksl",
188 "/sksl/metal/OpaqueTypeInInterfaceBlock.sksl",
189 "/sksl/metal/OpaqueTypeInStruct.sksl",
190 "/sksl/metal/OutParams.sksl",
191 "/sksl/metal/OutVarsRequireLocation.sksl",
192 "/sksl/metal/SamplerGlobals.sksl",
193 "/sksl/metal/SwizzleHelper.sksl",
John Stiles34de5cb2020-11-13 18:14:11 -0500194]
195
John Stilesba067aa2020-11-25 16:55:37 -0500196sksl_spirv_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500197 "/sksl/spirv/ConstantVectorFromVector.sksl",
Brian Osman2a4c0fb2021-01-22 13:41:40 -0500198 "/sksl/spirv/InterfaceBlockPushConstant.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500199 "/sksl/spirv/LayoutMultipleOf4.sksl",
200 "/sksl/spirv/LayoutOutOfOrder.sksl",
201 "/sksl/spirv/OpaqueTypeInArray.sksl",
John Stilesb0697082021-08-16 14:46:10 -0400202 "/sksl/spirv/Ossfuzz35916.sksl",
John Stiles43ac7e62021-08-25 12:43:22 -0400203 "/sksl/spirv/Ossfuzz37627.sksl",
John Stiles85749c02021-03-23 17:12:03 -0400204 "/sksl/workarounds/RewriteMatrixVectorMultiply.sksl",
John Stilesded41aa2021-08-05 12:19:35 -0400205 "/sksl/errors/Ossfuzz36850.sksl",
Ethan Nicholas553239b2021-08-23 15:40:20 -0400206 "/sksl/errors/Ossfuzz37469.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500207 "/sksl/errors/UndefinedFunction.sksl",
John Stiles8e2a84b2021-04-19 09:35:38 -0400208 "/sksl/errors/UnusedInterfaceBlock.sksl",
John Stilesba067aa2020-11-25 16:55:37 -0500209]
210
John Stilesab4ab202020-09-24 17:22:42 -0400211sksl_shared_tests = [
John Stilese1658b52021-01-29 11:44:13 -0500212 "/sksl/intrinsics/AbsFloat.sksl",
213 "/sksl/intrinsics/AbsInt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500214 "/sksl/intrinsics/Acos.sksl",
215 "/sksl/intrinsics/Acosh.sksl",
216 "/sksl/intrinsics/All.sksl",
217 "/sksl/intrinsics/Any.sksl",
218 "/sksl/intrinsics/Asin.sksl",
219 "/sksl/intrinsics/Asinh.sksl",
220 "/sksl/intrinsics/Atan.sksl",
221 "/sksl/intrinsics/Atanh.sksl",
222 "/sksl/intrinsics/BitCount.sksl",
223 "/sksl/intrinsics/Ceil.sksl",
John Stiles9c9f60c2021-01-29 11:51:47 -0500224 "/sksl/intrinsics/ClampFloat.sksl",
225 "/sksl/intrinsics/ClampInt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500226 "/sksl/intrinsics/Cos.sksl",
227 "/sksl/intrinsics/Cosh.sksl",
228 "/sksl/intrinsics/Cross.sksl",
John Stilesece1d792021-03-22 11:43:11 -0400229 "/sksl/intrinsics/CrossNoInline.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500230 "/sksl/intrinsics/Degrees.sksl",
231 "/sksl/intrinsics/Determinant.sksl",
232 "/sksl/intrinsics/DFdx.sksl",
233 "/sksl/intrinsics/DFdy.sksl",
234 "/sksl/intrinsics/Distance.sksl",
235 "/sksl/intrinsics/Dot.sksl",
236 "/sksl/intrinsics/Equal.sksl",
237 "/sksl/intrinsics/Exp.sksl",
238 "/sksl/intrinsics/Exp2.sksl",
239 "/sksl/intrinsics/FaceForward.sksl",
240 "/sksl/intrinsics/FindLSB.sksl",
241 "/sksl/intrinsics/FindMSB.sksl",
242 "/sksl/intrinsics/FloatBitsToInt.sksl",
243 "/sksl/intrinsics/FloatBitsToUint.sksl",
244 "/sksl/intrinsics/Floor.sksl",
245 "/sksl/intrinsics/Fma.sksl",
246 "/sksl/intrinsics/Fract.sksl",
247 "/sksl/intrinsics/Frexp.sksl",
248 "/sksl/intrinsics/Fwidth.sksl",
249 "/sksl/intrinsics/GreaterThan.sksl",
250 "/sksl/intrinsics/GreaterThanEqual.sksl",
251 "/sksl/intrinsics/IntBitsToFloat.sksl",
252 "/sksl/intrinsics/Inverse.sksl",
253 "/sksl/intrinsics/Inversesqrt.sksl",
254 "/sksl/intrinsics/IsInf.sksl",
255 "/sksl/intrinsics/IsNan.sksl",
256 "/sksl/intrinsics/Ldexp.sksl",
257 "/sksl/intrinsics/Length.sksl",
258 "/sksl/intrinsics/LessThan.sksl",
259 "/sksl/intrinsics/LessThanEqual.sksl",
260 "/sksl/intrinsics/Log.sksl",
261 "/sksl/intrinsics/Log2.sksl",
John Stilesb701fa02021-09-14 13:09:36 -0400262 "/sksl/intrinsics/MatrixCompMultES2.sksl",
263 "/sksl/intrinsics/MatrixCompMultES3.sksl",
John Stiles9c9f60c2021-01-29 11:51:47 -0500264 "/sksl/intrinsics/MaxFloat.sksl",
265 "/sksl/intrinsics/MaxInt.sksl",
266 "/sksl/intrinsics/MinFloat.sksl",
267 "/sksl/intrinsics/MinInt.sksl",
268 "/sksl/intrinsics/MixFloat.sksl",
269 "/sksl/intrinsics/MixBool.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500270 "/sksl/intrinsics/Mod.sksl",
271 "/sksl/intrinsics/Modf.sksl",
272 "/sksl/intrinsics/Normalize.sksl",
273 "/sksl/intrinsics/Not.sksl",
274 "/sksl/intrinsics/NotEqual.sksl",
275 "/sksl/intrinsics/OuterProduct.sksl",
276 "/sksl/intrinsics/Pack.sksl",
John Stiles8d0dd0d2021-09-09 09:58:42 -0400277 "/sksl/intrinsics/PackUnorm2x16.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500278 "/sksl/intrinsics/Pow.sksl",
279 "/sksl/intrinsics/Radians.sksl",
280 "/sksl/intrinsics/Reflect.sksl",
281 "/sksl/intrinsics/Refract.sksl",
282 "/sksl/intrinsics/Round.sksl",
283 "/sksl/intrinsics/RoundEven.sksl",
284 "/sksl/intrinsics/Saturate.sksl",
John Stilese1658b52021-01-29 11:44:13 -0500285 "/sksl/intrinsics/SignFloat.sksl",
286 "/sksl/intrinsics/SignInt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500287 "/sksl/intrinsics/Sin.sksl",
288 "/sksl/intrinsics/Sinh.sksl",
289 "/sksl/intrinsics/Smoothstep.sksl",
290 "/sksl/intrinsics/Sqrt.sksl",
291 "/sksl/intrinsics/Step.sksl",
292 "/sksl/intrinsics/Tan.sksl",
293 "/sksl/intrinsics/Tanh.sksl",
294 "/sksl/intrinsics/Transpose.sksl",
295 "/sksl/intrinsics/Trunc.sksl",
296 "/sksl/intrinsics/UintBitsToFloat.sksl",
297 "/sksl/intrinsics/Unpack.sksl",
John Stiles26487162021-08-10 16:03:44 -0400298 "/sksl/shared/ArrayCast.sksl",
John Stiles35092102021-04-08 23:30:51 -0400299 "/sksl/shared/ArrayComparison.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500300 "/sksl/shared/ArrayConstructors.sksl",
John Stiles2d3f5e82021-08-25 11:54:16 -0400301 "/sksl/shared/ArrayFollowedByScalar.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500302 "/sksl/shared/ArrayIndexTypes.sksl",
John Stiles9fdcc512021-08-04 13:27:05 -0400303 "/sksl/shared/ArrayNarrowingConversions.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500304 "/sksl/shared/ArrayTypes.sksl",
305 "/sksl/shared/Assignment.sksl",
306 "/sksl/shared/Caps.sksl",
307 "/sksl/shared/CastsRoundTowardZero.sksl",
308 "/sksl/shared/Clockwise.sksl",
John Stiles5a956ce2021-02-02 13:58:42 -0500309 "/sksl/shared/CommaMixedTypes.sksl",
John Stiles94e72b92021-01-30 11:06:18 -0500310 "/sksl/shared/CommaSideEffects.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500311 "/sksl/shared/ComplexDelete.sksl",
312 "/sksl/shared/ConstArray.sksl",
313 "/sksl/shared/ConstVariableComparison.sksl",
314 "/sksl/shared/ConstantIf.sksl",
315 "/sksl/shared/Control.sksl",
316 "/sksl/shared/DeadDoWhileLoop.sksl",
317 "/sksl/shared/DeadIfStatement.sksl",
318 "/sksl/shared/DeadLoopVariable.sksl",
John Stilesf2b08cc2021-05-17 14:46:05 -0400319 "/sksl/shared/DeadReturn.sksl",
John Stiles25be58e2021-05-20 14:38:40 -0400320 "/sksl/shared/DeadReturnES3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500321 "/sksl/shared/DeadStripFunctions.sksl",
322 "/sksl/shared/DependentInitializers.sksl",
323 "/sksl/shared/DerivativesUnused.sksl",
324 "/sksl/shared/Discard.sksl",
John Stiles798021a2021-01-26 10:37:41 -0500325 "/sksl/shared/DoWhileControlFlow.sksl",
John Stilesc068a8f2021-02-01 11:52:10 -0500326 "/sksl/shared/EmptyBlocksES2.sksl",
327 "/sksl/shared/EmptyBlocksES3.sksl",
John Stilesdac139a2021-01-26 11:06:42 -0500328 "/sksl/shared/ForLoopControlFlow.sksl",
John Stilesc5d86082021-04-14 15:05:49 -0400329 "/sksl/shared/ForLoopMultipleInit.sksl",
Brian Salomond8d85b92021-07-07 09:41:17 -0400330 "/sksl/shared/FragCoords.sksl",
John Stiles931cad12021-02-01 16:36:13 -0500331 "/sksl/shared/FunctionArgTypeMatch.sksl",
332 "/sksl/shared/FunctionReturnTypeMatch.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500333 "/sksl/shared/FunctionPrototype.sksl",
334 "/sksl/shared/Functions.sksl",
335 "/sksl/shared/GaussianBlur.sksl",
336 "/sksl/shared/GeometricIntrinsics.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500337 "/sksl/shared/HelloWorld.sksl",
338 "/sksl/shared/Hex.sksl",
John Stilesecd20362021-02-03 17:44:47 -0500339 "/sksl/shared/HexUnsigned.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500340 "/sksl/shared/InstanceID.vert",
John Stilesbfc9be02021-01-22 11:55:48 -0500341 "/sksl/shared/InterfaceBlockNamed.sksl",
John Stilesda5cdf62021-01-28 11:47:29 -0500342 "/sksl/shared/InterfaceBlockNamedArray.sksl",
John Stiles56233d12021-02-03 13:03:29 -0500343 "/sksl/shared/Matrices.sksl",
344 "/sksl/shared/MatricesNonsquare.sksl",
John Stilesa0e407d2021-02-10 12:21:51 -0500345 "/sksl/shared/MatrixEquality.sksl",
John Stiles191b4e22021-05-14 20:03:01 -0400346 "/sksl/shared/MatrixScalarSplat.sksl",
John Stiles5a825da2021-07-08 18:20:21 -0400347 "/sksl/shared/MatrixToVectorCast.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500348 "/sksl/shared/MultipleAssignments.sksl",
John Stilesf89a8122021-08-30 15:47:00 -0400349 "/sksl/shared/Negation.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500350 "/sksl/shared/NoFragCoordsPos.vert",
351 "/sksl/shared/NoFragCoordsPosRT.vert",
John Stilesbfc9be02021-01-22 11:55:48 -0500352 "/sksl/shared/NormalizationVert.vert",
353 "/sksl/shared/NumberCasts.sksl",
354 "/sksl/shared/NumberConversions.sksl",
355 "/sksl/shared/Offset.sksl",
John Stiles2ff8f862021-01-30 11:08:13 -0500356 "/sksl/shared/OperatorsES2.sksl",
357 "/sksl/shared/OperatorsES3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500358 "/sksl/shared/Ossfuzz26167.sksl",
John Stiles1b843bd2021-03-22 15:42:16 -0400359 "/sksl/shared/Ossfuzz26759.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500360 "/sksl/shared/Ossfuzz28794.sksl",
361 "/sksl/shared/Ossfuzz28904.sksl",
John Stiles1b843bd2021-03-22 15:42:16 -0400362 "/sksl/shared/Ossfuzz29085.sksl",
Brian Osman21d2b6a2021-02-01 13:48:50 -0500363 "/sksl/shared/Ossfuzz29494.sksl",
John Stilesd7437ee2021-08-02 11:56:16 -0400364 "/sksl/shared/Ossfuzz36770.sksl",
John Stiles9ae6ea02021-08-05 11:49:05 -0400365 "/sksl/shared/Ossfuzz36852.sksl",
John Stilesd77dda52021-08-24 09:59:34 -0400366 "/sksl/shared/Ossfuzz37466.sksl",
John Stilesbb8cf582021-08-26 23:34:59 -0400367 "/sksl/shared/Ossfuzz37677.sksl",
John Stiles5cec1872021-08-31 14:58:08 -0400368 "/sksl/shared/Ossfuzz37900.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500369 "/sksl/shared/OutParams.sksl",
Ethan Nicholase0707b72021-03-17 11:16:41 -0400370 "/sksl/shared/OutParamsNoInline.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500371 "/sksl/shared/OutParamsTricky.sksl",
John Stilesb35fbdb2021-05-26 16:43:19 -0400372 "/sksl/shared/Overflow.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500373 "/sksl/shared/RectangleTexture.sksl",
374 "/sksl/shared/ResizeMatrix.sksl",
John Stilesd4374782021-02-05 09:31:21 -0500375 "/sksl/shared/ResizeMatrixNonsquare.sksl",
John Stiles4d6310a2021-01-26 19:58:22 -0500376 "/sksl/shared/ReturnBadTypeFromMain.sksl",
377 "/sksl/shared/ReturnColorFromMain.sksl",
John Stilesb3dcbb12021-03-04 16:00:20 -0500378 "/sksl/shared/ReturnsValueOnEveryPathES2.sksl",
379 "/sksl/shared/ReturnsValueOnEveryPathES3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500380 "/sksl/shared/SampleLocations.vert",
John Stilesd4374782021-02-05 09:31:21 -0500381 "/sksl/shared/ScalarConversionConstructorsES2.sksl",
382 "/sksl/shared/ScalarConversionConstructorsES3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500383 "/sksl/shared/ScopedSymbol.sksl",
384 "/sksl/shared/StackingVectorCasts.sksl",
385 "/sksl/shared/StaticIf.sksl",
386 "/sksl/shared/StaticSwitch.sksl",
387 "/sksl/shared/StaticSwitchWithBreak.sksl",
388 "/sksl/shared/StaticSwitchWithBreakInsideBlock.sksl",
389 "/sksl/shared/StaticSwitchWithConditionalBreak.sksl",
390 "/sksl/shared/StaticSwitchWithConditionalBreakInsideBlock.sksl",
John Stiles04ca41a2021-02-23 09:58:04 -0500391 "/sksl/shared/StaticSwitchWithContinue.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500392 "/sksl/shared/StaticSwitchWithFallthroughA.sksl",
393 "/sksl/shared/StaticSwitchWithFallthroughB.sksl",
394 "/sksl/shared/StaticSwitchWithStaticConditionalBreak.sksl",
395 "/sksl/shared/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl",
John Stiles2d3f5e82021-08-25 11:54:16 -0400396 "/sksl/shared/StructArrayFollowedByScalar.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500397 "/sksl/shared/Structs.sksl",
Brian Osmanbf7b4b82021-01-27 13:53:43 -0500398 "/sksl/shared/StructsInFunctions.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500399 "/sksl/shared/StructMaxDepth.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500400 "/sksl/shared/SwizzleBoolConstants.sksl",
John Stilesc2c1b0c2021-02-05 16:24:03 -0500401 "/sksl/shared/SwizzleByConstantIndex.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500402 "/sksl/shared/SwizzleByIndex.sksl",
403 "/sksl/shared/SwizzleConstants.sksl",
404 "/sksl/shared/SwizzleLTRB.sksl",
405 "/sksl/shared/SwizzleOpt.sksl",
406 "/sksl/shared/SwizzleScalar.sksl",
John Stiles7f56b412021-07-12 14:59:19 -0400407 "/sksl/shared/SwizzleScalarBool.sksl",
408 "/sksl/shared/SwizzleScalarInt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500409 "/sksl/shared/TernaryAsLValueEntirelyFoldable.sksl",
410 "/sksl/shared/TernaryAsLValueFoldableTest.sksl",
John Stiles28054ad2021-03-05 15:22:48 -0500411 "/sksl/shared/TernaryExpression.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500412 "/sksl/shared/Texture1D.sksl",
413 "/sksl/shared/Texture2D.sksl",
414 "/sksl/shared/TextureSharpen.sksl",
415 "/sksl/shared/UnaryPositiveNegative.sksl",
416 "/sksl/shared/UniformArray.sksl",
John Stilesda5cdf62021-01-28 11:47:29 -0500417 "/sksl/shared/UniformBuffers.sksl",
418 "/sksl/shared/Uniforms.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500419 "/sksl/shared/UnusedVariables.sksl",
420 "/sksl/shared/VectorConstructors.sksl",
John Stiles2febb5b2021-03-25 11:43:40 -0400421 "/sksl/shared/VectorScalarMath.sksl",
John Stiles5a825da2021-07-08 18:20:21 -0400422 "/sksl/shared/VectorToMatrixCast.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500423 "/sksl/shared/VertexID.vert",
John Stiles7add07f2021-01-26 11:16:34 -0500424 "/sksl/shared/WhileLoopControlFlow.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400425]
426
John Stiles74192fd2021-01-11 11:07:01 -0500427sksl_folding_tests = [
John Stiles8037c9e2021-03-31 10:38:45 -0400428 "/sksl/folding/ArrayFolding.sksl",
John Stiles34c098d2021-02-09 10:38:59 -0500429 "/sksl/folding/AssignmentOps.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500430 "/sksl/folding/BoolFolding.sksl",
John Stiles27193d42021-05-07 11:16:26 -0400431 "/sksl/folding/CastFolding.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500432 "/sksl/folding/FloatFolding.sksl",
433 "/sksl/folding/IntFoldingES2.sksl",
434 "/sksl/folding/IntFoldingES3.sksl",
435 "/sksl/folding/MatrixFoldingES2.sksl",
436 "/sksl/folding/MatrixFoldingES3.sksl",
John Stiles0ac6c152021-02-10 14:04:24 -0500437 "/sksl/folding/SelfAssignment.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500438 "/sksl/folding/ShortCircuitBoolFolding.sksl",
John Stilesfb7d3782021-04-29 11:14:38 -0400439 "/sksl/folding/SwizzleFolding.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500440 "/sksl/folding/VectorScalarFolding.sksl",
441 "/sksl/folding/VectorVectorFolding.sksl",
John Stiles74192fd2021-01-11 11:07:01 -0500442]
443
John Stiles7e248712020-09-24 16:42:09 -0400444sksl_inliner_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500445 "/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl",
446 "/sksl/inliner/DoWhileTestCannotBeInlined.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500447 "/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl",
448 "/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl",
449 "/sksl/inliner/ForWithReturnInsideCannotBeInlined.sksl",
450 "/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl",
451 "/sksl/inliner/IfBodyMustBeInlinedIntoAScope.sksl",
452 "/sksl/inliner/IfElseBodyMustBeInlinedIntoAScope.sksl",
453 "/sksl/inliner/IfElseChainWithReturnsCanBeInlined.sksl",
454 "/sksl/inliner/IfTestCanBeInlined.sksl",
455 "/sksl/inliner/IfWithReturnsCanBeInlined.sksl",
456 "/sksl/inliner/InlineKeywordOverridesThreshold.sksl",
457 "/sksl/inliner/InlineThreshold.sksl",
458 "/sksl/inliner/InlinerElidesTempVarForReturnsInsideBlock.sksl",
459 "/sksl/inliner/InlinerUsesTempVarForMultipleReturns.sksl",
460 "/sksl/inliner/InlinerUsesTempVarForReturnsInsideBlockWithVar.sksl",
461 "/sksl/inliner/InlineWithInoutArgument.sksl",
462 "/sksl/inliner/InlineWithModifiedArgument.sksl",
463 "/sksl/inliner/InlineWithNestedBigCalls.sksl",
464 "/sksl/inliner/InlineWithNestedCalls.sksl",
465 "/sksl/inliner/InlineWithUnmodifiedArgument.sksl",
466 "/sksl/inliner/InlineWithUnnecessaryBlocks.sksl",
467 "/sksl/inliner/InlinerAvoidsVariableNameOverlap.sksl",
John Stiles92d83b72021-02-13 11:25:51 -0500468 "/sksl/inliner/InlinerHonorsGLSLOutParamSemantics.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500469 "/sksl/inliner/InlinerManglesNames.sksl",
John Stiles0dd1a772021-03-09 22:14:27 -0500470 "/sksl/inliner/NoInline.sksl",
John Stiles3ff77f42021-09-06 22:17:58 -0400471 "/sksl/inliner/Ossfuzz37994.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500472 "/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl",
John Stiles66c53b92021-02-20 08:00:43 -0500473 "/sksl/inliner/StaticSwitch.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500474 "/sksl/inliner/StructsCanBeInlinedSafely.sksl",
475 "/sksl/inliner/SwitchWithCastCanBeInlined.sksl",
476 "/sksl/inliner/SwitchWithoutReturnInsideCanBeInlined.sksl",
477 "/sksl/inliner/SwizzleCanBeInlinedDirectly.sksl",
478 "/sksl/inliner/TernaryResultsCannotBeInlined.sksl",
479 "/sksl/inliner/TernaryTestCanBeInlined.sksl",
480 "/sksl/inliner/TrivialArgumentsInlineDirectly.sksl",
481 "/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl",
482 "/sksl/inliner/WhileTestCannotBeInlined.sksl",
John Stilesea9e7ca2020-09-14 16:46:40 -0400483]
John Stiles0ed9f312020-09-16 17:46:37 -0400484
John Stiles7e248712020-09-24 16:42:09 -0400485sksl_blend_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500486 "/sksl/blend/BlendClear.sksl",
487 "/sksl/blend/BlendColor.sksl",
488 "/sksl/blend/BlendColorBurn.sksl",
489 "/sksl/blend/BlendColorDodge.sksl",
490 "/sksl/blend/BlendDarken.sksl",
491 "/sksl/blend/BlendDifference.sksl",
492 "/sksl/blend/BlendDst.sksl",
493 "/sksl/blend/BlendDstAtop.sksl",
494 "/sksl/blend/BlendDstIn.sksl",
495 "/sksl/blend/BlendDstOut.sksl",
496 "/sksl/blend/BlendDstOver.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500497 "/sksl/blend/BlendExclusion.sksl",
498 "/sksl/blend/BlendHardLight.sksl",
499 "/sksl/blend/BlendHue.sksl",
500 "/sksl/blend/BlendLighten.sksl",
501 "/sksl/blend/BlendLuminosity.sksl",
502 "/sksl/blend/BlendModulate.sksl",
503 "/sksl/blend/BlendMultiply.sksl",
504 "/sksl/blend/BlendOverlay.sksl",
505 "/sksl/blend/BlendPlus.sksl",
506 "/sksl/blend/BlendSaturation.sksl",
507 "/sksl/blend/BlendScreen.sksl",
508 "/sksl/blend/BlendSoftLight.sksl",
509 "/sksl/blend/BlendSrc.sksl",
510 "/sksl/blend/BlendSrcAtop.sksl",
511 "/sksl/blend/BlendSrcIn.sksl",
512 "/sksl/blend/BlendSrcOut.sksl",
513 "/sksl/blend/BlendSrcOver.sksl",
514 "/sksl/blend/BlendXor.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400515]
516
517sksl_settings_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500518 "/sksl/glsl/TypePrecision.sksl",
519 "/sksl/inliner/ExponentialGrowth.sksl",
520 "/sksl/inliner/InlinerCanBeDisabled.sksl",
521 "/sksl/shared/Derivatives.sksl",
John Stiles26c93442021-09-25 10:33:00 -0400522 "/sksl/shared/Switch.sksl",
523 "/sksl/shared/SwitchDefaultOnly.sksl",
524 "/sksl/shared/SwitchWithFallthrough.sksl",
525 "/sksl/shared/SwitchWithLoops.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500526 "/sksl/workarounds/AbsInt.sksl",
527 "/sksl/workarounds/BlendGuardedDivide.sksl",
528 "/sksl/workarounds/BlendModesAllZeroVec.sksl",
529 "/sksl/workarounds/FractNegative.sksl",
530 "/sksl/workarounds/FragCoords.sksl",
531 "/sksl/workarounds/LoopCondition.sksl",
532 "/sksl/workarounds/MinAndAbsTogether.sksl",
533 "/sksl/workarounds/NegatedAtan.sksl",
Chris Dalton155c33c2021-06-07 18:51:42 -0600534 "/sksl/workarounds/NegatedLdexp.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500535 "/sksl/workarounds/PowWithConstantExponent.sksl",
536 "/sksl/workarounds/RewriteDoWhileLoops.sksl",
John Stiles5ee369f2021-05-21 17:27:57 -0400537 "/sksl/workarounds/RewriteMatrixComparisons.sksl",
John Stiles85749c02021-03-23 17:12:03 -0400538 "/sksl/workarounds/RewriteMatrixVectorMultiply.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500539 "/sksl/workarounds/TernaryShortCircuit.sksl",
John Stiles0ed9f312020-09-16 17:46:37 -0400540]
John Stiles7e248712020-09-24 16:42:09 -0400541
Brian Osman977feec2020-12-22 11:28:59 -0500542sksl_rte_tests = [
John Stilese9dcbfd2021-08-03 11:16:48 -0400543 "/sksl/runtime/AllowNarrowingConversions.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400544 "/sksl/runtime/ArrayIndexing.rts",
John Stiles2195f942021-08-05 10:55:03 -0400545 "/sksl/runtime/ArrayNarrowingConversions.rts",
John Stiles50d0d092021-06-09 17:24:31 -0400546 "/sksl/runtime/Blend.rtb",
Brian Osman552fcb92021-04-28 17:41:57 -0400547 "/sksl/runtime/ConstPreservation.rts",
548 "/sksl/runtime/ConversionConstructors.rts",
549 "/sksl/runtime/GLSLTypeNames.rts",
550 "/sksl/runtime/GlobalVariables.rts",
John Stiles857c7f92021-09-15 09:42:36 -0400551 "/sksl/runtime/LargeProgram_BlocklessLoops.rts",
John Stiles61e5e202021-09-02 09:56:31 -0400552 "/sksl/runtime/LargeProgram_FlatLoop.rts",
553 "/sksl/runtime/LargeProgram_Functions.rts",
554 "/sksl/runtime/LargeProgram_NestedLoops.rts",
555 "/sksl/runtime/LargeProgram_SplitLoops.rts",
John Stiles2af4b132021-09-02 16:17:07 -0400556 "/sksl/runtime/LargeProgram_StackDepth.rts",
John Stiles61e5e202021-09-02 09:56:31 -0400557 "/sksl/runtime/LargeProgram_ZeroIterFor.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400558 "/sksl/runtime/LoopInt.rts",
559 "/sksl/runtime/LoopFloat.rts",
John Stiles02014312021-08-04 16:03:12 -0400560 "/sksl/runtime/PrecisionQualifiers.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400561 "/sksl/runtime/SampleWithExplicitCoord.rts",
John Stilesed2baba2021-09-20 19:09:13 -0400562 "/sksl/runtime/Switch.rts",
John Stilescb400082021-09-23 11:07:32 -0400563 "/sksl/runtime/SwitchDefaultOnly.rts",
564 "/sksl/runtime/SwitchWithFallthrough.rts",
565 "/sksl/runtime/SwitchWithLoops.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400566 "/sksl/runtime/VectorIndexing.rts",
Brian Osman977feec2020-12-22 11:28:59 -0500567]
568
569sksl_rte_error_tests = [
John Stiles4e249482021-08-13 11:43:21 -0400570 "/sksl/runtime_errors/DerivativesES2.rts",
John Stiles059798f2021-08-16 23:00:04 -0400571 "/sksl/runtime_errors/ES3Types.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400572 "/sksl/runtime_errors/FirstClassArrays.rts",
573 "/sksl/runtime_errors/IllegalArrayOps.rts",
574 "/sksl/runtime_errors/IllegalIndexing.rts",
575 "/sksl/runtime_errors/IllegalOperators.rts",
John Stilesb806da42021-08-04 16:26:47 -0400576 "/sksl/runtime_errors/IllegalPrecisionQualifiers.rts",
Brian Osman7da06572021-07-21 15:19:34 -0400577 "/sksl/runtime_errors/IllegalRecursionComplex.rts",
578 "/sksl/runtime_errors/IllegalRecursionMutual.rts",
579 "/sksl/runtime_errors/IllegalRecursionSimple.rts",
Brian Osmanb5282f02021-08-24 10:11:56 -0400580 "/sksl/runtime_errors/IllegalShaderSampling.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400581 "/sksl/runtime_errors/IllegalShaderUse.rts",
582 "/sksl/runtime_errors/IllegalStatements.rts",
John Stilesf7f36ae2021-06-08 14:06:22 -0400583 "/sksl/runtime_errors/InvalidBlendMain.rtb",
Brian Osmancbb60bd2021-04-12 09:49:20 -0400584 "/sksl/runtime_errors/InvalidColorFilterFeatures.rtcf",
585 "/sksl/runtime_errors/InvalidColorFilterMain.rtcf",
586 "/sksl/runtime_errors/InvalidShaderMain.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400587 "/sksl/runtime_errors/LoopConditionErrors.rts",
588 "/sksl/runtime_errors/LoopExpressionErrors.rts",
589 "/sksl/runtime_errors/LoopInitializerErrors.rts",
590 "/sksl/runtime_errors/LoopStructureErrors.rts",
John Stilese3f85e02021-08-05 16:50:56 -0400591 "/sksl/runtime_errors/Ossfuzz36655.rts",
Ethan Nicholasa2c76c72021-09-07 15:21:13 -0400592 "/sksl/runtime_errors/Ossfuzz38131.rts",
John Stiles857c7f92021-09-15 09:42:36 -0400593 "/sksl/runtime_errors/ProgramTooLarge_BlocklessLoops.rts",
John Stilesa047e8b2021-09-15 11:41:02 -0400594 "/sksl/runtime_errors/ProgramTooLarge_Extreme.rts",
John Stiles61e5e202021-09-02 09:56:31 -0400595 "/sksl/runtime_errors/ProgramTooLarge_FlatLoop.rts",
596 "/sksl/runtime_errors/ProgramTooLarge_Functions.rts",
597 "/sksl/runtime_errors/ProgramTooLarge_NestedLoops.rts",
598 "/sksl/runtime_errors/ProgramTooLarge_SplitLoops.rts",
John Stiles2af4b132021-09-02 16:17:07 -0400599 "/sksl/runtime_errors/ProgramTooLarge_StackDepth.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400600 "/sksl/runtime_errors/UnsupportedTypeFragmentProcessor.rts",
601 "/sksl/runtime_errors/UnsupportedTypeSampler.rts",
602 "/sksl/runtime_errors/UnsupportedTypeTexture.rts",
Brian Osman977feec2020-12-22 11:28:59 -0500603]
604
John Stiles7e248712020-09-24 16:42:09 -0400605# Tests in sksl_glsl_tests_sources will be compiled with --settings on, and are expected to generate
606# a .glsl output file.
607sksl_glsl_tests_sources =
John Stiles74192fd2021-01-11 11:07:01 -0500608 sksl_error_tests + sksl_glsl_tests + sksl_inliner_tests +
609 sksl_folding_tests + sksl_shared_tests
John Stiles7e248712020-09-24 16:42:09 -0400610
611# Tests in sksl_glsl_settings_tests_sources will be compiled twice, once with --settings and once
612# using --nosettings. In the latter mode, StandaloneSettings is appended to the output filename.
613sksl_glsl_settings_tests_sources = sksl_blend_tests + sksl_settings_tests
John Stilesaeae3a52020-09-25 13:35:58 -0400614
615# Tests in sksl_metal_tests_sources will be compiled with --settings on, and are expected to
616# generate a .metal output file.
John Stiles34de5cb2020-11-13 18:14:11 -0500617sksl_metal_tests_sources =
618 sksl_metal_tests + sksl_blend_tests + sksl_shared_tests
John Stilesdda1d312020-11-20 16:28:50 -0500619
620# Tests in sksl_spirv_tests_sources will be compiled with --settings on, and are expected to
621# generate a .asm.(frag|vert|geom) output file.
John Stilesba067aa2020-11-25 16:55:37 -0500622sksl_spirv_tests_sources =
623 sksl_blend_tests + sksl_shared_tests + sksl_spirv_tests
Brian Osman977feec2020-12-22 11:28:59 -0500624
625## Tests in sksl_skvm_tests_sources will be compiled with --settings on, and are expected to
626## generate a .skvm output file.
627sksl_skvm_tests_sources = sksl_rte_tests + sksl_rte_error_tests
Brian Osman62b039b2021-02-08 13:49:53 -0500628
629## Tests in sksl_stage_tests_sources will be compiled with --settings on, and are expected to
630## generate a .stage output file.
631sksl_stage_tests_sources = sksl_rte_tests