John Stiles | d836f84 | 2020-09-14 10:21:44 -0400 | [diff] [blame] | 1 | # Copyright 2020 Google LLC |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 6 | sksl_error_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 7 | "/sksl/errors/ArgumentCountMismatch.sksl", |
| 8 | "/sksl/errors/ArgumentMismatch.sksl", |
| 9 | "/sksl/errors/ArgumentModifiers.sksl", |
John Stiles | 248f57b | 2021-02-03 15:11:18 -0500 | [diff] [blame] | 10 | "/sksl/errors/ArrayConstructorElementCount.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 11 | "/sksl/errors/ArrayIndexOutOfRange.sksl", |
John Stiles | 7253a20 | 2021-08-23 09:24:33 -0400 | [diff] [blame] | 12 | "/sksl/errors/ArrayOfInvalidSize.sksl", |
John Stiles | 80b02af | 2021-02-12 17:07:51 -0500 | [diff] [blame] | 13 | "/sksl/errors/ArrayOfVoid.sksl", |
| 14 | "/sksl/errors/ArrayOfVoidInStruct.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 15 | "/sksl/errors/ArrayReturnTypes.sksl", |
John Stiles | 80b02af | 2021-02-12 17:07:51 -0500 | [diff] [blame] | 16 | "/sksl/errors/ArraySplitDimensions.sksl", |
| 17 | "/sksl/errors/ArraySplitDimensionsInFuncBody.sksl", |
| 18 | "/sksl/errors/ArraySplitDimensionsInFuncDecl.sksl", |
| 19 | "/sksl/errors/ArraySplitDimensionsInStruct.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 20 | "/sksl/errors/ArrayTooManyDimensions.sksl", |
John Stiles | 80b02af | 2021-02-12 17:07:51 -0500 | [diff] [blame] | 21 | "/sksl/errors/ArrayTooManyDimensionsInFuncBody.sksl", |
| 22 | "/sksl/errors/ArrayTooManyDimensionsInFuncDecl.sksl", |
| 23 | "/sksl/errors/ArrayTooManyDimensionsInStruct.sksl", |
| 24 | "/sksl/errors/ArrayTypeTooManyDimensions.sksl", |
| 25 | "/sksl/errors/ArrayTypeTooManyDimensionsInFuncBody.sksl", |
| 26 | "/sksl/errors/ArrayTypeTooManyDimensionsInFuncDecl.sksl", |
| 27 | "/sksl/errors/ArrayTypeTooManyDimensionsInStruct.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 28 | "/sksl/errors/ArrayUnspecifiedDimensions.sksl", |
| 29 | "/sksl/errors/AssignmentTypeMismatch.sksl", |
| 30 | "/sksl/errors/BadCaps.sksl", |
Brian Osman | 7b36149 | 2021-02-25 11:25:30 -0500 | [diff] [blame] | 31 | "/sksl/errors/BadConstInitializers.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 32 | "/sksl/errors/BadFieldAccess.sksl", |
| 33 | "/sksl/errors/BadIndex.sksl", |
| 34 | "/sksl/errors/BadModifiers.sksl", |
| 35 | "/sksl/errors/BinaryInvalidType.sksl", |
| 36 | "/sksl/errors/BinaryTypeCoercion.sksl", |
| 37 | "/sksl/errors/BinaryTypeMismatch.sksl", |
| 38 | "/sksl/errors/BitShiftFloat.sksl", |
| 39 | "/sksl/errors/BitShiftFloatMatrix.sksl", |
| 40 | "/sksl/errors/BitShiftFloatVector.sksl", |
| 41 | "/sksl/errors/BooleanArithmetic.sksl", |
| 42 | "/sksl/errors/BreakOutsideLoop.sksl", |
| 43 | "/sksl/errors/CallNonFunction.sksl", |
| 44 | "/sksl/errors/CanExitWithoutReturningValue.sksl", |
| 45 | "/sksl/errors/ConstructorArgumentCount.sksl", |
| 46 | "/sksl/errors/ConstructorTypeMismatch.sksl", |
| 47 | "/sksl/errors/ContinueOutsideLoop.sksl", |
| 48 | "/sksl/errors/DivideByZero.sksl", |
| 49 | "/sksl/errors/DoTypeMismatch.sksl", |
| 50 | "/sksl/errors/DuplicateFunction.sksl", |
| 51 | "/sksl/errors/DuplicateOutput.sksl", |
| 52 | "/sksl/errors/DuplicateSymbol.sksl", |
John Stiles | 781496f | 2021-04-09 09:56:40 -0400 | [diff] [blame] | 53 | "/sksl/errors/EmptyArray.sksl", |
Brian Osman | 6c3b23f | 2021-02-12 13:09:58 -0500 | [diff] [blame] | 54 | "/sksl/errors/EmptyStruct.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 55 | "/sksl/errors/ErrorsInDeadCode.sksl", |
| 56 | "/sksl/errors/FloatRemainder.sksl", |
John Stiles | 49b409e | 2021-04-19 14:56:49 -0400 | [diff] [blame] | 57 | "/sksl/errors/ForInitStmt.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 58 | "/sksl/errors/ForTypeMismatch.sksl", |
John Stiles | 147cfda | 2021-05-21 14:11:38 -0400 | [diff] [blame] | 59 | "/sksl/errors/FunctionParameterOfVoid.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 60 | "/sksl/errors/GenericArgumentMismatch.sksl", |
John Stiles | b806da4 | 2021-08-04 16:26:47 -0400 | [diff] [blame] | 61 | "/sksl/errors/PrecisionQualifiersDisallowed.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 62 | "/sksl/errors/IfTypeMismatch.sksl", |
| 63 | "/sksl/errors/InVarWithInitializerExpression.sksl", |
| 64 | "/sksl/errors/InterfaceBlockScope.sksl", |
| 65 | "/sksl/errors/InterfaceBlockStorageModifiers.sksl", |
| 66 | "/sksl/errors/InterfaceBlockWithNoMembers.sksl", |
John Stiles | 842ee5b | 2021-08-27 12:37:27 -0400 | [diff] [blame] | 67 | "/sksl/errors/IntrinsicInGlobalVariable.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 68 | "/sksl/errors/InvalidAssignment.sksl", |
| 69 | "/sksl/errors/InvalidOutParams.sksl", |
| 70 | "/sksl/errors/InvalidToken.sksl", |
| 71 | "/sksl/errors/InvalidUnary.sksl", |
Brian Osman | a654faa | 2021-02-26 11:52:59 -0500 | [diff] [blame] | 72 | "/sksl/errors/LayoutInFunctions.sksl", |
Brian Osman | a77ed8b | 2021-02-23 12:54:22 -0500 | [diff] [blame] | 73 | "/sksl/errors/LayoutRepeatedQualifiers.sksl", |
John Stiles | 6de2e1d | 2021-07-09 12:41:55 -0400 | [diff] [blame] | 74 | "/sksl/errors/MatrixToVectorCast3x3.sksl", |
John Stiles | 49c4176 | 2021-07-10 12:48:51 -0400 | [diff] [blame] | 75 | "/sksl/errors/MatrixToVectorCastBoolean.sksl", |
John Stiles | f9ad6ec | 2021-07-10 11:45:29 -0400 | [diff] [blame] | 76 | "/sksl/errors/MatrixToVectorCastInteger.sksl", |
John Stiles | 6de2e1d | 2021-07-09 12:41:55 -0400 | [diff] [blame] | 77 | "/sksl/errors/MatrixToVectorCastTooSmall.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 78 | "/sksl/errors/MismatchedNumbers.sksl", |
| 79 | "/sksl/errors/ModifiersInStruct.sksl", |
John Stiles | efde90d | 2021-08-12 23:06:24 -0400 | [diff] [blame] | 80 | "/sksl/errors/NoES3ModifierInUserCode.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 81 | "/sksl/errors/OpaqueTypeAssignment.sksl", |
| 82 | "/sksl/errors/OpaqueTypeConstruction.sksl", |
| 83 | "/sksl/errors/OpaqueTypeInArray.sksl", |
| 84 | "/sksl/errors/OpaqueTypeInInterfaceBlock.sksl", |
| 85 | "/sksl/errors/OpaqueTypeInStruct.sksl", |
| 86 | "/sksl/errors/OpenArray.sksl", |
| 87 | "/sksl/errors/Ossfuzz26700.sksl", |
John Stiles | bb8542f | 2021-02-26 11:32:06 -0500 | [diff] [blame] | 88 | "/sksl/errors/Ossfuzz27614.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 89 | "/sksl/errors/Ossfuzz27650.sksl", |
| 90 | "/sksl/errors/Ossfuzz27663.sksl", |
John Stiles | 97186dc | 2021-04-09 17:20:35 -0400 | [diff] [blame] | 91 | "/sksl/errors/Ossfuzz28050.sksl", |
| 92 | "/sksl/errors/Ossfuzz29444.sksl", |
John Stiles | 76389b7 | 2021-01-25 13:49:05 -0500 | [diff] [blame] | 93 | "/sksl/errors/Ossfuzz29845.sksl", |
John Stiles | e3a91cf | 2021-01-26 10:13:58 -0500 | [diff] [blame] | 94 | "/sksl/errors/Ossfuzz29849.sksl", |
John Stiles | bb8542f | 2021-02-26 11:32:06 -0500 | [diff] [blame] | 95 | "/sksl/errors/Ossfuzz31410.sksl", |
John Stiles | 0c2d14a | 2021-03-01 10:08:08 -0500 | [diff] [blame] | 96 | "/sksl/errors/Ossfuzz31469.sksl", |
John Stiles | b069582 | 2021-05-29 11:23:07 -0400 | [diff] [blame] | 97 | "/sksl/errors/Ossfuzz32156.sksl", |
John Stiles | fabed8b | 2021-03-29 09:38:59 -0400 | [diff] [blame] | 98 | "/sksl/errors/Ossfuzz32587.sksl", |
John Stiles | 0a12b85 | 2021-04-05 14:45:14 -0400 | [diff] [blame] | 99 | "/sksl/errors/Ossfuzz32851.sksl", |
John Stiles | 8f633ef | 2021-08-21 17:13:11 -0400 | [diff] [blame] | 100 | "/sksl/errors/Ossfuzz37457.sksl", |
John Stiles | 3f37322 | 2021-08-23 13:52:17 -0400 | [diff] [blame] | 101 | "/sksl/errors/Ossfuzz37465.sksl", |
John Stiles | f95048c | 2021-08-25 12:09:16 -0400 | [diff] [blame] | 102 | "/sksl/errors/Ossfuzz37620.sksl", |
Ethan Nicholas | bf4a7d5 | 2021-09-09 09:32:13 -0400 | [diff] [blame] | 103 | "/sksl/errors/Ossfuzz38106.sksl", |
Ethan Nicholas | c9d65f0 | 2021-09-10 11:57:46 -0400 | [diff] [blame] | 104 | "/sksl/errors/Ossfuzz38140.sksl", |
John Stiles | dc65256 | 2021-09-13 08:55:40 -0400 | [diff] [blame^] | 105 | "/sksl/errors/Ossfuzz38560.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 106 | "/sksl/errors/OverflowFloatLiteral.sksl", |
| 107 | "/sksl/errors/OverflowIntLiteral.sksl", |
John Stiles | 9df48c6 | 2021-06-01 11:16:34 -0400 | [diff] [blame] | 108 | "/sksl/errors/OverflowInt64Literal.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 109 | "/sksl/errors/OverflowParamArraySize.sksl", |
| 110 | "/sksl/errors/OverflowUintLiteral.sksl", |
John Stiles | 8dabeac | 2021-02-12 16:05:00 -0500 | [diff] [blame] | 111 | "/sksl/errors/PrototypeInFuncBody.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 112 | "/sksl/errors/PrivateTypes.sksl", |
| 113 | "/sksl/errors/RedeclareBasicType.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 114 | "/sksl/errors/RedeclareSamplerType.sksl", |
| 115 | "/sksl/errors/RedeclareStruct.sksl", |
| 116 | "/sksl/errors/RedeclareStructTypeWithName.sksl", |
| 117 | "/sksl/errors/RedeclareUserType.sksl", |
| 118 | "/sksl/errors/RedeclareVariable.sksl", |
| 119 | "/sksl/errors/ReturnDifferentType.sksl", |
| 120 | "/sksl/errors/ReturnFromVoid.sksl", |
| 121 | "/sksl/errors/ReturnMissingValue.sksl", |
| 122 | "/sksl/errors/ReturnTypeMismatch.sksl", |
| 123 | "/sksl/errors/SelfReferentialInitializerExpression.sksl", |
| 124 | "/sksl/errors/SpuriousFloat.sksl", |
| 125 | "/sksl/errors/StaticIfTest.sksl", |
| 126 | "/sksl/errors/StaticSwitchConditionalBreak.sksl", |
| 127 | "/sksl/errors/StaticSwitchTest.sksl", |
John Stiles | 04ca41a | 2021-02-23 09:58:04 -0500 | [diff] [blame] | 128 | "/sksl/errors/StaticSwitchWithConditionalBreak.sksl", |
| 129 | "/sksl/errors/StaticSwitchWithConditionalContinue.sksl", |
| 130 | "/sksl/errors/StaticSwitchWithConditionalReturn.sksl", |
Brian Osman | 00fea5b | 2021-01-28 09:46:30 -0500 | [diff] [blame] | 131 | "/sksl/errors/StructNameWithoutIdentifier.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 132 | "/sksl/errors/StructTooDeeplyNested.sksl", |
| 133 | "/sksl/errors/SwitchDuplicateCase.sksl", |
John Stiles | 463fad2 | 2021-02-19 15:13:46 -0500 | [diff] [blame] | 134 | "/sksl/errors/SwitchDuplicateDefault.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 135 | "/sksl/errors/SwitchTypes.sksl", |
| 136 | "/sksl/errors/SwizzleConstantOutput.sksl", |
John Stiles | 9191e81 | 2021-07-09 15:29:10 -0400 | [diff] [blame] | 137 | "/sksl/errors/SwizzleDomain.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 138 | "/sksl/errors/SwizzleMatrix.sksl", |
| 139 | "/sksl/errors/SwizzleOnlyLiterals.sksl", |
| 140 | "/sksl/errors/SwizzleOutOfBounds.sksl", |
| 141 | "/sksl/errors/SwizzleTooManyComponents.sksl", |
| 142 | "/sksl/errors/TernaryMismatch.sksl", |
| 143 | "/sksl/errors/UndeclaredFunction.sksl", |
| 144 | "/sksl/errors/UndefinedFunction.sksl", |
| 145 | "/sksl/errors/UndefinedSymbol.sksl", |
Brian Osman | 2fe67f9 | 2021-02-17 16:24:04 -0500 | [diff] [blame] | 146 | "/sksl/errors/UniformVarWithInitializerExpression.sksl", |
Ethan Nicholas | c0f9815 | 2021-02-05 16:21:10 -0500 | [diff] [blame] | 147 | "/sksl/errors/UnknownDivideByZero.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 148 | "/sksl/errors/UnsupportedGLSLIdentifiers.sksl", |
John Stiles | e3a91cf | 2021-01-26 10:13:58 -0500 | [diff] [blame] | 149 | "/sksl/errors/UnscopedVariableInDoWhile.sksl", |
| 150 | "/sksl/errors/UnscopedVariableInElse.sksl", |
John Stiles | 2b6ec98 | 2021-03-04 10:46:39 -0500 | [diff] [blame] | 151 | "/sksl/errors/UnscopedVariableInFor.sksl", |
John Stiles | e3a91cf | 2021-01-26 10:13:58 -0500 | [diff] [blame] | 152 | "/sksl/errors/UnscopedVariableInIf.sksl", |
| 153 | "/sksl/errors/UnscopedVariableInWhile.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 154 | "/sksl/errors/UsingInvalidValue.sksl", |
John Stiles | ce7cdcd | 2021-07-12 15:48:27 -0400 | [diff] [blame] | 155 | "/sksl/errors/VectorSlice.sksl", |
John Stiles | 8d13084 | 2021-08-27 12:42:45 -0400 | [diff] [blame] | 156 | "/sksl/errors/VertexEarlyReturn.vert", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 157 | "/sksl/errors/WhileTypeMismatch.sksl", |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 158 | ] |
| 159 | |
John Stiles | ab4ab20 | 2020-09-24 17:22:42 -0400 | [diff] [blame] | 160 | sksl_glsl_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 161 | "/sksl/glsl/ForceHighPrecision.sksl", |
| 162 | "/sksl/glsl/IncompleteShortIntPrecision.sksl", |
| 163 | "/sksl/glsl/LayoutQualifiers.sksl", |
| 164 | "/sksl/glsl/ShortIntPrecision.sksl", |
| 165 | "/sksl/glsl/TextureSharpenVersion110.sksl", |
| 166 | "/sksl/glsl/TextureVersion110.sksl", |
| 167 | "/sksl/glsl/UsesPrecisionModifiers.sksl", |
| 168 | "/sksl/glsl/Version110.sksl", |
| 169 | "/sksl/glsl/Version450Core.sksl", |
John Stiles | ab4ab20 | 2020-09-24 17:22:42 -0400 | [diff] [blame] | 170 | ] |
| 171 | |
John Stiles | 34de5cb | 2020-11-13 18:14:11 -0500 | [diff] [blame] | 172 | sksl_metal_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 173 | "/sksl/metal/CastHalf4ToMat2x2.sksl", |
| 174 | "/sksl/metal/CastMat2x2ToMat3x3.sksl", |
| 175 | "/sksl/metal/CastMat2x3ToMat4x4.sksl", |
| 176 | "/sksl/metal/CastMat4x4ToMat3x4.sksl", |
| 177 | "/sksl/metal/CastMat4x4ToMat4x3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 178 | "/sksl/metal/NumericGlobals.sksl", |
| 179 | "/sksl/metal/OpaqueTypeInInterfaceBlock.sksl", |
| 180 | "/sksl/metal/OpaqueTypeInStruct.sksl", |
| 181 | "/sksl/metal/OutParams.sksl", |
| 182 | "/sksl/metal/OutVarsRequireLocation.sksl", |
| 183 | "/sksl/metal/SamplerGlobals.sksl", |
| 184 | "/sksl/metal/SwizzleHelper.sksl", |
John Stiles | 34de5cb | 2020-11-13 18:14:11 -0500 | [diff] [blame] | 185 | ] |
| 186 | |
John Stiles | ba067aa | 2020-11-25 16:55:37 -0500 | [diff] [blame] | 187 | sksl_spirv_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 188 | "/sksl/spirv/ConstantVectorFromVector.sksl", |
Brian Osman | 2a4c0fb | 2021-01-22 13:41:40 -0500 | [diff] [blame] | 189 | "/sksl/spirv/InterfaceBlockPushConstant.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 190 | "/sksl/spirv/LayoutMultipleOf4.sksl", |
| 191 | "/sksl/spirv/LayoutOutOfOrder.sksl", |
| 192 | "/sksl/spirv/OpaqueTypeInArray.sksl", |
John Stiles | b069708 | 2021-08-16 14:46:10 -0400 | [diff] [blame] | 193 | "/sksl/spirv/Ossfuzz35916.sksl", |
John Stiles | 43ac7e6 | 2021-08-25 12:43:22 -0400 | [diff] [blame] | 194 | "/sksl/spirv/Ossfuzz37627.sksl", |
John Stiles | 85749c0 | 2021-03-23 17:12:03 -0400 | [diff] [blame] | 195 | "/sksl/workarounds/RewriteMatrixVectorMultiply.sksl", |
John Stiles | ded41aa | 2021-08-05 12:19:35 -0400 | [diff] [blame] | 196 | "/sksl/errors/Ossfuzz36850.sksl", |
Ethan Nicholas | 553239b | 2021-08-23 15:40:20 -0400 | [diff] [blame] | 197 | "/sksl/errors/Ossfuzz37469.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 198 | "/sksl/errors/UndefinedFunction.sksl", |
John Stiles | 8e2a84b | 2021-04-19 09:35:38 -0400 | [diff] [blame] | 199 | "/sksl/errors/UnusedInterfaceBlock.sksl", |
John Stiles | ba067aa | 2020-11-25 16:55:37 -0500 | [diff] [blame] | 200 | ] |
| 201 | |
John Stiles | ab4ab20 | 2020-09-24 17:22:42 -0400 | [diff] [blame] | 202 | sksl_shared_tests = [ |
John Stiles | e1658b5 | 2021-01-29 11:44:13 -0500 | [diff] [blame] | 203 | "/sksl/intrinsics/AbsFloat.sksl", |
| 204 | "/sksl/intrinsics/AbsInt.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 205 | "/sksl/intrinsics/Acos.sksl", |
| 206 | "/sksl/intrinsics/Acosh.sksl", |
| 207 | "/sksl/intrinsics/All.sksl", |
| 208 | "/sksl/intrinsics/Any.sksl", |
| 209 | "/sksl/intrinsics/Asin.sksl", |
| 210 | "/sksl/intrinsics/Asinh.sksl", |
| 211 | "/sksl/intrinsics/Atan.sksl", |
| 212 | "/sksl/intrinsics/Atanh.sksl", |
| 213 | "/sksl/intrinsics/BitCount.sksl", |
| 214 | "/sksl/intrinsics/Ceil.sksl", |
John Stiles | 9c9f60c | 2021-01-29 11:51:47 -0500 | [diff] [blame] | 215 | "/sksl/intrinsics/ClampFloat.sksl", |
| 216 | "/sksl/intrinsics/ClampInt.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 217 | "/sksl/intrinsics/Cos.sksl", |
| 218 | "/sksl/intrinsics/Cosh.sksl", |
| 219 | "/sksl/intrinsics/Cross.sksl", |
John Stiles | ece1d79 | 2021-03-22 11:43:11 -0400 | [diff] [blame] | 220 | "/sksl/intrinsics/CrossNoInline.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 221 | "/sksl/intrinsics/Degrees.sksl", |
| 222 | "/sksl/intrinsics/Determinant.sksl", |
| 223 | "/sksl/intrinsics/DFdx.sksl", |
| 224 | "/sksl/intrinsics/DFdy.sksl", |
| 225 | "/sksl/intrinsics/Distance.sksl", |
| 226 | "/sksl/intrinsics/Dot.sksl", |
| 227 | "/sksl/intrinsics/Equal.sksl", |
| 228 | "/sksl/intrinsics/Exp.sksl", |
| 229 | "/sksl/intrinsics/Exp2.sksl", |
| 230 | "/sksl/intrinsics/FaceForward.sksl", |
| 231 | "/sksl/intrinsics/FindLSB.sksl", |
| 232 | "/sksl/intrinsics/FindMSB.sksl", |
| 233 | "/sksl/intrinsics/FloatBitsToInt.sksl", |
| 234 | "/sksl/intrinsics/FloatBitsToUint.sksl", |
| 235 | "/sksl/intrinsics/Floor.sksl", |
| 236 | "/sksl/intrinsics/Fma.sksl", |
| 237 | "/sksl/intrinsics/Fract.sksl", |
| 238 | "/sksl/intrinsics/Frexp.sksl", |
| 239 | "/sksl/intrinsics/Fwidth.sksl", |
| 240 | "/sksl/intrinsics/GreaterThan.sksl", |
| 241 | "/sksl/intrinsics/GreaterThanEqual.sksl", |
| 242 | "/sksl/intrinsics/IntBitsToFloat.sksl", |
| 243 | "/sksl/intrinsics/Inverse.sksl", |
| 244 | "/sksl/intrinsics/Inversesqrt.sksl", |
| 245 | "/sksl/intrinsics/IsInf.sksl", |
| 246 | "/sksl/intrinsics/IsNan.sksl", |
| 247 | "/sksl/intrinsics/Ldexp.sksl", |
| 248 | "/sksl/intrinsics/Length.sksl", |
| 249 | "/sksl/intrinsics/LessThan.sksl", |
| 250 | "/sksl/intrinsics/LessThanEqual.sksl", |
| 251 | "/sksl/intrinsics/Log.sksl", |
| 252 | "/sksl/intrinsics/Log2.sksl", |
| 253 | "/sksl/intrinsics/MatrixCompMult.sksl", |
John Stiles | 9c9f60c | 2021-01-29 11:51:47 -0500 | [diff] [blame] | 254 | "/sksl/intrinsics/MaxFloat.sksl", |
| 255 | "/sksl/intrinsics/MaxInt.sksl", |
| 256 | "/sksl/intrinsics/MinFloat.sksl", |
| 257 | "/sksl/intrinsics/MinInt.sksl", |
| 258 | "/sksl/intrinsics/MixFloat.sksl", |
| 259 | "/sksl/intrinsics/MixBool.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 260 | "/sksl/intrinsics/Mod.sksl", |
| 261 | "/sksl/intrinsics/Modf.sksl", |
| 262 | "/sksl/intrinsics/Normalize.sksl", |
| 263 | "/sksl/intrinsics/Not.sksl", |
| 264 | "/sksl/intrinsics/NotEqual.sksl", |
| 265 | "/sksl/intrinsics/OuterProduct.sksl", |
| 266 | "/sksl/intrinsics/Pack.sksl", |
John Stiles | 8d0dd0d | 2021-09-09 09:58:42 -0400 | [diff] [blame] | 267 | "/sksl/intrinsics/PackUnorm2x16.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 268 | "/sksl/intrinsics/Pow.sksl", |
| 269 | "/sksl/intrinsics/Radians.sksl", |
| 270 | "/sksl/intrinsics/Reflect.sksl", |
| 271 | "/sksl/intrinsics/Refract.sksl", |
| 272 | "/sksl/intrinsics/Round.sksl", |
| 273 | "/sksl/intrinsics/RoundEven.sksl", |
| 274 | "/sksl/intrinsics/Saturate.sksl", |
John Stiles | e1658b5 | 2021-01-29 11:44:13 -0500 | [diff] [blame] | 275 | "/sksl/intrinsics/SignFloat.sksl", |
| 276 | "/sksl/intrinsics/SignInt.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 277 | "/sksl/intrinsics/Sin.sksl", |
| 278 | "/sksl/intrinsics/Sinh.sksl", |
| 279 | "/sksl/intrinsics/Smoothstep.sksl", |
| 280 | "/sksl/intrinsics/Sqrt.sksl", |
| 281 | "/sksl/intrinsics/Step.sksl", |
| 282 | "/sksl/intrinsics/Tan.sksl", |
| 283 | "/sksl/intrinsics/Tanh.sksl", |
| 284 | "/sksl/intrinsics/Transpose.sksl", |
| 285 | "/sksl/intrinsics/Trunc.sksl", |
| 286 | "/sksl/intrinsics/UintBitsToFloat.sksl", |
| 287 | "/sksl/intrinsics/Unpack.sksl", |
John Stiles | 2648716 | 2021-08-10 16:03:44 -0400 | [diff] [blame] | 288 | "/sksl/shared/ArrayCast.sksl", |
John Stiles | 3509210 | 2021-04-08 23:30:51 -0400 | [diff] [blame] | 289 | "/sksl/shared/ArrayComparison.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 290 | "/sksl/shared/ArrayConstructors.sksl", |
John Stiles | 2d3f5e8 | 2021-08-25 11:54:16 -0400 | [diff] [blame] | 291 | "/sksl/shared/ArrayFollowedByScalar.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 292 | "/sksl/shared/ArrayIndexTypes.sksl", |
John Stiles | 9fdcc51 | 2021-08-04 13:27:05 -0400 | [diff] [blame] | 293 | "/sksl/shared/ArrayNarrowingConversions.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 294 | "/sksl/shared/ArrayTypes.sksl", |
| 295 | "/sksl/shared/Assignment.sksl", |
| 296 | "/sksl/shared/Caps.sksl", |
| 297 | "/sksl/shared/CastsRoundTowardZero.sksl", |
| 298 | "/sksl/shared/Clockwise.sksl", |
John Stiles | 5a956ce | 2021-02-02 13:58:42 -0500 | [diff] [blame] | 299 | "/sksl/shared/CommaMixedTypes.sksl", |
John Stiles | 94e72b9 | 2021-01-30 11:06:18 -0500 | [diff] [blame] | 300 | "/sksl/shared/CommaSideEffects.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 301 | "/sksl/shared/ComplexDelete.sksl", |
| 302 | "/sksl/shared/ConstArray.sksl", |
| 303 | "/sksl/shared/ConstVariableComparison.sksl", |
| 304 | "/sksl/shared/ConstantIf.sksl", |
| 305 | "/sksl/shared/Control.sksl", |
| 306 | "/sksl/shared/DeadDoWhileLoop.sksl", |
| 307 | "/sksl/shared/DeadIfStatement.sksl", |
| 308 | "/sksl/shared/DeadLoopVariable.sksl", |
John Stiles | f2b08cc | 2021-05-17 14:46:05 -0400 | [diff] [blame] | 309 | "/sksl/shared/DeadReturn.sksl", |
John Stiles | 25be58e | 2021-05-20 14:38:40 -0400 | [diff] [blame] | 310 | "/sksl/shared/DeadReturnES3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 311 | "/sksl/shared/DeadStripFunctions.sksl", |
| 312 | "/sksl/shared/DependentInitializers.sksl", |
| 313 | "/sksl/shared/DerivativesUnused.sksl", |
| 314 | "/sksl/shared/Discard.sksl", |
John Stiles | 798021a | 2021-01-26 10:37:41 -0500 | [diff] [blame] | 315 | "/sksl/shared/DoWhileControlFlow.sksl", |
John Stiles | c068a8f | 2021-02-01 11:52:10 -0500 | [diff] [blame] | 316 | "/sksl/shared/EmptyBlocksES2.sksl", |
| 317 | "/sksl/shared/EmptyBlocksES3.sksl", |
John Stiles | dac139a | 2021-01-26 11:06:42 -0500 | [diff] [blame] | 318 | "/sksl/shared/ForLoopControlFlow.sksl", |
John Stiles | c5d8608 | 2021-04-14 15:05:49 -0400 | [diff] [blame] | 319 | "/sksl/shared/ForLoopMultipleInit.sksl", |
Brian Salomon | d8d85b9 | 2021-07-07 09:41:17 -0400 | [diff] [blame] | 320 | "/sksl/shared/FragCoords.sksl", |
John Stiles | 931cad1 | 2021-02-01 16:36:13 -0500 | [diff] [blame] | 321 | "/sksl/shared/FunctionArgTypeMatch.sksl", |
| 322 | "/sksl/shared/FunctionReturnTypeMatch.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 323 | "/sksl/shared/FunctionPrototype.sksl", |
| 324 | "/sksl/shared/Functions.sksl", |
| 325 | "/sksl/shared/GaussianBlur.sksl", |
| 326 | "/sksl/shared/GeometricIntrinsics.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 327 | "/sksl/shared/HelloWorld.sksl", |
| 328 | "/sksl/shared/Hex.sksl", |
John Stiles | ecd2036 | 2021-02-03 17:44:47 -0500 | [diff] [blame] | 329 | "/sksl/shared/HexUnsigned.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 330 | "/sksl/shared/InstanceID.vert", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 331 | "/sksl/shared/InterfaceBlockNamed.sksl", |
John Stiles | da5cdf6 | 2021-01-28 11:47:29 -0500 | [diff] [blame] | 332 | "/sksl/shared/InterfaceBlockNamedArray.sksl", |
John Stiles | 56233d1 | 2021-02-03 13:03:29 -0500 | [diff] [blame] | 333 | "/sksl/shared/Matrices.sksl", |
| 334 | "/sksl/shared/MatricesNonsquare.sksl", |
John Stiles | a0e407d | 2021-02-10 12:21:51 -0500 | [diff] [blame] | 335 | "/sksl/shared/MatrixEquality.sksl", |
John Stiles | 191b4e2 | 2021-05-14 20:03:01 -0400 | [diff] [blame] | 336 | "/sksl/shared/MatrixScalarSplat.sksl", |
John Stiles | 5a825da | 2021-07-08 18:20:21 -0400 | [diff] [blame] | 337 | "/sksl/shared/MatrixToVectorCast.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 338 | "/sksl/shared/MultipleAssignments.sksl", |
John Stiles | f89a812 | 2021-08-30 15:47:00 -0400 | [diff] [blame] | 339 | "/sksl/shared/Negation.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 340 | "/sksl/shared/NoFragCoordsPos.vert", |
| 341 | "/sksl/shared/NoFragCoordsPosRT.vert", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 342 | "/sksl/shared/NormalizationVert.vert", |
| 343 | "/sksl/shared/NumberCasts.sksl", |
| 344 | "/sksl/shared/NumberConversions.sksl", |
| 345 | "/sksl/shared/Offset.sksl", |
John Stiles | 2ff8f86 | 2021-01-30 11:08:13 -0500 | [diff] [blame] | 346 | "/sksl/shared/OperatorsES2.sksl", |
| 347 | "/sksl/shared/OperatorsES3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 348 | "/sksl/shared/Ossfuzz26167.sksl", |
John Stiles | 1b843bd | 2021-03-22 15:42:16 -0400 | [diff] [blame] | 349 | "/sksl/shared/Ossfuzz26759.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 350 | "/sksl/shared/Ossfuzz28794.sksl", |
| 351 | "/sksl/shared/Ossfuzz28904.sksl", |
John Stiles | 1b843bd | 2021-03-22 15:42:16 -0400 | [diff] [blame] | 352 | "/sksl/shared/Ossfuzz29085.sksl", |
Brian Osman | 21d2b6a | 2021-02-01 13:48:50 -0500 | [diff] [blame] | 353 | "/sksl/shared/Ossfuzz29494.sksl", |
John Stiles | d7437ee | 2021-08-02 11:56:16 -0400 | [diff] [blame] | 354 | "/sksl/shared/Ossfuzz36770.sksl", |
John Stiles | 9ae6ea0 | 2021-08-05 11:49:05 -0400 | [diff] [blame] | 355 | "/sksl/shared/Ossfuzz36852.sksl", |
John Stiles | d77dda5 | 2021-08-24 09:59:34 -0400 | [diff] [blame] | 356 | "/sksl/shared/Ossfuzz37466.sksl", |
John Stiles | bb8cf58 | 2021-08-26 23:34:59 -0400 | [diff] [blame] | 357 | "/sksl/shared/Ossfuzz37677.sksl", |
John Stiles | 5cec187 | 2021-08-31 14:58:08 -0400 | [diff] [blame] | 358 | "/sksl/shared/Ossfuzz37900.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 359 | "/sksl/shared/OutParams.sksl", |
Ethan Nicholas | e0707b7 | 2021-03-17 11:16:41 -0400 | [diff] [blame] | 360 | "/sksl/shared/OutParamsNoInline.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 361 | "/sksl/shared/OutParamsTricky.sksl", |
John Stiles | b35fbdb | 2021-05-26 16:43:19 -0400 | [diff] [blame] | 362 | "/sksl/shared/Overflow.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 363 | "/sksl/shared/RectangleTexture.sksl", |
| 364 | "/sksl/shared/ResizeMatrix.sksl", |
John Stiles | d437478 | 2021-02-05 09:31:21 -0500 | [diff] [blame] | 365 | "/sksl/shared/ResizeMatrixNonsquare.sksl", |
John Stiles | 4d6310a | 2021-01-26 19:58:22 -0500 | [diff] [blame] | 366 | "/sksl/shared/ReturnBadTypeFromMain.sksl", |
| 367 | "/sksl/shared/ReturnColorFromMain.sksl", |
John Stiles | b3dcbb1 | 2021-03-04 16:00:20 -0500 | [diff] [blame] | 368 | "/sksl/shared/ReturnsValueOnEveryPathES2.sksl", |
| 369 | "/sksl/shared/ReturnsValueOnEveryPathES3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 370 | "/sksl/shared/SampleLocations.vert", |
John Stiles | d437478 | 2021-02-05 09:31:21 -0500 | [diff] [blame] | 371 | "/sksl/shared/ScalarConversionConstructorsES2.sksl", |
| 372 | "/sksl/shared/ScalarConversionConstructorsES3.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 373 | "/sksl/shared/ScopedSymbol.sksl", |
| 374 | "/sksl/shared/StackingVectorCasts.sksl", |
| 375 | "/sksl/shared/StaticIf.sksl", |
| 376 | "/sksl/shared/StaticSwitch.sksl", |
| 377 | "/sksl/shared/StaticSwitchWithBreak.sksl", |
| 378 | "/sksl/shared/StaticSwitchWithBreakInsideBlock.sksl", |
| 379 | "/sksl/shared/StaticSwitchWithConditionalBreak.sksl", |
| 380 | "/sksl/shared/StaticSwitchWithConditionalBreakInsideBlock.sksl", |
John Stiles | 04ca41a | 2021-02-23 09:58:04 -0500 | [diff] [blame] | 381 | "/sksl/shared/StaticSwitchWithContinue.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 382 | "/sksl/shared/StaticSwitchWithFallthroughA.sksl", |
| 383 | "/sksl/shared/StaticSwitchWithFallthroughB.sksl", |
| 384 | "/sksl/shared/StaticSwitchWithStaticConditionalBreak.sksl", |
| 385 | "/sksl/shared/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl", |
John Stiles | 2d3f5e8 | 2021-08-25 11:54:16 -0400 | [diff] [blame] | 386 | "/sksl/shared/StructArrayFollowedByScalar.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 387 | "/sksl/shared/Structs.sksl", |
Brian Osman | bf7b4b8 | 2021-01-27 13:53:43 -0500 | [diff] [blame] | 388 | "/sksl/shared/StructsInFunctions.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 389 | "/sksl/shared/StructMaxDepth.sksl", |
| 390 | "/sksl/shared/Switch.sksl", |
| 391 | "/sksl/shared/SwitchContainingDeadCode.sksl", |
| 392 | "/sksl/shared/SwitchWithFallthrough.sksl", |
| 393 | "/sksl/shared/SwizzleBoolConstants.sksl", |
John Stiles | c2c1b0c | 2021-02-05 16:24:03 -0500 | [diff] [blame] | 394 | "/sksl/shared/SwizzleByConstantIndex.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 395 | "/sksl/shared/SwizzleByIndex.sksl", |
| 396 | "/sksl/shared/SwizzleConstants.sksl", |
| 397 | "/sksl/shared/SwizzleLTRB.sksl", |
| 398 | "/sksl/shared/SwizzleOpt.sksl", |
| 399 | "/sksl/shared/SwizzleScalar.sksl", |
John Stiles | 7f56b41 | 2021-07-12 14:59:19 -0400 | [diff] [blame] | 400 | "/sksl/shared/SwizzleScalarBool.sksl", |
| 401 | "/sksl/shared/SwizzleScalarInt.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 402 | "/sksl/shared/TernaryAsLValueEntirelyFoldable.sksl", |
| 403 | "/sksl/shared/TernaryAsLValueFoldableTest.sksl", |
John Stiles | 28054ad | 2021-03-05 15:22:48 -0500 | [diff] [blame] | 404 | "/sksl/shared/TernaryExpression.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 405 | "/sksl/shared/Texture1D.sksl", |
| 406 | "/sksl/shared/Texture2D.sksl", |
| 407 | "/sksl/shared/TextureSharpen.sksl", |
| 408 | "/sksl/shared/UnaryPositiveNegative.sksl", |
| 409 | "/sksl/shared/UniformArray.sksl", |
John Stiles | da5cdf6 | 2021-01-28 11:47:29 -0500 | [diff] [blame] | 410 | "/sksl/shared/UniformBuffers.sksl", |
| 411 | "/sksl/shared/Uniforms.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 412 | "/sksl/shared/UnusedVariables.sksl", |
| 413 | "/sksl/shared/VectorConstructors.sksl", |
John Stiles | 2febb5b | 2021-03-25 11:43:40 -0400 | [diff] [blame] | 414 | "/sksl/shared/VectorScalarMath.sksl", |
John Stiles | 5a825da | 2021-07-08 18:20:21 -0400 | [diff] [blame] | 415 | "/sksl/shared/VectorToMatrixCast.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 416 | "/sksl/shared/VertexID.vert", |
John Stiles | 7add07f | 2021-01-26 11:16:34 -0500 | [diff] [blame] | 417 | "/sksl/shared/WhileLoopControlFlow.sksl", |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 418 | ] |
| 419 | |
John Stiles | 74192fd | 2021-01-11 11:07:01 -0500 | [diff] [blame] | 420 | sksl_folding_tests = [ |
John Stiles | 8037c9e | 2021-03-31 10:38:45 -0400 | [diff] [blame] | 421 | "/sksl/folding/ArrayFolding.sksl", |
John Stiles | 34c098d | 2021-02-09 10:38:59 -0500 | [diff] [blame] | 422 | "/sksl/folding/AssignmentOps.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 423 | "/sksl/folding/BoolFolding.sksl", |
John Stiles | 27193d4 | 2021-05-07 11:16:26 -0400 | [diff] [blame] | 424 | "/sksl/folding/CastFolding.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 425 | "/sksl/folding/FloatFolding.sksl", |
| 426 | "/sksl/folding/IntFoldingES2.sksl", |
| 427 | "/sksl/folding/IntFoldingES3.sksl", |
| 428 | "/sksl/folding/MatrixFoldingES2.sksl", |
| 429 | "/sksl/folding/MatrixFoldingES3.sksl", |
John Stiles | 0ac6c15 | 2021-02-10 14:04:24 -0500 | [diff] [blame] | 430 | "/sksl/folding/SelfAssignment.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 431 | "/sksl/folding/ShortCircuitBoolFolding.sksl", |
John Stiles | fb7d378 | 2021-04-29 11:14:38 -0400 | [diff] [blame] | 432 | "/sksl/folding/SwizzleFolding.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 433 | "/sksl/folding/VectorScalarFolding.sksl", |
| 434 | "/sksl/folding/VectorVectorFolding.sksl", |
John Stiles | 74192fd | 2021-01-11 11:07:01 -0500 | [diff] [blame] | 435 | ] |
| 436 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 437 | sksl_inliner_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 438 | "/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl", |
| 439 | "/sksl/inliner/DoWhileTestCannotBeInlined.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 440 | "/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl", |
| 441 | "/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl", |
| 442 | "/sksl/inliner/ForWithReturnInsideCannotBeInlined.sksl", |
| 443 | "/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl", |
| 444 | "/sksl/inliner/IfBodyMustBeInlinedIntoAScope.sksl", |
| 445 | "/sksl/inliner/IfElseBodyMustBeInlinedIntoAScope.sksl", |
| 446 | "/sksl/inliner/IfElseChainWithReturnsCanBeInlined.sksl", |
| 447 | "/sksl/inliner/IfTestCanBeInlined.sksl", |
| 448 | "/sksl/inliner/IfWithReturnsCanBeInlined.sksl", |
| 449 | "/sksl/inliner/InlineKeywordOverridesThreshold.sksl", |
| 450 | "/sksl/inliner/InlineThreshold.sksl", |
| 451 | "/sksl/inliner/InlinerElidesTempVarForReturnsInsideBlock.sksl", |
| 452 | "/sksl/inliner/InlinerUsesTempVarForMultipleReturns.sksl", |
| 453 | "/sksl/inliner/InlinerUsesTempVarForReturnsInsideBlockWithVar.sksl", |
| 454 | "/sksl/inliner/InlineWithInoutArgument.sksl", |
| 455 | "/sksl/inliner/InlineWithModifiedArgument.sksl", |
| 456 | "/sksl/inliner/InlineWithNestedBigCalls.sksl", |
| 457 | "/sksl/inliner/InlineWithNestedCalls.sksl", |
| 458 | "/sksl/inliner/InlineWithUnmodifiedArgument.sksl", |
| 459 | "/sksl/inliner/InlineWithUnnecessaryBlocks.sksl", |
| 460 | "/sksl/inliner/InlinerAvoidsVariableNameOverlap.sksl", |
John Stiles | 92d83b7 | 2021-02-13 11:25:51 -0500 | [diff] [blame] | 461 | "/sksl/inliner/InlinerHonorsGLSLOutParamSemantics.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 462 | "/sksl/inliner/InlinerManglesNames.sksl", |
John Stiles | 0dd1a77 | 2021-03-09 22:14:27 -0500 | [diff] [blame] | 463 | "/sksl/inliner/NoInline.sksl", |
John Stiles | 3ff77f4 | 2021-09-06 22:17:58 -0400 | [diff] [blame] | 464 | "/sksl/inliner/Ossfuzz37994.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 465 | "/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl", |
John Stiles | 66c53b9 | 2021-02-20 08:00:43 -0500 | [diff] [blame] | 466 | "/sksl/inliner/StaticSwitch.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 467 | "/sksl/inliner/StructsCanBeInlinedSafely.sksl", |
| 468 | "/sksl/inliner/SwitchWithCastCanBeInlined.sksl", |
| 469 | "/sksl/inliner/SwitchWithoutReturnInsideCanBeInlined.sksl", |
| 470 | "/sksl/inliner/SwizzleCanBeInlinedDirectly.sksl", |
| 471 | "/sksl/inliner/TernaryResultsCannotBeInlined.sksl", |
| 472 | "/sksl/inliner/TernaryTestCanBeInlined.sksl", |
| 473 | "/sksl/inliner/TrivialArgumentsInlineDirectly.sksl", |
| 474 | "/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl", |
| 475 | "/sksl/inliner/WhileTestCannotBeInlined.sksl", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 476 | ] |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 477 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 478 | sksl_blend_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 479 | "/sksl/blend/BlendClear.sksl", |
| 480 | "/sksl/blend/BlendColor.sksl", |
| 481 | "/sksl/blend/BlendColorBurn.sksl", |
| 482 | "/sksl/blend/BlendColorDodge.sksl", |
| 483 | "/sksl/blend/BlendDarken.sksl", |
| 484 | "/sksl/blend/BlendDifference.sksl", |
| 485 | "/sksl/blend/BlendDst.sksl", |
| 486 | "/sksl/blend/BlendDstAtop.sksl", |
| 487 | "/sksl/blend/BlendDstIn.sksl", |
| 488 | "/sksl/blend/BlendDstOut.sksl", |
| 489 | "/sksl/blend/BlendDstOver.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 490 | "/sksl/blend/BlendExclusion.sksl", |
| 491 | "/sksl/blend/BlendHardLight.sksl", |
| 492 | "/sksl/blend/BlendHue.sksl", |
| 493 | "/sksl/blend/BlendLighten.sksl", |
| 494 | "/sksl/blend/BlendLuminosity.sksl", |
| 495 | "/sksl/blend/BlendModulate.sksl", |
| 496 | "/sksl/blend/BlendMultiply.sksl", |
| 497 | "/sksl/blend/BlendOverlay.sksl", |
| 498 | "/sksl/blend/BlendPlus.sksl", |
| 499 | "/sksl/blend/BlendSaturation.sksl", |
| 500 | "/sksl/blend/BlendScreen.sksl", |
| 501 | "/sksl/blend/BlendSoftLight.sksl", |
| 502 | "/sksl/blend/BlendSrc.sksl", |
| 503 | "/sksl/blend/BlendSrcAtop.sksl", |
| 504 | "/sksl/blend/BlendSrcIn.sksl", |
| 505 | "/sksl/blend/BlendSrcOut.sksl", |
| 506 | "/sksl/blend/BlendSrcOver.sksl", |
| 507 | "/sksl/blend/BlendXor.sksl", |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 508 | ] |
| 509 | |
| 510 | sksl_settings_tests = [ |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 511 | "/sksl/glsl/TypePrecision.sksl", |
| 512 | "/sksl/inliner/ExponentialGrowth.sksl", |
| 513 | "/sksl/inliner/InlinerCanBeDisabled.sksl", |
| 514 | "/sksl/shared/Derivatives.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 515 | "/sksl/workarounds/AbsInt.sksl", |
| 516 | "/sksl/workarounds/BlendGuardedDivide.sksl", |
| 517 | "/sksl/workarounds/BlendModesAllZeroVec.sksl", |
| 518 | "/sksl/workarounds/FractNegative.sksl", |
| 519 | "/sksl/workarounds/FragCoords.sksl", |
| 520 | "/sksl/workarounds/LoopCondition.sksl", |
| 521 | "/sksl/workarounds/MinAndAbsTogether.sksl", |
| 522 | "/sksl/workarounds/NegatedAtan.sksl", |
Chris Dalton | 155c33c | 2021-06-07 18:51:42 -0600 | [diff] [blame] | 523 | "/sksl/workarounds/NegatedLdexp.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 524 | "/sksl/workarounds/PowWithConstantExponent.sksl", |
| 525 | "/sksl/workarounds/RewriteDoWhileLoops.sksl", |
John Stiles | 5ee369f | 2021-05-21 17:27:57 -0400 | [diff] [blame] | 526 | "/sksl/workarounds/RewriteMatrixComparisons.sksl", |
John Stiles | 85749c0 | 2021-03-23 17:12:03 -0400 | [diff] [blame] | 527 | "/sksl/workarounds/RewriteMatrixVectorMultiply.sksl", |
John Stiles | bfc9be0 | 2021-01-22 11:55:48 -0500 | [diff] [blame] | 528 | "/sksl/workarounds/TernaryShortCircuit.sksl", |
John Stiles | 0ed9f31 | 2020-09-16 17:46:37 -0400 | [diff] [blame] | 529 | ] |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 530 | |
Brian Osman | 977feec | 2020-12-22 11:28:59 -0500 | [diff] [blame] | 531 | sksl_rte_tests = [ |
John Stiles | e9dcbfd | 2021-08-03 11:16:48 -0400 | [diff] [blame] | 532 | "/sksl/runtime/AllowNarrowingConversions.rts", |
Brian Osman | 552fcb9 | 2021-04-28 17:41:57 -0400 | [diff] [blame] | 533 | "/sksl/runtime/ArrayIndexing.rts", |
John Stiles | 2195f94 | 2021-08-05 10:55:03 -0400 | [diff] [blame] | 534 | "/sksl/runtime/ArrayNarrowingConversions.rts", |
John Stiles | 50d0d09 | 2021-06-09 17:24:31 -0400 | [diff] [blame] | 535 | "/sksl/runtime/Blend.rtb", |
Brian Osman | 552fcb9 | 2021-04-28 17:41:57 -0400 | [diff] [blame] | 536 | "/sksl/runtime/ConstPreservation.rts", |
| 537 | "/sksl/runtime/ConversionConstructors.rts", |
| 538 | "/sksl/runtime/GLSLTypeNames.rts", |
| 539 | "/sksl/runtime/GlobalVariables.rts", |
John Stiles | 61e5e20 | 2021-09-02 09:56:31 -0400 | [diff] [blame] | 540 | "/sksl/runtime/LargeProgram_FlatLoop.rts", |
| 541 | "/sksl/runtime/LargeProgram_Functions.rts", |
| 542 | "/sksl/runtime/LargeProgram_NestedLoops.rts", |
| 543 | "/sksl/runtime/LargeProgram_SplitLoops.rts", |
John Stiles | 2af4b13 | 2021-09-02 16:17:07 -0400 | [diff] [blame] | 544 | "/sksl/runtime/LargeProgram_StackDepth.rts", |
John Stiles | 61e5e20 | 2021-09-02 09:56:31 -0400 | [diff] [blame] | 545 | "/sksl/runtime/LargeProgram_ZeroIterFor.rts", |
Brian Osman | 552fcb9 | 2021-04-28 17:41:57 -0400 | [diff] [blame] | 546 | "/sksl/runtime/LoopInt.rts", |
| 547 | "/sksl/runtime/LoopFloat.rts", |
John Stiles | 0201431 | 2021-08-04 16:03:12 -0400 | [diff] [blame] | 548 | "/sksl/runtime/PrecisionQualifiers.rts", |
Brian Osman | 552fcb9 | 2021-04-28 17:41:57 -0400 | [diff] [blame] | 549 | "/sksl/runtime/SampleWithExplicitCoord.rts", |
| 550 | "/sksl/runtime/VectorIndexing.rts", |
Brian Osman | 977feec | 2020-12-22 11:28:59 -0500 | [diff] [blame] | 551 | ] |
| 552 | |
| 553 | sksl_rte_error_tests = [ |
John Stiles | 4e24948 | 2021-08-13 11:43:21 -0400 | [diff] [blame] | 554 | "/sksl/runtime_errors/DerivativesES2.rts", |
John Stiles | 059798f | 2021-08-16 23:00:04 -0400 | [diff] [blame] | 555 | "/sksl/runtime_errors/ES3Types.rts", |
Brian Osman | 552fcb9 | 2021-04-28 17:41:57 -0400 | [diff] [blame] | 556 | "/sksl/runtime_errors/FirstClassArrays.rts", |
| 557 | "/sksl/runtime_errors/IllegalArrayOps.rts", |
| 558 | "/sksl/runtime_errors/IllegalIndexing.rts", |
| 559 | "/sksl/runtime_errors/IllegalOperators.rts", |
John Stiles | b806da4 | 2021-08-04 16:26:47 -0400 | [diff] [blame] | 560 | "/sksl/runtime_errors/IllegalPrecisionQualifiers.rts", |
Brian Osman | 7da0657 | 2021-07-21 15:19:34 -0400 | [diff] [blame] | 561 | "/sksl/runtime_errors/IllegalRecursionComplex.rts", |
| 562 | "/sksl/runtime_errors/IllegalRecursionMutual.rts", |
| 563 | "/sksl/runtime_errors/IllegalRecursionSimple.rts", |
Brian Osman | b5282f0 | 2021-08-24 10:11:56 -0400 | [diff] [blame] | 564 | "/sksl/runtime_errors/IllegalShaderSampling.rts", |
Brian Osman | 552fcb9 | 2021-04-28 17:41:57 -0400 | [diff] [blame] | 565 | "/sksl/runtime_errors/IllegalShaderUse.rts", |
| 566 | "/sksl/runtime_errors/IllegalStatements.rts", |
John Stiles | f7f36ae | 2021-06-08 14:06:22 -0400 | [diff] [blame] | 567 | "/sksl/runtime_errors/InvalidBlendMain.rtb", |
Brian Osman | cbb60bd | 2021-04-12 09:49:20 -0400 | [diff] [blame] | 568 | "/sksl/runtime_errors/InvalidColorFilterFeatures.rtcf", |
| 569 | "/sksl/runtime_errors/InvalidColorFilterMain.rtcf", |
| 570 | "/sksl/runtime_errors/InvalidShaderMain.rts", |
Brian Osman | 552fcb9 | 2021-04-28 17:41:57 -0400 | [diff] [blame] | 571 | "/sksl/runtime_errors/LoopConditionErrors.rts", |
| 572 | "/sksl/runtime_errors/LoopExpressionErrors.rts", |
| 573 | "/sksl/runtime_errors/LoopInitializerErrors.rts", |
| 574 | "/sksl/runtime_errors/LoopStructureErrors.rts", |
John Stiles | e3f85e0 | 2021-08-05 16:50:56 -0400 | [diff] [blame] | 575 | "/sksl/runtime_errors/Ossfuzz36655.rts", |
Ethan Nicholas | a2c76c7 | 2021-09-07 15:21:13 -0400 | [diff] [blame] | 576 | "/sksl/runtime_errors/Ossfuzz38131.rts", |
John Stiles | 61e5e20 | 2021-09-02 09:56:31 -0400 | [diff] [blame] | 577 | "/sksl/runtime_errors/ProgramTooLarge_FlatLoop.rts", |
| 578 | "/sksl/runtime_errors/ProgramTooLarge_Functions.rts", |
| 579 | "/sksl/runtime_errors/ProgramTooLarge_NestedLoops.rts", |
| 580 | "/sksl/runtime_errors/ProgramTooLarge_SplitLoops.rts", |
John Stiles | 2af4b13 | 2021-09-02 16:17:07 -0400 | [diff] [blame] | 581 | "/sksl/runtime_errors/ProgramTooLarge_StackDepth.rts", |
Brian Osman | 552fcb9 | 2021-04-28 17:41:57 -0400 | [diff] [blame] | 582 | "/sksl/runtime_errors/UnsupportedTypeFragmentProcessor.rts", |
| 583 | "/sksl/runtime_errors/UnsupportedTypeSampler.rts", |
| 584 | "/sksl/runtime_errors/UnsupportedTypeTexture.rts", |
Brian Osman | 977feec | 2020-12-22 11:28:59 -0500 | [diff] [blame] | 585 | ] |
| 586 | |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 587 | # Tests in sksl_glsl_tests_sources will be compiled with --settings on, and are expected to generate |
| 588 | # a .glsl output file. |
| 589 | sksl_glsl_tests_sources = |
John Stiles | 74192fd | 2021-01-11 11:07:01 -0500 | [diff] [blame] | 590 | sksl_error_tests + sksl_glsl_tests + sksl_inliner_tests + |
| 591 | sksl_folding_tests + sksl_shared_tests |
John Stiles | 7e24871 | 2020-09-24 16:42:09 -0400 | [diff] [blame] | 592 | |
| 593 | # Tests in sksl_glsl_settings_tests_sources will be compiled twice, once with --settings and once |
| 594 | # using --nosettings. In the latter mode, StandaloneSettings is appended to the output filename. |
| 595 | sksl_glsl_settings_tests_sources = sksl_blend_tests + sksl_settings_tests |
John Stiles | aeae3a5 | 2020-09-25 13:35:58 -0400 | [diff] [blame] | 596 | |
| 597 | # Tests in sksl_metal_tests_sources will be compiled with --settings on, and are expected to |
| 598 | # generate a .metal output file. |
John Stiles | 34de5cb | 2020-11-13 18:14:11 -0500 | [diff] [blame] | 599 | sksl_metal_tests_sources = |
| 600 | sksl_metal_tests + sksl_blend_tests + sksl_shared_tests |
John Stiles | dda1d31 | 2020-11-20 16:28:50 -0500 | [diff] [blame] | 601 | |
| 602 | # Tests in sksl_spirv_tests_sources will be compiled with --settings on, and are expected to |
| 603 | # generate a .asm.(frag|vert|geom) output file. |
John Stiles | ba067aa | 2020-11-25 16:55:37 -0500 | [diff] [blame] | 604 | sksl_spirv_tests_sources = |
| 605 | sksl_blend_tests + sksl_shared_tests + sksl_spirv_tests |
Brian Osman | 977feec | 2020-12-22 11:28:59 -0500 | [diff] [blame] | 606 | |
| 607 | ## Tests in sksl_skvm_tests_sources will be compiled with --settings on, and are expected to |
| 608 | ## generate a .skvm output file. |
| 609 | sksl_skvm_tests_sources = sksl_rte_tests + sksl_rte_error_tests |
Brian Osman | 62b039b | 2021-02-08 13:49:53 -0500 | [diff] [blame] | 610 | |
| 611 | ## Tests in sksl_stage_tests_sources will be compiled with --settings on, and are expected to |
| 612 | ## generate a .stage output file. |
| 613 | sksl_stage_tests_sources = sksl_rte_tests |