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 | |
| 6 | # Things are easiest for everyone if these source paths are absolute. |
| 7 | _tests = get_path_info("../tests", "abspath") |
| 8 | |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 9 | sksl_fp_tests_sources = [ |
| 10 | "$_tests/sksl/errors/GrBothExplicitReturnAndSkOutColor.fp", |
| 11 | "$_tests/sksl/fp/GrHelloWorld.fp", |
| 12 | ] |
John Stiles | d836f84 | 2020-09-14 10:21:44 -0400 | [diff] [blame] | 13 | |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 14 | sksl_glsl_tests_sources = [ |
| 15 | "$_tests/sksl/errors/OpenArray.sksl", |
| 16 | "$_tests/sksl/errors/UndefinedSymbol.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 17 | "$_tests/sksl/glsl/ArrayConstructors.sksl", |
| 18 | "$_tests/sksl/glsl/ArrayIndexTypes.sksl", |
| 19 | "$_tests/sksl/glsl/ArrayTypes.sksl", |
| 20 | "$_tests/sksl/glsl/BoolFolding.sksl", |
| 21 | "$_tests/sksl/glsl/ClipDistanceFragment.sksl", |
| 22 | "$_tests/sksl/glsl/ClipDistanceVertex.vert", |
| 23 | "$_tests/sksl/glsl/Clockwise.sksl", |
| 24 | "$_tests/sksl/glsl/ComplexDelete.sksl", |
| 25 | "$_tests/sksl/glsl/ConstArray.sksl", |
| 26 | "$_tests/sksl/glsl/ConstantIf.sksl", |
| 27 | "$_tests/sksl/glsl/Control.sksl", |
| 28 | "$_tests/sksl/glsl/DeadLoopVariable.sksl", |
| 29 | "$_tests/sksl/glsl/DependentInitializers.sksl", |
| 30 | "$_tests/sksl/glsl/FloatFolding.sksl", |
| 31 | "$_tests/sksl/glsl/Functions.sksl", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 32 | "$_tests/sksl/glsl/HelloWorld.sksl", |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 33 | "$_tests/sksl/glsl/Hex.sksl", |
| 34 | "$_tests/sksl/glsl/InstanceID.vert", |
| 35 | "$_tests/sksl/glsl/IntFolding.sksl", |
| 36 | "$_tests/sksl/glsl/InterfaceBlockAnonymous.sksl", |
| 37 | "$_tests/sksl/glsl/InterfaceBlockArray.sksl", |
| 38 | "$_tests/sksl/glsl/InterfaceBlockNamed.sksl", |
| 39 | "$_tests/sksl/glsl/Matrices.sksl", |
| 40 | "$_tests/sksl/glsl/MatrixFolding.sksl", |
| 41 | "$_tests/sksl/glsl/MultipleAssignments.sksl", |
| 42 | "$_tests/sksl/glsl/Offset.sksl", |
| 43 | "$_tests/sksl/glsl/Operators.sksl", |
| 44 | "$_tests/sksl/glsl/SampleMask.sksl", |
| 45 | "$_tests/sksl/glsl/ShortCircuitBoolFolding.sksl", |
| 46 | "$_tests/sksl/glsl/StaticSwitchWithBreak.sksl", |
| 47 | "$_tests/sksl/glsl/StaticSwitchWithBreakInsideBlock.sksl", |
| 48 | "$_tests/sksl/glsl/StaticSwitchWithConditionalBreak.sksl", |
| 49 | "$_tests/sksl/glsl/StaticSwitchWithConditionalBreakInsideBlock.sksl", |
| 50 | "$_tests/sksl/glsl/StaticSwitchWithFallthroughA.sksl", |
| 51 | "$_tests/sksl/glsl/StaticSwitchWithFallthroughB.sksl", |
| 52 | "$_tests/sksl/glsl/StaticSwitchWithStaticConditionalBreak.sksl", |
| 53 | "$_tests/sksl/glsl/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl", |
| 54 | "$_tests/sksl/glsl/Structs.sksl", |
| 55 | "$_tests/sksl/glsl/Switch.sksl", |
| 56 | "$_tests/sksl/glsl/SwitchContainingDeadCode.sksl", |
| 57 | "$_tests/sksl/glsl/SwitchWithFallthrough.sksl", |
| 58 | "$_tests/sksl/glsl/UnusedVariables.sksl", |
| 59 | "$_tests/sksl/glsl/VectorConstructors.sksl", |
| 60 | "$_tests/sksl/glsl/VectorFolding.sksl", |
| 61 | "$_tests/sksl/glsl/VertexID.vert", |
John Stiles | f2cdf59 | 2020-09-15 10:10:43 -0400 | [diff] [blame^] | 62 | "$_tests/sksl/inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl", |
| 63 | "$_tests/sksl/inliner/DoWhileTestCannotBeInlined.sksl", |
| 64 | "$_tests/sksl/inliner/ForBodyMustBeInlinedIntoAScope.sksl", |
| 65 | "$_tests/sksl/inliner/ForInitializerExpressionsCanBeInlined.sksl", |
| 66 | "$_tests/sksl/inliner/ForWithReturnInsideCannotBeInlined.sksl", |
| 67 | "$_tests/sksl/inliner/ForWithoutReturnInsideCanBeInlined.sksl", |
| 68 | "$_tests/sksl/inliner/IfBodyMustBeInlinedIntoAScope.sksl", |
| 69 | "$_tests/sksl/inliner/IfElseBodyMustBeInlinedIntoAScope.sksl", |
| 70 | "$_tests/sksl/inliner/IfElseChainWithReturnsCanBeInlined.sksl", |
| 71 | "$_tests/sksl/inliner/IfTestCanBeInlined.sksl", |
| 72 | "$_tests/sksl/inliner/IfWithReturnsCanBeInlined.sksl", |
| 73 | "$_tests/sksl/inliner/InlineKeywordOverridesThreshold.sksl", |
| 74 | "$_tests/sksl/inliner/InlineThreshold.sksl", |
| 75 | "$_tests/sksl/inliner/InlineWithInoutArgument.sksl", |
| 76 | "$_tests/sksl/inliner/InlineWithModifiedArgument.sksl", |
| 77 | "$_tests/sksl/inliner/InlineWithNestedBigCalls.sksl", |
| 78 | "$_tests/sksl/inliner/InlineWithNestedCalls.sksl", |
| 79 | "$_tests/sksl/inliner/InlineWithUnmodifiedArgument.sksl", |
| 80 | "$_tests/sksl/inliner/InlineWithUnnecessaryBlocks.sksl", |
John Stiles | 8f02625 | 2020-09-14 18:23:54 -0400 | [diff] [blame] | 81 | "$_tests/sksl/inliner/InlinerAvoidsVariableNameOverlap.sksl", |
John Stiles | f2cdf59 | 2020-09-15 10:10:43 -0400 | [diff] [blame^] | 82 | "$_tests/sksl/inliner/InlinerManglesNames.sksl", |
| 83 | "$_tests/sksl/inliner/InlinerWrapsEarlyReturnsWithDoWhileBlock.sksl", |
| 84 | "$_tests/sksl/inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl", |
| 85 | "$_tests/sksl/inliner/SwitchWithCastCanBeInlined.sksl", |
| 86 | "$_tests/sksl/inliner/SwitchWithReturnInsideCannotBeInlined.sksl", |
| 87 | "$_tests/sksl/inliner/SwitchWithoutReturnInsideCanBeInlined.sksl", |
| 88 | "$_tests/sksl/inliner/TernaryResultsCannotBeInlined.sksl", |
| 89 | "$_tests/sksl/inliner/TernaryTestCanBeInlined.sksl", |
| 90 | "$_tests/sksl/inliner/WhileBodyMustBeInlinedIntoAScope.sksl", |
| 91 | "$_tests/sksl/inliner/WhileTestCannotBeInlined.sksl", |
John Stiles | ea9e7ca | 2020-09-14 16:46:40 -0400 | [diff] [blame] | 92 | ] |