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 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 6 | sksl_fp_error_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 7 | "/sksl/errors/GrBadIn.fp", |
| 8 | "/sksl/errors/GrMainParameterWrongType.fp", |
| 9 | "/sksl/errors/GrMainTooManyParameters.fp", |
| 10 | "/sksl/errors/GrNoFragmentProcessorConstruction.fp", |
| 11 | "/sksl/errors/GrNoFragmentProcessorExpressions.fp", |
| 12 | "/sksl/errors/GrNoFragmentProcessorLocals.fp", |
| 13 | "/sksl/errors/GrNoFragmentProcessorParams.fp", |
| 14 | "/sksl/errors/GrNoFragmentProcessorReturn.fp", |
| 15 | "/sksl/errors/GrRecursion.fp", |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 16 | ] |
| 17 | |
| 18 | sksl_fp_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 19 | "/sksl/fp/GrChildProcessorAndGlobal.fp", |
| 20 | "/sksl/fp/GrChildProcessorFieldAccess.fp", |
| 21 | "/sksl/fp/GrChildProcessorInlineFieldAccess.fp", |
| 22 | "/sksl/fp/GrChildProcessorSampleCoords.fp", |
| 23 | "/sksl/fp/GrChildProcessorSampleMatrixAndCoords.fp", |
| 24 | "/sksl/fp/GrChildProcessorSampleMatrixConstant.fp", |
| 25 | "/sksl/fp/GrChildProcessorSampleMatrixConstantAndCoords.fp", |
| 26 | "/sksl/fp/GrChildProcessorSampleMatrixMultipleUniforms.fp", |
| 27 | "/sksl/fp/GrChildProcessorSampleMatrixSingleInUniform.fp", |
| 28 | "/sksl/fp/GrChildProcessorSampleMatrixSingleUniform.fp", |
| 29 | "/sksl/fp/GrChildProcessorSampleMatrixSingleUniformExpr.fp", |
| 30 | "/sksl/fp/GrChildProcessorWithInputExpression.fp", |
| 31 | "/sksl/fp/GrChildProcessors.fp", |
| 32 | "/sksl/fp/GrChildProcessorsWithInput.fp", |
| 33 | "/sksl/fp/GrConditionalInUniform.fp", |
| 34 | "/sksl/fp/GrFunction.fp", |
John Stiles | 9fc9b87 | 2021-02-01 15:50:32 -0500 | [diff] [blame] | 35 | "/sksl/fp/GrFunctionArgTypes.fp", |
| 36 | "/sksl/fp/GrFunctionReturnTypes.fp", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 37 | "/sksl/fp/GrGrSLTypesAreSupported.fp", |
| 38 | "/sksl/fp/GrHelloWorld.fp", |
| 39 | "/sksl/fp/GrInUniform.fp", |
| 40 | "/sksl/fp/GrInUniformCType.fp", |
| 41 | "/sksl/fp/GrInlinedFunction.fp", |
| 42 | "/sksl/fp/GrKeyIn.fp", |
| 43 | "/sksl/fp/GrLayoutWhen.fp", |
| 44 | "/sksl/fp/GrMainCoords.fp", |
| 45 | "/sksl/fp/GrModuloOp.fp", |
| 46 | "/sksl/fp/GrNestedCall.fp", |
| 47 | "/sksl/fp/GrNestedChildProcessors.fp", |
| 48 | "/sksl/fp/GrNonInlinedInUniform.fp", |
| 49 | "/sksl/fp/GrSectionClass.fp", |
| 50 | "/sksl/fp/GrSectionConstructor.fp", |
| 51 | "/sksl/fp/GrSectionConstructorParams.fp", |
| 52 | "/sksl/fp/GrSectionCpp.fp", |
| 53 | "/sksl/fp/GrSectionDumpInfo.fp", |
| 54 | "/sksl/fp/GrSectionEmitCode.fp", |
| 55 | "/sksl/fp/GrSectionFields.fp", |
| 56 | "/sksl/fp/GrSectionHeader.fp", |
| 57 | "/sksl/fp/GrSectionInitializers.fp", |
| 58 | "/sksl/fp/GrSectionMake.fp", |
| 59 | "/sksl/fp/GrSectionSetData.fp", |
| 60 | "/sksl/fp/GrSectionTest.fp", |
| 61 | "/sksl/fp/GrTrackedInUniform.fp", |
| 62 | "/sksl/fp/GrUniform.fp", |
| 63 | "/sksl/fp/GrUniformArrays.fp", |
| 64 | "/sksl/fp/GrUseExplicitReturn.fp", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 65 | ] |
John Stiles | d836f84 | 2020-09-14 10:21:44 -0400 | [diff] [blame] | 66 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 67 | sksl_error_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 68 | "/sksl/errors/ArgumentCountMismatch.sksl", |
| 69 | "/sksl/errors/ArgumentMismatch.sksl", |
| 70 | "/sksl/errors/ArgumentModifiers.sksl", |
John Stiles | 248f57b | 2021-02-03 15:11:18 -0500 | [diff] [blame] | 71 | "/sksl/errors/ArrayConstructorElementCount.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 72 | "/sksl/errors/ArrayIndexOutOfRange.sksl", |
John Stiles | 80b02af | 2021-02-12 17:07:51 -0500 | [diff] [blame] | 73 | "/sksl/errors/ArrayOfVoid.sksl", |
| 74 | "/sksl/errors/ArrayOfVoidInStruct.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 75 | "/sksl/errors/ArrayReturnTypes.sksl", |
John Stiles | 80b02af | 2021-02-12 17:07:51 -0500 | [diff] [blame] | 76 | "/sksl/errors/ArraySplitDimensions.sksl", |
| 77 | "/sksl/errors/ArraySplitDimensionsInFuncBody.sksl", |
| 78 | "/sksl/errors/ArraySplitDimensionsInFuncDecl.sksl", |
| 79 | "/sksl/errors/ArraySplitDimensionsInStruct.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 80 | "/sksl/errors/ArrayTooManyDimensions.sksl", |
John Stiles | 80b02af | 2021-02-12 17:07:51 -0500 | [diff] [blame] | 81 | "/sksl/errors/ArrayTooManyDimensionsInFuncBody.sksl", |
| 82 | "/sksl/errors/ArrayTooManyDimensionsInFuncDecl.sksl", |
| 83 | "/sksl/errors/ArrayTooManyDimensionsInStruct.sksl", |
| 84 | "/sksl/errors/ArrayTypeTooManyDimensions.sksl", |
| 85 | "/sksl/errors/ArrayTypeTooManyDimensionsInFuncBody.sksl", |
| 86 | "/sksl/errors/ArrayTypeTooManyDimensionsInFuncDecl.sksl", |
| 87 | "/sksl/errors/ArrayTypeTooManyDimensionsInStruct.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 88 | "/sksl/errors/ArrayUnspecifiedDimensions.sksl", |
| 89 | "/sksl/errors/AssignmentTypeMismatch.sksl", |
| 90 | "/sksl/errors/BadCaps.sksl", |
| 91 | "/sksl/errors/BadFieldAccess.sksl", |
| 92 | "/sksl/errors/BadIndex.sksl", |
| 93 | "/sksl/errors/BadModifiers.sksl", |
| 94 | "/sksl/errors/BinaryInvalidType.sksl", |
| 95 | "/sksl/errors/BinaryTypeCoercion.sksl", |
| 96 | "/sksl/errors/BinaryTypeMismatch.sksl", |
| 97 | "/sksl/errors/BitShiftFloat.sksl", |
| 98 | "/sksl/errors/BitShiftFloatMatrix.sksl", |
| 99 | "/sksl/errors/BitShiftFloatVector.sksl", |
| 100 | "/sksl/errors/BooleanArithmetic.sksl", |
| 101 | "/sksl/errors/BreakOutsideLoop.sksl", |
| 102 | "/sksl/errors/CallNonFunction.sksl", |
| 103 | "/sksl/errors/CanExitWithoutReturningValue.sksl", |
| 104 | "/sksl/errors/ConstructorArgumentCount.sksl", |
| 105 | "/sksl/errors/ConstructorTypeMismatch.sksl", |
| 106 | "/sksl/errors/ContinueOutsideLoop.sksl", |
| 107 | "/sksl/errors/DivideByZero.sksl", |
| 108 | "/sksl/errors/DoTypeMismatch.sksl", |
| 109 | "/sksl/errors/DuplicateFunction.sksl", |
| 110 | "/sksl/errors/DuplicateOutput.sksl", |
| 111 | "/sksl/errors/DuplicateSymbol.sksl", |
Brian Osman | 6c3b23f | 2021-02-12 13:09:58 -0500 | [diff] [blame] | 112 | "/sksl/errors/EmptyStruct.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 113 | "/sksl/errors/EnumValueMustBeConstInt.sksl", |
| 114 | "/sksl/errors/ErrorsInDeadCode.sksl", |
| 115 | "/sksl/errors/FloatRemainder.sksl", |
| 116 | "/sksl/errors/ForTypeMismatch.sksl", |
| 117 | "/sksl/errors/GenericArgumentMismatch.sksl", |
| 118 | "/sksl/errors/IfTypeMismatch.sksl", |
| 119 | "/sksl/errors/InVarWithInitializerExpression.sksl", |
Ethan Nicholas | c0f9815 | 2021-02-05 16:21:10 -0500 | [diff] [blame] | 120 | "/sksl/errors/InlineDivideByZero.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 121 | "/sksl/errors/InterfaceBlockScope.sksl", |
| 122 | "/sksl/errors/InterfaceBlockStorageModifiers.sksl", |
| 123 | "/sksl/errors/InterfaceBlockWithNoMembers.sksl", |
| 124 | "/sksl/errors/InvalidAssignment.sksl", |
| 125 | "/sksl/errors/InvalidOutParams.sksl", |
| 126 | "/sksl/errors/InvalidToken.sksl", |
| 127 | "/sksl/errors/InvalidUnary.sksl", |
| 128 | "/sksl/errors/MismatchedNumbers.sksl", |
| 129 | "/sksl/errors/ModifiersInStruct.sksl", |
| 130 | "/sksl/errors/OpaqueTypeAssignment.sksl", |
| 131 | "/sksl/errors/OpaqueTypeConstruction.sksl", |
| 132 | "/sksl/errors/OpaqueTypeInArray.sksl", |
| 133 | "/sksl/errors/OpaqueTypeInInterfaceBlock.sksl", |
| 134 | "/sksl/errors/OpaqueTypeInStruct.sksl", |
| 135 | "/sksl/errors/OpenArray.sksl", |
| 136 | "/sksl/errors/Ossfuzz26700.sksl", |
| 137 | "/sksl/errors/Ossfuzz26759.sksl", |
| 138 | "/sksl/errors/Ossfuzz27650.sksl", |
| 139 | "/sksl/errors/Ossfuzz27663.sksl", |
| 140 | "/sksl/errors/Ossfuzz29085.sksl", |
John Stiles | 76389b7 | 2021-01-25 13:49:05 -0500 | [diff] [blame] | 141 | "/sksl/errors/Ossfuzz29845.sksl", |
John Stiles | e3a91cf | 2021-01-26 10:13:58 -0500 | [diff] [blame] | 142 | "/sksl/errors/Ossfuzz29849.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 143 | "/sksl/errors/OverflowFloatLiteral.sksl", |
| 144 | "/sksl/errors/OverflowIntLiteral.sksl", |
| 145 | "/sksl/errors/OverflowParamArraySize.sksl", |
| 146 | "/sksl/errors/OverflowUintLiteral.sksl", |
John Stiles | 8dabeac | 2021-02-12 16:05:00 -0500 | [diff] [blame] | 147 | "/sksl/errors/PrototypeInFuncBody.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 148 | "/sksl/errors/PrivateTypes.sksl", |
| 149 | "/sksl/errors/RedeclareBasicType.sksl", |
| 150 | "/sksl/errors/RedeclareEnum.sksl", |
| 151 | "/sksl/errors/RedeclareSamplerType.sksl", |
| 152 | "/sksl/errors/RedeclareStruct.sksl", |
| 153 | "/sksl/errors/RedeclareStructTypeWithName.sksl", |
| 154 | "/sksl/errors/RedeclareUserType.sksl", |
| 155 | "/sksl/errors/RedeclareVariable.sksl", |
| 156 | "/sksl/errors/ReturnDifferentType.sksl", |
| 157 | "/sksl/errors/ReturnFromVoid.sksl", |
| 158 | "/sksl/errors/ReturnMissingValue.sksl", |
| 159 | "/sksl/errors/ReturnTypeMismatch.sksl", |
| 160 | "/sksl/errors/SelfReferentialInitializerExpression.sksl", |
| 161 | "/sksl/errors/SpuriousFloat.sksl", |
| 162 | "/sksl/errors/StaticIfTest.sksl", |
| 163 | "/sksl/errors/StaticSwitchConditionalBreak.sksl", |
| 164 | "/sksl/errors/StaticSwitchTest.sksl", |
John Stiles | 04ca41a | 2021-02-23 09:58:04 -0500 | [diff] [blame^] | 165 | "/sksl/errors/StaticSwitchWithConditionalBreak.sksl", |
| 166 | "/sksl/errors/StaticSwitchWithConditionalContinue.sksl", |
| 167 | "/sksl/errors/StaticSwitchWithConditionalReturn.sksl", |
Brian Osman | 00fea5b | 2021-01-28 09:46:30 -0500 | [diff] [blame] | 168 | "/sksl/errors/StructNameWithoutIdentifier.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 169 | "/sksl/errors/StructTooDeeplyNested.sksl", |
| 170 | "/sksl/errors/SwitchDuplicateCase.sksl", |
John Stiles | 463fad2 | 2021-02-19 15:13:46 -0500 | [diff] [blame] | 171 | "/sksl/errors/SwitchDuplicateDefault.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 172 | "/sksl/errors/SwitchTypes.sksl", |
| 173 | "/sksl/errors/SwizzleConstantOutput.sksl", |
| 174 | "/sksl/errors/SwizzleMatrix.sksl", |
| 175 | "/sksl/errors/SwizzleOnlyLiterals.sksl", |
| 176 | "/sksl/errors/SwizzleOutOfBounds.sksl", |
| 177 | "/sksl/errors/SwizzleTooManyComponents.sksl", |
| 178 | "/sksl/errors/TernaryMismatch.sksl", |
| 179 | "/sksl/errors/UndeclaredFunction.sksl", |
| 180 | "/sksl/errors/UndefinedFunction.sksl", |
| 181 | "/sksl/errors/UndefinedSymbol.sksl", |
Brian Osman | 2fe67f9 | 2021-02-17 16:24:04 -0500 | [diff] [blame] | 182 | "/sksl/errors/UniformVarWithInitializerExpression.sksl", |
Ethan Nicholas | c0f9815 | 2021-02-05 16:21:10 -0500 | [diff] [blame] | 183 | "/sksl/errors/UnknownDivideByZero.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 184 | "/sksl/errors/Unreachable.sksl", |
| 185 | "/sksl/errors/UnsupportedGLSLIdentifiers.sksl", |
John Stiles | e3a91cf | 2021-01-26 10:13:58 -0500 | [diff] [blame] | 186 | "/sksl/errors/UnscopedVariableInDoWhile.sksl", |
| 187 | "/sksl/errors/UnscopedVariableInElse.sksl", |
| 188 | "/sksl/errors/UnscopedVariableInIf.sksl", |
| 189 | "/sksl/errors/UnscopedVariableInWhile.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 190 | "/sksl/errors/UseWithoutInitializeArrayIndex.sksl", |
| 191 | "/sksl/errors/UseWithoutInitializeBinaryExpr.sksl", |
| 192 | "/sksl/errors/UseWithoutInitializeDeadIf.sksl", |
| 193 | "/sksl/errors/UseWithoutInitializeDeadSwitch.sksl", |
| 194 | "/sksl/errors/UseWithoutInitializeReturnValue.sksl", |
| 195 | "/sksl/errors/UseWithoutInitializeVarDecl.sksl", |
| 196 | "/sksl/errors/UsingInvalidValue.sksl", |
| 197 | "/sksl/errors/WhileTypeMismatch.sksl", |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 198 | ] |
| 199 | |
John Stiles | ab4ab20 | 2020-09-24 17:22:42 -0400 | [diff] [blame] | 200 | sksl_glsl_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 201 | "/sksl/glsl/ForceHighPrecision.sksl", |
| 202 | "/sksl/glsl/IncompleteShortIntPrecision.sksl", |
| 203 | "/sksl/glsl/LayoutQualifiers.sksl", |
| 204 | "/sksl/glsl/ShortIntPrecision.sksl", |
| 205 | "/sksl/glsl/TextureSharpenVersion110.sksl", |
| 206 | "/sksl/glsl/TextureVersion110.sksl", |
| 207 | "/sksl/glsl/UsesPrecisionModifiers.sksl", |
| 208 | "/sksl/glsl/Version110.sksl", |
| 209 | "/sksl/glsl/Version450Core.sksl", |
John Stiles | ab4ab20 | 2020-09-24 17:22:42 -0400 | [diff] [blame] | 210 | ] |
| 211 | |
John Stiles | 34de5cb | 2020-11-13 18:14:11 -0500 | [diff] [blame] | 212 | sksl_metal_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 213 | "/sksl/metal/CastHalf4ToMat2x2.sksl", |
| 214 | "/sksl/metal/CastMat2x2ToMat3x3.sksl", |
| 215 | "/sksl/metal/CastMat2x3ToMat4x4.sksl", |
| 216 | "/sksl/metal/CastMat4x4ToMat3x4.sksl", |
| 217 | "/sksl/metal/CastMat4x4ToMat4x3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 218 | "/sksl/metal/NumericGlobals.sksl", |
| 219 | "/sksl/metal/OpaqueTypeInInterfaceBlock.sksl", |
| 220 | "/sksl/metal/OpaqueTypeInStruct.sksl", |
| 221 | "/sksl/metal/OutParams.sksl", |
| 222 | "/sksl/metal/OutVarsRequireLocation.sksl", |
| 223 | "/sksl/metal/SamplerGlobals.sksl", |
| 224 | "/sksl/metal/SwizzleHelper.sksl", |
John Stiles | 34de5cb | 2020-11-13 18:14:11 -0500 | [diff] [blame] | 225 | ] |
| 226 | |
John Stiles | ba067aa | 2020-11-25 16:55:37 -0500 | [diff] [blame] | 227 | sksl_spirv_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 228 | "/sksl/spirv/ConstantVectorFromVector.sksl", |
Brian Osman | 2a4c0fb | 2021-01-22 13:41:40 -0500 | [diff] [blame] | 229 | "/sksl/spirv/InterfaceBlockPushConstant.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 230 | "/sksl/spirv/LayoutMultipleOf4.sksl", |
| 231 | "/sksl/spirv/LayoutOutOfOrder.sksl", |
| 232 | "/sksl/spirv/OpaqueTypeInArray.sksl", |
| 233 | "/sksl/errors/UndefinedFunction.sksl", |
John Stiles | ba067aa | 2020-11-25 16:55:37 -0500 | [diff] [blame] | 234 | ] |
| 235 | |
John Stiles | ab4ab20 | 2020-09-24 17:22:42 -0400 | [diff] [blame] | 236 | sksl_shared_tests = [ |
John Stiles | e1658b5 | 2021-01-29 11:44:13 -0500 | [diff] [blame] | 237 | "/sksl/intrinsics/AbsFloat.sksl", |
| 238 | "/sksl/intrinsics/AbsInt.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 239 | "/sksl/intrinsics/Acos.sksl", |
| 240 | "/sksl/intrinsics/Acosh.sksl", |
| 241 | "/sksl/intrinsics/All.sksl", |
| 242 | "/sksl/intrinsics/Any.sksl", |
| 243 | "/sksl/intrinsics/Asin.sksl", |
| 244 | "/sksl/intrinsics/Asinh.sksl", |
| 245 | "/sksl/intrinsics/Atan.sksl", |
| 246 | "/sksl/intrinsics/Atanh.sksl", |
| 247 | "/sksl/intrinsics/BitCount.sksl", |
| 248 | "/sksl/intrinsics/Ceil.sksl", |
John Stiles | 9c9f60c | 2021-01-29 11:51:47 -0500 | [diff] [blame] | 249 | "/sksl/intrinsics/ClampFloat.sksl", |
| 250 | "/sksl/intrinsics/ClampInt.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 251 | "/sksl/intrinsics/Cos.sksl", |
| 252 | "/sksl/intrinsics/Cosh.sksl", |
| 253 | "/sksl/intrinsics/Cross.sksl", |
| 254 | "/sksl/intrinsics/Degrees.sksl", |
| 255 | "/sksl/intrinsics/Determinant.sksl", |
| 256 | "/sksl/intrinsics/DFdx.sksl", |
| 257 | "/sksl/intrinsics/DFdy.sksl", |
| 258 | "/sksl/intrinsics/Distance.sksl", |
| 259 | "/sksl/intrinsics/Dot.sksl", |
| 260 | "/sksl/intrinsics/Equal.sksl", |
| 261 | "/sksl/intrinsics/Exp.sksl", |
| 262 | "/sksl/intrinsics/Exp2.sksl", |
| 263 | "/sksl/intrinsics/FaceForward.sksl", |
| 264 | "/sksl/intrinsics/FindLSB.sksl", |
| 265 | "/sksl/intrinsics/FindMSB.sksl", |
| 266 | "/sksl/intrinsics/FloatBitsToInt.sksl", |
| 267 | "/sksl/intrinsics/FloatBitsToUint.sksl", |
| 268 | "/sksl/intrinsics/Floor.sksl", |
| 269 | "/sksl/intrinsics/Fma.sksl", |
| 270 | "/sksl/intrinsics/Fract.sksl", |
| 271 | "/sksl/intrinsics/Frexp.sksl", |
| 272 | "/sksl/intrinsics/Fwidth.sksl", |
| 273 | "/sksl/intrinsics/GreaterThan.sksl", |
| 274 | "/sksl/intrinsics/GreaterThanEqual.sksl", |
| 275 | "/sksl/intrinsics/IntBitsToFloat.sksl", |
| 276 | "/sksl/intrinsics/Inverse.sksl", |
| 277 | "/sksl/intrinsics/Inversesqrt.sksl", |
| 278 | "/sksl/intrinsics/IsInf.sksl", |
| 279 | "/sksl/intrinsics/IsNan.sksl", |
| 280 | "/sksl/intrinsics/Ldexp.sksl", |
| 281 | "/sksl/intrinsics/Length.sksl", |
| 282 | "/sksl/intrinsics/LessThan.sksl", |
| 283 | "/sksl/intrinsics/LessThanEqual.sksl", |
| 284 | "/sksl/intrinsics/Log.sksl", |
| 285 | "/sksl/intrinsics/Log2.sksl", |
| 286 | "/sksl/intrinsics/MatrixCompMult.sksl", |
John Stiles | 9c9f60c | 2021-01-29 11:51:47 -0500 | [diff] [blame] | 287 | "/sksl/intrinsics/MaxFloat.sksl", |
| 288 | "/sksl/intrinsics/MaxInt.sksl", |
| 289 | "/sksl/intrinsics/MinFloat.sksl", |
| 290 | "/sksl/intrinsics/MinInt.sksl", |
| 291 | "/sksl/intrinsics/MixFloat.sksl", |
| 292 | "/sksl/intrinsics/MixBool.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 293 | "/sksl/intrinsics/Mod.sksl", |
| 294 | "/sksl/intrinsics/Modf.sksl", |
| 295 | "/sksl/intrinsics/Normalize.sksl", |
| 296 | "/sksl/intrinsics/Not.sksl", |
| 297 | "/sksl/intrinsics/NotEqual.sksl", |
| 298 | "/sksl/intrinsics/OuterProduct.sksl", |
| 299 | "/sksl/intrinsics/Pack.sksl", |
| 300 | "/sksl/intrinsics/Pow.sksl", |
| 301 | "/sksl/intrinsics/Radians.sksl", |
| 302 | "/sksl/intrinsics/Reflect.sksl", |
| 303 | "/sksl/intrinsics/Refract.sksl", |
| 304 | "/sksl/intrinsics/Round.sksl", |
| 305 | "/sksl/intrinsics/RoundEven.sksl", |
| 306 | "/sksl/intrinsics/Saturate.sksl", |
John Stiles | e1658b5 | 2021-01-29 11:44:13 -0500 | [diff] [blame] | 307 | "/sksl/intrinsics/SignFloat.sksl", |
| 308 | "/sksl/intrinsics/SignInt.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 309 | "/sksl/intrinsics/Sin.sksl", |
| 310 | "/sksl/intrinsics/Sinh.sksl", |
| 311 | "/sksl/intrinsics/Smoothstep.sksl", |
| 312 | "/sksl/intrinsics/Sqrt.sksl", |
| 313 | "/sksl/intrinsics/Step.sksl", |
| 314 | "/sksl/intrinsics/Tan.sksl", |
| 315 | "/sksl/intrinsics/Tanh.sksl", |
| 316 | "/sksl/intrinsics/Transpose.sksl", |
| 317 | "/sksl/intrinsics/Trunc.sksl", |
| 318 | "/sksl/intrinsics/UintBitsToFloat.sksl", |
| 319 | "/sksl/intrinsics/Unpack.sksl", |
| 320 | "/sksl/shared/ArrayConstructors.sksl", |
| 321 | "/sksl/shared/ArrayIndexTypes.sksl", |
| 322 | "/sksl/shared/ArrayTypes.sksl", |
| 323 | "/sksl/shared/Assignment.sksl", |
| 324 | "/sksl/shared/Caps.sksl", |
| 325 | "/sksl/shared/CastsRoundTowardZero.sksl", |
| 326 | "/sksl/shared/Clockwise.sksl", |
John Stiles | 5a956ce | 2021-02-02 13:58:42 -0500 | [diff] [blame] | 327 | "/sksl/shared/CommaMixedTypes.sksl", |
John Stiles | 94e72b9 | 2021-01-30 11:06:18 -0500 | [diff] [blame] | 328 | "/sksl/shared/CommaSideEffects.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 329 | "/sksl/shared/ComplexDelete.sksl", |
| 330 | "/sksl/shared/ConstArray.sksl", |
| 331 | "/sksl/shared/ConstVariableComparison.sksl", |
| 332 | "/sksl/shared/ConstantIf.sksl", |
| 333 | "/sksl/shared/Control.sksl", |
| 334 | "/sksl/shared/DeadDoWhileLoop.sksl", |
| 335 | "/sksl/shared/DeadIfStatement.sksl", |
| 336 | "/sksl/shared/DeadLoopVariable.sksl", |
| 337 | "/sksl/shared/DeadStripFunctions.sksl", |
| 338 | "/sksl/shared/DependentInitializers.sksl", |
| 339 | "/sksl/shared/DerivativesUnused.sksl", |
| 340 | "/sksl/shared/Discard.sksl", |
John Stiles | 798021a | 2021-01-26 10:37:41 -0500 | [diff] [blame] | 341 | "/sksl/shared/DoWhileControlFlow.sksl", |
John Stiles | c068a8f | 2021-02-01 11:52:10 -0500 | [diff] [blame] | 342 | "/sksl/shared/EmptyBlocksES2.sksl", |
| 343 | "/sksl/shared/EmptyBlocksES3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 344 | "/sksl/shared/Enum.sksl", |
John Stiles | dac139a | 2021-01-26 11:06:42 -0500 | [diff] [blame] | 345 | "/sksl/shared/ForLoopControlFlow.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 346 | "/sksl/shared/FragCoordsFlipY.sksl", |
| 347 | "/sksl/shared/FragCoordsNew.sksl", |
| 348 | "/sksl/shared/FragCoordsOld.sksl", |
John Stiles | 931cad1 | 2021-02-01 16:36:13 -0500 | [diff] [blame] | 349 | "/sksl/shared/FunctionArgTypeMatch.sksl", |
| 350 | "/sksl/shared/FunctionReturnTypeMatch.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 351 | "/sksl/shared/FunctionPrototype.sksl", |
| 352 | "/sksl/shared/Functions.sksl", |
| 353 | "/sksl/shared/GaussianBlur.sksl", |
| 354 | "/sksl/shared/GeometricIntrinsics.sksl", |
| 355 | "/sksl/shared/Geometry.geom", |
| 356 | "/sksl/shared/GeometryExtension.geom", |
| 357 | "/sksl/shared/GeometryGSInvocations.geom", |
| 358 | "/sksl/shared/GeometryNoGSInvocations.geom", |
| 359 | "/sksl/shared/GeometryNoGSInvocationsReorder.geom", |
| 360 | "/sksl/shared/Height.sksl", |
| 361 | "/sksl/shared/HelloWorld.sksl", |
| 362 | "/sksl/shared/Hex.sksl", |
John Stiles | ecd2036 | 2021-02-03 17:44:47 -0500 | [diff] [blame] | 363 | "/sksl/shared/HexUnsigned.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 364 | "/sksl/shared/InstanceID.vert", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 365 | "/sksl/shared/InterfaceBlockNamed.sksl", |
John Stiles | da5cdf6 | 2021-01-28 11:47:29 -0500 | [diff] [blame] | 366 | "/sksl/shared/InterfaceBlockNamedArray.sksl", |
John Stiles | 56233d1 | 2021-02-03 13:03:29 -0500 | [diff] [blame] | 367 | "/sksl/shared/Matrices.sksl", |
| 368 | "/sksl/shared/MatricesNonsquare.sksl", |
John Stiles | a0e407d | 2021-02-10 12:21:51 -0500 | [diff] [blame] | 369 | "/sksl/shared/MatrixEquality.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 370 | "/sksl/shared/MultipleAssignments.sksl", |
| 371 | "/sksl/shared/NegatedVectorLiteral.sksl", |
| 372 | "/sksl/shared/NoFragCoordsPos.vert", |
| 373 | "/sksl/shared/NoFragCoordsPosRT.vert", |
| 374 | "/sksl/shared/NormalizationGeo.geom", |
| 375 | "/sksl/shared/NormalizationVert.vert", |
| 376 | "/sksl/shared/NumberCasts.sksl", |
| 377 | "/sksl/shared/NumberConversions.sksl", |
| 378 | "/sksl/shared/Offset.sksl", |
John Stiles | 2ff8f86 | 2021-01-30 11:08:13 -0500 | [diff] [blame] | 379 | "/sksl/shared/OperatorsES2.sksl", |
| 380 | "/sksl/shared/OperatorsES3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 381 | "/sksl/shared/Ossfuzz26167.sksl", |
| 382 | "/sksl/shared/Ossfuzz27614.sksl", |
| 383 | "/sksl/shared/Ossfuzz28050.sksl", |
| 384 | "/sksl/shared/Ossfuzz28794.sksl", |
| 385 | "/sksl/shared/Ossfuzz28904.sksl", |
| 386 | "/sksl/shared/Ossfuzz29444.sksl", |
Brian Osman | 21d2b6a | 2021-02-01 13:48:50 -0500 | [diff] [blame] | 387 | "/sksl/shared/Ossfuzz29494.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 388 | "/sksl/shared/OutParams.sksl", |
| 389 | "/sksl/shared/OutParamsTricky.sksl", |
| 390 | "/sksl/shared/RectangleTexture.sksl", |
| 391 | "/sksl/shared/ResizeMatrix.sksl", |
John Stiles | d437478 | 2021-02-05 09:31:21 -0500 | [diff] [blame] | 392 | "/sksl/shared/ResizeMatrixNonsquare.sksl", |
John Stiles | 4d6310a | 2021-01-26 19:58:22 -0500 | [diff] [blame] | 393 | "/sksl/shared/ReturnBadTypeFromMain.sksl", |
| 394 | "/sksl/shared/ReturnColorFromMain.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 395 | "/sksl/shared/SampleLocations.vert", |
| 396 | "/sksl/shared/SampleMask.sksl", |
John Stiles | d437478 | 2021-02-05 09:31:21 -0500 | [diff] [blame] | 397 | "/sksl/shared/ScalarConversionConstructorsES2.sksl", |
| 398 | "/sksl/shared/ScalarConversionConstructorsES3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 399 | "/sksl/shared/ScopedSymbol.sksl", |
| 400 | "/sksl/shared/StackingVectorCasts.sksl", |
| 401 | "/sksl/shared/StaticIf.sksl", |
| 402 | "/sksl/shared/StaticSwitch.sksl", |
| 403 | "/sksl/shared/StaticSwitchWithBreak.sksl", |
| 404 | "/sksl/shared/StaticSwitchWithBreakInsideBlock.sksl", |
| 405 | "/sksl/shared/StaticSwitchWithConditionalBreak.sksl", |
| 406 | "/sksl/shared/StaticSwitchWithConditionalBreakInsideBlock.sksl", |
John Stiles | 04ca41a | 2021-02-23 09:58:04 -0500 | [diff] [blame^] | 407 | "/sksl/shared/StaticSwitchWithContinue.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 408 | "/sksl/shared/StaticSwitchWithFallthroughA.sksl", |
| 409 | "/sksl/shared/StaticSwitchWithFallthroughB.sksl", |
| 410 | "/sksl/shared/StaticSwitchWithStaticConditionalBreak.sksl", |
| 411 | "/sksl/shared/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl", |
| 412 | "/sksl/shared/Structs.sksl", |
Brian Osman | bf7b4b8 | 2021-01-27 13:53:43 -0500 | [diff] [blame] | 413 | "/sksl/shared/StructsInFunctions.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 414 | "/sksl/shared/StructMaxDepth.sksl", |
| 415 | "/sksl/shared/Switch.sksl", |
| 416 | "/sksl/shared/SwitchContainingDeadCode.sksl", |
| 417 | "/sksl/shared/SwitchWithFallthrough.sksl", |
| 418 | "/sksl/shared/SwizzleBoolConstants.sksl", |
John Stiles | c2c1b0c | 2021-02-05 16:24:03 -0500 | [diff] [blame] | 419 | "/sksl/shared/SwizzleByConstantIndex.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 420 | "/sksl/shared/SwizzleByIndex.sksl", |
| 421 | "/sksl/shared/SwizzleConstants.sksl", |
| 422 | "/sksl/shared/SwizzleLTRB.sksl", |
| 423 | "/sksl/shared/SwizzleOpt.sksl", |
| 424 | "/sksl/shared/SwizzleScalar.sksl", |
| 425 | "/sksl/shared/TernaryAsLValueEntirelyFoldable.sksl", |
| 426 | "/sksl/shared/TernaryAsLValueFoldableTest.sksl", |
| 427 | "/sksl/shared/Texture1D.sksl", |
| 428 | "/sksl/shared/Texture2D.sksl", |
| 429 | "/sksl/shared/TextureSharpen.sksl", |
| 430 | "/sksl/shared/UnaryPositiveNegative.sksl", |
| 431 | "/sksl/shared/UniformArray.sksl", |
John Stiles | da5cdf6 | 2021-01-28 11:47:29 -0500 | [diff] [blame] | 432 | "/sksl/shared/UniformBuffers.sksl", |
| 433 | "/sksl/shared/Uniforms.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 434 | "/sksl/shared/UnusedVariables.sksl", |
| 435 | "/sksl/shared/VectorConstructors.sksl", |
| 436 | "/sksl/shared/VertexEarlyReturn.vert", |
| 437 | "/sksl/shared/VertexID.vert", |
John Stiles | 7add07f | 2021-01-26 11:16:34 -0500 | [diff] [blame] | 438 | "/sksl/shared/WhileLoopControlFlow.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 439 | "/sksl/shared/Width.sksl", |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 440 | ] |
| 441 | |
John Stiles | 74192fd | 2021-01-11 11:07:01 -0500 | [diff] [blame] | 442 | sksl_folding_tests = [ |
John Stiles | 34c098d | 2021-02-09 10:38:59 -0500 | [diff] [blame] | 443 | "/sksl/folding/AssignmentOps.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 444 | "/sksl/folding/BoolFolding.sksl", |
| 445 | "/sksl/folding/FloatFolding.sksl", |
| 446 | "/sksl/folding/IntFoldingES2.sksl", |
| 447 | "/sksl/folding/IntFoldingES3.sksl", |
| 448 | "/sksl/folding/MatrixFoldingES2.sksl", |
| 449 | "/sksl/folding/MatrixFoldingES3.sksl", |
John Stiles | 0ac6c15 | 2021-02-10 14:04:24 -0500 | [diff] [blame] | 450 | "/sksl/folding/SelfAssignment.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 451 | "/sksl/folding/ShortCircuitBoolFolding.sksl", |
| 452 | "/sksl/folding/VectorScalarFolding.sksl", |
| 453 | "/sksl/folding/VectorVectorFolding.sksl", |
John Stiles | 74192fd | 2021-01-11 11:07:01 -0500 | [diff] [blame] | 454 | ] |
| 455 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 456 | sksl_inliner_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 457 | "/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl", |
| 458 | "/sksl/inliner/DoWhileTestCannotBeInlined.sksl", |
| 459 | "/sksl/inliner/EnumsCanBeInlinedSafely.sksl", |
| 460 | "/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl", |
| 461 | "/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl", |
| 462 | "/sksl/inliner/ForWithReturnInsideCannotBeInlined.sksl", |
| 463 | "/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl", |
| 464 | "/sksl/inliner/IfBodyMustBeInlinedIntoAScope.sksl", |
| 465 | "/sksl/inliner/IfElseBodyMustBeInlinedIntoAScope.sksl", |
| 466 | "/sksl/inliner/IfElseChainWithReturnsCanBeInlined.sksl", |
| 467 | "/sksl/inliner/IfTestCanBeInlined.sksl", |
| 468 | "/sksl/inliner/IfWithReturnsCanBeInlined.sksl", |
| 469 | "/sksl/inliner/InlineKeywordOverridesThreshold.sksl", |
| 470 | "/sksl/inliner/InlineThreshold.sksl", |
| 471 | "/sksl/inliner/InlinerElidesTempVarForReturnsInsideBlock.sksl", |
| 472 | "/sksl/inliner/InlinerUsesTempVarForMultipleReturns.sksl", |
| 473 | "/sksl/inliner/InlinerUsesTempVarForReturnsInsideBlockWithVar.sksl", |
| 474 | "/sksl/inliner/InlineWithInoutArgument.sksl", |
| 475 | "/sksl/inliner/InlineWithModifiedArgument.sksl", |
| 476 | "/sksl/inliner/InlineWithNestedBigCalls.sksl", |
| 477 | "/sksl/inliner/InlineWithNestedCalls.sksl", |
| 478 | "/sksl/inliner/InlineWithUnmodifiedArgument.sksl", |
| 479 | "/sksl/inliner/InlineWithUnnecessaryBlocks.sksl", |
| 480 | "/sksl/inliner/InlinerAvoidsVariableNameOverlap.sksl", |
John Stiles | 92d83b7 | 2021-02-13 11:25:51 -0500 | [diff] [blame] | 481 | "/sksl/inliner/InlinerHonorsGLSLOutParamSemantics.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 482 | "/sksl/inliner/InlinerManglesNames.sksl", |
| 483 | "/sksl/inliner/InlinerWrapsEarlyReturnsWithForLoop.sksl", |
| 484 | "/sksl/inliner/InlinerWrapsSwitchWithReturnInsideWithForLoop.sksl", |
| 485 | "/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl", |
John Stiles | 66c53b9 | 2021-02-20 08:00:43 -0500 | [diff] [blame] | 486 | "/sksl/inliner/StaticSwitch.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 487 | "/sksl/inliner/StructsCanBeInlinedSafely.sksl", |
| 488 | "/sksl/inliner/SwitchWithCastCanBeInlined.sksl", |
| 489 | "/sksl/inliner/SwitchWithoutReturnInsideCanBeInlined.sksl", |
| 490 | "/sksl/inliner/SwizzleCanBeInlinedDirectly.sksl", |
| 491 | "/sksl/inliner/TernaryResultsCannotBeInlined.sksl", |
| 492 | "/sksl/inliner/TernaryTestCanBeInlined.sksl", |
| 493 | "/sksl/inliner/TrivialArgumentsInlineDirectly.sksl", |
| 494 | "/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl", |
| 495 | "/sksl/inliner/WhileTestCannotBeInlined.sksl", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 496 | ] |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 497 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 498 | sksl_blend_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 499 | "/sksl/blend/BlendClear.sksl", |
| 500 | "/sksl/blend/BlendColor.sksl", |
| 501 | "/sksl/blend/BlendColorBurn.sksl", |
| 502 | "/sksl/blend/BlendColorDodge.sksl", |
| 503 | "/sksl/blend/BlendDarken.sksl", |
| 504 | "/sksl/blend/BlendDifference.sksl", |
| 505 | "/sksl/blend/BlendDst.sksl", |
| 506 | "/sksl/blend/BlendDstAtop.sksl", |
| 507 | "/sksl/blend/BlendDstIn.sksl", |
| 508 | "/sksl/blend/BlendDstOut.sksl", |
| 509 | "/sksl/blend/BlendDstOver.sksl", |
| 510 | "/sksl/blend/BlendEnum.sksl", |
| 511 | "/sksl/blend/BlendExclusion.sksl", |
| 512 | "/sksl/blend/BlendHardLight.sksl", |
| 513 | "/sksl/blend/BlendHue.sksl", |
| 514 | "/sksl/blend/BlendLighten.sksl", |
| 515 | "/sksl/blend/BlendLuminosity.sksl", |
| 516 | "/sksl/blend/BlendModulate.sksl", |
| 517 | "/sksl/blend/BlendMultiply.sksl", |
| 518 | "/sksl/blend/BlendOverlay.sksl", |
| 519 | "/sksl/blend/BlendPlus.sksl", |
| 520 | "/sksl/blend/BlendSaturation.sksl", |
| 521 | "/sksl/blend/BlendScreen.sksl", |
| 522 | "/sksl/blend/BlendSoftLight.sksl", |
| 523 | "/sksl/blend/BlendSrc.sksl", |
| 524 | "/sksl/blend/BlendSrcAtop.sksl", |
| 525 | "/sksl/blend/BlendSrcIn.sksl", |
| 526 | "/sksl/blend/BlendSrcOut.sksl", |
| 527 | "/sksl/blend/BlendSrcOver.sksl", |
| 528 | "/sksl/blend/BlendXor.sksl", |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 529 | ] |
| 530 | |
| 531 | sksl_settings_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 532 | "/sksl/glsl/TypePrecision.sksl", |
| 533 | "/sksl/inliner/ExponentialGrowth.sksl", |
| 534 | "/sksl/inliner/InlinerCanBeDisabled.sksl", |
| 535 | "/sksl/shared/Derivatives.sksl", |
| 536 | "/sksl/shared/DerivativesFlipY.sksl", |
| 537 | "/sksl/workarounds/AbsInt.sksl", |
| 538 | "/sksl/workarounds/BlendGuardedDivide.sksl", |
| 539 | "/sksl/workarounds/BlendModesAllZeroVec.sksl", |
| 540 | "/sksl/workarounds/FractNegative.sksl", |
| 541 | "/sksl/workarounds/FragCoords.sksl", |
| 542 | "/sksl/workarounds/LoopCondition.sksl", |
| 543 | "/sksl/workarounds/MinAndAbsTogether.sksl", |
| 544 | "/sksl/workarounds/NegatedAtan.sksl", |
| 545 | "/sksl/workarounds/PowWithConstantExponent.sksl", |
| 546 | "/sksl/workarounds/RewriteDoWhileLoops.sksl", |
| 547 | "/sksl/workarounds/TernaryShortCircuit.sksl", |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 548 | ] |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 549 | |
Brian Osman | 977feec | 2020-12-22 11:28:59 -0500 | [diff] [blame] | 550 | sksl_rte_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 551 | "/sksl/runtime/ArrayIndexing.rte", |
| 552 | "/sksl/runtime/ConversionConstructors.rte", |
Brian Osman | b41a1f9 | 2021-02-17 11:36:43 -0500 | [diff] [blame] | 553 | "/sksl/runtime/GlobalVariables.rte", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 554 | "/sksl/runtime/LoopInt.rte", |
| 555 | "/sksl/runtime/LoopFloat.rte", |
| 556 | "/sksl/runtime/SampleWithConstantMatrix.rte", |
| 557 | "/sksl/runtime/SampleWithExplicitCoord.rte", |
| 558 | "/sksl/runtime/SampleWithUniformMatrix.rte", |
| 559 | "/sksl/runtime/SampleWithVariableMatrix.rte", |
| 560 | "/sksl/runtime/VectorIndexing.rte", |
Brian Osman | 977feec | 2020-12-22 11:28:59 -0500 | [diff] [blame] | 561 | ] |
| 562 | |
| 563 | sksl_rte_error_tests = [ |
John Stiles | e609598 | 2021-02-04 12:42:01 -0500 | [diff] [blame] | 564 | "/sksl/runtime_errors/FirstClassArrays.rte", |
Brian Osman | 6e2dccb | 2021-02-16 16:23:03 -0500 | [diff] [blame] | 565 | "/sksl/runtime_errors/IllegalArrayOps.rte", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 566 | "/sksl/runtime_errors/IllegalIndexing.rte", |
| 567 | "/sksl/runtime_errors/IllegalOperators.rte", |
| 568 | "/sksl/runtime_errors/IllegalStatements.rte", |
| 569 | "/sksl/runtime_errors/LoopConditionErrors.rte", |
| 570 | "/sksl/runtime_errors/LoopExpressionErrors.rte", |
| 571 | "/sksl/runtime_errors/LoopInitializerErrors.rte", |
| 572 | "/sksl/runtime_errors/LoopStructureErrors.rte", |
| 573 | "/sksl/runtime_errors/UnsupportedTypeSampler.rte", |
| 574 | "/sksl/runtime_errors/UnsupportedTypeTexture.rte", |
Brian Osman | 977feec | 2020-12-22 11:28:59 -0500 | [diff] [blame] | 575 | ] |
| 576 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 577 | # Tests in sksl_fp_tests_sources will be compiled with --settings on, and are expected to generate |
| 578 | # a .cpp and a .h output file. |
| 579 | sksl_fp_tests_sources = sksl_fp_error_tests + sksl_fp_tests |
| 580 | |
| 581 | # Tests in sksl_glsl_tests_sources will be compiled with --settings on, and are expected to generate |
| 582 | # a .glsl output file. |
| 583 | sksl_glsl_tests_sources = |
John Stiles | 74192fd | 2021-01-11 11:07:01 -0500 | [diff] [blame] | 584 | sksl_error_tests + sksl_glsl_tests + sksl_inliner_tests + |
| 585 | sksl_folding_tests + sksl_shared_tests |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 586 | |
| 587 | # Tests in sksl_glsl_settings_tests_sources will be compiled twice, once with --settings and once |
| 588 | # using --nosettings. In the latter mode, StandaloneSettings is appended to the output filename. |
| 589 | sksl_glsl_settings_tests_sources = sksl_blend_tests + sksl_settings_tests |
John Stiles | aeae3a5 | 2020-09-25 13:35:58 -0400 | [diff] [blame] | 590 | |
| 591 | # Tests in sksl_metal_tests_sources will be compiled with --settings on, and are expected to |
| 592 | # generate a .metal output file. |
John Stiles | 34de5cb | 2020-11-13 18:14:11 -0500 | [diff] [blame] | 593 | sksl_metal_tests_sources = |
| 594 | sksl_metal_tests + sksl_blend_tests + sksl_shared_tests |
John Stiles | dda1d31 | 2020-11-20 16:28:50 -0500 | [diff] [blame] | 595 | |
| 596 | # Tests in sksl_spirv_tests_sources will be compiled with --settings on, and are expected to |
| 597 | # generate a .asm.(frag|vert|geom) output file. |
John Stiles | ba067aa | 2020-11-25 16:55:37 -0500 | [diff] [blame] | 598 | sksl_spirv_tests_sources = |
| 599 | sksl_blend_tests + sksl_shared_tests + sksl_spirv_tests |
Brian Osman | 977feec | 2020-12-22 11:28:59 -0500 | [diff] [blame] | 600 | |
| 601 | ## Tests in sksl_skvm_tests_sources will be compiled with --settings on, and are expected to |
| 602 | ## generate a .skvm output file. |
| 603 | sksl_skvm_tests_sources = sksl_rte_tests + sksl_rte_error_tests |
Brian Osman | 62b039b | 2021-02-08 13:49:53 -0500 | [diff] [blame] | 604 | |
| 605 | ## Tests in sksl_stage_tests_sources will be compiled with --settings on, and are expected to |
| 606 | ## generate a .stage output file. |
| 607 | sksl_stage_tests_sources = sksl_rte_tests |