| # Copyright 2020 Google LLC |
| # |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| sksl_fp_error_tests = [ |
| "/sksl/errors/GrBadIn.fp", |
| "/sksl/errors/GrMainParameterWrongType.fp", |
| "/sksl/errors/GrMainTooManyParameters.fp", |
| "/sksl/errors/GrNoFragmentProcessorConstruction.fp", |
| "/sksl/errors/GrNoFragmentProcessorExpressions.fp", |
| "/sksl/errors/GrNoFragmentProcessorLocals.fp", |
| "/sksl/errors/GrNoFragmentProcessorParams.fp", |
| "/sksl/errors/GrNoFragmentProcessorReturn.fp", |
| "/sksl/errors/GrRecursion.fp", |
| ] |
| |
| sksl_fp_tests = [ |
| "/sksl/fp/GrChildProcessorAndGlobal.fp", |
| "/sksl/fp/GrChildProcessorFieldAccess.fp", |
| "/sksl/fp/GrChildProcessorInlineFieldAccess.fp", |
| "/sksl/fp/GrChildProcessorSampleCoords.fp", |
| "/sksl/fp/GrChildProcessorSampleMatrixAndCoords.fp", |
| "/sksl/fp/GrChildProcessorSampleMatrixConstant.fp", |
| "/sksl/fp/GrChildProcessorSampleMatrixConstantAndCoords.fp", |
| "/sksl/fp/GrChildProcessorSampleMatrixMultipleUniforms.fp", |
| "/sksl/fp/GrChildProcessorSampleMatrixSingleInUniform.fp", |
| "/sksl/fp/GrChildProcessorSampleMatrixSingleUniform.fp", |
| "/sksl/fp/GrChildProcessorSampleMatrixSingleUniformExpr.fp", |
| "/sksl/fp/GrChildProcessorWithInputExpression.fp", |
| "/sksl/fp/GrChildProcessors.fp", |
| "/sksl/fp/GrChildProcessorsWithInput.fp", |
| "/sksl/fp/GrConditionalInUniform.fp", |
| "/sksl/fp/GrFunction.fp", |
| "/sksl/fp/GrGrSLTypesAreSupported.fp", |
| "/sksl/fp/GrHelloWorld.fp", |
| "/sksl/fp/GrInUniform.fp", |
| "/sksl/fp/GrInUniformCType.fp", |
| "/sksl/fp/GrInlinedFunction.fp", |
| "/sksl/fp/GrKeyIn.fp", |
| "/sksl/fp/GrLayoutWhen.fp", |
| "/sksl/fp/GrMainCoords.fp", |
| "/sksl/fp/GrModuloOp.fp", |
| "/sksl/fp/GrNestedCall.fp", |
| "/sksl/fp/GrNestedChildProcessors.fp", |
| "/sksl/fp/GrNonInlinedInUniform.fp", |
| "/sksl/fp/GrSectionClass.fp", |
| "/sksl/fp/GrSectionConstructor.fp", |
| "/sksl/fp/GrSectionConstructorParams.fp", |
| "/sksl/fp/GrSectionCpp.fp", |
| "/sksl/fp/GrSectionDumpInfo.fp", |
| "/sksl/fp/GrSectionEmitCode.fp", |
| "/sksl/fp/GrSectionFields.fp", |
| "/sksl/fp/GrSectionHeader.fp", |
| "/sksl/fp/GrSectionInitializers.fp", |
| "/sksl/fp/GrSectionMake.fp", |
| "/sksl/fp/GrSectionSetData.fp", |
| "/sksl/fp/GrSectionTest.fp", |
| "/sksl/fp/GrTrackedInUniform.fp", |
| "/sksl/fp/GrUniform.fp", |
| "/sksl/fp/GrUniformArrays.fp", |
| "/sksl/fp/GrUseExplicitReturn.fp", |
| ] |
| |
| sksl_error_tests = [ |
| "/sksl/errors/ArgumentCountMismatch.sksl", |
| "/sksl/errors/ArgumentMismatch.sksl", |
| "/sksl/errors/ArgumentModifiers.sksl", |
| "/sksl/errors/ArrayIndexOutOfRange.sksl", |
| "/sksl/errors/ArrayReturnTypes.sksl", |
| "/sksl/errors/ArrayTooManyDimensions.sksl", |
| "/sksl/errors/ArrayUnspecifiedDimensions.sksl", |
| "/sksl/errors/AssignmentTypeMismatch.sksl", |
| "/sksl/errors/BadCaps.sksl", |
| "/sksl/errors/BadFieldAccess.sksl", |
| "/sksl/errors/BadIndex.sksl", |
| "/sksl/errors/BadModifiers.sksl", |
| "/sksl/errors/BinaryInvalidType.sksl", |
| "/sksl/errors/BinaryTypeCoercion.sksl", |
| "/sksl/errors/BinaryTypeMismatch.sksl", |
| "/sksl/errors/BitShiftFloat.sksl", |
| "/sksl/errors/BitShiftFloatMatrix.sksl", |
| "/sksl/errors/BitShiftFloatVector.sksl", |
| "/sksl/errors/BooleanArithmetic.sksl", |
| "/sksl/errors/BreakOutsideLoop.sksl", |
| "/sksl/errors/CallNonFunction.sksl", |
| "/sksl/errors/CanExitWithoutReturningValue.sksl", |
| "/sksl/errors/ConstructorArgumentCount.sksl", |
| "/sksl/errors/ConstructorTypeMismatch.sksl", |
| "/sksl/errors/ContinueOutsideLoop.sksl", |
| "/sksl/errors/DivideByZero.sksl", |
| "/sksl/errors/DoTypeMismatch.sksl", |
| "/sksl/errors/DuplicateFunction.sksl", |
| "/sksl/errors/DuplicateOutput.sksl", |
| "/sksl/errors/DuplicateSymbol.sksl", |
| "/sksl/errors/EnumValueMustBeConstInt.sksl", |
| "/sksl/errors/ErrorsInDeadCode.sksl", |
| "/sksl/errors/FloatRemainder.sksl", |
| "/sksl/errors/ForTypeMismatch.sksl", |
| "/sksl/errors/GenericArgumentMismatch.sksl", |
| "/sksl/errors/IfTypeMismatch.sksl", |
| "/sksl/errors/InVarWithInitializerExpression.sksl", |
| "/sksl/errors/InterfaceBlockScope.sksl", |
| "/sksl/errors/InterfaceBlockStorageModifiers.sksl", |
| "/sksl/errors/InterfaceBlockWithNoMembers.sksl", |
| "/sksl/errors/InvalidAssignment.sksl", |
| "/sksl/errors/InvalidOutParams.sksl", |
| "/sksl/errors/InvalidToken.sksl", |
| "/sksl/errors/InvalidUnary.sksl", |
| "/sksl/errors/MismatchedNumbers.sksl", |
| "/sksl/errors/ModifiersInStruct.sksl", |
| "/sksl/errors/OpaqueTypeAssignment.sksl", |
| "/sksl/errors/OpaqueTypeConstruction.sksl", |
| "/sksl/errors/OpaqueTypeInArray.sksl", |
| "/sksl/errors/OpaqueTypeInInterfaceBlock.sksl", |
| "/sksl/errors/OpaqueTypeInStruct.sksl", |
| "/sksl/errors/OpenArray.sksl", |
| "/sksl/errors/Ossfuzz26700.sksl", |
| "/sksl/errors/Ossfuzz26759.sksl", |
| "/sksl/errors/Ossfuzz27650.sksl", |
| "/sksl/errors/Ossfuzz27663.sksl", |
| "/sksl/errors/Ossfuzz29085.sksl", |
| "/sksl/errors/Ossfuzz29845.sksl", |
| "/sksl/errors/OverflowFloatLiteral.sksl", |
| "/sksl/errors/OverflowIntLiteral.sksl", |
| "/sksl/errors/OverflowParamArraySize.sksl", |
| "/sksl/errors/OverflowUintLiteral.sksl", |
| "/sksl/errors/PrivateTypes.sksl", |
| "/sksl/errors/RedeclareBasicType.sksl", |
| "/sksl/errors/RedeclareEnum.sksl", |
| "/sksl/errors/RedeclareSamplerType.sksl", |
| "/sksl/errors/RedeclareStruct.sksl", |
| "/sksl/errors/RedeclareStructTypeWithName.sksl", |
| "/sksl/errors/RedeclareUserType.sksl", |
| "/sksl/errors/RedeclareVariable.sksl", |
| "/sksl/errors/ReturnDifferentType.sksl", |
| "/sksl/errors/ReturnFromVoid.sksl", |
| "/sksl/errors/ReturnMissingValue.sksl", |
| "/sksl/errors/ReturnTypeMismatch.sksl", |
| "/sksl/errors/SelfReferentialInitializerExpression.sksl", |
| "/sksl/errors/SpuriousFloat.sksl", |
| "/sksl/errors/StaticIfTest.sksl", |
| "/sksl/errors/StaticSwitchConditionalBreak.sksl", |
| "/sksl/errors/StaticSwitchTest.sksl", |
| "/sksl/errors/StructTooDeeplyNested.sksl", |
| "/sksl/errors/SwitchDuplicateCase.sksl", |
| "/sksl/errors/SwitchTypes.sksl", |
| "/sksl/errors/SwizzleConstantOutput.sksl", |
| "/sksl/errors/SwizzleMatrix.sksl", |
| "/sksl/errors/SwizzleOnlyLiterals.sksl", |
| "/sksl/errors/SwizzleOutOfBounds.sksl", |
| "/sksl/errors/SwizzleTooManyComponents.sksl", |
| "/sksl/errors/TernaryMismatch.sksl", |
| "/sksl/errors/UndeclaredFunction.sksl", |
| "/sksl/errors/UndefinedFunction.sksl", |
| "/sksl/errors/UndefinedSymbol.sksl", |
| "/sksl/errors/Unreachable.sksl", |
| "/sksl/errors/UnsupportedGLSLIdentifiers.sksl", |
| "/sksl/errors/UseWithoutInitializeArrayIndex.sksl", |
| "/sksl/errors/UseWithoutInitializeBinaryExpr.sksl", |
| "/sksl/errors/UseWithoutInitializeDeadIf.sksl", |
| "/sksl/errors/UseWithoutInitializeDeadSwitch.sksl", |
| "/sksl/errors/UseWithoutInitializeReturnValue.sksl", |
| "/sksl/errors/UseWithoutInitializeVarDecl.sksl", |
| "/sksl/errors/UsingInvalidValue.sksl", |
| "/sksl/errors/WhileTypeMismatch.sksl", |
| ] |
| |
| sksl_glsl_tests = [ |
| "/sksl/glsl/ForceHighPrecision.sksl", |
| "/sksl/glsl/IncompleteShortIntPrecision.sksl", |
| "/sksl/glsl/LayoutQualifiers.sksl", |
| "/sksl/glsl/ShortIntPrecision.sksl", |
| "/sksl/glsl/TextureSharpenVersion110.sksl", |
| "/sksl/glsl/TextureVersion110.sksl", |
| "/sksl/glsl/UsesPrecisionModifiers.sksl", |
| "/sksl/glsl/Version110.sksl", |
| "/sksl/glsl/Version450Core.sksl", |
| ] |
| |
| sksl_metal_tests = [ |
| "/sksl/metal/CastHalf4ToMat2x2.sksl", |
| "/sksl/metal/CastMat2x2ToMat3x3.sksl", |
| "/sksl/metal/CastMat2x3ToMat4x4.sksl", |
| "/sksl/metal/CastMat4x4ToMat3x4.sksl", |
| "/sksl/metal/CastMat4x4ToMat4x3.sksl", |
| "/sksl/metal/InterfaceBlocksRequireBinding.sksl", |
| "/sksl/metal/NumericGlobals.sksl", |
| "/sksl/metal/OpaqueTypeInInterfaceBlock.sksl", |
| "/sksl/metal/OpaqueTypeInStruct.sksl", |
| "/sksl/metal/OutParams.sksl", |
| "/sksl/metal/OutVarsRequireLocation.sksl", |
| "/sksl/metal/ReturnBadTypeFromMain.sksl", |
| "/sksl/metal/ReturnColorFromMain.sksl", |
| "/sksl/metal/SamplerGlobals.sksl", |
| "/sksl/metal/SwizzleHelper.sksl", |
| ] |
| |
| sksl_spirv_tests = [ |
| "/sksl/spirv/ConstantVectorFromVector.sksl", |
| "/sksl/spirv/InterfaceBlockPushConstant.sksl", |
| "/sksl/spirv/LayoutMultipleOf4.sksl", |
| "/sksl/spirv/LayoutOutOfOrder.sksl", |
| "/sksl/spirv/OpaqueTypeInArray.sksl", |
| "/sksl/errors/UndefinedFunction.sksl", |
| ] |
| |
| sksl_shared_tests = [ |
| "/sksl/intrinsics/Abs.sksl", |
| "/sksl/intrinsics/Acos.sksl", |
| "/sksl/intrinsics/Acosh.sksl", |
| "/sksl/intrinsics/All.sksl", |
| "/sksl/intrinsics/Any.sksl", |
| "/sksl/intrinsics/Asin.sksl", |
| "/sksl/intrinsics/Asinh.sksl", |
| "/sksl/intrinsics/Atan.sksl", |
| "/sksl/intrinsics/Atanh.sksl", |
| "/sksl/intrinsics/BitCount.sksl", |
| "/sksl/intrinsics/Ceil.sksl", |
| "/sksl/intrinsics/Clamp.sksl", |
| "/sksl/intrinsics/Cos.sksl", |
| "/sksl/intrinsics/Cosh.sksl", |
| "/sksl/intrinsics/Cross.sksl", |
| "/sksl/intrinsics/Degrees.sksl", |
| "/sksl/intrinsics/Determinant.sksl", |
| "/sksl/intrinsics/DFdx.sksl", |
| "/sksl/intrinsics/DFdy.sksl", |
| "/sksl/intrinsics/Distance.sksl", |
| "/sksl/intrinsics/Dot.sksl", |
| "/sksl/intrinsics/Equal.sksl", |
| "/sksl/intrinsics/Exp.sksl", |
| "/sksl/intrinsics/Exp2.sksl", |
| "/sksl/intrinsics/FaceForward.sksl", |
| "/sksl/intrinsics/FindLSB.sksl", |
| "/sksl/intrinsics/FindMSB.sksl", |
| "/sksl/intrinsics/FloatBitsToInt.sksl", |
| "/sksl/intrinsics/FloatBitsToUint.sksl", |
| "/sksl/intrinsics/Floor.sksl", |
| "/sksl/intrinsics/Fma.sksl", |
| "/sksl/intrinsics/Fract.sksl", |
| "/sksl/intrinsics/Frexp.sksl", |
| "/sksl/intrinsics/Fwidth.sksl", |
| "/sksl/intrinsics/GreaterThan.sksl", |
| "/sksl/intrinsics/GreaterThanEqual.sksl", |
| "/sksl/intrinsics/IntBitsToFloat.sksl", |
| "/sksl/intrinsics/Inverse.sksl", |
| "/sksl/intrinsics/Inversesqrt.sksl", |
| "/sksl/intrinsics/IsInf.sksl", |
| "/sksl/intrinsics/IsNan.sksl", |
| "/sksl/intrinsics/Ldexp.sksl", |
| "/sksl/intrinsics/Length.sksl", |
| "/sksl/intrinsics/LessThan.sksl", |
| "/sksl/intrinsics/LessThanEqual.sksl", |
| "/sksl/intrinsics/Log.sksl", |
| "/sksl/intrinsics/Log2.sksl", |
| "/sksl/intrinsics/MatrixCompMult.sksl", |
| "/sksl/intrinsics/Max.sksl", |
| "/sksl/intrinsics/Min.sksl", |
| "/sksl/intrinsics/Mix.sksl", |
| "/sksl/intrinsics/Mod.sksl", |
| "/sksl/intrinsics/Modf.sksl", |
| "/sksl/intrinsics/Normalize.sksl", |
| "/sksl/intrinsics/Not.sksl", |
| "/sksl/intrinsics/NotEqual.sksl", |
| "/sksl/intrinsics/OuterProduct.sksl", |
| "/sksl/intrinsics/Pack.sksl", |
| "/sksl/intrinsics/Pow.sksl", |
| "/sksl/intrinsics/Radians.sksl", |
| "/sksl/intrinsics/Reflect.sksl", |
| "/sksl/intrinsics/Refract.sksl", |
| "/sksl/intrinsics/Round.sksl", |
| "/sksl/intrinsics/RoundEven.sksl", |
| "/sksl/intrinsics/Saturate.sksl", |
| "/sksl/intrinsics/Sign.sksl", |
| "/sksl/intrinsics/Sin.sksl", |
| "/sksl/intrinsics/Sinh.sksl", |
| "/sksl/intrinsics/Smoothstep.sksl", |
| "/sksl/intrinsics/Sqrt.sksl", |
| "/sksl/intrinsics/Step.sksl", |
| "/sksl/intrinsics/Tan.sksl", |
| "/sksl/intrinsics/Tanh.sksl", |
| "/sksl/intrinsics/Transpose.sksl", |
| "/sksl/intrinsics/Trunc.sksl", |
| "/sksl/intrinsics/UintBitsToFloat.sksl", |
| "/sksl/intrinsics/Unpack.sksl", |
| "/sksl/shared/ArrayConstructors.sksl", |
| "/sksl/shared/ArrayIndexTypes.sksl", |
| "/sksl/shared/ArrayTypes.sksl", |
| "/sksl/shared/Assignment.sksl", |
| "/sksl/shared/Caps.sksl", |
| "/sksl/shared/CastsRoundTowardZero.sksl", |
| "/sksl/shared/Clockwise.sksl", |
| "/sksl/shared/ComplexDelete.sksl", |
| "/sksl/shared/ConstArray.sksl", |
| "/sksl/shared/ConstVariableComparison.sksl", |
| "/sksl/shared/ConstantIf.sksl", |
| "/sksl/shared/Control.sksl", |
| "/sksl/shared/DeadDoWhileLoop.sksl", |
| "/sksl/shared/DeadIfStatement.sksl", |
| "/sksl/shared/DeadLoopVariable.sksl", |
| "/sksl/shared/DeadStripFunctions.sksl", |
| "/sksl/shared/DependentInitializers.sksl", |
| "/sksl/shared/DerivativesUnused.sksl", |
| "/sksl/shared/Discard.sksl", |
| "/sksl/shared/Enum.sksl", |
| "/sksl/shared/FragCoordsFlipY.sksl", |
| "/sksl/shared/FragCoordsNew.sksl", |
| "/sksl/shared/FragCoordsOld.sksl", |
| "/sksl/shared/FunctionArgumentMatch.sksl", |
| "/sksl/shared/FunctionPrototype.sksl", |
| "/sksl/shared/Functions.sksl", |
| "/sksl/shared/GaussianBlur.sksl", |
| "/sksl/shared/GeometricIntrinsics.sksl", |
| "/sksl/shared/Geometry.geom", |
| "/sksl/shared/GeometryExtension.geom", |
| "/sksl/shared/GeometryGSInvocations.geom", |
| "/sksl/shared/GeometryNoGSInvocations.geom", |
| "/sksl/shared/GeometryNoGSInvocationsReorder.geom", |
| "/sksl/shared/Height.sksl", |
| "/sksl/shared/HelloWorld.sksl", |
| "/sksl/shared/Hex.sksl", |
| "/sksl/shared/InstanceID.vert", |
| "/sksl/shared/InterfaceBlockAnonymous.sksl", |
| "/sksl/shared/InterfaceBlockArray.sksl", |
| "/sksl/shared/InterfaceBlockNamed.sksl", |
| "/sksl/shared/MatricesFloat.sksl", |
| "/sksl/shared/MatricesHalf.sksl", |
| "/sksl/shared/MixedTypeCommaOperator.sksl", |
| "/sksl/shared/MultipleAssignments.sksl", |
| "/sksl/shared/NegatedVectorLiteral.sksl", |
| "/sksl/shared/NoFragCoordsPos.vert", |
| "/sksl/shared/NoFragCoordsPosRT.vert", |
| "/sksl/shared/NormalizationGeo.geom", |
| "/sksl/shared/NormalizationVert.vert", |
| "/sksl/shared/NumberCasts.sksl", |
| "/sksl/shared/NumberConversions.sksl", |
| "/sksl/shared/Offset.sksl", |
| "/sksl/shared/Operators.sksl", |
| "/sksl/shared/Ossfuzz26167.sksl", |
| "/sksl/shared/Ossfuzz27614.sksl", |
| "/sksl/shared/Ossfuzz28050.sksl", |
| "/sksl/shared/Ossfuzz28794.sksl", |
| "/sksl/shared/Ossfuzz28904.sksl", |
| "/sksl/shared/Ossfuzz29444.sksl", |
| "/sksl/shared/OutParams.sksl", |
| "/sksl/shared/OutParamsTricky.sksl", |
| "/sksl/shared/RectangleTexture.sksl", |
| "/sksl/shared/ResizeMatrix.sksl", |
| "/sksl/shared/SampleLocations.vert", |
| "/sksl/shared/SampleMask.sksl", |
| "/sksl/shared/ScalarConversionConstructors.sksl", |
| "/sksl/shared/ScopedSymbol.sksl", |
| "/sksl/shared/StackingVectorCasts.sksl", |
| "/sksl/shared/StaticIf.sksl", |
| "/sksl/shared/StaticSwitch.sksl", |
| "/sksl/shared/StaticSwitchWithBreak.sksl", |
| "/sksl/shared/StaticSwitchWithBreakInsideBlock.sksl", |
| "/sksl/shared/StaticSwitchWithConditionalBreak.sksl", |
| "/sksl/shared/StaticSwitchWithConditionalBreakInsideBlock.sksl", |
| "/sksl/shared/StaticSwitchWithFallthroughA.sksl", |
| "/sksl/shared/StaticSwitchWithFallthroughB.sksl", |
| "/sksl/shared/StaticSwitchWithStaticConditionalBreak.sksl", |
| "/sksl/shared/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl", |
| "/sksl/shared/Structs.sksl", |
| "/sksl/shared/StructMaxDepth.sksl", |
| "/sksl/shared/Switch.sksl", |
| "/sksl/shared/SwitchContainingDeadCode.sksl", |
| "/sksl/shared/SwitchWithFallthrough.sksl", |
| "/sksl/shared/SwizzleBoolConstants.sksl", |
| "/sksl/shared/SwizzleByIndex.sksl", |
| "/sksl/shared/SwizzleConstants.sksl", |
| "/sksl/shared/SwizzleLTRB.sksl", |
| "/sksl/shared/SwizzleOpt.sksl", |
| "/sksl/shared/SwizzleScalar.sksl", |
| "/sksl/shared/TernaryAsLValueEntirelyFoldable.sksl", |
| "/sksl/shared/TernaryAsLValueFoldableTest.sksl", |
| "/sksl/shared/Texture1D.sksl", |
| "/sksl/shared/Texture2D.sksl", |
| "/sksl/shared/TextureSharpen.sksl", |
| "/sksl/shared/UnaryPositiveNegative.sksl", |
| "/sksl/shared/UniformArray.sksl", |
| "/sksl/shared/UnusedVariables.sksl", |
| "/sksl/shared/VectorConstructors.sksl", |
| "/sksl/shared/VertexEarlyReturn.vert", |
| "/sksl/shared/VertexID.vert", |
| "/sksl/shared/Width.sksl", |
| ] |
| |
| sksl_folding_tests = [ |
| "/sksl/folding/BoolFolding.sksl", |
| "/sksl/folding/FloatFolding.sksl", |
| "/sksl/folding/IntFoldingES2.sksl", |
| "/sksl/folding/IntFoldingES3.sksl", |
| "/sksl/folding/MatrixFoldingES2.sksl", |
| "/sksl/folding/MatrixFoldingES3.sksl", |
| "/sksl/folding/ShortCircuitBoolFolding.sksl", |
| "/sksl/folding/VectorScalarFolding.sksl", |
| "/sksl/folding/VectorVectorFolding.sksl", |
| ] |
| |
| sksl_inliner_tests = [ |
| "/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl", |
| "/sksl/inliner/DoWhileTestCannotBeInlined.sksl", |
| "/sksl/inliner/EnumsCanBeInlinedSafely.sksl", |
| "/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl", |
| "/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl", |
| "/sksl/inliner/ForWithReturnInsideCannotBeInlined.sksl", |
| "/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl", |
| "/sksl/inliner/IfBodyMustBeInlinedIntoAScope.sksl", |
| "/sksl/inliner/IfElseBodyMustBeInlinedIntoAScope.sksl", |
| "/sksl/inliner/IfElseChainWithReturnsCanBeInlined.sksl", |
| "/sksl/inliner/IfTestCanBeInlined.sksl", |
| "/sksl/inliner/IfWithReturnsCanBeInlined.sksl", |
| "/sksl/inliner/InlineKeywordOverridesThreshold.sksl", |
| "/sksl/inliner/InlineThreshold.sksl", |
| "/sksl/inliner/InlinerElidesTempVarForReturnsInsideBlock.sksl", |
| "/sksl/inliner/InlinerUsesTempVarForMultipleReturns.sksl", |
| "/sksl/inliner/InlinerUsesTempVarForReturnsInsideBlockWithVar.sksl", |
| "/sksl/inliner/InlineWithInoutArgument.sksl", |
| "/sksl/inliner/InlineWithModifiedArgument.sksl", |
| "/sksl/inliner/InlineWithNestedBigCalls.sksl", |
| "/sksl/inliner/InlineWithNestedCalls.sksl", |
| "/sksl/inliner/InlineWithUnmodifiedArgument.sksl", |
| "/sksl/inliner/InlineWithUnnecessaryBlocks.sksl", |
| "/sksl/inliner/InlinerAvoidsVariableNameOverlap.sksl", |
| "/sksl/inliner/InlinerManglesNames.sksl", |
| "/sksl/inliner/InlinerWrapsEarlyReturnsWithForLoop.sksl", |
| "/sksl/inliner/InlinerWrapsSwitchWithReturnInsideWithForLoop.sksl", |
| "/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl", |
| "/sksl/inliner/StructsCanBeInlinedSafely.sksl", |
| "/sksl/inliner/SwitchWithCastCanBeInlined.sksl", |
| "/sksl/inliner/SwitchWithoutReturnInsideCanBeInlined.sksl", |
| "/sksl/inliner/SwizzleCanBeInlinedDirectly.sksl", |
| "/sksl/inliner/TernaryResultsCannotBeInlined.sksl", |
| "/sksl/inliner/TernaryTestCanBeInlined.sksl", |
| "/sksl/inliner/TrivialArgumentsInlineDirectly.sksl", |
| "/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl", |
| "/sksl/inliner/WhileTestCannotBeInlined.sksl", |
| ] |
| |
| sksl_blend_tests = [ |
| "/sksl/blend/BlendClear.sksl", |
| "/sksl/blend/BlendColor.sksl", |
| "/sksl/blend/BlendColorBurn.sksl", |
| "/sksl/blend/BlendColorDodge.sksl", |
| "/sksl/blend/BlendDarken.sksl", |
| "/sksl/blend/BlendDifference.sksl", |
| "/sksl/blend/BlendDst.sksl", |
| "/sksl/blend/BlendDstAtop.sksl", |
| "/sksl/blend/BlendDstIn.sksl", |
| "/sksl/blend/BlendDstOut.sksl", |
| "/sksl/blend/BlendDstOver.sksl", |
| "/sksl/blend/BlendEnum.sksl", |
| "/sksl/blend/BlendExclusion.sksl", |
| "/sksl/blend/BlendHardLight.sksl", |
| "/sksl/blend/BlendHue.sksl", |
| "/sksl/blend/BlendLighten.sksl", |
| "/sksl/blend/BlendLuminosity.sksl", |
| "/sksl/blend/BlendModulate.sksl", |
| "/sksl/blend/BlendMultiply.sksl", |
| "/sksl/blend/BlendOverlay.sksl", |
| "/sksl/blend/BlendPlus.sksl", |
| "/sksl/blend/BlendSaturation.sksl", |
| "/sksl/blend/BlendScreen.sksl", |
| "/sksl/blend/BlendSoftLight.sksl", |
| "/sksl/blend/BlendSrc.sksl", |
| "/sksl/blend/BlendSrcAtop.sksl", |
| "/sksl/blend/BlendSrcIn.sksl", |
| "/sksl/blend/BlendSrcOut.sksl", |
| "/sksl/blend/BlendSrcOver.sksl", |
| "/sksl/blend/BlendXor.sksl", |
| ] |
| |
| sksl_settings_tests = [ |
| "/sksl/glsl/TypePrecision.sksl", |
| "/sksl/inliner/ExponentialGrowth.sksl", |
| "/sksl/inliner/InlinerCanBeDisabled.sksl", |
| "/sksl/shared/Derivatives.sksl", |
| "/sksl/shared/DerivativesFlipY.sksl", |
| "/sksl/workarounds/AbsInt.sksl", |
| "/sksl/workarounds/BlendGuardedDivide.sksl", |
| "/sksl/workarounds/BlendModesAllZeroVec.sksl", |
| "/sksl/workarounds/FractNegative.sksl", |
| "/sksl/workarounds/FragCoords.sksl", |
| "/sksl/workarounds/LoopCondition.sksl", |
| "/sksl/workarounds/MinAndAbsTogether.sksl", |
| "/sksl/workarounds/NegatedAtan.sksl", |
| "/sksl/workarounds/PowWithConstantExponent.sksl", |
| "/sksl/workarounds/RewriteDoWhileLoops.sksl", |
| "/sksl/workarounds/TernaryShortCircuit.sksl", |
| ] |
| |
| sksl_rte_tests = [ |
| "/sksl/runtime/ArrayIndexing.rte", |
| "/sksl/runtime/ConversionConstructors.rte", |
| "/sksl/runtime/LoopInt.rte", |
| "/sksl/runtime/LoopFloat.rte", |
| "/sksl/runtime/SampleWithConstantMatrix.rte", |
| "/sksl/runtime/SampleWithExplicitCoord.rte", |
| "/sksl/runtime/SampleWithUniformMatrix.rte", |
| "/sksl/runtime/SampleWithVariableMatrix.rte", |
| "/sksl/runtime/VectorIndexing.rte", |
| ] |
| |
| sksl_rte_error_tests = [ |
| "/sksl/runtime_errors/IllegalIndexing.rte", |
| "/sksl/runtime_errors/IllegalOperators.rte", |
| "/sksl/runtime_errors/IllegalStatements.rte", |
| "/sksl/runtime_errors/LoopConditionErrors.rte", |
| "/sksl/runtime_errors/LoopExpressionErrors.rte", |
| "/sksl/runtime_errors/LoopInitializerErrors.rte", |
| "/sksl/runtime_errors/LoopStructureErrors.rte", |
| "/sksl/runtime_errors/UnsupportedTypeSampler.rte", |
| "/sksl/runtime_errors/UnsupportedTypeTexture.rte", |
| ] |
| |
| # Tests in sksl_fp_tests_sources will be compiled with --settings on, and are expected to generate |
| # a .cpp and a .h output file. |
| sksl_fp_tests_sources = sksl_fp_error_tests + sksl_fp_tests |
| |
| # Tests in sksl_glsl_tests_sources will be compiled with --settings on, and are expected to generate |
| # a .glsl output file. |
| sksl_glsl_tests_sources = |
| sksl_error_tests + sksl_glsl_tests + sksl_inliner_tests + |
| sksl_folding_tests + sksl_shared_tests |
| |
| # Tests in sksl_glsl_settings_tests_sources will be compiled twice, once with --settings and once |
| # using --nosettings. In the latter mode, StandaloneSettings is appended to the output filename. |
| sksl_glsl_settings_tests_sources = sksl_blend_tests + sksl_settings_tests |
| |
| # Tests in sksl_metal_tests_sources will be compiled with --settings on, and are expected to |
| # generate a .metal output file. |
| sksl_metal_tests_sources = |
| sksl_metal_tests + sksl_blend_tests + sksl_shared_tests |
| |
| # Tests in sksl_spirv_tests_sources will be compiled with --settings on, and are expected to |
| # generate a .asm.(frag|vert|geom) output file. |
| sksl_spirv_tests_sources = |
| sksl_blend_tests + sksl_shared_tests + sksl_spirv_tests |
| |
| ## Tests in sksl_skvm_tests_sources will be compiled with --settings on, and are expected to |
| ## generate a .skvm output file. |
| sksl_skvm_tests_sources = sksl_rte_tests + sksl_rte_error_tests |