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