blob: db4bb584d455c5c20cb823584c834150d709ca2f [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",
John Stiles7e947ab2021-10-01 17:49:09 +0000126 "/sksl/errors/ReservedNameAsm.sksl",
127 "/sksl/errors/ReservedNameCast.sksl",
128 "/sksl/errors/ReservedNameDouble.sksl",
129 "/sksl/errors/ReservedNameDvec2.sksl",
130 "/sksl/errors/ReservedNameDvec3.sksl",
131 "/sksl/errors/ReservedNameDvec4.sksl",
132 "/sksl/errors/ReservedNameEnum.sksl",
133 "/sksl/errors/ReservedNameExtern.sksl",
134 "/sksl/errors/ReservedNameExternal.sksl",
135 "/sksl/errors/ReservedNameFixed.sksl",
136 "/sksl/errors/ReservedNameFvec2.sksl",
137 "/sksl/errors/ReservedNameFvec3.sksl",
138 "/sksl/errors/ReservedNameFvec4.sksl",
139 "/sksl/errors/ReservedNameGoto.sksl",
140 "/sksl/errors/ReservedNameHvec2.sksl",
141 "/sksl/errors/ReservedNameHvec3.sksl",
142 "/sksl/errors/ReservedNameHvec4.sksl",
143 "/sksl/errors/ReservedNameInput.sksl",
144 "/sksl/errors/ReservedNameInterface.sksl",
145 "/sksl/errors/ReservedNameLong.sksl",
146 "/sksl/errors/ReservedNameNamespace.sksl",
147 "/sksl/errors/ReservedNameOutput.sksl",
148 "/sksl/errors/ReservedNamePacked.sksl",
149 "/sksl/errors/ReservedNamePublic.sksl",
150 "/sksl/errors/ReservedNameSampler1DShadow.sksl",
151 "/sksl/errors/ReservedNameSampler2DRectShadow.sksl",
152 "/sksl/errors/ReservedNameSampler2DShadow.sksl",
153 "/sksl/errors/ReservedNameSampler3DRect.sksl",
154 "/sksl/errors/ReservedNameSizeof.sksl",
155 "/sksl/errors/ReservedNameStatic.sksl",
156 "/sksl/errors/ReservedNameSuperp.sksl",
157 "/sksl/errors/ReservedNameTemplate.sksl",
158 "/sksl/errors/ReservedNameThis.sksl",
159 "/sksl/errors/ReservedNameTypedef.sksl",
160 "/sksl/errors/ReservedNameUnion.sksl",
161 "/sksl/errors/ReservedNameUnsigned.sksl",
162 "/sksl/errors/ReservedNameUsing.sksl",
163 "/sksl/errors/ReservedNameVolatile.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500164 "/sksl/errors/ReturnDifferentType.sksl",
165 "/sksl/errors/ReturnFromVoid.sksl",
166 "/sksl/errors/ReturnMissingValue.sksl",
167 "/sksl/errors/ReturnTypeMismatch.sksl",
168 "/sksl/errors/SelfReferentialInitializerExpression.sksl",
169 "/sksl/errors/SpuriousFloat.sksl",
170 "/sksl/errors/StaticIfTest.sksl",
171 "/sksl/errors/StaticSwitchConditionalBreak.sksl",
172 "/sksl/errors/StaticSwitchTest.sksl",
John Stiles04ca41a2021-02-23 09:58:04 -0500173 "/sksl/errors/StaticSwitchWithConditionalBreak.sksl",
174 "/sksl/errors/StaticSwitchWithConditionalContinue.sksl",
175 "/sksl/errors/StaticSwitchWithConditionalReturn.sksl",
Brian Osman00fea5b2021-01-28 09:46:30 -0500176 "/sksl/errors/StructNameWithoutIdentifier.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500177 "/sksl/errors/StructTooDeeplyNested.sksl",
178 "/sksl/errors/SwitchDuplicateCase.sksl",
John Stiles463fad22021-02-19 15:13:46 -0500179 "/sksl/errors/SwitchDuplicateDefault.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500180 "/sksl/errors/SwitchTypes.sksl",
John Stiles1c5eb4b2021-09-21 14:36:34 -0400181 "/sksl/errors/SwitchWithContinueInside.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500182 "/sksl/errors/SwizzleConstantOutput.sksl",
John Stiles9191e812021-07-09 15:29:10 -0400183 "/sksl/errors/SwizzleDomain.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500184 "/sksl/errors/SwizzleMatrix.sksl",
185 "/sksl/errors/SwizzleOnlyLiterals.sksl",
186 "/sksl/errors/SwizzleOutOfBounds.sksl",
187 "/sksl/errors/SwizzleTooManyComponents.sksl",
188 "/sksl/errors/TernaryMismatch.sksl",
189 "/sksl/errors/UndeclaredFunction.sksl",
190 "/sksl/errors/UndefinedFunction.sksl",
191 "/sksl/errors/UndefinedSymbol.sksl",
Brian Osman2fe67f92021-02-17 16:24:04 -0500192 "/sksl/errors/UniformVarWithInitializerExpression.sksl",
Ethan Nicholasc0f98152021-02-05 16:21:10 -0500193 "/sksl/errors/UnknownDivideByZero.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500194 "/sksl/errors/UnsupportedGLSLIdentifiers.sksl",
John Stilese3a91cf2021-01-26 10:13:58 -0500195 "/sksl/errors/UnscopedVariableInDoWhile.sksl",
196 "/sksl/errors/UnscopedVariableInElse.sksl",
John Stiles2b6ec982021-03-04 10:46:39 -0500197 "/sksl/errors/UnscopedVariableInFor.sksl",
John Stilese3a91cf2021-01-26 10:13:58 -0500198 "/sksl/errors/UnscopedVariableInIf.sksl",
199 "/sksl/errors/UnscopedVariableInWhile.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500200 "/sksl/errors/UsingInvalidValue.sksl",
John Stilesce7cdcd2021-07-12 15:48:27 -0400201 "/sksl/errors/VectorSlice.sksl",
John Stiles8d130842021-08-27 12:42:45 -0400202 "/sksl/errors/VertexEarlyReturn.vert",
John Stilesbfc9be02021-01-22 11:55:48 -0500203 "/sksl/errors/WhileTypeMismatch.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400204]
205
John Stilesab4ab202020-09-24 17:22:42 -0400206sksl_glsl_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500207 "/sksl/glsl/ForceHighPrecision.sksl",
208 "/sksl/glsl/IncompleteShortIntPrecision.sksl",
Brian Osmana81e7e22021-09-15 10:28:27 -0400209 "/sksl/glsl/LastFragColor.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500210 "/sksl/glsl/LayoutQualifiers.sksl",
211 "/sksl/glsl/ShortIntPrecision.sksl",
212 "/sksl/glsl/TextureSharpenVersion110.sksl",
213 "/sksl/glsl/TextureVersion110.sksl",
214 "/sksl/glsl/UsesPrecisionModifiers.sksl",
215 "/sksl/glsl/Version110.sksl",
216 "/sksl/glsl/Version450Core.sksl",
John Stilesab4ab202020-09-24 17:22:42 -0400217]
218
John Stiles34de5cb2020-11-13 18:14:11 -0500219sksl_metal_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500220 "/sksl/metal/CastHalf4ToMat2x2.sksl",
221 "/sksl/metal/CastMat2x2ToMat3x3.sksl",
222 "/sksl/metal/CastMat2x3ToMat4x4.sksl",
223 "/sksl/metal/CastMat4x4ToMat3x4.sksl",
224 "/sksl/metal/CastMat4x4ToMat4x3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500225 "/sksl/metal/NumericGlobals.sksl",
226 "/sksl/metal/OpaqueTypeInInterfaceBlock.sksl",
227 "/sksl/metal/OpaqueTypeInStruct.sksl",
228 "/sksl/metal/OutParams.sksl",
229 "/sksl/metal/OutVarsRequireLocation.sksl",
230 "/sksl/metal/SamplerGlobals.sksl",
231 "/sksl/metal/SwizzleHelper.sksl",
John Stiles34de5cb2020-11-13 18:14:11 -0500232]
233
John Stilesba067aa2020-11-25 16:55:37 -0500234sksl_spirv_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500235 "/sksl/spirv/ConstantVectorFromVector.sksl",
Brian Osman2a4c0fb2021-01-22 13:41:40 -0500236 "/sksl/spirv/InterfaceBlockPushConstant.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500237 "/sksl/spirv/LayoutMultipleOf4.sksl",
238 "/sksl/spirv/LayoutOutOfOrder.sksl",
239 "/sksl/spirv/OpaqueTypeInArray.sksl",
John Stilesb0697082021-08-16 14:46:10 -0400240 "/sksl/spirv/Ossfuzz35916.sksl",
John Stiles43ac7e62021-08-25 12:43:22 -0400241 "/sksl/spirv/Ossfuzz37627.sksl",
John Stiles85749c02021-03-23 17:12:03 -0400242 "/sksl/workarounds/RewriteMatrixVectorMultiply.sksl",
John Stilesded41aa2021-08-05 12:19:35 -0400243 "/sksl/errors/Ossfuzz36850.sksl",
Ethan Nicholas553239b2021-08-23 15:40:20 -0400244 "/sksl/errors/Ossfuzz37469.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500245 "/sksl/errors/UndefinedFunction.sksl",
John Stiles8e2a84b2021-04-19 09:35:38 -0400246 "/sksl/errors/UnusedInterfaceBlock.sksl",
John Stilesba067aa2020-11-25 16:55:37 -0500247]
248
John Stilesab4ab202020-09-24 17:22:42 -0400249sksl_shared_tests = [
John Stilese1658b52021-01-29 11:44:13 -0500250 "/sksl/intrinsics/AbsFloat.sksl",
251 "/sksl/intrinsics/AbsInt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500252 "/sksl/intrinsics/Acos.sksl",
253 "/sksl/intrinsics/Acosh.sksl",
254 "/sksl/intrinsics/All.sksl",
255 "/sksl/intrinsics/Any.sksl",
256 "/sksl/intrinsics/Asin.sksl",
257 "/sksl/intrinsics/Asinh.sksl",
258 "/sksl/intrinsics/Atan.sksl",
259 "/sksl/intrinsics/Atanh.sksl",
260 "/sksl/intrinsics/BitCount.sksl",
261 "/sksl/intrinsics/Ceil.sksl",
John Stiles9c9f60c2021-01-29 11:51:47 -0500262 "/sksl/intrinsics/ClampFloat.sksl",
263 "/sksl/intrinsics/ClampInt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500264 "/sksl/intrinsics/Cos.sksl",
265 "/sksl/intrinsics/Cosh.sksl",
266 "/sksl/intrinsics/Cross.sksl",
John Stilesece1d792021-03-22 11:43:11 -0400267 "/sksl/intrinsics/CrossNoInline.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500268 "/sksl/intrinsics/Degrees.sksl",
269 "/sksl/intrinsics/Determinant.sksl",
270 "/sksl/intrinsics/DFdx.sksl",
271 "/sksl/intrinsics/DFdy.sksl",
272 "/sksl/intrinsics/Distance.sksl",
273 "/sksl/intrinsics/Dot.sksl",
274 "/sksl/intrinsics/Equal.sksl",
275 "/sksl/intrinsics/Exp.sksl",
276 "/sksl/intrinsics/Exp2.sksl",
277 "/sksl/intrinsics/FaceForward.sksl",
278 "/sksl/intrinsics/FindLSB.sksl",
279 "/sksl/intrinsics/FindMSB.sksl",
280 "/sksl/intrinsics/FloatBitsToInt.sksl",
281 "/sksl/intrinsics/FloatBitsToUint.sksl",
282 "/sksl/intrinsics/Floor.sksl",
283 "/sksl/intrinsics/Fma.sksl",
284 "/sksl/intrinsics/Fract.sksl",
285 "/sksl/intrinsics/Frexp.sksl",
286 "/sksl/intrinsics/Fwidth.sksl",
287 "/sksl/intrinsics/GreaterThan.sksl",
288 "/sksl/intrinsics/GreaterThanEqual.sksl",
289 "/sksl/intrinsics/IntBitsToFloat.sksl",
290 "/sksl/intrinsics/Inverse.sksl",
291 "/sksl/intrinsics/Inversesqrt.sksl",
292 "/sksl/intrinsics/IsInf.sksl",
293 "/sksl/intrinsics/IsNan.sksl",
294 "/sksl/intrinsics/Ldexp.sksl",
295 "/sksl/intrinsics/Length.sksl",
296 "/sksl/intrinsics/LessThan.sksl",
297 "/sksl/intrinsics/LessThanEqual.sksl",
298 "/sksl/intrinsics/Log.sksl",
299 "/sksl/intrinsics/Log2.sksl",
John Stilesb701fa02021-09-14 13:09:36 -0400300 "/sksl/intrinsics/MatrixCompMultES2.sksl",
301 "/sksl/intrinsics/MatrixCompMultES3.sksl",
John Stiles9c9f60c2021-01-29 11:51:47 -0500302 "/sksl/intrinsics/MaxFloat.sksl",
303 "/sksl/intrinsics/MaxInt.sksl",
304 "/sksl/intrinsics/MinFloat.sksl",
305 "/sksl/intrinsics/MinInt.sksl",
306 "/sksl/intrinsics/MixFloat.sksl",
307 "/sksl/intrinsics/MixBool.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500308 "/sksl/intrinsics/Mod.sksl",
309 "/sksl/intrinsics/Modf.sksl",
310 "/sksl/intrinsics/Normalize.sksl",
311 "/sksl/intrinsics/Not.sksl",
312 "/sksl/intrinsics/NotEqual.sksl",
313 "/sksl/intrinsics/OuterProduct.sksl",
314 "/sksl/intrinsics/Pack.sksl",
John Stiles8d0dd0d2021-09-09 09:58:42 -0400315 "/sksl/intrinsics/PackUnorm2x16.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500316 "/sksl/intrinsics/Pow.sksl",
317 "/sksl/intrinsics/Radians.sksl",
318 "/sksl/intrinsics/Reflect.sksl",
319 "/sksl/intrinsics/Refract.sksl",
320 "/sksl/intrinsics/Round.sksl",
321 "/sksl/intrinsics/RoundEven.sksl",
322 "/sksl/intrinsics/Saturate.sksl",
John Stilese1658b52021-01-29 11:44:13 -0500323 "/sksl/intrinsics/SignFloat.sksl",
324 "/sksl/intrinsics/SignInt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500325 "/sksl/intrinsics/Sin.sksl",
326 "/sksl/intrinsics/Sinh.sksl",
327 "/sksl/intrinsics/Smoothstep.sksl",
328 "/sksl/intrinsics/Sqrt.sksl",
329 "/sksl/intrinsics/Step.sksl",
330 "/sksl/intrinsics/Tan.sksl",
331 "/sksl/intrinsics/Tanh.sksl",
332 "/sksl/intrinsics/Transpose.sksl",
333 "/sksl/intrinsics/Trunc.sksl",
334 "/sksl/intrinsics/UintBitsToFloat.sksl",
335 "/sksl/intrinsics/Unpack.sksl",
John Stiles26487162021-08-10 16:03:44 -0400336 "/sksl/shared/ArrayCast.sksl",
John Stiles35092102021-04-08 23:30:51 -0400337 "/sksl/shared/ArrayComparison.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500338 "/sksl/shared/ArrayConstructors.sksl",
John Stiles2d3f5e82021-08-25 11:54:16 -0400339 "/sksl/shared/ArrayFollowedByScalar.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500340 "/sksl/shared/ArrayIndexTypes.sksl",
John Stiles9fdcc512021-08-04 13:27:05 -0400341 "/sksl/shared/ArrayNarrowingConversions.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500342 "/sksl/shared/ArrayTypes.sksl",
343 "/sksl/shared/Assignment.sksl",
344 "/sksl/shared/Caps.sksl",
345 "/sksl/shared/CastsRoundTowardZero.sksl",
346 "/sksl/shared/Clockwise.sksl",
John Stiles5a956ce2021-02-02 13:58:42 -0500347 "/sksl/shared/CommaMixedTypes.sksl",
John Stiles94e72b92021-01-30 11:06:18 -0500348 "/sksl/shared/CommaSideEffects.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500349 "/sksl/shared/ComplexDelete.sksl",
350 "/sksl/shared/ConstArray.sksl",
351 "/sksl/shared/ConstVariableComparison.sksl",
352 "/sksl/shared/ConstantIf.sksl",
353 "/sksl/shared/Control.sksl",
354 "/sksl/shared/DeadDoWhileLoop.sksl",
355 "/sksl/shared/DeadIfStatement.sksl",
356 "/sksl/shared/DeadLoopVariable.sksl",
John Stilesf2b08cc2021-05-17 14:46:05 -0400357 "/sksl/shared/DeadReturn.sksl",
John Stiles25be58e2021-05-20 14:38:40 -0400358 "/sksl/shared/DeadReturnES3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500359 "/sksl/shared/DeadStripFunctions.sksl",
360 "/sksl/shared/DependentInitializers.sksl",
361 "/sksl/shared/DerivativesUnused.sksl",
362 "/sksl/shared/Discard.sksl",
John Stiles798021a2021-01-26 10:37:41 -0500363 "/sksl/shared/DoWhileControlFlow.sksl",
John Stilesc068a8f2021-02-01 11:52:10 -0500364 "/sksl/shared/EmptyBlocksES2.sksl",
365 "/sksl/shared/EmptyBlocksES3.sksl",
John Stilesdac139a2021-01-26 11:06:42 -0500366 "/sksl/shared/ForLoopControlFlow.sksl",
John Stilesc5d86082021-04-14 15:05:49 -0400367 "/sksl/shared/ForLoopMultipleInit.sksl",
Brian Salomond8d85b92021-07-07 09:41:17 -0400368 "/sksl/shared/FragCoords.sksl",
John Stiles931cad12021-02-01 16:36:13 -0500369 "/sksl/shared/FunctionArgTypeMatch.sksl",
370 "/sksl/shared/FunctionReturnTypeMatch.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500371 "/sksl/shared/FunctionPrototype.sksl",
372 "/sksl/shared/Functions.sksl",
373 "/sksl/shared/GaussianBlur.sksl",
374 "/sksl/shared/GeometricIntrinsics.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500375 "/sksl/shared/HelloWorld.sksl",
376 "/sksl/shared/Hex.sksl",
John Stilesecd20362021-02-03 17:44:47 -0500377 "/sksl/shared/HexUnsigned.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500378 "/sksl/shared/InstanceID.vert",
John Stilesbfc9be02021-01-22 11:55:48 -0500379 "/sksl/shared/InterfaceBlockNamed.sksl",
John Stilesda5cdf62021-01-28 11:47:29 -0500380 "/sksl/shared/InterfaceBlockNamedArray.sksl",
John Stiles56233d12021-02-03 13:03:29 -0500381 "/sksl/shared/Matrices.sksl",
382 "/sksl/shared/MatricesNonsquare.sksl",
John Stilesa0e407d2021-02-10 12:21:51 -0500383 "/sksl/shared/MatrixEquality.sksl",
John Stiles191b4e22021-05-14 20:03:01 -0400384 "/sksl/shared/MatrixScalarSplat.sksl",
John Stiles5a825da2021-07-08 18:20:21 -0400385 "/sksl/shared/MatrixToVectorCast.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500386 "/sksl/shared/MultipleAssignments.sksl",
John Stilesf89a8122021-08-30 15:47:00 -0400387 "/sksl/shared/Negation.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500388 "/sksl/shared/NoFragCoordsPos.vert",
389 "/sksl/shared/NoFragCoordsPosRT.vert",
John Stilesbfc9be02021-01-22 11:55:48 -0500390 "/sksl/shared/NormalizationVert.vert",
391 "/sksl/shared/NumberCasts.sksl",
392 "/sksl/shared/NumberConversions.sksl",
393 "/sksl/shared/Offset.sksl",
John Stiles2ff8f862021-01-30 11:08:13 -0500394 "/sksl/shared/OperatorsES2.sksl",
395 "/sksl/shared/OperatorsES3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500396 "/sksl/shared/Ossfuzz26167.sksl",
John Stiles1b843bd2021-03-22 15:42:16 -0400397 "/sksl/shared/Ossfuzz26759.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500398 "/sksl/shared/Ossfuzz28794.sksl",
399 "/sksl/shared/Ossfuzz28904.sksl",
John Stiles1b843bd2021-03-22 15:42:16 -0400400 "/sksl/shared/Ossfuzz29085.sksl",
Brian Osman21d2b6a2021-02-01 13:48:50 -0500401 "/sksl/shared/Ossfuzz29494.sksl",
John Stilesd7437ee2021-08-02 11:56:16 -0400402 "/sksl/shared/Ossfuzz36770.sksl",
John Stiles9ae6ea02021-08-05 11:49:05 -0400403 "/sksl/shared/Ossfuzz36852.sksl",
John Stilesd77dda52021-08-24 09:59:34 -0400404 "/sksl/shared/Ossfuzz37466.sksl",
John Stilesbb8cf582021-08-26 23:34:59 -0400405 "/sksl/shared/Ossfuzz37677.sksl",
John Stiles5cec1872021-08-31 14:58:08 -0400406 "/sksl/shared/Ossfuzz37900.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500407 "/sksl/shared/OutParams.sksl",
Ethan Nicholase0707b72021-03-17 11:16:41 -0400408 "/sksl/shared/OutParamsNoInline.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500409 "/sksl/shared/OutParamsTricky.sksl",
John Stilesb35fbdb2021-05-26 16:43:19 -0400410 "/sksl/shared/Overflow.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500411 "/sksl/shared/RectangleTexture.sksl",
412 "/sksl/shared/ResizeMatrix.sksl",
John Stilesd4374782021-02-05 09:31:21 -0500413 "/sksl/shared/ResizeMatrixNonsquare.sksl",
John Stiles4d6310a2021-01-26 19:58:22 -0500414 "/sksl/shared/ReturnBadTypeFromMain.sksl",
415 "/sksl/shared/ReturnColorFromMain.sksl",
John Stilesb3dcbb12021-03-04 16:00:20 -0500416 "/sksl/shared/ReturnsValueOnEveryPathES2.sksl",
417 "/sksl/shared/ReturnsValueOnEveryPathES3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500418 "/sksl/shared/SampleLocations.vert",
John Stilesd4374782021-02-05 09:31:21 -0500419 "/sksl/shared/ScalarConversionConstructorsES2.sksl",
420 "/sksl/shared/ScalarConversionConstructorsES3.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500421 "/sksl/shared/ScopedSymbol.sksl",
422 "/sksl/shared/StackingVectorCasts.sksl",
423 "/sksl/shared/StaticIf.sksl",
424 "/sksl/shared/StaticSwitch.sksl",
425 "/sksl/shared/StaticSwitchWithBreak.sksl",
426 "/sksl/shared/StaticSwitchWithBreakInsideBlock.sksl",
427 "/sksl/shared/StaticSwitchWithConditionalBreak.sksl",
428 "/sksl/shared/StaticSwitchWithConditionalBreakInsideBlock.sksl",
John Stiles04ca41a2021-02-23 09:58:04 -0500429 "/sksl/shared/StaticSwitchWithContinue.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500430 "/sksl/shared/StaticSwitchWithFallthroughA.sksl",
431 "/sksl/shared/StaticSwitchWithFallthroughB.sksl",
432 "/sksl/shared/StaticSwitchWithStaticConditionalBreak.sksl",
433 "/sksl/shared/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl",
John Stiles2d3f5e82021-08-25 11:54:16 -0400434 "/sksl/shared/StructArrayFollowedByScalar.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500435 "/sksl/shared/Structs.sksl",
Brian Osmanbf7b4b82021-01-27 13:53:43 -0500436 "/sksl/shared/StructsInFunctions.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500437 "/sksl/shared/StructMaxDepth.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500438 "/sksl/shared/SwizzleBoolConstants.sksl",
John Stilesc2c1b0c2021-02-05 16:24:03 -0500439 "/sksl/shared/SwizzleByConstantIndex.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500440 "/sksl/shared/SwizzleByIndex.sksl",
441 "/sksl/shared/SwizzleConstants.sksl",
442 "/sksl/shared/SwizzleLTRB.sksl",
443 "/sksl/shared/SwizzleOpt.sksl",
444 "/sksl/shared/SwizzleScalar.sksl",
John Stiles7f56b412021-07-12 14:59:19 -0400445 "/sksl/shared/SwizzleScalarBool.sksl",
446 "/sksl/shared/SwizzleScalarInt.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500447 "/sksl/shared/TernaryAsLValueEntirelyFoldable.sksl",
448 "/sksl/shared/TernaryAsLValueFoldableTest.sksl",
John Stiles28054ad2021-03-05 15:22:48 -0500449 "/sksl/shared/TernaryExpression.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500450 "/sksl/shared/Texture1D.sksl",
451 "/sksl/shared/Texture2D.sksl",
452 "/sksl/shared/TextureSharpen.sksl",
453 "/sksl/shared/UnaryPositiveNegative.sksl",
454 "/sksl/shared/UniformArray.sksl",
John Stilesda5cdf62021-01-28 11:47:29 -0500455 "/sksl/shared/UniformBuffers.sksl",
456 "/sksl/shared/Uniforms.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500457 "/sksl/shared/UnusedVariables.sksl",
458 "/sksl/shared/VectorConstructors.sksl",
John Stiles2febb5b2021-03-25 11:43:40 -0400459 "/sksl/shared/VectorScalarMath.sksl",
John Stiles5a825da2021-07-08 18:20:21 -0400460 "/sksl/shared/VectorToMatrixCast.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500461 "/sksl/shared/VertexID.vert",
John Stiles7add07f2021-01-26 11:16:34 -0500462 "/sksl/shared/WhileLoopControlFlow.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400463]
464
John Stiles74192fd2021-01-11 11:07:01 -0500465sksl_folding_tests = [
John Stiles8037c9e2021-03-31 10:38:45 -0400466 "/sksl/folding/ArrayFolding.sksl",
John Stiles34c098d2021-02-09 10:38:59 -0500467 "/sksl/folding/AssignmentOps.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500468 "/sksl/folding/BoolFolding.sksl",
John Stiles27193d42021-05-07 11:16:26 -0400469 "/sksl/folding/CastFolding.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500470 "/sksl/folding/FloatFolding.sksl",
471 "/sksl/folding/IntFoldingES2.sksl",
472 "/sksl/folding/IntFoldingES3.sksl",
473 "/sksl/folding/MatrixFoldingES2.sksl",
474 "/sksl/folding/MatrixFoldingES3.sksl",
John Stiles0ac6c152021-02-10 14:04:24 -0500475 "/sksl/folding/SelfAssignment.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500476 "/sksl/folding/ShortCircuitBoolFolding.sksl",
John Stilesfb7d3782021-04-29 11:14:38 -0400477 "/sksl/folding/SwizzleFolding.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500478 "/sksl/folding/VectorScalarFolding.sksl",
479 "/sksl/folding/VectorVectorFolding.sksl",
John Stiles74192fd2021-01-11 11:07:01 -0500480]
481
John Stiles7e248712020-09-24 16:42:09 -0400482sksl_inliner_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500483 "/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl",
484 "/sksl/inliner/DoWhileTestCannotBeInlined.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500485 "/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl",
486 "/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl",
487 "/sksl/inliner/ForWithReturnInsideCannotBeInlined.sksl",
488 "/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl",
489 "/sksl/inliner/IfBodyMustBeInlinedIntoAScope.sksl",
490 "/sksl/inliner/IfElseBodyMustBeInlinedIntoAScope.sksl",
491 "/sksl/inliner/IfElseChainWithReturnsCanBeInlined.sksl",
492 "/sksl/inliner/IfTestCanBeInlined.sksl",
493 "/sksl/inliner/IfWithReturnsCanBeInlined.sksl",
494 "/sksl/inliner/InlineKeywordOverridesThreshold.sksl",
495 "/sksl/inliner/InlineThreshold.sksl",
496 "/sksl/inliner/InlinerElidesTempVarForReturnsInsideBlock.sksl",
497 "/sksl/inliner/InlinerUsesTempVarForMultipleReturns.sksl",
498 "/sksl/inliner/InlinerUsesTempVarForReturnsInsideBlockWithVar.sksl",
499 "/sksl/inliner/InlineWithInoutArgument.sksl",
500 "/sksl/inliner/InlineWithModifiedArgument.sksl",
501 "/sksl/inliner/InlineWithNestedBigCalls.sksl",
502 "/sksl/inliner/InlineWithNestedCalls.sksl",
503 "/sksl/inliner/InlineWithUnmodifiedArgument.sksl",
504 "/sksl/inliner/InlineWithUnnecessaryBlocks.sksl",
505 "/sksl/inliner/InlinerAvoidsVariableNameOverlap.sksl",
John Stiles92d83b72021-02-13 11:25:51 -0500506 "/sksl/inliner/InlinerHonorsGLSLOutParamSemantics.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500507 "/sksl/inliner/InlinerManglesNames.sksl",
John Stiles0dd1a772021-03-09 22:14:27 -0500508 "/sksl/inliner/NoInline.sksl",
John Stiles3ff77f42021-09-06 22:17:58 -0400509 "/sksl/inliner/Ossfuzz37994.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500510 "/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl",
John Stiles66c53b92021-02-20 08:00:43 -0500511 "/sksl/inliner/StaticSwitch.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500512 "/sksl/inliner/StructsCanBeInlinedSafely.sksl",
513 "/sksl/inliner/SwitchWithCastCanBeInlined.sksl",
514 "/sksl/inliner/SwitchWithoutReturnInsideCanBeInlined.sksl",
515 "/sksl/inliner/SwizzleCanBeInlinedDirectly.sksl",
516 "/sksl/inliner/TernaryResultsCannotBeInlined.sksl",
517 "/sksl/inliner/TernaryTestCanBeInlined.sksl",
518 "/sksl/inliner/TrivialArgumentsInlineDirectly.sksl",
519 "/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl",
520 "/sksl/inliner/WhileTestCannotBeInlined.sksl",
John Stilesea9e7ca2020-09-14 16:46:40 -0400521]
John Stiles0ed9f312020-09-16 17:46:37 -0400522
John Stiles7e248712020-09-24 16:42:09 -0400523sksl_blend_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500524 "/sksl/blend/BlendClear.sksl",
525 "/sksl/blend/BlendColor.sksl",
526 "/sksl/blend/BlendColorBurn.sksl",
527 "/sksl/blend/BlendColorDodge.sksl",
528 "/sksl/blend/BlendDarken.sksl",
529 "/sksl/blend/BlendDifference.sksl",
530 "/sksl/blend/BlendDst.sksl",
531 "/sksl/blend/BlendDstAtop.sksl",
532 "/sksl/blend/BlendDstIn.sksl",
533 "/sksl/blend/BlendDstOut.sksl",
534 "/sksl/blend/BlendDstOver.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500535 "/sksl/blend/BlendExclusion.sksl",
536 "/sksl/blend/BlendHardLight.sksl",
537 "/sksl/blend/BlendHue.sksl",
538 "/sksl/blend/BlendLighten.sksl",
539 "/sksl/blend/BlendLuminosity.sksl",
540 "/sksl/blend/BlendModulate.sksl",
541 "/sksl/blend/BlendMultiply.sksl",
542 "/sksl/blend/BlendOverlay.sksl",
543 "/sksl/blend/BlendPlus.sksl",
544 "/sksl/blend/BlendSaturation.sksl",
545 "/sksl/blend/BlendScreen.sksl",
546 "/sksl/blend/BlendSoftLight.sksl",
547 "/sksl/blend/BlendSrc.sksl",
548 "/sksl/blend/BlendSrcAtop.sksl",
549 "/sksl/blend/BlendSrcIn.sksl",
550 "/sksl/blend/BlendSrcOut.sksl",
551 "/sksl/blend/BlendSrcOver.sksl",
552 "/sksl/blend/BlendXor.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400553]
554
555sksl_settings_tests = [
John Stilesbfc9be02021-01-22 11:55:48 -0500556 "/sksl/glsl/TypePrecision.sksl",
557 "/sksl/inliner/ExponentialGrowth.sksl",
558 "/sksl/inliner/InlinerCanBeDisabled.sksl",
559 "/sksl/shared/Derivatives.sksl",
John Stiles26c93442021-09-25 10:33:00 -0400560 "/sksl/shared/Switch.sksl",
561 "/sksl/shared/SwitchDefaultOnly.sksl",
562 "/sksl/shared/SwitchWithFallthrough.sksl",
563 "/sksl/shared/SwitchWithLoops.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500564 "/sksl/workarounds/AbsInt.sksl",
565 "/sksl/workarounds/BlendGuardedDivide.sksl",
566 "/sksl/workarounds/BlendModesAllZeroVec.sksl",
567 "/sksl/workarounds/FractNegative.sksl",
568 "/sksl/workarounds/FragCoords.sksl",
569 "/sksl/workarounds/LoopCondition.sksl",
570 "/sksl/workarounds/MinAndAbsTogether.sksl",
571 "/sksl/workarounds/NegatedAtan.sksl",
Chris Dalton155c33c2021-06-07 18:51:42 -0600572 "/sksl/workarounds/NegatedLdexp.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500573 "/sksl/workarounds/PowWithConstantExponent.sksl",
574 "/sksl/workarounds/RewriteDoWhileLoops.sksl",
John Stiles5ee369f2021-05-21 17:27:57 -0400575 "/sksl/workarounds/RewriteMatrixComparisons.sksl",
John Stiles85749c02021-03-23 17:12:03 -0400576 "/sksl/workarounds/RewriteMatrixVectorMultiply.sksl",
John Stilesbfc9be02021-01-22 11:55:48 -0500577 "/sksl/workarounds/TernaryShortCircuit.sksl",
John Stiles0ed9f312020-09-16 17:46:37 -0400578]
John Stiles7e248712020-09-24 16:42:09 -0400579
Brian Osman977feec2020-12-22 11:28:59 -0500580sksl_rte_tests = [
John Stilese9dcbfd2021-08-03 11:16:48 -0400581 "/sksl/runtime/AllowNarrowingConversions.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400582 "/sksl/runtime/ArrayIndexing.rts",
John Stiles2195f942021-08-05 10:55:03 -0400583 "/sksl/runtime/ArrayNarrowingConversions.rts",
John Stiles50d0d092021-06-09 17:24:31 -0400584 "/sksl/runtime/Blend.rtb",
Brian Osman552fcb92021-04-28 17:41:57 -0400585 "/sksl/runtime/ConstPreservation.rts",
586 "/sksl/runtime/ConversionConstructors.rts",
587 "/sksl/runtime/GLSLTypeNames.rts",
588 "/sksl/runtime/GlobalVariables.rts",
John Stiles857c7f92021-09-15 09:42:36 -0400589 "/sksl/runtime/LargeProgram_BlocklessLoops.rts",
John Stiles61e5e202021-09-02 09:56:31 -0400590 "/sksl/runtime/LargeProgram_FlatLoop.rts",
591 "/sksl/runtime/LargeProgram_Functions.rts",
592 "/sksl/runtime/LargeProgram_NestedLoops.rts",
593 "/sksl/runtime/LargeProgram_SplitLoops.rts",
John Stiles2af4b132021-09-02 16:17:07 -0400594 "/sksl/runtime/LargeProgram_StackDepth.rts",
John Stiles61e5e202021-09-02 09:56:31 -0400595 "/sksl/runtime/LargeProgram_ZeroIterFor.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400596 "/sksl/runtime/LoopInt.rts",
597 "/sksl/runtime/LoopFloat.rts",
John Stiles02014312021-08-04 16:03:12 -0400598 "/sksl/runtime/PrecisionQualifiers.rts",
John Stiles906e9eb2021-10-01 14:21:09 -0400599 "/sksl/runtime/QualifierOrder.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400600 "/sksl/runtime/SampleWithExplicitCoord.rts",
John Stilesed2baba2021-09-20 19:09:13 -0400601 "/sksl/runtime/Switch.rts",
John Stilescb400082021-09-23 11:07:32 -0400602 "/sksl/runtime/SwitchDefaultOnly.rts",
603 "/sksl/runtime/SwitchWithFallthrough.rts",
604 "/sksl/runtime/SwitchWithLoops.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400605 "/sksl/runtime/VectorIndexing.rts",
Brian Osman977feec2020-12-22 11:28:59 -0500606]
607
608sksl_rte_error_tests = [
John Stiles4e249482021-08-13 11:43:21 -0400609 "/sksl/runtime_errors/DerivativesES2.rts",
John Stiles059798f2021-08-16 23:00:04 -0400610 "/sksl/runtime_errors/ES3Types.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400611 "/sksl/runtime_errors/FirstClassArrays.rts",
612 "/sksl/runtime_errors/IllegalArrayOps.rts",
613 "/sksl/runtime_errors/IllegalIndexing.rts",
614 "/sksl/runtime_errors/IllegalOperators.rts",
John Stilesb806da42021-08-04 16:26:47 -0400615 "/sksl/runtime_errors/IllegalPrecisionQualifiers.rts",
Brian Osman7da06572021-07-21 15:19:34 -0400616 "/sksl/runtime_errors/IllegalRecursionComplex.rts",
617 "/sksl/runtime_errors/IllegalRecursionMutual.rts",
618 "/sksl/runtime_errors/IllegalRecursionSimple.rts",
Brian Osmanb5282f02021-08-24 10:11:56 -0400619 "/sksl/runtime_errors/IllegalShaderSampling.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400620 "/sksl/runtime_errors/IllegalShaderUse.rts",
621 "/sksl/runtime_errors/IllegalStatements.rts",
John Stilesf7f36ae2021-06-08 14:06:22 -0400622 "/sksl/runtime_errors/InvalidBlendMain.rtb",
Brian Osmancbb60bd2021-04-12 09:49:20 -0400623 "/sksl/runtime_errors/InvalidColorFilterFeatures.rtcf",
624 "/sksl/runtime_errors/InvalidColorFilterMain.rtcf",
625 "/sksl/runtime_errors/InvalidShaderMain.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400626 "/sksl/runtime_errors/LoopConditionErrors.rts",
627 "/sksl/runtime_errors/LoopExpressionErrors.rts",
628 "/sksl/runtime_errors/LoopInitializerErrors.rts",
629 "/sksl/runtime_errors/LoopStructureErrors.rts",
John Stilese3f85e02021-08-05 16:50:56 -0400630 "/sksl/runtime_errors/Ossfuzz36655.rts",
Ethan Nicholasa2c76c72021-09-07 15:21:13 -0400631 "/sksl/runtime_errors/Ossfuzz38131.rts",
John Stiles857c7f92021-09-15 09:42:36 -0400632 "/sksl/runtime_errors/ProgramTooLarge_BlocklessLoops.rts",
John Stilesa047e8b2021-09-15 11:41:02 -0400633 "/sksl/runtime_errors/ProgramTooLarge_Extreme.rts",
John Stiles61e5e202021-09-02 09:56:31 -0400634 "/sksl/runtime_errors/ProgramTooLarge_FlatLoop.rts",
635 "/sksl/runtime_errors/ProgramTooLarge_Functions.rts",
636 "/sksl/runtime_errors/ProgramTooLarge_NestedLoops.rts",
637 "/sksl/runtime_errors/ProgramTooLarge_SplitLoops.rts",
John Stiles2af4b132021-09-02 16:17:07 -0400638 "/sksl/runtime_errors/ProgramTooLarge_StackDepth.rts",
Brian Osman552fcb92021-04-28 17:41:57 -0400639 "/sksl/runtime_errors/UnsupportedTypeFragmentProcessor.rts",
640 "/sksl/runtime_errors/UnsupportedTypeSampler.rts",
641 "/sksl/runtime_errors/UnsupportedTypeTexture.rts",
Brian Osman977feec2020-12-22 11:28:59 -0500642]
643
John Stiles7e248712020-09-24 16:42:09 -0400644# Tests in sksl_glsl_tests_sources will be compiled with --settings on, and are expected to generate
645# a .glsl output file.
646sksl_glsl_tests_sources =
John Stiles74192fd2021-01-11 11:07:01 -0500647 sksl_error_tests + sksl_glsl_tests + sksl_inliner_tests +
648 sksl_folding_tests + sksl_shared_tests
John Stiles7e248712020-09-24 16:42:09 -0400649
650# Tests in sksl_glsl_settings_tests_sources will be compiled twice, once with --settings and once
651# using --nosettings. In the latter mode, StandaloneSettings is appended to the output filename.
652sksl_glsl_settings_tests_sources = sksl_blend_tests + sksl_settings_tests
John Stilesaeae3a52020-09-25 13:35:58 -0400653
654# Tests in sksl_metal_tests_sources will be compiled with --settings on, and are expected to
655# generate a .metal output file.
John Stiles34de5cb2020-11-13 18:14:11 -0500656sksl_metal_tests_sources =
657 sksl_metal_tests + sksl_blend_tests + sksl_shared_tests
John Stilesdda1d312020-11-20 16:28:50 -0500658
659# Tests in sksl_spirv_tests_sources will be compiled with --settings on, and are expected to
660# generate a .asm.(frag|vert|geom) output file.
John Stilesba067aa2020-11-25 16:55:37 -0500661sksl_spirv_tests_sources =
662 sksl_blend_tests + sksl_shared_tests + sksl_spirv_tests
Brian Osman977feec2020-12-22 11:28:59 -0500663
664## Tests in sksl_skvm_tests_sources will be compiled with --settings on, and are expected to
665## generate a .skvm output file.
666sksl_skvm_tests_sources = sksl_rte_tests + sksl_rte_error_tests
Brian Osman62b039b2021-02-08 13:49:53 -0500667
668## Tests in sksl_stage_tests_sources will be compiled with --settings on, and are expected to
669## generate a .stage output file.
670sksl_stage_tests_sources = sksl_rte_tests