John Stiles | d836f84 | 2020-09-14 10:21:44 -0400 | [diff] [blame] | 1 | # 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 Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 9 | # Tests in sksl_fp_tests_sources will be compiled with --settings on. |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 10 | sksl_fp_tests_sources = [ |
John Stiles | 6dc5265 | 2020-09-16 18:40:38 -0400 | [diff] [blame] | 11 | "$_tests/sksl/errors/GrBadIn.fp", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 12 | "$_tests/sksl/errors/GrBothExplicitReturnAndSkOutColor.fp", |
John Stiles | 6dc5265 | 2020-09-16 18:40:38 -0400 | [diff] [blame] | 13 | "$_tests/sksl/errors/GrCannotReturnWithSkOutColor.fp", |
| 14 | "$_tests/sksl/errors/GrNoFragmentProcessorConstruction.fp", |
| 15 | "$_tests/sksl/errors/GrNoFragmentProcessorExpressions.fp", |
| 16 | "$_tests/sksl/errors/GrNoFragmentProcessorLocals.fp", |
| 17 | "$_tests/sksl/errors/GrNoFragmentProcessorParams.fp", |
| 18 | "$_tests/sksl/errors/GrNoFragmentProcessorReturn.fp", |
John Stiles | 647a9bd | 2020-09-23 11:46:29 -0400 | [diff] [blame^] | 19 | "$_tests/sksl/fp/GrChildProcessorAndGlobal.fp", |
| 20 | "$_tests/sksl/fp/GrChildProcessorFieldAccess.fp", |
| 21 | "$_tests/sksl/fp/GrChildProcessorInlineFieldAccess.fp", |
| 22 | "$_tests/sksl/fp/GrChildProcessorSampleCoords.fp", |
| 23 | "$_tests/sksl/fp/GrChildProcessorSampleMatrixAndCoords.fp", |
| 24 | "$_tests/sksl/fp/GrChildProcessorSampleMatrixConstant.fp", |
| 25 | "$_tests/sksl/fp/GrChildProcessorSampleMatrixConstantAndCoords.fp", |
| 26 | "$_tests/sksl/fp/GrChildProcessorSampleMatrixMultipleUniforms.fp", |
| 27 | "$_tests/sksl/fp/GrChildProcessorSampleMatrixSingleInUniform.fp", |
| 28 | "$_tests/sksl/fp/GrChildProcessorSampleMatrixSingleUniform.fp", |
| 29 | "$_tests/sksl/fp/GrChildProcessorSampleMatrixSingleUniformExpr.fp", |
| 30 | "$_tests/sksl/fp/GrChildProcessorWithInputExpression.fp", |
| 31 | "$_tests/sksl/fp/GrChildProcessors.fp", |
| 32 | "$_tests/sksl/fp/GrChildProcessorsWithInput.fp", |
John Stiles | 6dc5265 | 2020-09-16 18:40:38 -0400 | [diff] [blame] | 33 | "$_tests/sksl/fp/GrConditionalInUniform.fp", |
| 34 | "$_tests/sksl/fp/GrFunction.fp", |
John Stiles | 647a9bd | 2020-09-23 11:46:29 -0400 | [diff] [blame^] | 35 | "$_tests/sksl/fp/GrGrSLTypesAreSupported.fp", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 36 | "$_tests/sksl/fp/GrHelloWorld.fp", |
John Stiles | 6dc5265 | 2020-09-16 18:40:38 -0400 | [diff] [blame] | 37 | "$_tests/sksl/fp/GrInUniform.fp", |
| 38 | "$_tests/sksl/fp/GrInUniformCType.fp", |
| 39 | "$_tests/sksl/fp/GrInlinedFunction.fp", |
| 40 | "$_tests/sksl/fp/GrKeyIn.fp", |
John Stiles | 647a9bd | 2020-09-23 11:46:29 -0400 | [diff] [blame^] | 41 | "$_tests/sksl/fp/GrLayoutWhen.fp", |
| 42 | "$_tests/sksl/fp/GrMainCoords.fp", |
John Stiles | 6dc5265 | 2020-09-16 18:40:38 -0400 | [diff] [blame] | 43 | "$_tests/sksl/fp/GrNestedChildProcessors.fp", |
| 44 | "$_tests/sksl/fp/GrNonInlinedInUniform.fp", |
| 45 | "$_tests/sksl/fp/GrNullableChildProcessor.fp", |
| 46 | "$_tests/sksl/fp/GrSectionClass.fp", |
| 47 | "$_tests/sksl/fp/GrSectionConstructor.fp", |
| 48 | "$_tests/sksl/fp/GrSectionConstructorParams.fp", |
| 49 | "$_tests/sksl/fp/GrSectionCpp.fp", |
| 50 | "$_tests/sksl/fp/GrSectionDumpInfo.fp", |
| 51 | "$_tests/sksl/fp/GrSectionEmitCode.fp", |
| 52 | "$_tests/sksl/fp/GrSectionFields.fp", |
| 53 | "$_tests/sksl/fp/GrSectionHeader.fp", |
| 54 | "$_tests/sksl/fp/GrSectionInitializers.fp", |
| 55 | "$_tests/sksl/fp/GrSectionMake.fp", |
| 56 | "$_tests/sksl/fp/GrSectionSetData.fp", |
| 57 | "$_tests/sksl/fp/GrSectionTest.fp", |
| 58 | "$_tests/sksl/fp/GrTrackedInUniform.fp", |
| 59 | "$_tests/sksl/fp/GrUniform.fp", |
John Stiles | 647a9bd | 2020-09-23 11:46:29 -0400 | [diff] [blame^] | 60 | "$_tests/sksl/fp/GrUniformArrays.fp", |
John Stiles | 6dc5265 | 2020-09-16 18:40:38 -0400 | [diff] [blame] | 61 | "$_tests/sksl/fp/GrUseExplicitReturn.fp", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 62 | ] |
John Stiles | d836f84 | 2020-09-14 10:21:44 -0400 | [diff] [blame] | 63 | |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 64 | # Tests in sksl_glsl_tests_sources will be compiled with --settings on. |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 65 | sksl_glsl_tests_sources = [ |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 66 | "$_tests/sksl/errors/ArgumentCountMismatch.sksl", |
| 67 | "$_tests/sksl/errors/ArgumentMismatch.sksl", |
| 68 | "$_tests/sksl/errors/ArgumentModifiers.sksl", |
| 69 | "$_tests/sksl/errors/AssignmentTypeMismatch.sksl", |
| 70 | "$_tests/sksl/errors/BadCaps.sksl", |
| 71 | "$_tests/sksl/errors/BadIndex.sksl", |
| 72 | "$_tests/sksl/errors/BadModifiers.sksl", |
| 73 | "$_tests/sksl/errors/BinaryTypeCoercion.sksl", |
| 74 | "$_tests/sksl/errors/BinaryTypeMismatch.sksl", |
Brian Osman | bf2163f | 2020-09-16 16:21:40 -0400 | [diff] [blame] | 75 | "$_tests/sksl/errors/BitShiftFloat.sksl", |
| 76 | "$_tests/sksl/errors/BitShiftFloatMatrix.sksl", |
| 77 | "$_tests/sksl/errors/BitShiftFloatVector.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 78 | "$_tests/sksl/errors/BreakOutsideLoop.sksl", |
| 79 | "$_tests/sksl/errors/CallNonFunction.sksl", |
| 80 | "$_tests/sksl/errors/CanExitWithoutReturningValue.sksl", |
| 81 | "$_tests/sksl/errors/ConstructorArgumentCount.sksl", |
| 82 | "$_tests/sksl/errors/ConstructorTypeMismatch.sksl", |
| 83 | "$_tests/sksl/errors/ContinueOutsideLoop.sksl", |
| 84 | "$_tests/sksl/errors/DivideByZero.sksl", |
| 85 | "$_tests/sksl/errors/DoTypeMismatch.sksl", |
| 86 | "$_tests/sksl/errors/DuplicateFunction.sksl", |
| 87 | "$_tests/sksl/errors/DuplicateOutput.sksl", |
| 88 | "$_tests/sksl/errors/DuplicateSymbol.sksl", |
| 89 | "$_tests/sksl/errors/EnumValueMustBeConstInt.sksl", |
| 90 | "$_tests/sksl/errors/ErrorsInDeadCode.sksl", |
| 91 | "$_tests/sksl/errors/FieldAfterRuntimeArray.sksl", |
| 92 | "$_tests/sksl/errors/ForTypeMismatch.sksl", |
| 93 | "$_tests/sksl/errors/GenericArgumentMismatch.sksl", |
| 94 | "$_tests/sksl/errors/IfTypeMismatch.sksl", |
| 95 | "$_tests/sksl/errors/InterfaceBlockScope.sksl", |
| 96 | "$_tests/sksl/errors/InterfaceBlockStorageModifiers.sksl", |
| 97 | "$_tests/sksl/errors/InvalidAssignment.sksl", |
| 98 | "$_tests/sksl/errors/InvalidUnary.sksl", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 99 | "$_tests/sksl/errors/OpenArray.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 100 | "$_tests/sksl/errors/ReturnDifferentType.sksl", |
| 101 | "$_tests/sksl/errors/ReturnFromVoid.sksl", |
| 102 | "$_tests/sksl/errors/ReturnMissingValue.sksl", |
| 103 | "$_tests/sksl/errors/ReturnTypeMismatch.sksl", |
| 104 | "$_tests/sksl/errors/SpuriousFloat.sksl", |
| 105 | "$_tests/sksl/errors/StaticIfTest.sksl", |
| 106 | "$_tests/sksl/errors/StaticSwitchConditionalBreak.sksl", |
| 107 | "$_tests/sksl/errors/StaticSwitchTest.sksl", |
| 108 | "$_tests/sksl/errors/SwitchDuplicateCase.sksl", |
| 109 | "$_tests/sksl/errors/SwitchTypes.sksl", |
| 110 | "$_tests/sksl/errors/SwizzleConstantOutput.sksl", |
| 111 | "$_tests/sksl/errors/SwizzleDuplicateOutput.sksl", |
| 112 | "$_tests/sksl/errors/SwizzleMatrix.sksl", |
| 113 | "$_tests/sksl/errors/SwizzleOnlyLiterals.sksl", |
| 114 | "$_tests/sksl/errors/SwizzleOutOfBounds.sksl", |
| 115 | "$_tests/sksl/errors/SwizzleTooManyComponents.sksl", |
| 116 | "$_tests/sksl/errors/TernaryMismatch.sksl", |
| 117 | "$_tests/sksl/errors/UndefinedFunction.sksl", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 118 | "$_tests/sksl/errors/UndefinedSymbol.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 119 | "$_tests/sksl/errors/Unreachable.sksl", |
| 120 | "$_tests/sksl/errors/UnsupportedGLSLIdentifiers.sksl", |
| 121 | "$_tests/sksl/errors/UseWithoutInitializeArrayIndex.sksl", |
| 122 | "$_tests/sksl/errors/UseWithoutInitializeBinaryExpr.sksl", |
| 123 | "$_tests/sksl/errors/UseWithoutInitializeDeadIf.sksl", |
| 124 | "$_tests/sksl/errors/UseWithoutInitializeDeadSwitch.sksl", |
| 125 | "$_tests/sksl/errors/UseWithoutInitializeReturnValue.sksl", |
| 126 | "$_tests/sksl/errors/UseWithoutInitializeVarDecl.sksl", |
| 127 | "$_tests/sksl/errors/UsingInvalidValue.sksl", |
| 128 | "$_tests/sksl/errors/WhileTypeMismatch.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 129 | "$_tests/sksl/glsl/ArrayConstructors.sksl", |
| 130 | "$_tests/sksl/glsl/ArrayIndexTypes.sksl", |
| 131 | "$_tests/sksl/glsl/ArrayTypes.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 132 | "$_tests/sksl/glsl/AssignmentTypeMatch.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 133 | "$_tests/sksl/glsl/BoolFolding.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 134 | "$_tests/sksl/glsl/Caps.sksl", |
| 135 | "$_tests/sksl/glsl/CastsRoundTowardZero.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 136 | "$_tests/sksl/glsl/ClipDistanceFragment.sksl", |
| 137 | "$_tests/sksl/glsl/ClipDistanceVertex.vert", |
| 138 | "$_tests/sksl/glsl/Clockwise.sksl", |
| 139 | "$_tests/sksl/glsl/ComplexDelete.sksl", |
| 140 | "$_tests/sksl/glsl/ConstArray.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 141 | "$_tests/sksl/glsl/ConstVariableComparison.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 142 | "$_tests/sksl/glsl/ConstantIf.sksl", |
| 143 | "$_tests/sksl/glsl/Control.sksl", |
John Stiles | 64fc15a | 2020-09-18 16:16:14 -0400 | [diff] [blame] | 144 | "$_tests/sksl/glsl/DeadDoWhileLoop.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 145 | "$_tests/sksl/glsl/DeadLoopVariable.sksl", |
| 146 | "$_tests/sksl/glsl/DependentInitializers.sksl", |
John Stiles | c884631 | 2020-09-18 12:03:42 -0400 | [diff] [blame] | 147 | "$_tests/sksl/glsl/DerivativesUnused.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 148 | "$_tests/sksl/glsl/Discard.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 149 | "$_tests/sksl/glsl/FloatFolding.sksl", |
John Stiles | 72664be | 2020-09-16 17:43:11 -0400 | [diff] [blame] | 150 | "$_tests/sksl/glsl/ForceHighPrecision.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 151 | "$_tests/sksl/glsl/FrExp.sksl", |
John Stiles | be0a9ca | 2020-09-18 14:42:58 -0400 | [diff] [blame] | 152 | "$_tests/sksl/glsl/FragCoordsFlipY.sksl", |
| 153 | "$_tests/sksl/glsl/FragCoordsNew.sksl", |
| 154 | "$_tests/sksl/glsl/FragCoordsOld.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 155 | "$_tests/sksl/glsl/FunctionArgumentMatch.sksl", |
| 156 | "$_tests/sksl/glsl/FunctionPrototype.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 157 | "$_tests/sksl/glsl/Functions.sksl", |
John Stiles | 87e6ccd | 2020-09-18 12:04:04 -0400 | [diff] [blame] | 158 | "$_tests/sksl/glsl/Geometry.geom", |
| 159 | "$_tests/sksl/glsl/GeometryExtension.geom", |
| 160 | "$_tests/sksl/glsl/GeometryGSInvocations.geom", |
| 161 | "$_tests/sksl/glsl/GeometryNoGSInvocations.geom", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 162 | "$_tests/sksl/glsl/Height.sksl", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 163 | "$_tests/sksl/glsl/HelloWorld.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 164 | "$_tests/sksl/glsl/Hex.sksl", |
John Stiles | be0a9ca | 2020-09-18 14:42:58 -0400 | [diff] [blame] | 165 | "$_tests/sksl/glsl/IncompleteShortIntPrecision.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 166 | "$_tests/sksl/glsl/InstanceID.vert", |
| 167 | "$_tests/sksl/glsl/IntFolding.sksl", |
| 168 | "$_tests/sksl/glsl/InterfaceBlockAnonymous.sksl", |
| 169 | "$_tests/sksl/glsl/InterfaceBlockArray.sksl", |
| 170 | "$_tests/sksl/glsl/InterfaceBlockNamed.sksl", |
| 171 | "$_tests/sksl/glsl/Matrices.sksl", |
| 172 | "$_tests/sksl/glsl/MatrixFolding.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 173 | "$_tests/sksl/glsl/ModifiersDeclaration.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 174 | "$_tests/sksl/glsl/MultipleAssignments.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 175 | "$_tests/sksl/glsl/NegatedVectorLiteral.sksl", |
John Stiles | be0a9ca | 2020-09-18 14:42:58 -0400 | [diff] [blame] | 176 | "$_tests/sksl/glsl/NoFragCoordsPos.vert", |
| 177 | "$_tests/sksl/glsl/NoFragCoordsPosRT.vert", |
John Stiles | 87e6ccd | 2020-09-18 12:04:04 -0400 | [diff] [blame] | 178 | "$_tests/sksl/glsl/NormalizationGeo.geom", |
| 179 | "$_tests/sksl/glsl/NormalizationVert.vert", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 180 | "$_tests/sksl/glsl/NumberConversions.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 181 | "$_tests/sksl/glsl/Offset.sksl", |
| 182 | "$_tests/sksl/glsl/Operators.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 183 | "$_tests/sksl/glsl/RectangleTexture.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 184 | "$_tests/sksl/glsl/ResizeMatrix.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 185 | "$_tests/sksl/glsl/SampleMask.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 186 | "$_tests/sksl/glsl/ScopedSymbol.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 187 | "$_tests/sksl/glsl/ShortCircuitBoolFolding.sksl", |
John Stiles | be0a9ca | 2020-09-18 14:42:58 -0400 | [diff] [blame] | 188 | "$_tests/sksl/glsl/ShortIntPrecision.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 189 | "$_tests/sksl/glsl/StackingVectorCasts.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 190 | "$_tests/sksl/glsl/StaticIf.sksl", |
| 191 | "$_tests/sksl/glsl/StaticSwitch.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 192 | "$_tests/sksl/glsl/StaticSwitchWithBreak.sksl", |
| 193 | "$_tests/sksl/glsl/StaticSwitchWithBreakInsideBlock.sksl", |
| 194 | "$_tests/sksl/glsl/StaticSwitchWithConditionalBreak.sksl", |
| 195 | "$_tests/sksl/glsl/StaticSwitchWithConditionalBreakInsideBlock.sksl", |
| 196 | "$_tests/sksl/glsl/StaticSwitchWithFallthroughA.sksl", |
| 197 | "$_tests/sksl/glsl/StaticSwitchWithFallthroughB.sksl", |
| 198 | "$_tests/sksl/glsl/StaticSwitchWithStaticConditionalBreak.sksl", |
| 199 | "$_tests/sksl/glsl/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl", |
| 200 | "$_tests/sksl/glsl/Structs.sksl", |
| 201 | "$_tests/sksl/glsl/Switch.sksl", |
| 202 | "$_tests/sksl/glsl/SwitchContainingDeadCode.sksl", |
| 203 | "$_tests/sksl/glsl/SwitchWithFallthrough.sksl", |
John Stiles | 5f35ac9 | 2020-09-22 13:56:01 -0400 | [diff] [blame] | 204 | "$_tests/sksl/glsl/SwizzleBoolConstants.sksl", |
John Stiles | 7f6378f | 2020-09-16 13:40:35 -0400 | [diff] [blame] | 205 | "$_tests/sksl/glsl/SwizzleConstants.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 206 | "$_tests/sksl/glsl/SwizzleLTRB.sksl", |
John Stiles | 7f6378f | 2020-09-16 13:40:35 -0400 | [diff] [blame] | 207 | "$_tests/sksl/glsl/SwizzleOpt.sksl", |
| 208 | "$_tests/sksl/glsl/SwizzleScalar.sksl", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 209 | "$_tests/sksl/glsl/TernaryAsLValueEntirelyFoldable.sksl", |
| 210 | "$_tests/sksl/glsl/TernaryAsLValueFoldableTest.sksl", |
| 211 | "$_tests/sksl/glsl/TernaryAsLValueUnfoldable.sksl", |
John Stiles | 72664be | 2020-09-16 17:43:11 -0400 | [diff] [blame] | 212 | "$_tests/sksl/glsl/Texture.sksl", |
| 213 | "$_tests/sksl/glsl/TextureSharpen.sksl", |
| 214 | "$_tests/sksl/glsl/TextureSharpenVersion110.sksl", |
| 215 | "$_tests/sksl/glsl/TextureVersion110.sksl", |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 216 | "$_tests/sksl/glsl/UnaryPositiveNegative.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 217 | "$_tests/sksl/glsl/UnusedVariables.sksl", |
John Stiles | 72664be | 2020-09-16 17:43:11 -0400 | [diff] [blame] | 218 | "$_tests/sksl/glsl/UsesPrecisionModifiers.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 219 | "$_tests/sksl/glsl/VectorConstructors.sksl", |
| 220 | "$_tests/sksl/glsl/VectorFolding.sksl", |
John Stiles | 72664be | 2020-09-16 17:43:11 -0400 | [diff] [blame] | 221 | "$_tests/sksl/glsl/Version110.sksl", |
| 222 | "$_tests/sksl/glsl/Version450Core.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 223 | "$_tests/sksl/glsl/VertexID.vert", |
John Stiles | 9080540 | 2020-09-16 15:32:21 -0400 | [diff] [blame] | 224 | "$_tests/sksl/glsl/Width.sksl", |
John Stiles | f2cdf59 | 2020-09-15 10:10:43 -0400 | [diff] [blame] | 225 | "$_tests/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl", |
| 226 | "$_tests/sksl/inliner/DoWhileTestCannotBeInlined.sksl", |
| 227 | "$_tests/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl", |
| 228 | "$_tests/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl", |
| 229 | "$_tests/sksl/inliner/ForWithReturnInsideCannotBeInlined.sksl", |
| 230 | "$_tests/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl", |
| 231 | "$_tests/sksl/inliner/IfBodyMustBeInlinedIntoAScope.sksl", |
| 232 | "$_tests/sksl/inliner/IfElseBodyMustBeInlinedIntoAScope.sksl", |
| 233 | "$_tests/sksl/inliner/IfElseChainWithReturnsCanBeInlined.sksl", |
| 234 | "$_tests/sksl/inliner/IfTestCanBeInlined.sksl", |
| 235 | "$_tests/sksl/inliner/IfWithReturnsCanBeInlined.sksl", |
| 236 | "$_tests/sksl/inliner/InlineKeywordOverridesThreshold.sksl", |
| 237 | "$_tests/sksl/inliner/InlineThreshold.sksl", |
| 238 | "$_tests/sksl/inliner/InlineWithInoutArgument.sksl", |
| 239 | "$_tests/sksl/inliner/InlineWithModifiedArgument.sksl", |
| 240 | "$_tests/sksl/inliner/InlineWithNestedBigCalls.sksl", |
| 241 | "$_tests/sksl/inliner/InlineWithNestedCalls.sksl", |
| 242 | "$_tests/sksl/inliner/InlineWithUnmodifiedArgument.sksl", |
| 243 | "$_tests/sksl/inliner/InlineWithUnnecessaryBlocks.sksl", |
John Stiles | 8f02625 | 2020-09-14 18:23:54 -0400 | [diff] [blame] | 244 | "$_tests/sksl/inliner/InlinerAvoidsVariableNameOverlap.sksl", |
John Stiles | f2cdf59 | 2020-09-15 10:10:43 -0400 | [diff] [blame] | 245 | "$_tests/sksl/inliner/InlinerManglesNames.sksl", |
John Stiles | f2cdf59 | 2020-09-15 10:10:43 -0400 | [diff] [blame] | 246 | "$_tests/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl", |
| 247 | "$_tests/sksl/inliner/SwitchWithCastCanBeInlined.sksl", |
| 248 | "$_tests/sksl/inliner/SwitchWithReturnInsideCannotBeInlined.sksl", |
| 249 | "$_tests/sksl/inliner/SwitchWithoutReturnInsideCanBeInlined.sksl", |
| 250 | "$_tests/sksl/inliner/TernaryResultsCannotBeInlined.sksl", |
| 251 | "$_tests/sksl/inliner/TernaryTestCanBeInlined.sksl", |
| 252 | "$_tests/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl", |
| 253 | "$_tests/sksl/inliner/WhileTestCannotBeInlined.sksl", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 254 | ] |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 255 | |
| 256 | # Tests in sksl_glsl_settings_tests_sources will be compiled twice, once with --settings and once |
John Stiles | 371fde5 | 2020-09-21 17:09:52 -0400 | [diff] [blame] | 257 | # using --nosettings. In the latter mode, StandaloneSettings is appended to the output filename. |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 258 | sksl_glsl_settings_tests_sources = [ |
John Stiles | 2b788b1 | 2020-09-21 17:01:22 -0400 | [diff] [blame] | 259 | "$_tests/sksl/blend/BlendClear.sksl", |
| 260 | "$_tests/sksl/blend/BlendColor.sksl", |
| 261 | "$_tests/sksl/blend/BlendColorBurn.sksl", |
| 262 | "$_tests/sksl/blend/BlendColorDodge.sksl", |
| 263 | "$_tests/sksl/blend/BlendDarken.sksl", |
| 264 | "$_tests/sksl/blend/BlendDifference.sksl", |
| 265 | "$_tests/sksl/blend/BlendDst.sksl", |
| 266 | "$_tests/sksl/blend/BlendDstAtop.sksl", |
| 267 | "$_tests/sksl/blend/BlendDstIn.sksl", |
| 268 | "$_tests/sksl/blend/BlendDstOut.sksl", |
| 269 | "$_tests/sksl/blend/BlendDstOver.sksl", |
| 270 | "$_tests/sksl/blend/BlendExclusion.sksl", |
| 271 | "$_tests/sksl/blend/BlendHardLight.sksl", |
| 272 | "$_tests/sksl/blend/BlendHue.sksl", |
| 273 | "$_tests/sksl/blend/BlendLighten.sksl", |
| 274 | "$_tests/sksl/blend/BlendLuminosity.sksl", |
| 275 | "$_tests/sksl/blend/BlendModulate.sksl", |
| 276 | "$_tests/sksl/blend/BlendMultiply.sksl", |
| 277 | "$_tests/sksl/blend/BlendOverlap.sksl", |
| 278 | "$_tests/sksl/blend/BlendPlus.sksl", |
| 279 | "$_tests/sksl/blend/BlendSaturation.sksl", |
| 280 | "$_tests/sksl/blend/BlendScreen.sksl", |
| 281 | "$_tests/sksl/blend/BlendSoftLight.sksl", |
| 282 | "$_tests/sksl/blend/BlendSrc.sksl", |
| 283 | "$_tests/sksl/blend/BlendSrcAtop.sksl", |
| 284 | "$_tests/sksl/blend/BlendSrcIn.sksl", |
| 285 | "$_tests/sksl/blend/BlendSrcOut.sksl", |
| 286 | "$_tests/sksl/blend/BlendSrcOver.sksl", |
| 287 | "$_tests/sksl/blend/BlendXor.sksl", |
John Stiles | c884631 | 2020-09-18 12:03:42 -0400 | [diff] [blame] | 288 | "$_tests/sksl/glsl/Derivatives.sksl", |
| 289 | "$_tests/sksl/glsl/DerivativesFlipY.sksl", |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 290 | "$_tests/sksl/glsl/TypePrecision.sksl", |
John Stiles | ca4d074 | 2020-09-18 15:41:31 -0400 | [diff] [blame] | 291 | "$_tests/sksl/inliner/InlinerWrapsEarlyReturnsWithDoWhileBlock.sksl", |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 292 | "$_tests/sksl/workarounds/AbsInt.sksl", |
| 293 | "$_tests/sksl/workarounds/FractNegative.sksl", |
John Stiles | be0a9ca | 2020-09-18 14:42:58 -0400 | [diff] [blame] | 294 | "$_tests/sksl/workarounds/FragCoords.sksl", |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 295 | "$_tests/sksl/workarounds/LoopCondition.sksl", |
| 296 | "$_tests/sksl/workarounds/MinAndAbsTogether.sksl", |
| 297 | "$_tests/sksl/workarounds/NegatedAtan.sksl", |
| 298 | "$_tests/sksl/workarounds/PowWithConstantExponent.sksl", |
John Stiles | be0a9ca | 2020-09-18 14:42:58 -0400 | [diff] [blame] | 299 | "$_tests/sksl/workarounds/RewriteDoWhileLoops.sksl", |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 300 | "$_tests/sksl/workarounds/TernaryShortCircuit.sksl", |
| 301 | ] |