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