blob: a0e7790cc6638f31ce0f52cd20b270df36eacec9 [file] [log] [blame]
# 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_error_tests = [
"/sksl/errors/ArgumentCountMismatch.rts",
"/sksl/errors/ArgumentMismatch.rts",
"/sksl/errors/ArgumentModifiers.rts",
"/sksl/errors/ArrayConstructorElementCount.sksl",
"/sksl/errors/ArrayIndexOutOfRange.rts",
"/sksl/errors/ArrayInlinedIndexOutOfRange.sksl",
"/sksl/errors/ArrayNegation.rts",
"/sksl/errors/ArrayOfInvalidSize.rts",
"/sksl/errors/ArrayOfVoid.rts",
"/sksl/errors/ArrayPlus.rts",
"/sksl/errors/ArrayReturnTypes.rts",
"/sksl/errors/ArraySplitDimensions.rts",
"/sksl/errors/ArraySplitDimensionsInFuncBody.rts",
"/sksl/errors/ArraySplitDimensionsInFuncDecl.rts",
"/sksl/errors/ArraySplitDimensionsInStruct.rts",
"/sksl/errors/ArrayTooManyDimensions.rts",
"/sksl/errors/ArrayTooManyDimensionsInFuncBody.rts",
"/sksl/errors/ArrayTooManyDimensionsInFuncBodyUnsized1.rts",
"/sksl/errors/ArrayTooManyDimensionsInFuncBodyUnsized2.rts",
"/sksl/errors/ArrayTooManyDimensionsInFuncDecl.rts",
"/sksl/errors/ArrayTooManyDimensionsInFuncDeclUnsized1.rts",
"/sksl/errors/ArrayTooManyDimensionsInFuncDeclUnsized2.rts",
"/sksl/errors/ArrayTooManyDimensionsInStruct.rts",
"/sksl/errors/ArrayTooManyDimensionsInStructUnsized1.rts",
"/sksl/errors/ArrayTooManyDimensionsInStructUnsized2.rts",
"/sksl/errors/ArrayTooManyDimensionsUnsized1.rts",
"/sksl/errors/ArrayTooManyDimensionsUnsized2.rts",
"/sksl/errors/ArrayTypeTooManyDimensions.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncBody.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncBodyUnsized1.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncBodyUnsized2.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncDecl.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncDeclUnsized1.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncDeclUnsized2.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInStruct.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInStructUnsized1.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsInStructUnsized2.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsUnsized1.rts",
"/sksl/errors/ArrayTypeTooManyDimensionsUnsized2.rts",
"/sksl/errors/ArrayUnspecifiedDimensions.rts",
"/sksl/errors/AssignmentTypeMismatch.rts",
"/sksl/errors/BadCaps.sksl",
"/sksl/errors/BadConstInitializers.rts",
"/sksl/errors/BadFieldAccess.rts",
"/sksl/errors/BadIndex.rts",
"/sksl/errors/BadModifiers.sksl",
"/sksl/errors/BadOctal.rts",
"/sksl/errors/BinaryInvalidType.rts",
"/sksl/errors/BinaryTypeCoercion.sksl",
"/sksl/errors/BinaryTypeMismatch.rts",
"/sksl/errors/BitShiftFloat.rts",
"/sksl/errors/BitShiftFloatMatrix.rts",
"/sksl/errors/BitShiftFloatVector.rts",
"/sksl/errors/BooleanArithmetic.sksl",
"/sksl/errors/BreakOutsideLoop.rts",
"/sksl/errors/CallMain.rts",
"/sksl/errors/CallNonFunction.rts",
"/sksl/errors/CanExitWithoutReturningValue.sksl",
"/sksl/errors/CommasAsConstantExpressions.rts",
"/sksl/errors/ComparisonDimensional.rts",
"/sksl/errors/ConstructorArgumentCount.rts",
"/sksl/errors/ConstructorTypeMismatch.rts",
"/sksl/errors/ContinueOutsideLoop.rts",
"/sksl/errors/DivideByZero.rts",
"/sksl/errors/DoTypeMismatch.sksl",
"/sksl/errors/DuplicateBinding.sksl",
"/sksl/errors/DuplicateFunction.rts",
"/sksl/errors/DuplicateOutput.sksl",
"/sksl/errors/DuplicateSymbol.rts",
"/sksl/errors/EmptyArray.rts",
"/sksl/errors/EmptyStruct.rts",
"/sksl/errors/ErrorsInDeadCode.rts",
"/sksl/errors/FloatRemainder.rts",
"/sksl/errors/ForInitStmt.sksl",
"/sksl/errors/ForTypeMismatch.rts",
"/sksl/errors/FunctionParameterOfVoid.rts",
"/sksl/errors/GenericArgumentMismatch.rts",
"/sksl/errors/IfTypeMismatch.rts",
"/sksl/errors/IllegalRecursionComplex.rts",
"/sksl/errors/IllegalRecursionMutual.rts",
"/sksl/errors/IllegalRecursionSimple.rts",
"/sksl/errors/IncompleteExpression.rts",
"/sksl/errors/IncompleteFunctionCall.rts",
"/sksl/errors/InterfaceBlockMemberReservedName.sksl",
"/sksl/errors/InterfaceBlockPrivateType.sksl",
"/sksl/errors/InterfaceBlockReservedName.sksl",
"/sksl/errors/InterfaceBlockScope.sksl",
"/sksl/errors/InterfaceBlockStorageModifiers.sksl",
"/sksl/errors/InterfaceBlockWithNoMembers.sksl",
"/sksl/errors/IntrinsicInGlobalVariable.sksl",
"/sksl/errors/InvalidAssignment.rts",
"/sksl/errors/InvalidExtensionDirective.sksl",
"/sksl/errors/InvalidOutParams.rts",
"/sksl/errors/InvalidThreadgroupCompute.compute",
"/sksl/errors/InvalidThreadgroupRTS.rts",
"/sksl/errors/InvalidToken.rts",
"/sksl/errors/InvalidUnary.rts",
"/sksl/errors/InvalidUniformTypes.sksl",
"/sksl/errors/InvalidVersionDirective.sksl",
"/sksl/errors/InVarWithInitializerExpression.sksl",
"/sksl/errors/LayoutInFunctions.sksl",
"/sksl/errors/LayoutInInterfaceBlock.sksl",
"/sksl/errors/LayoutInStruct.sksl",
"/sksl/errors/LayoutRepeatedQualifiers.sksl",
"/sksl/errors/MatrixIndexOutOfRange.rts",
"/sksl/errors/MatrixIndexOutOfRangeES3.sksl",
"/sksl/errors/MatrixInlinedIndexOutOfRange.sksl",
"/sksl/errors/MatrixToVectorCast3x3.rts",
"/sksl/errors/MatrixToVectorCastBoolean.rts",
"/sksl/errors/MatrixToVectorCastInteger.rts",
"/sksl/errors/MatrixToVectorCastTooSmall.rts",
"/sksl/errors/MismatchedNumbers.rts",
"/sksl/errors/MismatchedNumbersES3.sksl",
"/sksl/errors/ModifiersInStruct.rts",
"/sksl/errors/ModifiersRepeated.sksl",
"/sksl/errors/MultipleFields.rts",
"/sksl/errors/MultipleFieldsInInterfaceBlocks.sksl",
"/sksl/errors/NoES3ModifierInUserCode.sksl",
"/sksl/errors/OpaqueTypeAssignment.sksl",
"/sksl/errors/OpaqueTypeConstruction.sksl",
"/sksl/errors/OpaqueTypeInArray.sksl",
"/sksl/errors/OpaqueTypeInInterfaceBlock.sksl",
"/sksl/errors/OpaqueTypeInStruct.sksl",
"/sksl/errors/OpaqueTypeOutParam.sksl",
"/sksl/errors/OpenArray.rts",
"/sksl/errors/Ossfuzz26700.sksl",
"/sksl/errors/Ossfuzz27614.sksl",
"/sksl/errors/Ossfuzz27650.sksl",
"/sksl/errors/Ossfuzz27663.sksl",
"/sksl/errors/Ossfuzz28050.sksl",
"/sksl/errors/Ossfuzz29444.sksl",
"/sksl/errors/Ossfuzz29845.sksl",
"/sksl/errors/Ossfuzz29849.sksl",
"/sksl/errors/Ossfuzz31410.sksl",
"/sksl/errors/Ossfuzz31469.sksl",
"/sksl/errors/Ossfuzz32156.sksl",
"/sksl/errors/Ossfuzz32587.sksl",
"/sksl/errors/Ossfuzz32851.sksl",
"/sksl/errors/Ossfuzz37457.sksl",
"/sksl/errors/Ossfuzz37465.sksl",
"/sksl/errors/Ossfuzz37620.sksl",
"/sksl/errors/Ossfuzz38106.sksl",
"/sksl/errors/Ossfuzz38107.sksl",
"/sksl/errors/Ossfuzz38108.sksl",
"/sksl/errors/Ossfuzz38140.sksl",
"/sksl/errors/Ossfuzz38560.sksl",
"/sksl/errors/Ossfuzz38865.sksl",
"/sksl/errors/Ossfuzz38944.sksl",
"/sksl/errors/Ossfuzz39000.sksl",
"/sksl/errors/Ossfuzz40427.sksl",
"/sksl/errors/Ossfuzz40428.sksl",
"/sksl/errors/Ossfuzz40479.sksl",
"/sksl/errors/Ossfuzz40660.sksl",
"/sksl/errors/Ossfuzz44045.sksl",
"/sksl/errors/Ossfuzz44551.sksl",
"/sksl/errors/Ossfuzz44555.sksl",
"/sksl/errors/Ossfuzz44557.sksl",
"/sksl/errors/Ossfuzz44559.sksl",
"/sksl/errors/Ossfuzz44561.sksl",
"/sksl/errors/Ossfuzz44565.sksl",
"/sksl/errors/Ossfuzz47935.sksl",
"/sksl/errors/Ossfuzz48592.sksl",
"/sksl/errors/Ossfuzz49558.sksl",
"/sksl/errors/Ossfuzz50798.sksl",
"/sksl/errors/Ossfuzz50922.sksl",
"/sksl/errors/OverflowFloatIntrinsic.sksl",
"/sksl/errors/OverflowFloatLiteral.rts",
"/sksl/errors/OverflowInlinedLiteral.sksl",
"/sksl/errors/OverflowInt64Literal.rts",
"/sksl/errors/OverflowIntLiteral.rts",
"/sksl/errors/OverflowParamArraySize.rts",
"/sksl/errors/OverflowShortLiteral.sksl",
"/sksl/errors/OverflowUintLiteral.sksl",
"/sksl/errors/OverloadedBuiltin.sksl",
"/sksl/errors/PrecisionQualifiersDisallowed.sksl",
"/sksl/errors/PrivateTypes.rts",
"/sksl/errors/PrivateVariables.rts",
"/sksl/errors/ProgramTooLarge_Globals.rts",
"/sksl/errors/ProgramTooLarge_Stack.rts",
"/sksl/errors/PrototypeInFuncBody.rts",
"/sksl/errors/ReadonlyWriteonly.compute",
"/sksl/errors/RedeclareBasicType.rts",
"/sksl/errors/RedeclareSamplerType.sksl",
"/sksl/errors/RedeclareShaderType.rts",
"/sksl/errors/RedeclareStruct.rts",
"/sksl/errors/RedeclareStructTypeWithName.rts",
"/sksl/errors/RedeclareUserType.rts",
"/sksl/errors/RedeclareVariable.rts",
"/sksl/errors/ReservedNameAsm.rts",
"/sksl/errors/ReservedNameAttribute.rts",
"/sksl/errors/ReservedNameCast.rts",
"/sksl/errors/ReservedNameDouble.rts",
"/sksl/errors/ReservedNameDvec2.rts",
"/sksl/errors/ReservedNameDvec3.rts",
"/sksl/errors/ReservedNameDvec4.rts",
"/sksl/errors/ReservedNameEnum.rts",
"/sksl/errors/ReservedNameExtern.rts",
"/sksl/errors/ReservedNameExternal.rts",
"/sksl/errors/ReservedNameFixed.rts",
"/sksl/errors/ReservedNameFvec2.rts",
"/sksl/errors/ReservedNameFvec3.rts",
"/sksl/errors/ReservedNameFvec4.rts",
"/sksl/errors/ReservedNameGoto.rts",
"/sksl/errors/ReservedNameHvec2.rts",
"/sksl/errors/ReservedNameHvec3.rts",
"/sksl/errors/ReservedNameHvec4.rts",
"/sksl/errors/ReservedNameInput.rts",
"/sksl/errors/ReservedNameInterface.rts",
"/sksl/errors/ReservedNameInvariant.rts",
"/sksl/errors/ReservedNameLong.rts",
"/sksl/errors/ReservedNameNamespace.rts",
"/sksl/errors/ReservedNameOutput.rts",
"/sksl/errors/ReservedNamePacked.rts",
"/sksl/errors/ReservedNamePrecision.rts",
"/sksl/errors/ReservedNamePublic.rts",
"/sksl/errors/ReservedNameSampler1DShadow.rts",
"/sksl/errors/ReservedNameSampler2DRectShadow.rts",
"/sksl/errors/ReservedNameSampler2DShadow.rts",
"/sksl/errors/ReservedNameSampler3DRect.rts",
"/sksl/errors/ReservedNameSamplerCube.rts",
"/sksl/errors/ReservedNameSizeof.rts",
"/sksl/errors/ReservedNameStatic.rts",
"/sksl/errors/ReservedNameSuperp.rts",
"/sksl/errors/ReservedNameTemplate.rts",
"/sksl/errors/ReservedNameThis.rts",
"/sksl/errors/ReservedNameTypedef.rts",
"/sksl/errors/ReservedNameUnion.rts",
"/sksl/errors/ReservedNameUnsigned.rts",
"/sksl/errors/ReservedNameUsing.rts",
"/sksl/errors/ReservedNameVarying.rts",
"/sksl/errors/ReservedNameVolatile.rts",
"/sksl/errors/ReturnDifferentType.rts",
"/sksl/errors/ReturnFromVoid.rts",
"/sksl/errors/ReturnMissingValue.rts",
"/sksl/errors/ReturnTypeMismatch.rts",
"/sksl/errors/SelfReferentialInitializerExpression.rts",
"/sksl/errors/SpuriousFloat.rts",
"/sksl/errors/StaticIfTest.sksl",
"/sksl/errors/StaticSwitchConditionalBreak.sksl",
"/sksl/errors/StaticSwitchTest.sksl",
"/sksl/errors/StaticSwitchWithConditionalBreak.sksl",
"/sksl/errors/StaticSwitchWithConditionalContinue.sksl",
"/sksl/errors/StaticSwitchWithConditionalReturn.sksl",
"/sksl/errors/StructMemberReservedName.rts",
"/sksl/errors/StructNameWithoutIdentifier.rts",
"/sksl/errors/StructTooDeeplyNested.rts",
"/sksl/errors/StructVariableReservedName.rts",
"/sksl/errors/SwitchDuplicateCase.rts",
"/sksl/errors/SwitchDuplicateDefault.rts",
"/sksl/errors/SwitchTypes.rts",
"/sksl/errors/SwitchWithContinueInside.sksl",
"/sksl/errors/SwizzleConstantOutput.rts",
"/sksl/errors/SwizzleDomain.rts",
"/sksl/errors/SwizzleMatrix.rts",
"/sksl/errors/SwizzleOnlyLiterals.rts",
"/sksl/errors/SwizzleOutOfBounds.rts",
"/sksl/errors/SwizzleTooManyComponents.rts",
"/sksl/errors/TernaryMismatch.rts",
"/sksl/errors/UnassignedOutParameter.rts",
"/sksl/errors/UndeclaredFunction.rts",
"/sksl/errors/UndefinedFunction.rts",
"/sksl/errors/UndefinedSymbol.rts",
"/sksl/errors/UniformVarWithInitializerExpression.rts",
"/sksl/errors/UnknownDivideByZero.sksl",
"/sksl/errors/UnscopedVariableInDoWhile.sksl",
"/sksl/errors/UnscopedVariableInElse.rts",
"/sksl/errors/UnscopedVariableInFor.rts",
"/sksl/errors/UnscopedVariableInIf.rts",
"/sksl/errors/UnscopedVariableInWhile.sksl",
"/sksl/errors/UnsupportedGLSLIdentifiers.rts",
"/sksl/errors/UsingInvalidValue.rts",
"/sksl/errors/VectorIndexOutOfRange.rts",
"/sksl/errors/VectorInlinedIndexOutOfRange.sksl",
"/sksl/errors/VectorSlice.rts",
"/sksl/errors/VertexEarlyReturn.vert",
"/sksl/errors/VoidConstructor.rts",
"/sksl/errors/VoidInStruct.rts",
"/sksl/errors/VoidVariable.rts",
"/sksl/errors/WhileTypeMismatch.sksl",
]
sksl_glsl_tests = [
"/sksl/glsl/ForceHighPrecision.sksl",
"/sksl/glsl/IncompleteShortIntPrecision.sksl",
"/sksl/glsl/LastFragColor.sksl",
"/sksl/glsl/LastFragColorWithoutCaps.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/compute/ArrayAdd.compute",
"/sksl/compute/Uniforms.compute",
"/sksl/compute/Desaturate.compute",
"/sksl/compute/DesaturateFunction.compute",
"/sksl/compute/DesaturateReadWrite.compute",
"/sksl/compute/MatrixMultiply.compute",
"/sksl/compute/Raytrace.compute",
"/sksl/compute/Threadgroup.compute",
"/sksl/errors/InvalidInOutType.compute",
"/sksl/errors/InvalidMainParameters.compute",
"/sksl/errors/InvalidMainReturn.compute",
"/sksl/errors/InvalidUnsizedArray.compute",
"/sksl/metal/CastHalf4ToMat2x2.sksl",
"/sksl/metal/CastMat2x2ToMat3x3.sksl",
"/sksl/metal/CastMat2x3ToMat4x4.sksl",
"/sksl/metal/CastMat4x4ToMat3x4.sksl",
"/sksl/metal/CastMat4x4ToMat4x3.sksl",
"/sksl/metal/NumericGlobals.sksl",
"/sksl/metal/OpaqueTypeInInterfaceBlock.sksl",
"/sksl/metal/OpaqueTypeInStruct.sksl",
"/sksl/metal/Ossfuzz48371.sksl",
"/sksl/metal/OutParams.sksl",
"/sksl/metal/OutVarsRequireLocation.sksl",
"/sksl/metal/SamplerGlobals.sksl",
"/sksl/metal/StorageBuffer.sksl",
"/sksl/metal/StorageBufferVertex.vert",
"/sksl/metal/SwizzleHelper.sksl",
]
sksl_spirv_tests = [
"/sksl/errors/LayoutInInterfaceBlock.sksl",
"/sksl/errors/LayoutInStruct.sksl",
"/sksl/errors/Ossfuzz36850.sksl",
"/sksl/errors/Ossfuzz37469.sksl",
"/sksl/errors/UndefinedFunction.rts",
"/sksl/shared/Switch.sksl",
"/sksl/shared/SwitchDefaultOnly.sksl",
"/sksl/shared/SwitchWithFallthrough.sksl",
"/sksl/shared/SwitchWithLoops.sksl",
"/sksl/spirv/ConstantVectorFromVector.sksl",
"/sksl/spirv/ConstantVectorize.sksl",
"/sksl/spirv/InterfaceBlockPushConstant.sksl",
"/sksl/spirv/LayoutMultipleOf4.sksl",
"/sksl/spirv/LayoutOutOfOrder.sksl",
"/sksl/spirv/OpaqueTypeInArray.sksl",
"/sksl/spirv/Ossfuzz35916.sksl",
"/sksl/spirv/Ossfuzz37627.sksl",
"/sksl/spirv/Ossfuzz44096.sksl",
"/sksl/spirv/UnusedInterfaceBlock.sksl",
"/sksl/workarounds/RewriteMatrixVectorMultiply.sksl",
]
sksl_wgsl_tests = [
"/sksl/wgsl/BuiltinFragmentStageIO.sksl",
"/sksl/wgsl/BuiltinVertexStageIO.vert",
"/sksl/wgsl/MainDoesNotHaveFragCoordParameter.sksl",
"/sksl/wgsl/MainHasFragCoordParameter.sksl",
"/sksl/wgsl/MainHasVoidReturn.sksl",
"/sksl/wgsl/UserDefinedPipelineIO.sksl",
"/sksl/wgsl/VertexPositionOutputIsAlwaysDeclared.vert",
# Shared tests that are supported so far:
"/sksl/shared/HelloWorld.sksl",
"/sksl/shared/InstanceID.vert",
"/sksl/shared/VertexID.vert",
]
sksl_shared_tests = [
"/sksl/intrinsics/AbsFloat.sksl",
"/sksl/intrinsics/AbsInt.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/ClampFloat.sksl",
"/sksl/intrinsics/ClampInt.sksl",
"/sksl/intrinsics/ClampUInt.sksl",
"/sksl/intrinsics/Cos.sksl",
"/sksl/intrinsics/Cosh.sksl",
"/sksl/intrinsics/Cross.sksl",
"/sksl/intrinsics/CrossNoInline.sksl",
"/sksl/intrinsics/Degrees.sksl",
"/sksl/intrinsics/Determinant.sksl",
"/sksl/intrinsics/DFdx.sksl",
"/sksl/intrinsics/DFdy.sksl",
"/sksl/intrinsics/DFdyNoRTFlip.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/MatrixCompMultES2.sksl",
"/sksl/intrinsics/MatrixCompMultES3.sksl",
"/sksl/intrinsics/MaxFloat.sksl",
"/sksl/intrinsics/MaxInt.sksl",
"/sksl/intrinsics/MinFloat.sksl",
"/sksl/intrinsics/MinInt.sksl",
"/sksl/intrinsics/MixBool.sksl",
"/sksl/intrinsics/MixFloat.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/PackHalf2x16.sksl",
"/sksl/intrinsics/PackSnorm2x16.sksl",
"/sksl/intrinsics/PackUnorm2x16.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/SignFloat.sksl",
"/sksl/intrinsics/SignInt.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/ArrayCast.sksl",
"/sksl/shared/ArrayComparison.sksl",
"/sksl/shared/ArrayConstructors.sksl",
"/sksl/shared/ArrayFollowedByScalar.sksl",
"/sksl/shared/ArrayIndexTypes.sksl",
"/sksl/shared/ArrayNarrowingConversions.sksl",
"/sksl/shared/ArrayTypes.sksl",
"/sksl/shared/Assignment.sksl",
"/sksl/shared/Caps.sksl",
"/sksl/shared/CastsRoundTowardZero.sksl",
"/sksl/shared/Clockwise.sksl",
"/sksl/shared/ClockwiseNoRTFlip.sksl",
"/sksl/shared/CommaMixedTypes.sksl",
"/sksl/shared/CommaSideEffects.sksl",
"/sksl/shared/ComplexDelete.sksl",
"/sksl/shared/ConstantIf.sksl",
"/sksl/shared/ConstArray.sksl",
"/sksl/shared/ConstGlobal.sksl",
"/sksl/shared/ConstVariableComparison.sksl",
"/sksl/shared/Control.sksl",
"/sksl/shared/DeadDoWhileLoop.sksl",
"/sksl/shared/DeadIfStatement.sksl",
"/sksl/shared/DeadLoopVariable.sksl",
"/sksl/shared/DeadReturn.sksl",
"/sksl/shared/DeadReturnES3.sksl",
"/sksl/shared/DeadStripFunctions.sksl",
"/sksl/shared/DependentInitializers.sksl",
"/sksl/shared/DerivativesUnused.sksl",
"/sksl/shared/Discard.sksl",
"/sksl/shared/DoubleNegation.sksl",
"/sksl/shared/DoWhileControlFlow.sksl",
"/sksl/shared/EmptyBlocksES2.sksl",
"/sksl/shared/EmptyBlocksES3.sksl",
"/sksl/shared/ForLoopControlFlow.sksl",
"/sksl/shared/ForLoopMultipleInit.sksl",
"/sksl/shared/FragCoords.sksl",
"/sksl/shared/FragCoordsNoRTFlip.sksl",
"/sksl/shared/FunctionAnonymousParameters.sksl",
"/sksl/shared/FunctionArgTypeMatch.sksl",
"/sksl/shared/FunctionPrototype.sksl",
"/sksl/shared/FunctionReturnTypeMatch.sksl",
"/sksl/shared/Functions.sksl",
"/sksl/shared/GaussianBlur.sksl",
"/sksl/shared/GeometricIntrinsics.sksl",
"/sksl/shared/HelloWorld.sksl",
"/sksl/shared/Hex.sksl",
"/sksl/shared/HexUnsigned.sksl",
"/sksl/shared/InoutParameters.sksl",
"/sksl/shared/InoutParamsAreDistinct.sksl",
"/sksl/shared/InstanceID.vert",
"/sksl/shared/IntegerDivisionES3.sksl",
"/sksl/shared/InterfaceBlockBuffer.sksl",
"/sksl/shared/InterfaceBlockNamed.sksl",
"/sksl/shared/InterfaceBlockNamedArray.sksl",
"/sksl/shared/Matrices.sksl",
"/sksl/shared/MatricesNonsquare.sksl",
"/sksl/shared/MatrixConstructorsES2.sksl",
"/sksl/shared/MatrixConstructorsES3.sksl",
"/sksl/shared/MatrixEquality.sksl",
"/sksl/shared/MatrixOpEqualsES3.sksl",
"/sksl/shared/MatrixScalarMath.sksl",
"/sksl/shared/MatrixToVectorCast.sksl",
"/sksl/shared/MultipleAssignments.sksl",
"/sksl/shared/NoFragCoordsPos.vert",
"/sksl/shared/NoFragCoordsPosRT.vert",
"/sksl/shared/NormalizationVert.vert",
"/sksl/shared/NumberCasts.sksl",
"/sksl/shared/NumberConversions.sksl",
"/sksl/shared/Octal.sksl",
"/sksl/shared/Offset.sksl",
"/sksl/shared/OperatorsES2.sksl",
"/sksl/shared/OperatorsES3.sksl",
"/sksl/shared/Ossfuzz26167.sksl",
"/sksl/shared/Ossfuzz26759.sksl",
"/sksl/shared/Ossfuzz28794.sksl",
"/sksl/shared/Ossfuzz28904.sksl",
"/sksl/shared/Ossfuzz29085.sksl",
"/sksl/shared/Ossfuzz29494.sksl",
"/sksl/shared/Ossfuzz36770.sksl",
"/sksl/shared/Ossfuzz36852.sksl",
"/sksl/shared/Ossfuzz37466.sksl",
"/sksl/shared/Ossfuzz37677.sksl",
"/sksl/shared/Ossfuzz37900.sksl",
"/sksl/shared/Ossfuzz41000.sksl",
"/sksl/shared/Ossfuzz50636.sksl",
"/sksl/shared/OutParams.sksl",
"/sksl/shared/OutParamsAreDistinct.sksl",
"/sksl/shared/OutParamsAreDistinctFromGlobal.sksl",
"/sksl/shared/OutParamsTricky.sksl",
"/sksl/shared/Overflow.sksl",
"/sksl/shared/RectangleTexture.sksl",
"/sksl/shared/ResizeMatrix.sksl",
"/sksl/shared/ResizeMatrixNonsquare.sksl",
"/sksl/shared/ReturnBadTypeFromMain.sksl",
"/sksl/shared/ReturnColorFromMain.sksl",
"/sksl/shared/ReturnsValueOnEveryPathES2.sksl",
"/sksl/shared/ReturnsValueOnEveryPathES3.sksl",
"/sksl/shared/SampleLocations.vert",
"/sksl/shared/ScalarConversionConstructorsES2.sksl",
"/sksl/shared/ScalarConversionConstructorsES3.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/StaticSwitchWithContinue.sksl",
"/sksl/shared/StaticSwitchWithFallthroughA.sksl",
"/sksl/shared/StaticSwitchWithFallthroughB.sksl",
"/sksl/shared/StaticSwitchWithStaticConditionalBreak.sksl",
"/sksl/shared/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl",
"/sksl/shared/StructArrayFollowedByScalar.sksl",
"/sksl/shared/StructMaxDepth.sksl",
"/sksl/shared/Structs.sksl",
"/sksl/shared/StructsInFunctions.sksl",
"/sksl/shared/SwitchWithEarlyReturn.sksl",
"/sksl/shared/SwizzleBoolConstants.sksl",
"/sksl/shared/SwizzleByConstantIndex.sksl",
"/sksl/shared/SwizzleByIndex.sksl",
"/sksl/shared/SwizzleConstants.sksl",
"/sksl/shared/SwizzleLTRB.sksl",
"/sksl/shared/SwizzleOpt.sksl",
"/sksl/shared/SwizzleScalar.sksl",
"/sksl/shared/SwizzleScalarBool.sksl",
"/sksl/shared/SwizzleScalarInt.sksl",
"/sksl/shared/TernaryAsLValueEntirelyFoldable.sksl",
"/sksl/shared/TernaryAsLValueFoldableTest.sksl",
"/sksl/shared/TernaryExpression.sksl",
"/sksl/shared/Texture2D.sksl",
"/sksl/shared/TextureSharpen.sksl",
"/sksl/shared/UnaryPositiveNegative.sksl",
"/sksl/shared/UniformArray.sksl",
"/sksl/shared/UniformBuffers.sksl",
"/sksl/shared/UniformMatrixResize.sksl",
"/sksl/shared/UnusedVariables.sksl",
"/sksl/shared/VectorConstructors.sksl",
"/sksl/shared/VectorScalarMath.sksl",
"/sksl/shared/VectorToMatrixCast.sksl",
"/sksl/shared/VertexID.vert",
"/sksl/shared/WhileLoopControlFlow.sksl",
]
sksl_folding_tests = [
"/sksl/folding/ArrayFolding.sksl",
"/sksl/folding/ArraySizeFolding.sksl",
"/sksl/folding/AssignmentOps.sksl",
"/sksl/folding/BoolFolding.sksl",
"/sksl/folding/CastFolding.sksl",
"/sksl/folding/FloatFolding.sksl",
"/sksl/folding/IntFoldingES2.sksl",
"/sksl/folding/IntFoldingES3.sksl",
"/sksl/folding/MatrixFoldingES2.sksl",
"/sksl/folding/MatrixFoldingES3.sksl",
"/sksl/folding/MatrixNoOpFolding.sksl",
"/sksl/folding/MatrixScalarNoOpFolding.sksl",
"/sksl/folding/MatrixVectorNoOpFolding.sksl",
"/sksl/folding/Negation.sksl",
"/sksl/folding/PreserveSideEffects.sksl",
"/sksl/folding/SelfAssignment.sksl",
"/sksl/folding/ShortCircuitBoolFolding.sksl",
"/sksl/folding/StructFieldFolding.sksl",
"/sksl/folding/StructFieldNoFolding.sksl",
"/sksl/folding/SwitchCaseFolding.sksl",
"/sksl/folding/SwizzleFolding.sksl",
"/sksl/folding/TernaryFolding.sksl",
"/sksl/folding/VectorScalarFolding.sksl",
"/sksl/folding/VectorVectorFolding.sksl",
]
sksl_inliner_tests = [
"/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl",
"/sksl/inliner/DoWhileTestCannotBeInlined.sksl",
"/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl",
"/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl",
"/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl",
"/sksl/inliner/ForWithReturnInsideCannotBeInlined.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/InlinerAvoidsVariableNameOverlap.sksl",
"/sksl/inliner/InlinerElidesTempVarForReturnsInsideBlock.sksl",
"/sksl/inliner/InlinerManglesNames.sksl",
"/sksl/inliner/InlinerUsesTempVarForMultipleReturns.sksl",
"/sksl/inliner/InlinerUsesTempVarForReturnsInsideBlockWithVar.sksl",
"/sksl/inliner/InlineThreshold.sksl",
"/sksl/inliner/InlineWithModifiedArgument.sksl",
"/sksl/inliner/InlineWithNestedBigCalls.sksl",
"/sksl/inliner/InlineWithNestedCalls.sksl",
"/sksl/inliner/InlineWithUnmodifiedArgument.sksl",
"/sksl/inliner/InlineWithUnnecessaryBlocks.sksl",
"/sksl/inliner/NoInline.sksl",
"/sksl/inliner/Ossfuzz37994.sksl",
"/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl",
"/sksl/inliner/StaticSwitch.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/TrivialArgumentsInlineDirectlyES3.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/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/Optimizations.sksl",
"/sksl/shared/Switch.sksl",
"/sksl/shared/SwitchDefaultOnly.sksl",
"/sksl/shared/SwitchWithFallthrough.sksl",
"/sksl/shared/SwitchWithLoops.sksl",
"/sksl/shared/SwitchWithLoopsES3.sksl",
"/sksl/workarounds/AbsInt.sksl",
"/sksl/workarounds/BuiltinDeterminantSupport.sksl",
"/sksl/workarounds/BuiltinFMASupport.sksl",
"/sksl/workarounds/BlendGuardedDivide.sksl",
"/sksl/workarounds/FractNegative.sksl",
"/sksl/workarounds/FragCoords.sksl",
"/sksl/workarounds/LoopCondition.sksl",
"/sksl/workarounds/MinAndAbsTogether.sksl",
"/sksl/workarounds/NegatedAtan.sksl",
"/sksl/workarounds/NegatedLdexp.sksl",
"/sksl/workarounds/PowWithConstantExponent.sksl",
"/sksl/workarounds/RewriteDoWhileLoops.sksl",
"/sksl/workarounds/RewriteMatrixComparisons.sksl",
"/sksl/workarounds/RewriteMatrixVectorMultiply.sksl",
"/sksl/workarounds/TernaryShortCircuit.sksl",
]
sksl_rte_tests = [
"/sksl/runtime/AllowNarrowingConversions.rts",
"/sksl/runtime/ArrayIndexing.rts",
"/sksl/runtime/ArrayNarrowingConversions.rts",
"/sksl/runtime/Blend.rtb",
"/sksl/runtime/ChildEffects.rts",
"/sksl/runtime/Commutative.rts",
"/sksl/runtime/ConstPreservation.rts",
"/sksl/runtime/ConversionConstructors.rts",
"/sksl/runtime/GlobalVariables.rts",
"/sksl/runtime/GLSLTypeNames.rts",
"/sksl/runtime/LargeProgram_BlocklessLoops.rts",
"/sksl/runtime/LargeProgram_FlatLoop.rts",
"/sksl/runtime/LargeProgram_Functions.rts",
"/sksl/runtime/LargeProgram_NestedLoops.rts",
"/sksl/runtime/LargeProgram_SplitLoops.rts",
"/sksl/runtime/LargeProgram_StackDepth.rts",
"/sksl/runtime/LargeProgram_ZeroIterFor.rts",
"/sksl/runtime/LoopFloat.rts",
"/sksl/runtime/LoopInt.rts",
"/sksl/runtime/MultipleCallsInOneStatement.rts",
"/sksl/runtime/PrecisionQualifiers.rts",
"/sksl/runtime/QualifierOrder.rts",
"/sksl/runtime/RecursiveComparison_Arrays.rts",
"/sksl/runtime/RecursiveComparison_Structs.rts",
"/sksl/runtime/RecursiveComparison_Types.rts",
"/sksl/runtime/RecursiveComparison_Vectors.rts",
"/sksl/runtime/SampleWithExplicitCoord.rts",
"/sksl/runtime/Switch.rts",
"/sksl/runtime/SwitchDefaultOnly.rts",
"/sksl/runtime/SwitchWithFallthrough.rts",
"/sksl/runtime/SwitchWithLoops.rts",
"/sksl/runtime/VectorIndexing.rts",
]
sksl_rte_error_tests = [
"/sksl/runtime_errors/DerivativesES2.rts",
"/sksl/runtime_errors/ES3Types.rts",
"/sksl/runtime_errors/FirstClassArrays.rts",
"/sksl/runtime_errors/IllegalArrayOps.rts",
"/sksl/runtime_errors/IllegalIndexing.rts",
"/sksl/runtime_errors/IllegalLayoutFlags.rts",
"/sksl/runtime_errors/IllegalModifiers.rts",
"/sksl/runtime_errors/IllegalOperators.rts",
"/sksl/runtime_errors/IllegalPrecisionQualifiers.rts",
"/sksl/runtime_errors/IllegalShaderSampling.rts",
"/sksl/runtime_errors/IllegalShaderUse.rts",
"/sksl/runtime_errors/IllegalStatements.rts",
"/sksl/runtime_errors/InvalidBlendMain.rtb",
"/sksl/runtime_errors/InvalidColorFilterFeatures.rtcf",
"/sksl/runtime_errors/InvalidColorFilterMain.rtcf",
"/sksl/runtime_errors/InvalidShaderMain.rts",
"/sksl/runtime_errors/InvalidUniformTypes.rts",
"/sksl/runtime_errors/InvalidUniformTypesES3.rts",
"/sksl/runtime_errors/LoopConditionErrors.rts",
"/sksl/runtime_errors/LoopExpressionErrors.rts",
"/sksl/runtime_errors/LoopInitializerErrors.rts",
"/sksl/runtime_errors/LoopStructureErrors.rts",
"/sksl/runtime_errors/Ossfuzz36655.rts",
"/sksl/runtime_errors/Ossfuzz38131.rts",
"/sksl/runtime_errors/Ossfuzz45279.rts",
"/sksl/runtime_errors/PrivateRTShader.rts",
"/sksl/runtime_errors/ProgramTooLarge_BlocklessLoops.rts",
"/sksl/runtime_errors/ProgramTooLarge_Extreme.rts",
"/sksl/runtime_errors/ProgramTooLarge_FlatLoop.rts",
"/sksl/runtime_errors/ProgramTooLarge_Functions.rts",
"/sksl/runtime_errors/ProgramTooLarge_NestedLoops.rts",
"/sksl/runtime_errors/ProgramTooLarge_SplitLoops.rts",
"/sksl/runtime_errors/ProgramTooLarge_StackDepth.rts",
"/sksl/runtime_errors/ReservedNameSampler.rts",
"/sksl/runtime_errors/ReservedNameSampler1D.rts",
"/sksl/runtime_errors/ReservedNameSampler2D.rts",
"/sksl/runtime_errors/ReservedNameSampler2DRect.rts",
"/sksl/runtime_errors/ReservedNameSampler3D.rts",
"/sksl/runtime_errors/ReservedNameSamplerExternalOES.rts",
"/sksl/runtime_errors/ReservedNameSubpassInput.rts",
"/sksl/runtime_errors/ReservedNameSubpassInputMS.rts",
"/sksl/runtime_errors/ReservedNameTexture2D.rts",
"/sksl/runtime_errors/TypeAliases.rts",
"/sksl/runtime_errors/UnsupportedExtension.rts",
"/sksl/runtime_errors/UnsupportedTypeFragmentProcessor.rts",
"/sksl/runtime_errors/UnsupportedTypeSampler.rts",
"/sksl/runtime_errors/UnsupportedTypeTexture.rts",
]
# 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_wgsl_tests_sources will be compiled with --settings on, and are expected to generate
# a .wgsl output file.
# TODO(skia:13092): WGSL support is WIP and the test sources added here are copies of a subset of
# shared test sources to track development progress. Eventually we want this to at a minimum equal
# sksl_shared_tests.
sksl_wgsl_tests_sources = sksl_wgsl_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
## Tests in sksl_stage_tests_sources will be compiled with --settings on, and are expected to
## generate a .stage output file.
sksl_stage_tests_sources = sksl_rte_tests