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