blob: ae425fdcdbbf1fc3ba1d0c8c48aea9c8ad7596e7 [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
6# Things are easiest for everyone if these source paths are absolute.
7_tests = get_path_info("../tests", "abspath")
8
John Stiles7e248712020-09-24 16:42:09 -04009sksl_fp_error_tests = [
John Stiles6dc52652020-09-16 18:40:38 -040010 "$_tests/sksl/errors/GrBadIn.fp",
John Stilesea9e7ca2020-09-14 16:46:40 -040011 "$_tests/sksl/errors/GrBothExplicitReturnAndSkOutColor.fp",
John Stiles6dc52652020-09-16 18:40:38 -040012 "$_tests/sksl/errors/GrCannotReturnWithSkOutColor.fp",
13 "$_tests/sksl/errors/GrNoFragmentProcessorConstruction.fp",
14 "$_tests/sksl/errors/GrNoFragmentProcessorExpressions.fp",
15 "$_tests/sksl/errors/GrNoFragmentProcessorLocals.fp",
16 "$_tests/sksl/errors/GrNoFragmentProcessorParams.fp",
17 "$_tests/sksl/errors/GrNoFragmentProcessorReturn.fp",
John Stiles7e248712020-09-24 16:42:09 -040018]
19
20sksl_fp_tests = [
John Stiles647a9bd2020-09-23 11:46:29 -040021 "$_tests/sksl/fp/GrChildProcessorAndGlobal.fp",
22 "$_tests/sksl/fp/GrChildProcessorFieldAccess.fp",
23 "$_tests/sksl/fp/GrChildProcessorInlineFieldAccess.fp",
24 "$_tests/sksl/fp/GrChildProcessorSampleCoords.fp",
25 "$_tests/sksl/fp/GrChildProcessorSampleMatrixAndCoords.fp",
26 "$_tests/sksl/fp/GrChildProcessorSampleMatrixConstant.fp",
27 "$_tests/sksl/fp/GrChildProcessorSampleMatrixConstantAndCoords.fp",
28 "$_tests/sksl/fp/GrChildProcessorSampleMatrixMultipleUniforms.fp",
29 "$_tests/sksl/fp/GrChildProcessorSampleMatrixSingleInUniform.fp",
30 "$_tests/sksl/fp/GrChildProcessorSampleMatrixSingleUniform.fp",
31 "$_tests/sksl/fp/GrChildProcessorSampleMatrixSingleUniformExpr.fp",
32 "$_tests/sksl/fp/GrChildProcessorWithInputExpression.fp",
33 "$_tests/sksl/fp/GrChildProcessors.fp",
34 "$_tests/sksl/fp/GrChildProcessorsWithInput.fp",
John Stiles6dc52652020-09-16 18:40:38 -040035 "$_tests/sksl/fp/GrConditionalInUniform.fp",
36 "$_tests/sksl/fp/GrFunction.fp",
John Stiles647a9bd2020-09-23 11:46:29 -040037 "$_tests/sksl/fp/GrGrSLTypesAreSupported.fp",
John Stilesea9e7ca2020-09-14 16:46:40 -040038 "$_tests/sksl/fp/GrHelloWorld.fp",
John Stiles6dc52652020-09-16 18:40:38 -040039 "$_tests/sksl/fp/GrInUniform.fp",
40 "$_tests/sksl/fp/GrInUniformCType.fp",
41 "$_tests/sksl/fp/GrInlinedFunction.fp",
42 "$_tests/sksl/fp/GrKeyIn.fp",
John Stiles647a9bd2020-09-23 11:46:29 -040043 "$_tests/sksl/fp/GrLayoutWhen.fp",
44 "$_tests/sksl/fp/GrMainCoords.fp",
John Stiles6dc52652020-09-16 18:40:38 -040045 "$_tests/sksl/fp/GrNestedChildProcessors.fp",
46 "$_tests/sksl/fp/GrNonInlinedInUniform.fp",
47 "$_tests/sksl/fp/GrNullableChildProcessor.fp",
48 "$_tests/sksl/fp/GrSectionClass.fp",
49 "$_tests/sksl/fp/GrSectionConstructor.fp",
50 "$_tests/sksl/fp/GrSectionConstructorParams.fp",
51 "$_tests/sksl/fp/GrSectionCpp.fp",
52 "$_tests/sksl/fp/GrSectionDumpInfo.fp",
53 "$_tests/sksl/fp/GrSectionEmitCode.fp",
54 "$_tests/sksl/fp/GrSectionFields.fp",
55 "$_tests/sksl/fp/GrSectionHeader.fp",
56 "$_tests/sksl/fp/GrSectionInitializers.fp",
57 "$_tests/sksl/fp/GrSectionMake.fp",
58 "$_tests/sksl/fp/GrSectionSetData.fp",
59 "$_tests/sksl/fp/GrSectionTest.fp",
60 "$_tests/sksl/fp/GrTrackedInUniform.fp",
61 "$_tests/sksl/fp/GrUniform.fp",
John Stiles647a9bd2020-09-23 11:46:29 -040062 "$_tests/sksl/fp/GrUniformArrays.fp",
John Stiles6dc52652020-09-16 18:40:38 -040063 "$_tests/sksl/fp/GrUseExplicitReturn.fp",
John Stilesea9e7ca2020-09-14 16:46:40 -040064]
John Stilesd836f842020-09-14 10:21:44 -040065
John Stiles7e248712020-09-24 16:42:09 -040066sksl_error_tests = [
John Stiles6798e5d2020-09-17 18:20:26 -040067 "$_tests/sksl/errors/ArgumentCountMismatch.sksl",
68 "$_tests/sksl/errors/ArgumentMismatch.sksl",
69 "$_tests/sksl/errors/ArgumentModifiers.sksl",
70 "$_tests/sksl/errors/AssignmentTypeMismatch.sksl",
71 "$_tests/sksl/errors/BadCaps.sksl",
72 "$_tests/sksl/errors/BadIndex.sksl",
73 "$_tests/sksl/errors/BadModifiers.sksl",
74 "$_tests/sksl/errors/BinaryTypeCoercion.sksl",
75 "$_tests/sksl/errors/BinaryTypeMismatch.sksl",
Brian Osmanbf2163f2020-09-16 16:21:40 -040076 "$_tests/sksl/errors/BitShiftFloat.sksl",
77 "$_tests/sksl/errors/BitShiftFloatMatrix.sksl",
78 "$_tests/sksl/errors/BitShiftFloatVector.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -040079 "$_tests/sksl/errors/BreakOutsideLoop.sksl",
80 "$_tests/sksl/errors/CallNonFunction.sksl",
81 "$_tests/sksl/errors/CanExitWithoutReturningValue.sksl",
82 "$_tests/sksl/errors/ConstructorArgumentCount.sksl",
83 "$_tests/sksl/errors/ConstructorTypeMismatch.sksl",
84 "$_tests/sksl/errors/ContinueOutsideLoop.sksl",
85 "$_tests/sksl/errors/DivideByZero.sksl",
86 "$_tests/sksl/errors/DoTypeMismatch.sksl",
87 "$_tests/sksl/errors/DuplicateFunction.sksl",
88 "$_tests/sksl/errors/DuplicateOutput.sksl",
89 "$_tests/sksl/errors/DuplicateSymbol.sksl",
90 "$_tests/sksl/errors/EnumValueMustBeConstInt.sksl",
91 "$_tests/sksl/errors/ErrorsInDeadCode.sksl",
92 "$_tests/sksl/errors/FieldAfterRuntimeArray.sksl",
93 "$_tests/sksl/errors/ForTypeMismatch.sksl",
94 "$_tests/sksl/errors/GenericArgumentMismatch.sksl",
95 "$_tests/sksl/errors/IfTypeMismatch.sksl",
96 "$_tests/sksl/errors/InterfaceBlockScope.sksl",
97 "$_tests/sksl/errors/InterfaceBlockStorageModifiers.sksl",
98 "$_tests/sksl/errors/InvalidAssignment.sksl",
John Stiles59b2a922020-09-23 15:20:01 -040099 "$_tests/sksl/errors/InvalidOutParams.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400100 "$_tests/sksl/errors/InvalidUnary.sksl",
John Stilesea9e7ca2020-09-14 16:46:40 -0400101 "$_tests/sksl/errors/OpenArray.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400102 "$_tests/sksl/errors/ReturnDifferentType.sksl",
103 "$_tests/sksl/errors/ReturnFromVoid.sksl",
104 "$_tests/sksl/errors/ReturnMissingValue.sksl",
105 "$_tests/sksl/errors/ReturnTypeMismatch.sksl",
106 "$_tests/sksl/errors/SpuriousFloat.sksl",
107 "$_tests/sksl/errors/StaticIfTest.sksl",
108 "$_tests/sksl/errors/StaticSwitchConditionalBreak.sksl",
109 "$_tests/sksl/errors/StaticSwitchTest.sksl",
110 "$_tests/sksl/errors/SwitchDuplicateCase.sksl",
111 "$_tests/sksl/errors/SwitchTypes.sksl",
112 "$_tests/sksl/errors/SwizzleConstantOutput.sksl",
113 "$_tests/sksl/errors/SwizzleDuplicateOutput.sksl",
114 "$_tests/sksl/errors/SwizzleMatrix.sksl",
115 "$_tests/sksl/errors/SwizzleOnlyLiterals.sksl",
116 "$_tests/sksl/errors/SwizzleOutOfBounds.sksl",
117 "$_tests/sksl/errors/SwizzleTooManyComponents.sksl",
118 "$_tests/sksl/errors/TernaryMismatch.sksl",
119 "$_tests/sksl/errors/UndefinedFunction.sksl",
John Stilesea9e7ca2020-09-14 16:46:40 -0400120 "$_tests/sksl/errors/UndefinedSymbol.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400121 "$_tests/sksl/errors/Unreachable.sksl",
122 "$_tests/sksl/errors/UnsupportedGLSLIdentifiers.sksl",
123 "$_tests/sksl/errors/UseWithoutInitializeArrayIndex.sksl",
124 "$_tests/sksl/errors/UseWithoutInitializeBinaryExpr.sksl",
125 "$_tests/sksl/errors/UseWithoutInitializeDeadIf.sksl",
126 "$_tests/sksl/errors/UseWithoutInitializeDeadSwitch.sksl",
127 "$_tests/sksl/errors/UseWithoutInitializeReturnValue.sksl",
128 "$_tests/sksl/errors/UseWithoutInitializeVarDecl.sksl",
129 "$_tests/sksl/errors/UsingInvalidValue.sksl",
130 "$_tests/sksl/errors/WhileTypeMismatch.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400131]
132
133sksl_common_tests = [
John Stilesb0245492020-09-14 17:30:13 -0400134 "$_tests/sksl/glsl/ArrayConstructors.sksl",
135 "$_tests/sksl/glsl/ArrayIndexTypes.sksl",
136 "$_tests/sksl/glsl/ArrayTypes.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400137 "$_tests/sksl/glsl/AssignmentTypeMatch.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400138 "$_tests/sksl/glsl/BoolFolding.sksl",
John Stiles90805402020-09-16 15:32:21 -0400139 "$_tests/sksl/glsl/Caps.sksl",
140 "$_tests/sksl/glsl/CastsRoundTowardZero.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400141 "$_tests/sksl/glsl/ClipDistanceFragment.sksl",
142 "$_tests/sksl/glsl/ClipDistanceVertex.vert",
143 "$_tests/sksl/glsl/Clockwise.sksl",
144 "$_tests/sksl/glsl/ComplexDelete.sksl",
145 "$_tests/sksl/glsl/ConstArray.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400146 "$_tests/sksl/glsl/ConstVariableComparison.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400147 "$_tests/sksl/glsl/ConstantIf.sksl",
148 "$_tests/sksl/glsl/Control.sksl",
John Stiles64fc15a2020-09-18 16:16:14 -0400149 "$_tests/sksl/glsl/DeadDoWhileLoop.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400150 "$_tests/sksl/glsl/DeadLoopVariable.sksl",
151 "$_tests/sksl/glsl/DependentInitializers.sksl",
John Stilesc8846312020-09-18 12:03:42 -0400152 "$_tests/sksl/glsl/DerivativesUnused.sksl",
John Stiles90805402020-09-16 15:32:21 -0400153 "$_tests/sksl/glsl/Discard.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400154 "$_tests/sksl/glsl/FloatFolding.sksl",
John Stiles72664be2020-09-16 17:43:11 -0400155 "$_tests/sksl/glsl/ForceHighPrecision.sksl",
John Stiles90805402020-09-16 15:32:21 -0400156 "$_tests/sksl/glsl/FrExp.sksl",
John Stilesbe0a9ca2020-09-18 14:42:58 -0400157 "$_tests/sksl/glsl/FragCoordsFlipY.sksl",
158 "$_tests/sksl/glsl/FragCoordsNew.sksl",
159 "$_tests/sksl/glsl/FragCoordsOld.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400160 "$_tests/sksl/glsl/FunctionArgumentMatch.sksl",
161 "$_tests/sksl/glsl/FunctionPrototype.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400162 "$_tests/sksl/glsl/Functions.sksl",
John Stiles87e6ccd2020-09-18 12:04:04 -0400163 "$_tests/sksl/glsl/Geometry.geom",
164 "$_tests/sksl/glsl/GeometryExtension.geom",
165 "$_tests/sksl/glsl/GeometryGSInvocations.geom",
166 "$_tests/sksl/glsl/GeometryNoGSInvocations.geom",
John Stiles90805402020-09-16 15:32:21 -0400167 "$_tests/sksl/glsl/Height.sksl",
John Stilesea9e7ca2020-09-14 16:46:40 -0400168 "$_tests/sksl/glsl/HelloWorld.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400169 "$_tests/sksl/glsl/Hex.sksl",
John Stilesbe0a9ca2020-09-18 14:42:58 -0400170 "$_tests/sksl/glsl/IncompleteShortIntPrecision.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400171 "$_tests/sksl/glsl/InstanceID.vert",
172 "$_tests/sksl/glsl/IntFolding.sksl",
173 "$_tests/sksl/glsl/InterfaceBlockAnonymous.sksl",
174 "$_tests/sksl/glsl/InterfaceBlockArray.sksl",
175 "$_tests/sksl/glsl/InterfaceBlockNamed.sksl",
176 "$_tests/sksl/glsl/Matrices.sksl",
177 "$_tests/sksl/glsl/MatrixFolding.sksl",
John Stiles90805402020-09-16 15:32:21 -0400178 "$_tests/sksl/glsl/ModifiersDeclaration.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400179 "$_tests/sksl/glsl/MultipleAssignments.sksl",
John Stiles90805402020-09-16 15:32:21 -0400180 "$_tests/sksl/glsl/NegatedVectorLiteral.sksl",
John Stilesbe0a9ca2020-09-18 14:42:58 -0400181 "$_tests/sksl/glsl/NoFragCoordsPos.vert",
182 "$_tests/sksl/glsl/NoFragCoordsPosRT.vert",
John Stiles87e6ccd2020-09-18 12:04:04 -0400183 "$_tests/sksl/glsl/NormalizationGeo.geom",
184 "$_tests/sksl/glsl/NormalizationVert.vert",
John Stiles90805402020-09-16 15:32:21 -0400185 "$_tests/sksl/glsl/NumberConversions.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400186 "$_tests/sksl/glsl/Offset.sksl",
187 "$_tests/sksl/glsl/Operators.sksl",
John Stiles59b2a922020-09-23 15:20:01 -0400188 "$_tests/sksl/glsl/OutParams.sksl",
John Stiles90805402020-09-16 15:32:21 -0400189 "$_tests/sksl/glsl/RectangleTexture.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400190 "$_tests/sksl/glsl/ResizeMatrix.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400191 "$_tests/sksl/glsl/SampleMask.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400192 "$_tests/sksl/glsl/ScopedSymbol.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400193 "$_tests/sksl/glsl/ShortCircuitBoolFolding.sksl",
John Stilesbe0a9ca2020-09-18 14:42:58 -0400194 "$_tests/sksl/glsl/ShortIntPrecision.sksl",
John Stiles90805402020-09-16 15:32:21 -0400195 "$_tests/sksl/glsl/StackingVectorCasts.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400196 "$_tests/sksl/glsl/StaticIf.sksl",
197 "$_tests/sksl/glsl/StaticSwitch.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400198 "$_tests/sksl/glsl/StaticSwitchWithBreak.sksl",
199 "$_tests/sksl/glsl/StaticSwitchWithBreakInsideBlock.sksl",
200 "$_tests/sksl/glsl/StaticSwitchWithConditionalBreak.sksl",
201 "$_tests/sksl/glsl/StaticSwitchWithConditionalBreakInsideBlock.sksl",
202 "$_tests/sksl/glsl/StaticSwitchWithFallthroughA.sksl",
203 "$_tests/sksl/glsl/StaticSwitchWithFallthroughB.sksl",
204 "$_tests/sksl/glsl/StaticSwitchWithStaticConditionalBreak.sksl",
205 "$_tests/sksl/glsl/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl",
206 "$_tests/sksl/glsl/Structs.sksl",
207 "$_tests/sksl/glsl/Switch.sksl",
208 "$_tests/sksl/glsl/SwitchContainingDeadCode.sksl",
209 "$_tests/sksl/glsl/SwitchWithFallthrough.sksl",
John Stiles5f35ac92020-09-22 13:56:01 -0400210 "$_tests/sksl/glsl/SwizzleBoolConstants.sksl",
John Stiles7f6378f2020-09-16 13:40:35 -0400211 "$_tests/sksl/glsl/SwizzleConstants.sksl",
John Stiles90805402020-09-16 15:32:21 -0400212 "$_tests/sksl/glsl/SwizzleLTRB.sksl",
John Stiles7f6378f2020-09-16 13:40:35 -0400213 "$_tests/sksl/glsl/SwizzleOpt.sksl",
214 "$_tests/sksl/glsl/SwizzleScalar.sksl",
John Stiles90805402020-09-16 15:32:21 -0400215 "$_tests/sksl/glsl/TernaryAsLValueEntirelyFoldable.sksl",
216 "$_tests/sksl/glsl/TernaryAsLValueFoldableTest.sksl",
217 "$_tests/sksl/glsl/TernaryAsLValueUnfoldable.sksl",
John Stiles72664be2020-09-16 17:43:11 -0400218 "$_tests/sksl/glsl/Texture.sksl",
219 "$_tests/sksl/glsl/TextureSharpen.sksl",
220 "$_tests/sksl/glsl/TextureSharpenVersion110.sksl",
221 "$_tests/sksl/glsl/TextureVersion110.sksl",
John Stiles6798e5d2020-09-17 18:20:26 -0400222 "$_tests/sksl/glsl/UnaryPositiveNegative.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400223 "$_tests/sksl/glsl/UnusedVariables.sksl",
John Stiles72664be2020-09-16 17:43:11 -0400224 "$_tests/sksl/glsl/UsesPrecisionModifiers.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400225 "$_tests/sksl/glsl/VectorConstructors.sksl",
226 "$_tests/sksl/glsl/VectorFolding.sksl",
John Stiles72664be2020-09-16 17:43:11 -0400227 "$_tests/sksl/glsl/Version110.sksl",
228 "$_tests/sksl/glsl/Version450Core.sksl",
John Stilesb0245492020-09-14 17:30:13 -0400229 "$_tests/sksl/glsl/VertexID.vert",
John Stiles90805402020-09-16 15:32:21 -0400230 "$_tests/sksl/glsl/Width.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400231]
232
233sksl_inliner_tests = [
John Stilesf2cdf592020-09-15 10:10:43 -0400234 "$_tests/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl",
235 "$_tests/sksl/inliner/DoWhileTestCannotBeInlined.sksl",
236 "$_tests/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl",
237 "$_tests/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl",
238 "$_tests/sksl/inliner/ForWithReturnInsideCannotBeInlined.sksl",
239 "$_tests/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl",
240 "$_tests/sksl/inliner/IfBodyMustBeInlinedIntoAScope.sksl",
241 "$_tests/sksl/inliner/IfElseBodyMustBeInlinedIntoAScope.sksl",
242 "$_tests/sksl/inliner/IfElseChainWithReturnsCanBeInlined.sksl",
243 "$_tests/sksl/inliner/IfTestCanBeInlined.sksl",
244 "$_tests/sksl/inliner/IfWithReturnsCanBeInlined.sksl",
245 "$_tests/sksl/inliner/InlineKeywordOverridesThreshold.sksl",
246 "$_tests/sksl/inliner/InlineThreshold.sksl",
247 "$_tests/sksl/inliner/InlineWithInoutArgument.sksl",
248 "$_tests/sksl/inliner/InlineWithModifiedArgument.sksl",
249 "$_tests/sksl/inliner/InlineWithNestedBigCalls.sksl",
250 "$_tests/sksl/inliner/InlineWithNestedCalls.sksl",
251 "$_tests/sksl/inliner/InlineWithUnmodifiedArgument.sksl",
252 "$_tests/sksl/inliner/InlineWithUnnecessaryBlocks.sksl",
John Stiles8f026252020-09-14 18:23:54 -0400253 "$_tests/sksl/inliner/InlinerAvoidsVariableNameOverlap.sksl",
John Stilesf2cdf592020-09-15 10:10:43 -0400254 "$_tests/sksl/inliner/InlinerManglesNames.sksl",
John Stilesf2cdf592020-09-15 10:10:43 -0400255 "$_tests/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl",
256 "$_tests/sksl/inliner/SwitchWithCastCanBeInlined.sksl",
257 "$_tests/sksl/inliner/SwitchWithReturnInsideCannotBeInlined.sksl",
258 "$_tests/sksl/inliner/SwitchWithoutReturnInsideCanBeInlined.sksl",
John Stiles59b2a922020-09-23 15:20:01 -0400259 "$_tests/sksl/inliner/SwizzleCanBeInlinedDirectly.sksl",
John Stilesf2cdf592020-09-15 10:10:43 -0400260 "$_tests/sksl/inliner/TernaryResultsCannotBeInlined.sksl",
261 "$_tests/sksl/inliner/TernaryTestCanBeInlined.sksl",
262 "$_tests/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl",
263 "$_tests/sksl/inliner/WhileTestCannotBeInlined.sksl",
John Stilesea9e7ca2020-09-14 16:46:40 -0400264]
John Stiles0ed9f312020-09-16 17:46:37 -0400265
John Stiles7e248712020-09-24 16:42:09 -0400266sksl_blend_tests = [
John Stiles2b788b12020-09-21 17:01:22 -0400267 "$_tests/sksl/blend/BlendClear.sksl",
268 "$_tests/sksl/blend/BlendColor.sksl",
269 "$_tests/sksl/blend/BlendColorBurn.sksl",
270 "$_tests/sksl/blend/BlendColorDodge.sksl",
271 "$_tests/sksl/blend/BlendDarken.sksl",
272 "$_tests/sksl/blend/BlendDifference.sksl",
273 "$_tests/sksl/blend/BlendDst.sksl",
274 "$_tests/sksl/blend/BlendDstAtop.sksl",
275 "$_tests/sksl/blend/BlendDstIn.sksl",
276 "$_tests/sksl/blend/BlendDstOut.sksl",
277 "$_tests/sksl/blend/BlendDstOver.sksl",
278 "$_tests/sksl/blend/BlendExclusion.sksl",
279 "$_tests/sksl/blend/BlendHardLight.sksl",
280 "$_tests/sksl/blend/BlendHue.sksl",
281 "$_tests/sksl/blend/BlendLighten.sksl",
282 "$_tests/sksl/blend/BlendLuminosity.sksl",
283 "$_tests/sksl/blend/BlendModulate.sksl",
284 "$_tests/sksl/blend/BlendMultiply.sksl",
285 "$_tests/sksl/blend/BlendOverlap.sksl",
286 "$_tests/sksl/blend/BlendPlus.sksl",
287 "$_tests/sksl/blend/BlendSaturation.sksl",
288 "$_tests/sksl/blend/BlendScreen.sksl",
289 "$_tests/sksl/blend/BlendSoftLight.sksl",
290 "$_tests/sksl/blend/BlendSrc.sksl",
291 "$_tests/sksl/blend/BlendSrcAtop.sksl",
292 "$_tests/sksl/blend/BlendSrcIn.sksl",
293 "$_tests/sksl/blend/BlendSrcOut.sksl",
294 "$_tests/sksl/blend/BlendSrcOver.sksl",
295 "$_tests/sksl/blend/BlendXor.sksl",
John Stiles7e248712020-09-24 16:42:09 -0400296]
297
298sksl_settings_tests = [
John Stilesc8846312020-09-18 12:03:42 -0400299 "$_tests/sksl/glsl/Derivatives.sksl",
300 "$_tests/sksl/glsl/DerivativesFlipY.sksl",
John Stiles0ed9f312020-09-16 17:46:37 -0400301 "$_tests/sksl/glsl/TypePrecision.sksl",
John Stilesca4d0742020-09-18 15:41:31 -0400302 "$_tests/sksl/inliner/InlinerWrapsEarlyReturnsWithDoWhileBlock.sksl",
John Stiles0ed9f312020-09-16 17:46:37 -0400303 "$_tests/sksl/workarounds/AbsInt.sksl",
304 "$_tests/sksl/workarounds/FractNegative.sksl",
John Stilesbe0a9ca2020-09-18 14:42:58 -0400305 "$_tests/sksl/workarounds/FragCoords.sksl",
John Stiles0ed9f312020-09-16 17:46:37 -0400306 "$_tests/sksl/workarounds/LoopCondition.sksl",
307 "$_tests/sksl/workarounds/MinAndAbsTogether.sksl",
308 "$_tests/sksl/workarounds/NegatedAtan.sksl",
309 "$_tests/sksl/workarounds/PowWithConstantExponent.sksl",
John Stilesbe0a9ca2020-09-18 14:42:58 -0400310 "$_tests/sksl/workarounds/RewriteDoWhileLoops.sksl",
John Stiles0ed9f312020-09-16 17:46:37 -0400311 "$_tests/sksl/workarounds/TernaryShortCircuit.sksl",
312]
John Stiles7e248712020-09-24 16:42:09 -0400313
314# Tests in sksl_fp_tests_sources will be compiled with --settings on, and are expected to generate
315# a .cpp and a .h output file.
316sksl_fp_tests_sources = sksl_fp_error_tests + sksl_fp_tests
317
318# Tests in sksl_glsl_tests_sources will be compiled with --settings on, and are expected to generate
319# a .glsl output file.
320sksl_glsl_tests_sources =
321 sksl_error_tests + sksl_common_tests + sksl_inliner_tests
322
323# Tests in sksl_glsl_settings_tests_sources will be compiled twice, once with --settings and once
324# using --nosettings. In the latter mode, StandaloneSettings is appended to the output filename.
325sksl_glsl_settings_tests_sources = sksl_blend_tests + sksl_settings_tests