2020-09-14 14:21:44 +00:00
|
|
|
# Copyright 2020 Google LLC
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
2020-09-24 20:42:09 +00:00
|
|
|
sksl_error_tests = [
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArgumentCountMismatch.rts",
|
|
|
|
"/sksl/errors/ArgumentMismatch.rts",
|
|
|
|
"/sksl/errors/ArgumentModifiers.rts",
|
2021-02-03 20:11:18 +00:00
|
|
|
"/sksl/errors/ArrayConstructorElementCount.sksl",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayIndexOutOfRange.rts",
|
2021-11-10 14:58:32 +00:00
|
|
|
"/sksl/errors/ArrayInlinedIndexOutOfRange.sksl",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/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",
|
2022-06-03 17:39:06 +00:00
|
|
|
"/sksl/errors/ArrayTooManyDimensionsUnsized1.rts",
|
|
|
|
"/sksl/errors/ArrayTooManyDimensionsUnsized2.rts",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInFuncBody.rts",
|
2022-06-03 17:39:06 +00:00
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInFuncBodyUnsized1.rts",
|
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInFuncBodyUnsized2.rts",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInFuncDecl.rts",
|
2022-06-03 17:39:06 +00:00
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInFuncDeclUnsized1.rts",
|
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInFuncDeclUnsized2.rts",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInStruct.rts",
|
2022-06-03 17:39:06 +00:00
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInStructUnsized1.rts",
|
|
|
|
"/sksl/errors/ArrayTooManyDimensionsInStructUnsized2.rts",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensions.rts",
|
2022-06-03 17:39:06 +00:00
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsUnsized1.rts",
|
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsUnsized2.rts",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncBody.rts",
|
2022-06-03 17:39:06 +00:00
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncBodyUnsized1.rts",
|
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncBodyUnsized2.rts",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncDecl.rts",
|
2022-06-03 17:39:06 +00:00
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncDeclUnsized1.rts",
|
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInFuncDeclUnsized2.rts",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInStruct.rts",
|
2022-06-03 17:39:06 +00:00
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInStructUnsized1.rts",
|
|
|
|
"/sksl/errors/ArrayTypeTooManyDimensionsInStructUnsized2.rts",
|
2022-03-21 14:56:03 +00:00
|
|
|
"/sksl/errors/ArrayUnspecifiedDimensions.rts",
|
|
|
|
"/sksl/errors/AssignmentTypeMismatch.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/BadCaps.sksl",
|
2022-03-21 16:03:15 +00:00
|
|
|
"/sksl/errors/BadConstInitializers.rts",
|
|
|
|
"/sksl/errors/BadFieldAccess.rts",
|
|
|
|
"/sksl/errors/BadIndex.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/BadModifiers.sksl",
|
2022-03-21 16:03:15 +00:00
|
|
|
"/sksl/errors/BadOctal.rts",
|
|
|
|
"/sksl/errors/BinaryInvalidType.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/BinaryTypeCoercion.sksl",
|
2022-03-21 16:03:15 +00:00
|
|
|
"/sksl/errors/BinaryTypeMismatch.rts",
|
|
|
|
"/sksl/errors/BitShiftFloat.rts",
|
|
|
|
"/sksl/errors/BitShiftFloatMatrix.rts",
|
|
|
|
"/sksl/errors/BitShiftFloatVector.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/BooleanArithmetic.sksl",
|
2022-03-21 16:03:15 +00:00
|
|
|
"/sksl/errors/BreakOutsideLoop.rts",
|
2022-07-11 17:29:15 +00:00
|
|
|
"/sksl/errors/CallMain.rts",
|
2022-03-21 21:42:49 +00:00
|
|
|
"/sksl/errors/CallNonFunction.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/CanExitWithoutReturningValue.sksl",
|
2022-05-11 22:14:13 +00:00
|
|
|
"/sksl/errors/CommasAsConstantExpressions.rts",
|
2022-03-21 21:42:49 +00:00
|
|
|
"/sksl/errors/ComparisonDimensional.rts",
|
|
|
|
"/sksl/errors/ConstructorArgumentCount.rts",
|
|
|
|
"/sksl/errors/ConstructorTypeMismatch.rts",
|
|
|
|
"/sksl/errors/ContinueOutsideLoop.rts",
|
|
|
|
"/sksl/errors/DivideByZero.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/DoTypeMismatch.sksl",
|
2022-03-21 21:42:49 +00:00
|
|
|
"/sksl/errors/DuplicateFunction.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/DuplicateOutput.sksl",
|
2022-03-21 21:42:49 +00:00
|
|
|
"/sksl/errors/DuplicateSymbol.rts",
|
|
|
|
"/sksl/errors/EmptyArray.rts",
|
|
|
|
"/sksl/errors/EmptyStruct.rts",
|
|
|
|
"/sksl/errors/ErrorsInDeadCode.rts",
|
|
|
|
"/sksl/errors/FloatRemainder.rts",
|
2021-04-19 18:56:49 +00:00
|
|
|
"/sksl/errors/ForInitStmt.sksl",
|
2022-03-21 21:42:49 +00:00
|
|
|
"/sksl/errors/ForTypeMismatch.rts",
|
|
|
|
"/sksl/errors/FunctionParameterOfVoid.rts",
|
|
|
|
"/sksl/errors/GenericArgumentMismatch.rts",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/sksl/errors/IfTypeMismatch.rts",
|
2022-04-28 19:24:42 +00:00
|
|
|
"/sksl/errors/IllegalRecursionComplex.rts",
|
|
|
|
"/sksl/errors/IllegalRecursionMutual.rts",
|
|
|
|
"/sksl/errors/IllegalRecursionSimple.rts",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/sksl/errors/IncompleteExpression.rts",
|
|
|
|
"/sksl/errors/IncompleteFunctionCall.rts",
|
2021-12-28 19:58:36 +00:00
|
|
|
"/sksl/errors/InterfaceBlockMemberReservedName.sksl",
|
2022-03-22 13:23:32 +00:00
|
|
|
"/sksl/errors/InterfaceBlockPrivateType.sksl",
|
2021-12-28 18:46:27 +00:00
|
|
|
"/sksl/errors/InterfaceBlockReservedName.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/InterfaceBlockScope.sksl",
|
|
|
|
"/sksl/errors/InterfaceBlockStorageModifiers.sksl",
|
|
|
|
"/sksl/errors/InterfaceBlockWithNoMembers.sksl",
|
2021-08-27 16:37:27 +00:00
|
|
|
"/sksl/errors/IntrinsicInGlobalVariable.sksl",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/sksl/errors/InvalidAssignment.rts",
|
2022-07-11 14:58:24 +00:00
|
|
|
"/sksl/errors/InvalidExtensionDirective.sksl",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/sksl/errors/InvalidOutParams.rts",
|
2022-06-29 17:26:16 +00:00
|
|
|
"/sksl/errors/InvalidThreadgroupCompute.compute",
|
|
|
|
"/sksl/errors/InvalidThreadgroupRTS.rts",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/sksl/errors/InvalidToken.rts",
|
|
|
|
"/sksl/errors/InvalidUnary.rts",
|
2022-05-20 17:49:37 +00:00
|
|
|
"/sksl/errors/InvalidUniformTypes.sksl",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/sksl/errors/InVarWithInitializerExpression.sksl",
|
2022-07-11 14:58:24 +00:00
|
|
|
"/sksl/errors/InvalidVersionDirective.sksl",
|
2021-02-26 16:52:59 +00:00
|
|
|
"/sksl/errors/LayoutInFunctions.sksl",
|
2021-11-24 19:12:41 +00:00
|
|
|
"/sksl/errors/LayoutInInterfaceBlock.sksl",
|
|
|
|
"/sksl/errors/LayoutInStruct.sksl",
|
2021-02-23 17:54:22 +00:00
|
|
|
"/sksl/errors/LayoutRepeatedQualifiers.sksl",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/sksl/errors/MatrixIndexOutOfRange.rts",
|
|
|
|
"/sksl/errors/MatrixIndexOutOfRangeES3.sksl",
|
2021-11-10 19:02:18 +00:00
|
|
|
"/sksl/errors/MatrixInlinedIndexOutOfRange.sksl",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/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/MultipleFields.rts",
|
2022-01-07 15:05:55 +00:00
|
|
|
"/sksl/errors/MultipleFieldsInInterfaceBlocks.sksl",
|
2021-08-13 03:06:24 +00:00
|
|
|
"/sksl/errors/NoES3ModifierInUserCode.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/OpaqueTypeAssignment.sksl",
|
|
|
|
"/sksl/errors/OpaqueTypeConstruction.sksl",
|
|
|
|
"/sksl/errors/OpaqueTypeInArray.sksl",
|
|
|
|
"/sksl/errors/OpaqueTypeInInterfaceBlock.sksl",
|
|
|
|
"/sksl/errors/OpaqueTypeInStruct.sksl",
|
2022-03-22 13:23:32 +00:00
|
|
|
"/sksl/errors/OpenArray.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/Ossfuzz26700.sksl",
|
2021-02-26 16:32:06 +00:00
|
|
|
"/sksl/errors/Ossfuzz27614.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/Ossfuzz27650.sksl",
|
|
|
|
"/sksl/errors/Ossfuzz27663.sksl",
|
2021-04-09 21:20:35 +00:00
|
|
|
"/sksl/errors/Ossfuzz28050.sksl",
|
|
|
|
"/sksl/errors/Ossfuzz29444.sksl",
|
2021-01-25 18:49:05 +00:00
|
|
|
"/sksl/errors/Ossfuzz29845.sksl",
|
2021-01-26 15:13:58 +00:00
|
|
|
"/sksl/errors/Ossfuzz29849.sksl",
|
2021-02-26 16:32:06 +00:00
|
|
|
"/sksl/errors/Ossfuzz31410.sksl",
|
2021-03-01 15:08:08 +00:00
|
|
|
"/sksl/errors/Ossfuzz31469.sksl",
|
2021-05-29 15:23:07 +00:00
|
|
|
"/sksl/errors/Ossfuzz32156.sksl",
|
2021-03-29 13:38:59 +00:00
|
|
|
"/sksl/errors/Ossfuzz32587.sksl",
|
2021-04-05 18:45:14 +00:00
|
|
|
"/sksl/errors/Ossfuzz32851.sksl",
|
2021-08-21 21:13:11 +00:00
|
|
|
"/sksl/errors/Ossfuzz37457.sksl",
|
2021-08-23 17:52:17 +00:00
|
|
|
"/sksl/errors/Ossfuzz37465.sksl",
|
2021-08-25 16:09:16 +00:00
|
|
|
"/sksl/errors/Ossfuzz37620.sksl",
|
2021-09-09 13:32:13 +00:00
|
|
|
"/sksl/errors/Ossfuzz38106.sksl",
|
2021-09-10 17:57:48 +00:00
|
|
|
"/sksl/errors/Ossfuzz38107.sksl",
|
2021-09-17 20:10:29 +00:00
|
|
|
"/sksl/errors/Ossfuzz38108.sksl",
|
2021-09-10 15:57:46 +00:00
|
|
|
"/sksl/errors/Ossfuzz38140.sksl",
|
2021-09-13 12:55:40 +00:00
|
|
|
"/sksl/errors/Ossfuzz38560.sksl",
|
2021-09-17 16:52:55 +00:00
|
|
|
"/sksl/errors/Ossfuzz38865.sksl",
|
2021-09-20 14:18:58 +00:00
|
|
|
"/sksl/errors/Ossfuzz38944.sksl",
|
2021-09-21 13:18:47 +00:00
|
|
|
"/sksl/errors/Ossfuzz39000.sksl",
|
2021-10-28 15:27:36 +00:00
|
|
|
"/sksl/errors/Ossfuzz40427.sksl",
|
2021-10-28 15:57:16 +00:00
|
|
|
"/sksl/errors/Ossfuzz40428.sksl",
|
2021-10-29 18:28:32 +00:00
|
|
|
"/sksl/errors/Ossfuzz40479.sksl",
|
2021-11-03 14:15:18 +00:00
|
|
|
"/sksl/errors/Ossfuzz40660.sksl",
|
2022-01-25 15:48:01 +00:00
|
|
|
"/sksl/errors/Ossfuzz44045.sksl",
|
2022-02-11 13:36:33 +00:00
|
|
|
"/sksl/errors/Ossfuzz44551.sksl",
|
2022-02-11 13:37:03 +00:00
|
|
|
"/sksl/errors/Ossfuzz44555.sksl",
|
|
|
|
"/sksl/errors/Ossfuzz44557.sksl",
|
|
|
|
"/sksl/errors/Ossfuzz44559.sksl",
|
|
|
|
"/sksl/errors/Ossfuzz44561.sksl",
|
|
|
|
"/sksl/errors/Ossfuzz44565.sksl",
|
2022-06-10 13:20:38 +00:00
|
|
|
"/sksl/errors/Ossfuzz47935.sksl",
|
2022-07-06 13:38:41 +00:00
|
|
|
"/sksl/errors/Ossfuzz48592.sksl",
|
2022-03-22 13:23:32 +00:00
|
|
|
"/sksl/errors/OverflowFloatLiteral.rts",
|
2022-07-06 19:53:36 +00:00
|
|
|
"/sksl/errors/OverflowFloatIntrinsic.sksl",
|
2021-11-02 13:49:02 +00:00
|
|
|
"/sksl/errors/OverflowInlinedLiteral.sksl",
|
2022-03-22 13:23:32 +00:00
|
|
|
"/sksl/errors/OverflowInt64Literal.rts",
|
|
|
|
"/sksl/errors/OverflowIntLiteral.rts",
|
|
|
|
"/sksl/errors/OverflowParamArraySize.rts",
|
|
|
|
"/sksl/errors/OverflowShortLiteral.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/OverflowUintLiteral.sksl",
|
2022-03-22 13:06:12 +00:00
|
|
|
"/sksl/errors/PrecisionQualifiersDisallowed.sksl",
|
2022-03-22 13:23:32 +00:00
|
|
|
"/sksl/errors/PrivateTypes.rts",
|
|
|
|
"/sksl/errors/PrivateVariables.rts",
|
|
|
|
"/sksl/errors/ProgramTooLarge_Globals.rts",
|
|
|
|
"/sksl/errors/ProgramTooLarge_Stack.rts",
|
|
|
|
"/sksl/errors/PrototypeInFuncBody.rts",
|
2022-03-22 13:50:45 +00:00
|
|
|
"/sksl/errors/RedeclareBasicType.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/RedeclareSamplerType.sksl",
|
2022-03-22 13:50:45 +00:00
|
|
|
"/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",
|
2022-03-22 14:32:16 +00:00
|
|
|
"/sksl/errors/SelfReferentialInitializerExpression.rts",
|
|
|
|
"/sksl/errors/SpuriousFloat.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/StaticIfTest.sksl",
|
|
|
|
"/sksl/errors/StaticSwitchConditionalBreak.sksl",
|
|
|
|
"/sksl/errors/StaticSwitchTest.sksl",
|
2021-02-23 14:58:04 +00:00
|
|
|
"/sksl/errors/StaticSwitchWithConditionalBreak.sksl",
|
|
|
|
"/sksl/errors/StaticSwitchWithConditionalContinue.sksl",
|
|
|
|
"/sksl/errors/StaticSwitchWithConditionalReturn.sksl",
|
2022-03-22 14:32:16 +00:00
|
|
|
"/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",
|
2021-09-21 18:36:34 +00:00
|
|
|
"/sksl/errors/SwitchWithContinueInside.sksl",
|
2022-03-22 14:32:16 +00:00
|
|
|
"/sksl/errors/SwizzleConstantOutput.rts",
|
|
|
|
"/sksl/errors/SwizzleDomain.rts",
|
|
|
|
"/sksl/errors/SwizzleMatrix.rts",
|
|
|
|
"/sksl/errors/SwizzleOnlyLiterals.rts",
|
|
|
|
"/sksl/errors/SwizzleOutOfBounds.rts",
|
|
|
|
"/sksl/errors/SwizzleTooManyComponents.rts",
|
2022-03-22 19:09:15 +00:00
|
|
|
"/sksl/errors/TernaryMismatch.rts",
|
|
|
|
"/sksl/errors/UnassignedOutParameter.rts",
|
|
|
|
"/sksl/errors/UndeclaredFunction.rts",
|
|
|
|
"/sksl/errors/UndefinedFunction.rts",
|
|
|
|
"/sksl/errors/UndefinedSymbol.rts",
|
|
|
|
"/sksl/errors/UniformVarWithInitializerExpression.rts",
|
2021-02-05 21:21:10 +00:00
|
|
|
"/sksl/errors/UnknownDivideByZero.sksl",
|
2021-01-26 15:13:58 +00:00
|
|
|
"/sksl/errors/UnscopedVariableInDoWhile.sksl",
|
2022-03-22 19:09:15 +00:00
|
|
|
"/sksl/errors/UnscopedVariableInElse.rts",
|
|
|
|
"/sksl/errors/UnscopedVariableInFor.rts",
|
|
|
|
"/sksl/errors/UnscopedVariableInIf.rts",
|
2021-01-26 15:13:58 +00:00
|
|
|
"/sksl/errors/UnscopedVariableInWhile.sksl",
|
2022-03-22 19:09:15 +00:00
|
|
|
"/sksl/errors/UnsupportedGLSLIdentifiers.rts",
|
|
|
|
"/sksl/errors/UsingInvalidValue.rts",
|
|
|
|
"/sksl/errors/VectorIndexOutOfRange.rts",
|
2021-11-10 14:58:32 +00:00
|
|
|
"/sksl/errors/VectorInlinedIndexOutOfRange.sksl",
|
2022-03-22 19:09:15 +00:00
|
|
|
"/sksl/errors/VectorSlice.rts",
|
2021-08-27 16:42:45 +00:00
|
|
|
"/sksl/errors/VertexEarlyReturn.vert",
|
2022-03-22 19:09:15 +00:00
|
|
|
"/sksl/errors/VoidConstructor.rts",
|
|
|
|
"/sksl/errors/VoidInStruct.rts",
|
|
|
|
"/sksl/errors/VoidVariable.rts",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/errors/WhileTypeMismatch.sksl",
|
2020-09-24 20:42:09 +00:00
|
|
|
]
|
|
|
|
|
2020-09-24 21:22:42 +00:00
|
|
|
sksl_glsl_tests = [
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/glsl/ForceHighPrecision.sksl",
|
|
|
|
"/sksl/glsl/IncompleteShortIntPrecision.sksl",
|
2021-09-15 14:28:27 +00:00
|
|
|
"/sksl/glsl/LastFragColor.sksl",
|
2022-02-08 04:25:26 +00:00
|
|
|
"/sksl/glsl/LastFragColorWithoutCaps.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2020-09-24 21:22:42 +00:00
|
|
|
]
|
|
|
|
|
2020-11-13 23:14:11 +00:00
|
|
|
sksl_metal_tests = [
|
2022-06-15 18:10:13 +00:00
|
|
|
"/sksl/compute/ArrayAdd.compute",
|
|
|
|
"/sksl/compute/Desaturate.compute",
|
|
|
|
"/sksl/compute/DesaturateReadWrite.compute",
|
|
|
|
"/sksl/compute/MatrixMultiply.compute",
|
|
|
|
"/sksl/compute/Raytrace.compute",
|
2022-06-29 17:26:16 +00:00
|
|
|
"/sksl/compute/Threadgroup.compute",
|
2022-06-15 18:10:13 +00:00
|
|
|
"/sksl/errors/DuplicateBinding.compute",
|
|
|
|
"/sksl/errors/ComputeUniform.compute",
|
|
|
|
"/sksl/errors/InvalidInOutType.compute",
|
|
|
|
"/sksl/errors/InvalidMainParameters.compute",
|
|
|
|
"/sksl/errors/InvalidMainReturn.compute",
|
|
|
|
"/sksl/errors/UnspecifiedBinding.compute",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2022-06-29 19:03:50 +00:00
|
|
|
"/sksl/metal/Ossfuzz48371.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/metal/OutParams.sksl",
|
|
|
|
"/sksl/metal/OutVarsRequireLocation.sksl",
|
|
|
|
"/sksl/metal/SamplerGlobals.sksl",
|
|
|
|
"/sksl/metal/SwizzleHelper.sksl",
|
2020-11-13 23:14:11 +00:00
|
|
|
]
|
|
|
|
|
2020-11-25 21:55:37 +00:00
|
|
|
sksl_spirv_tests = [
|
2022-04-26 21:27:39 +00:00
|
|
|
"/sksl/shared/Switch.sksl",
|
|
|
|
"/sksl/shared/SwitchDefaultOnly.sksl",
|
|
|
|
"/sksl/shared/SwitchWithFallthrough.sksl",
|
|
|
|
"/sksl/shared/SwitchWithLoops.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/spirv/ConstantVectorFromVector.sksl",
|
2022-04-07 16:42:03 +00:00
|
|
|
"/sksl/spirv/ConstantVectorize.sksl",
|
2021-01-22 18:41:40 +00:00
|
|
|
"/sksl/spirv/InterfaceBlockPushConstant.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/spirv/LayoutMultipleOf4.sksl",
|
|
|
|
"/sksl/spirv/LayoutOutOfOrder.sksl",
|
|
|
|
"/sksl/spirv/OpaqueTypeInArray.sksl",
|
2021-08-16 18:46:10 +00:00
|
|
|
"/sksl/spirv/Ossfuzz35916.sksl",
|
2021-08-25 16:43:22 +00:00
|
|
|
"/sksl/spirv/Ossfuzz37627.sksl",
|
2022-02-08 04:25:26 +00:00
|
|
|
"/sksl/spirv/Ossfuzz44096.sksl",
|
|
|
|
"/sksl/spirv/UnusedInterfaceBlock.sksl",
|
2021-03-23 21:12:03 +00:00
|
|
|
"/sksl/workarounds/RewriteMatrixVectorMultiply.sksl",
|
2021-11-24 19:12:41 +00:00
|
|
|
"/sksl/errors/LayoutInInterfaceBlock.sksl",
|
|
|
|
"/sksl/errors/LayoutInStruct.sksl",
|
2021-08-05 16:19:35 +00:00
|
|
|
"/sksl/errors/Ossfuzz36850.sksl",
|
2021-08-23 19:40:20 +00:00
|
|
|
"/sksl/errors/Ossfuzz37469.sksl",
|
2022-03-22 19:09:15 +00:00
|
|
|
"/sksl/errors/UndefinedFunction.rts",
|
2020-11-25 21:55:37 +00:00
|
|
|
]
|
|
|
|
|
2022-05-06 22:46:28 +00:00
|
|
|
sksl_wgsl_tests = [
|
2022-05-06 23:07:01 +00:00
|
|
|
"/sksl/wgsl/BuiltinFragmentStageIO.sksl",
|
2022-05-11 16:59:26 +00:00
|
|
|
"/sksl/wgsl/BuiltinVertexStageIO.vert",
|
2022-05-06 23:07:01 +00:00
|
|
|
"/sksl/wgsl/MainHasFragCoordParameter.sksl",
|
|
|
|
"/sksl/wgsl/MainHasVoidReturn.sksl",
|
|
|
|
"/sksl/wgsl/MainDoesNotHaveFragCoordParameter.sksl",
|
2022-05-06 23:01:37 +00:00
|
|
|
"/sksl/wgsl/UserDefinedPipelineIO.sksl",
|
2022-05-06 22:46:28 +00:00
|
|
|
"/sksl/wgsl/VertexPositionOutputIsAlwaysDeclared.vert",
|
|
|
|
|
|
|
|
# Shared tests that are supported so far:
|
|
|
|
"/sksl/shared/HelloWorld.sksl",
|
2022-05-06 23:07:01 +00:00
|
|
|
"/sksl/shared/InstanceID.vert",
|
|
|
|
"/sksl/shared/VertexID.vert",
|
2022-05-06 22:46:28 +00:00
|
|
|
]
|
2022-04-02 03:04:51 +00:00
|
|
|
|
2022-01-25 04:56:00 +00:00
|
|
|
sksl_shared_tests = [
|
|
|
|
"/sksl/intrinsics/AbsFloat.sksl",
|
|
|
|
"/sksl/intrinsics/AbsInt.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/intrinsics/Acos.sksl",
|
|
|
|
"/sksl/intrinsics/Acosh.sksl",
|
2022-01-25 04:56:00 +00:00
|
|
|
"/sksl/intrinsics/All.sksl",
|
|
|
|
"/sksl/intrinsics/Any.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/intrinsics/Asin.sksl",
|
|
|
|
"/sksl/intrinsics/Asinh.sksl",
|
|
|
|
"/sksl/intrinsics/Atan.sksl",
|
|
|
|
"/sksl/intrinsics/Atanh.sksl",
|
|
|
|
"/sksl/intrinsics/BitCount.sksl",
|
|
|
|
"/sksl/intrinsics/Ceil.sksl",
|
Implement additional Runtime Effect intrinsic tests.
Tested in dm:
- max(halfN, halfN)
- max(halfN, half)
- min(halfN, halfN)
- min(halfN, half)
- clamp(halfN, halfN, halfN)
- clamp(halfN, half, half)
- mix(halfN, halfN, halfN)
- mix(halfN, halfN, half)
Compiled outputs only (not in ES2):
- max(intN, intN)
- max(intN, int)
- min(intN, intN)
- min(intN, int)
- clamp(intN, intN, intN)
- clamp(intN, int, int)
- mix(halfN, halfN, boolN) - broken in Metal/SPIR-V (skia:11222)
- mix(intN, intN, boolN) - broken in Metal/SPIR-V (skia:11222)
Change-Id: Iaafc5429b16d2a8710b9d171ae281c268c0fd70d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/361438
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-01-29 16:51:47 +00:00
|
|
|
"/sksl/intrinsics/ClampFloat.sksl",
|
|
|
|
"/sksl/intrinsics/ClampInt.sksl",
|
2021-11-10 22:20:21 +00:00
|
|
|
"/sksl/intrinsics/ClampUInt.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/intrinsics/Cos.sksl",
|
|
|
|
"/sksl/intrinsics/Cosh.sksl",
|
|
|
|
"/sksl/intrinsics/Cross.sksl",
|
2021-03-22 15:43:11 +00:00
|
|
|
"/sksl/intrinsics/CrossNoInline.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/intrinsics/Degrees.sksl",
|
|
|
|
"/sksl/intrinsics/Determinant.sksl",
|
|
|
|
"/sksl/intrinsics/DFdx.sksl",
|
|
|
|
"/sksl/intrinsics/DFdy.sksl",
|
2022-04-14 20:27:25 +00:00
|
|
|
"/sksl/intrinsics/DFdyNoRTFlip.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2021-09-14 17:09:36 +00:00
|
|
|
"/sksl/intrinsics/MatrixCompMultES2.sksl",
|
|
|
|
"/sksl/intrinsics/MatrixCompMultES3.sksl",
|
Implement additional Runtime Effect intrinsic tests.
Tested in dm:
- max(halfN, halfN)
- max(halfN, half)
- min(halfN, halfN)
- min(halfN, half)
- clamp(halfN, halfN, halfN)
- clamp(halfN, half, half)
- mix(halfN, halfN, halfN)
- mix(halfN, halfN, half)
Compiled outputs only (not in ES2):
- max(intN, intN)
- max(intN, int)
- min(intN, intN)
- min(intN, int)
- clamp(intN, intN, intN)
- clamp(intN, int, int)
- mix(halfN, halfN, boolN) - broken in Metal/SPIR-V (skia:11222)
- mix(intN, intN, boolN) - broken in Metal/SPIR-V (skia:11222)
Change-Id: Iaafc5429b16d2a8710b9d171ae281c268c0fd70d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/361438
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-01-29 16:51:47 +00:00
|
|
|
"/sksl/intrinsics/MaxFloat.sksl",
|
|
|
|
"/sksl/intrinsics/MaxInt.sksl",
|
|
|
|
"/sksl/intrinsics/MinFloat.sksl",
|
|
|
|
"/sksl/intrinsics/MinInt.sksl",
|
|
|
|
"/sksl/intrinsics/MixFloat.sksl",
|
|
|
|
"/sksl/intrinsics/MixBool.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2021-09-09 13:58:42 +00:00
|
|
|
"/sksl/intrinsics/PackUnorm2x16.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2021-01-29 16:44:13 +00:00
|
|
|
"/sksl/intrinsics/SignFloat.sksl",
|
|
|
|
"/sksl/intrinsics/SignInt.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
Add support for array-cast syntax in SkSL.
Compiling a program with "allow narrowing conversions" actually fixes up
narrowing casts in the program by inserting casts wherever they would be
needed for type-correctness. For instance, compiling the statement
`half h = myFloat;`
inserts an appropriate narrowing cast:
`half h = half(myFloat);`.
The Pipeline stage code generator relies on this behavior, as when it
re-emits a runtime effect into a complete SkSL program, the narrowing-
conversions flag will no longer be set, but that is okay, because the
emitted code now contains typecasts anywhere they would be necessary.
Logically, this implies that anything which supports narrowing
conversions must be castable between high and low precision. In GLSL and
SPIR-V, such a cast is trivial, because the types are the same and the
precision qualifiers are treated as individual hints on each variable.
In Metal, we dodge the issue by only emitting full-precision types. But
we also need to emit raw SkSL from an SkSL program (that is what the
Pipeline stage generator does).
SkSL already supported every typical cast, but GLSL lacked any syntax
for casting an array to a different type. This meant SkSL had no array
casting syntax as well. SkSL now has array-cast syntax, but it is only
allowed for casting low/high-precision arrays to the same base type.
(You can't cast an int array to float, or a signed array to unsigned.)
Change-Id: Ia20933541c3bd4a946c1ea38209f93008acdb9cb
Bug: skia:12248
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/437687
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-08-10 20:03:44 +00:00
|
|
|
"/sksl/shared/ArrayCast.sksl",
|
2021-04-09 03:30:51 +00:00
|
|
|
"/sksl/shared/ArrayComparison.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/ArrayConstructors.sksl",
|
2021-08-25 15:54:16 +00:00
|
|
|
"/sksl/shared/ArrayFollowedByScalar.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/ArrayIndexTypes.sksl",
|
2021-08-04 17:27:05 +00:00
|
|
|
"/sksl/shared/ArrayNarrowingConversions.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/ArrayTypes.sksl",
|
|
|
|
"/sksl/shared/Assignment.sksl",
|
|
|
|
"/sksl/shared/Caps.sksl",
|
|
|
|
"/sksl/shared/CastsRoundTowardZero.sksl",
|
|
|
|
"/sksl/shared/Clockwise.sksl",
|
2022-04-14 20:27:25 +00:00
|
|
|
"/sksl/shared/ClockwiseNoRTFlip.sksl",
|
2021-02-02 18:58:42 +00:00
|
|
|
"/sksl/shared/CommaMixedTypes.sksl",
|
2021-01-30 16:06:18 +00:00
|
|
|
"/sksl/shared/CommaSideEffects.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2021-05-17 18:46:05 +00:00
|
|
|
"/sksl/shared/DeadReturn.sksl",
|
2021-05-20 18:38:40 +00:00
|
|
|
"/sksl/shared/DeadReturnES3.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/DeadStripFunctions.sksl",
|
|
|
|
"/sksl/shared/DependentInitializers.sksl",
|
|
|
|
"/sksl/shared/DerivativesUnused.sksl",
|
|
|
|
"/sksl/shared/Discard.sksl",
|
2022-04-05 13:50:27 +00:00
|
|
|
"/sksl/shared/DoubleNegation.sksl",
|
2021-01-26 15:37:41 +00:00
|
|
|
"/sksl/shared/DoWhileControlFlow.sksl",
|
2021-02-01 16:52:10 +00:00
|
|
|
"/sksl/shared/EmptyBlocksES2.sksl",
|
|
|
|
"/sksl/shared/EmptyBlocksES3.sksl",
|
2021-01-26 16:06:42 +00:00
|
|
|
"/sksl/shared/ForLoopControlFlow.sksl",
|
2021-04-14 19:05:49 +00:00
|
|
|
"/sksl/shared/ForLoopMultipleInit.sksl",
|
2021-07-07 13:41:17 +00:00
|
|
|
"/sksl/shared/FragCoords.sksl",
|
2022-04-14 20:27:25 +00:00
|
|
|
"/sksl/shared/FragCoordsNoRTFlip.sksl",
|
2021-12-28 19:33:45 +00:00
|
|
|
"/sksl/shared/FunctionAnonymousParameters.sksl",
|
2021-02-01 21:36:13 +00:00
|
|
|
"/sksl/shared/FunctionArgTypeMatch.sksl",
|
|
|
|
"/sksl/shared/FunctionReturnTypeMatch.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/FunctionPrototype.sksl",
|
|
|
|
"/sksl/shared/Functions.sksl",
|
|
|
|
"/sksl/shared/GaussianBlur.sksl",
|
|
|
|
"/sksl/shared/GeometricIntrinsics.sksl",
|
|
|
|
"/sksl/shared/HelloWorld.sksl",
|
|
|
|
"/sksl/shared/Hex.sksl",
|
2021-02-03 22:44:47 +00:00
|
|
|
"/sksl/shared/HexUnsigned.sksl",
|
2022-01-25 20:54:24 +00:00
|
|
|
"/sksl/shared/InoutParameters.sksl",
|
2022-03-30 18:07:20 +00:00
|
|
|
"/sksl/shared/InoutParamsAreDistinct.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/InstanceID.vert",
|
|
|
|
"/sksl/shared/InterfaceBlockNamed.sksl",
|
2021-01-28 16:47:29 +00:00
|
|
|
"/sksl/shared/InterfaceBlockNamedArray.sksl",
|
2021-02-03 18:03:29 +00:00
|
|
|
"/sksl/shared/Matrices.sksl",
|
|
|
|
"/sksl/shared/MatricesNonsquare.sksl",
|
2021-10-14 00:01:15 +00:00
|
|
|
"/sksl/shared/MatrixConstructorsES2.sksl",
|
|
|
|
"/sksl/shared/MatrixConstructorsES3.sksl",
|
2021-02-10 17:21:51 +00:00
|
|
|
"/sksl/shared/MatrixEquality.sksl",
|
2022-01-13 18:53:00 +00:00
|
|
|
"/sksl/shared/MatrixScalarMath.sksl",
|
2021-07-08 22:20:21 +00:00
|
|
|
"/sksl/shared/MatrixToVectorCast.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/MultipleAssignments.sksl",
|
|
|
|
"/sksl/shared/NoFragCoordsPos.vert",
|
|
|
|
"/sksl/shared/NoFragCoordsPosRT.vert",
|
|
|
|
"/sksl/shared/NormalizationVert.vert",
|
|
|
|
"/sksl/shared/NumberCasts.sksl",
|
|
|
|
"/sksl/shared/NumberConversions.sksl",
|
2021-11-16 13:14:54 +00:00
|
|
|
"/sksl/shared/Octal.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/Offset.sksl",
|
2021-01-30 16:08:13 +00:00
|
|
|
"/sksl/shared/OperatorsES2.sksl",
|
|
|
|
"/sksl/shared/OperatorsES3.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/Ossfuzz26167.sksl",
|
2021-03-22 19:42:16 +00:00
|
|
|
"/sksl/shared/Ossfuzz26759.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/Ossfuzz28794.sksl",
|
|
|
|
"/sksl/shared/Ossfuzz28904.sksl",
|
2021-03-22 19:42:16 +00:00
|
|
|
"/sksl/shared/Ossfuzz29085.sksl",
|
2021-02-01 18:48:50 +00:00
|
|
|
"/sksl/shared/Ossfuzz29494.sksl",
|
2021-08-02 15:56:16 +00:00
|
|
|
"/sksl/shared/Ossfuzz36770.sksl",
|
2021-08-05 15:49:05 +00:00
|
|
|
"/sksl/shared/Ossfuzz36852.sksl",
|
2021-08-24 13:59:34 +00:00
|
|
|
"/sksl/shared/Ossfuzz37466.sksl",
|
2021-08-27 03:34:59 +00:00
|
|
|
"/sksl/shared/Ossfuzz37677.sksl",
|
2021-08-31 18:58:08 +00:00
|
|
|
"/sksl/shared/Ossfuzz37900.sksl",
|
2021-11-15 13:42:15 +00:00
|
|
|
"/sksl/shared/Ossfuzz41000.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/OutParams.sksl",
|
2022-01-31 19:35:08 +00:00
|
|
|
"/sksl/shared/OutParamsAreDistinct.sksl",
|
2022-03-30 18:07:20 +00:00
|
|
|
"/sksl/shared/OutParamsAreDistinctFromGlobal.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/OutParamsTricky.sksl",
|
2021-05-26 20:43:19 +00:00
|
|
|
"/sksl/shared/Overflow.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/RectangleTexture.sksl",
|
|
|
|
"/sksl/shared/ResizeMatrix.sksl",
|
2021-02-05 14:31:21 +00:00
|
|
|
"/sksl/shared/ResizeMatrixNonsquare.sksl",
|
2021-01-27 00:58:22 +00:00
|
|
|
"/sksl/shared/ReturnBadTypeFromMain.sksl",
|
|
|
|
"/sksl/shared/ReturnColorFromMain.sksl",
|
2021-03-04 21:00:20 +00:00
|
|
|
"/sksl/shared/ReturnsValueOnEveryPathES2.sksl",
|
|
|
|
"/sksl/shared/ReturnsValueOnEveryPathES3.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/SampleLocations.vert",
|
2021-02-05 14:31:21 +00:00
|
|
|
"/sksl/shared/ScalarConversionConstructorsES2.sksl",
|
|
|
|
"/sksl/shared/ScalarConversionConstructorsES3.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2021-02-23 14:58:04 +00:00
|
|
|
"/sksl/shared/StaticSwitchWithContinue.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/StaticSwitchWithFallthroughA.sksl",
|
|
|
|
"/sksl/shared/StaticSwitchWithFallthroughB.sksl",
|
|
|
|
"/sksl/shared/StaticSwitchWithStaticConditionalBreak.sksl",
|
|
|
|
"/sksl/shared/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl",
|
2021-08-25 15:54:16 +00:00
|
|
|
"/sksl/shared/StructArrayFollowedByScalar.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/Structs.sksl",
|
2021-01-27 18:53:43 +00:00
|
|
|
"/sksl/shared/StructsInFunctions.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/StructMaxDepth.sksl",
|
2022-07-07 03:26:55 +00:00
|
|
|
"/sksl/shared/SwitchWithEarlyReturn.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/SwizzleBoolConstants.sksl",
|
2021-02-05 21:24:03 +00:00
|
|
|
"/sksl/shared/SwizzleByConstantIndex.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/SwizzleByIndex.sksl",
|
|
|
|
"/sksl/shared/SwizzleConstants.sksl",
|
|
|
|
"/sksl/shared/SwizzleLTRB.sksl",
|
|
|
|
"/sksl/shared/SwizzleOpt.sksl",
|
|
|
|
"/sksl/shared/SwizzleScalar.sksl",
|
2021-07-12 18:59:19 +00:00
|
|
|
"/sksl/shared/SwizzleScalarBool.sksl",
|
|
|
|
"/sksl/shared/SwizzleScalarInt.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/TernaryAsLValueEntirelyFoldable.sksl",
|
|
|
|
"/sksl/shared/TernaryAsLValueFoldableTest.sksl",
|
2021-03-05 20:22:48 +00:00
|
|
|
"/sksl/shared/TernaryExpression.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/Texture1D.sksl",
|
|
|
|
"/sksl/shared/Texture2D.sksl",
|
|
|
|
"/sksl/shared/TextureSharpen.sksl",
|
|
|
|
"/sksl/shared/UnaryPositiveNegative.sksl",
|
|
|
|
"/sksl/shared/UniformArray.sksl",
|
2021-01-28 16:47:29 +00:00
|
|
|
"/sksl/shared/UniformBuffers.sksl",
|
|
|
|
"/sksl/shared/Uniforms.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/UnusedVariables.sksl",
|
|
|
|
"/sksl/shared/VectorConstructors.sksl",
|
2021-03-25 15:43:40 +00:00
|
|
|
"/sksl/shared/VectorScalarMath.sksl",
|
2021-07-08 22:20:21 +00:00
|
|
|
"/sksl/shared/VectorToMatrixCast.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/shared/VertexID.vert",
|
2021-01-26 16:16:34 +00:00
|
|
|
"/sksl/shared/WhileLoopControlFlow.sksl",
|
2020-09-24 20:42:09 +00:00
|
|
|
]
|
|
|
|
|
2021-01-11 16:07:01 +00:00
|
|
|
sksl_folding_tests = [
|
2021-03-31 14:38:45 +00:00
|
|
|
"/sksl/folding/ArrayFolding.sksl",
|
2021-10-12 20:53:24 +00:00
|
|
|
"/sksl/folding/ArraySizeFolding.sksl",
|
2021-02-09 15:38:59 +00:00
|
|
|
"/sksl/folding/AssignmentOps.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/folding/BoolFolding.sksl",
|
2021-05-07 15:16:26 +00:00
|
|
|
"/sksl/folding/CastFolding.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/folding/FloatFolding.sksl",
|
|
|
|
"/sksl/folding/IntFoldingES2.sksl",
|
|
|
|
"/sksl/folding/IntFoldingES3.sksl",
|
|
|
|
"/sksl/folding/MatrixFoldingES2.sksl",
|
|
|
|
"/sksl/folding/MatrixFoldingES3.sksl",
|
2022-03-01 19:39:57 +00:00
|
|
|
"/sksl/folding/Negation.sksl",
|
2022-03-10 17:27:58 +00:00
|
|
|
"/sksl/folding/PreserveSideEffects.sksl",
|
2021-02-10 19:04:24 +00:00
|
|
|
"/sksl/folding/SelfAssignment.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/folding/ShortCircuitBoolFolding.sksl",
|
2022-06-06 19:51:19 +00:00
|
|
|
"/sksl/folding/StructFieldFolding.sksl",
|
|
|
|
"/sksl/folding/StructFieldNoFolding.sksl",
|
2021-04-29 15:14:38 +00:00
|
|
|
"/sksl/folding/SwizzleFolding.sksl",
|
2022-01-12 21:36:02 +00:00
|
|
|
"/sksl/folding/SwitchCaseFolding.sksl",
|
2022-04-07 18:36:09 +00:00
|
|
|
"/sksl/folding/TernaryFolding.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/folding/VectorScalarFolding.sksl",
|
|
|
|
"/sksl/folding/VectorVectorFolding.sksl",
|
2021-01-11 16:07:01 +00:00
|
|
|
]
|
|
|
|
|
2020-09-24 20:42:09 +00:00
|
|
|
sksl_inliner_tests = [
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl",
|
|
|
|
"/sksl/inliner/DoWhileTestCannotBeInlined.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/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",
|
2021-03-10 03:14:27 +00:00
|
|
|
"/sksl/inliner/NoInline.sksl",
|
2021-09-07 02:17:58 +00:00
|
|
|
"/sksl/inliner/Ossfuzz37994.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl",
|
2021-02-20 13:00:43 +00:00
|
|
|
"/sksl/inliner/StaticSwitch.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2022-06-06 12:37:34 +00:00
|
|
|
"/sksl/inliner/TrivialArgumentsInlineDirectlyES3.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl",
|
|
|
|
"/sksl/inliner/WhileTestCannotBeInlined.sksl",
|
2020-09-14 20:46:40 +00:00
|
|
|
]
|
2020-09-16 21:46:37 +00:00
|
|
|
|
2020-09-24 20:42:09 +00:00
|
|
|
sksl_blend_tests = [
|
2021-01-22 16:55:48 +00:00
|
|
|
"/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",
|
2020-09-24 20:42:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
sksl_settings_tests = [
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/glsl/TypePrecision.sksl",
|
|
|
|
"/sksl/inliner/ExponentialGrowth.sksl",
|
|
|
|
"/sksl/inliner/InlinerCanBeDisabled.sksl",
|
|
|
|
"/sksl/shared/Derivatives.sksl",
|
2022-05-10 22:49:12 +00:00
|
|
|
"/sksl/shared/Optimizations.sksl",
|
2021-09-25 14:33:00 +00:00
|
|
|
"/sksl/shared/Switch.sksl",
|
|
|
|
"/sksl/shared/SwitchDefaultOnly.sksl",
|
|
|
|
"/sksl/shared/SwitchWithFallthrough.sksl",
|
|
|
|
"/sksl/shared/SwitchWithLoops.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/workarounds/AbsInt.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",
|
2021-06-08 00:51:42 +00:00
|
|
|
"/sksl/workarounds/NegatedLdexp.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/workarounds/PowWithConstantExponent.sksl",
|
|
|
|
"/sksl/workarounds/RewriteDoWhileLoops.sksl",
|
2021-05-21 21:27:57 +00:00
|
|
|
"/sksl/workarounds/RewriteMatrixComparisons.sksl",
|
2021-03-23 21:12:03 +00:00
|
|
|
"/sksl/workarounds/RewriteMatrixVectorMultiply.sksl",
|
2021-01-22 16:55:48 +00:00
|
|
|
"/sksl/workarounds/TernaryShortCircuit.sksl",
|
2020-09-16 21:46:37 +00:00
|
|
|
]
|
2020-09-24 20:42:09 +00:00
|
|
|
|
2020-12-22 16:28:59 +00:00
|
|
|
sksl_rte_tests = [
|
2021-08-03 15:16:48 +00:00
|
|
|
"/sksl/runtime/AllowNarrowingConversions.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime/ArrayIndexing.rts",
|
2021-08-05 14:55:03 +00:00
|
|
|
"/sksl/runtime/ArrayNarrowingConversions.rts",
|
2021-06-09 21:24:31 +00:00
|
|
|
"/sksl/runtime/Blend.rtb",
|
2022-02-11 21:19:16 +00:00
|
|
|
"/sksl/runtime/ChildEffects.rts",
|
2021-11-18 20:26:15 +00:00
|
|
|
"/sksl/runtime/Commutative.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime/ConstPreservation.rts",
|
|
|
|
"/sksl/runtime/ConversionConstructors.rts",
|
|
|
|
"/sksl/runtime/GLSLTypeNames.rts",
|
|
|
|
"/sksl/runtime/GlobalVariables.rts",
|
2021-09-15 13:42:36 +00:00
|
|
|
"/sksl/runtime/LargeProgram_BlocklessLoops.rts",
|
2021-09-02 13:56:31 +00:00
|
|
|
"/sksl/runtime/LargeProgram_FlatLoop.rts",
|
|
|
|
"/sksl/runtime/LargeProgram_Functions.rts",
|
|
|
|
"/sksl/runtime/LargeProgram_NestedLoops.rts",
|
|
|
|
"/sksl/runtime/LargeProgram_SplitLoops.rts",
|
2021-09-02 20:17:07 +00:00
|
|
|
"/sksl/runtime/LargeProgram_StackDepth.rts",
|
2021-09-02 13:56:31 +00:00
|
|
|
"/sksl/runtime/LargeProgram_ZeroIterFor.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime/LoopInt.rts",
|
|
|
|
"/sksl/runtime/LoopFloat.rts",
|
2022-03-03 03:54:03 +00:00
|
|
|
"/sksl/runtime/MultipleCallsInOneStatement.rts",
|
2021-08-04 20:03:12 +00:00
|
|
|
"/sksl/runtime/PrecisionQualifiers.rts",
|
2021-10-01 18:21:09 +00:00
|
|
|
"/sksl/runtime/QualifierOrder.rts",
|
2021-12-02 19:57:53 +00:00
|
|
|
"/sksl/runtime/RecursiveComparison_Structs.rts",
|
|
|
|
"/sksl/runtime/RecursiveComparison_Arrays.rts",
|
|
|
|
"/sksl/runtime/RecursiveComparison_Types.rts",
|
|
|
|
"/sksl/runtime/RecursiveComparison_Vectors.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime/SampleWithExplicitCoord.rts",
|
2021-09-20 23:09:13 +00:00
|
|
|
"/sksl/runtime/Switch.rts",
|
2021-09-23 15:07:32 +00:00
|
|
|
"/sksl/runtime/SwitchDefaultOnly.rts",
|
|
|
|
"/sksl/runtime/SwitchWithFallthrough.rts",
|
|
|
|
"/sksl/runtime/SwitchWithLoops.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime/VectorIndexing.rts",
|
2020-12-22 16:28:59 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
sksl_rte_error_tests = [
|
2021-08-13 15:43:21 +00:00
|
|
|
"/sksl/runtime_errors/DerivativesES2.rts",
|
2021-08-17 03:00:04 +00:00
|
|
|
"/sksl/runtime_errors/ES3Types.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime_errors/FirstClassArrays.rts",
|
|
|
|
"/sksl/runtime_errors/IllegalArrayOps.rts",
|
|
|
|
"/sksl/runtime_errors/IllegalIndexing.rts",
|
2022-07-13 14:58:28 +00:00
|
|
|
"/sksl/runtime_errors/IllegalLayoutFlags.rts",
|
2022-07-13 17:26:19 +00:00
|
|
|
"/sksl/runtime_errors/IllegalModifiers.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime_errors/IllegalOperators.rts",
|
2021-08-04 20:26:47 +00:00
|
|
|
"/sksl/runtime_errors/IllegalPrecisionQualifiers.rts",
|
2021-08-24 14:11:56 +00:00
|
|
|
"/sksl/runtime_errors/IllegalShaderSampling.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime_errors/IllegalShaderUse.rts",
|
|
|
|
"/sksl/runtime_errors/IllegalStatements.rts",
|
2021-06-08 18:06:22 +00:00
|
|
|
"/sksl/runtime_errors/InvalidBlendMain.rtb",
|
2021-04-12 13:49:20 +00:00
|
|
|
"/sksl/runtime_errors/InvalidColorFilterFeatures.rtcf",
|
|
|
|
"/sksl/runtime_errors/InvalidColorFilterMain.rtcf",
|
|
|
|
"/sksl/runtime_errors/InvalidShaderMain.rts",
|
2022-04-22 19:05:27 +00:00
|
|
|
"/sksl/runtime_errors/InvalidUniformTypes.rts",
|
2022-07-07 14:04:16 +00:00
|
|
|
"/sksl/runtime_errors/InvalidUniformTypesES3.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime_errors/LoopConditionErrors.rts",
|
|
|
|
"/sksl/runtime_errors/LoopExpressionErrors.rts",
|
|
|
|
"/sksl/runtime_errors/LoopInitializerErrors.rts",
|
|
|
|
"/sksl/runtime_errors/LoopStructureErrors.rts",
|
2021-08-05 20:50:56 +00:00
|
|
|
"/sksl/runtime_errors/Ossfuzz36655.rts",
|
2021-09-07 19:21:13 +00:00
|
|
|
"/sksl/runtime_errors/Ossfuzz38131.rts",
|
2022-03-07 12:50:17 +00:00
|
|
|
"/sksl/runtime_errors/Ossfuzz45279.rts",
|
2022-04-22 20:23:30 +00:00
|
|
|
"/sksl/runtime_errors/PrivateRTShader.rts",
|
2021-09-15 13:42:36 +00:00
|
|
|
"/sksl/runtime_errors/ProgramTooLarge_BlocklessLoops.rts",
|
2021-09-15 15:41:02 +00:00
|
|
|
"/sksl/runtime_errors/ProgramTooLarge_Extreme.rts",
|
2021-09-02 13:56:31 +00:00
|
|
|
"/sksl/runtime_errors/ProgramTooLarge_FlatLoop.rts",
|
|
|
|
"/sksl/runtime_errors/ProgramTooLarge_Functions.rts",
|
|
|
|
"/sksl/runtime_errors/ProgramTooLarge_NestedLoops.rts",
|
|
|
|
"/sksl/runtime_errors/ProgramTooLarge_SplitLoops.rts",
|
2021-09-02 20:17:07 +00:00
|
|
|
"/sksl/runtime_errors/ProgramTooLarge_StackDepth.rts",
|
2021-10-13 19:04:32 +00:00
|
|
|
"/sksl/runtime_errors/ReservedNameISampler2D.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",
|
2022-01-04 15:46:28 +00:00
|
|
|
"/sksl/runtime_errors/TypeAliases.rts",
|
2022-01-04 15:34:01 +00:00
|
|
|
"/sksl/runtime_errors/UnsupportedExtension.rts",
|
2021-04-28 21:41:57 +00:00
|
|
|
"/sksl/runtime_errors/UnsupportedTypeFragmentProcessor.rts",
|
|
|
|
"/sksl/runtime_errors/UnsupportedTypeSampler.rts",
|
|
|
|
"/sksl/runtime_errors/UnsupportedTypeTexture.rts",
|
2020-12-22 16:28:59 +00:00
|
|
|
]
|
|
|
|
|
2020-09-24 20:42:09 +00:00
|
|
|
# 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 =
|
2021-01-11 16:07:01 +00:00
|
|
|
sksl_error_tests + sksl_glsl_tests + sksl_inliner_tests +
|
2022-01-25 04:56:00 +00:00
|
|
|
sksl_folding_tests + sksl_shared_tests
|
2020-09-24 20:42:09 +00:00
|
|
|
|
|
|
|
# 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
|
2020-09-25 17:35:58 +00:00
|
|
|
|
|
|
|
# Tests in sksl_metal_tests_sources will be compiled with --settings on, and are expected to
|
|
|
|
# generate a .metal output file.
|
2020-11-13 23:14:11 +00:00
|
|
|
sksl_metal_tests_sources =
|
2022-01-25 04:56:00 +00:00
|
|
|
sksl_metal_tests + sksl_blend_tests + sksl_shared_tests
|
2020-11-20 21:28:50 +00:00
|
|
|
|
2022-04-02 03:04:51 +00:00
|
|
|
# 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
|
|
|
|
|
2020-11-20 21:28:50 +00:00
|
|
|
# Tests in sksl_spirv_tests_sources will be compiled with --settings on, and are expected to
|
|
|
|
# generate a .asm.(frag|vert|geom) output file.
|
2020-11-25 21:55:37 +00:00
|
|
|
sksl_spirv_tests_sources =
|
2022-01-25 04:56:00 +00:00
|
|
|
sksl_blend_tests + sksl_shared_tests + sksl_spirv_tests
|
2020-12-22 16:28:59 +00:00
|
|
|
|
|
|
|
## 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
|
2021-02-08 18:49:53 +00:00
|
|
|
|
|
|
|
## 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
|