skia2/tests/sksl/inliner/golden
John Stiles 2d7973afc2 Factor out Inliner candidate list assembly into its own function.
This greatly improves the output from a profiler. It makes it much
easier to determine how much time is spent in searching for candidates,
versus actually inlining them.

It also improves the code readability somewhat by breaking a large
monolithic function into several smaller functions.

Change-Id: I1b3ef6ddbe46af60e673f37ded766f8077ed6b03
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/321376
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-10-02 20:39:24 +00:00
..
DoWhileBodyMustBeInlinedIntoAScope.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
DoWhileTestCannotBeInlined.glsl Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00
ForBodyMustBeInlinedIntoAScope.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
ForInitializerExpressionsCanBeInlined.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
ForWithoutReturnInsideCanBeInlined.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
ForWithReturnInsideCannotBeInlined.glsl Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00
IfBodyMustBeInlinedIntoAScope.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
IfElseBodyMustBeInlinedIntoAScope.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
IfElseChainWithReturnsCanBeInlined.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
IfTestCanBeInlined.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
IfWithReturnsCanBeInlined.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
InlineKeywordOverridesThreshold.glsl Factor out Inliner candidate list assembly into its own function. 2020-10-02 20:39:24 +00:00
InlinerAvoidsVariableNameOverlap.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
InlinerManglesNames.glsl Allow more types of expressions to be directly inlined. 2020-09-30 00:36:40 +00:00
InlinerWrapsEarlyReturnsWithDoWhileBlock.glsl Fix generated file. 2020-09-19 14:53:43 +00:00
InlinerWrapsEarlyReturnsWithDoWhileBlockStandaloneSettings.glsl Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00
InlineThreshold.glsl Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00
InlineWithInoutArgument.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
InlineWithModifiedArgument.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
InlineWithNestedBigCalls.glsl Factor out Inliner candidate list assembly into its own function. 2020-10-02 20:39:24 +00:00
InlineWithNestedCalls.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
InlineWithUnmodifiedArgument.glsl Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00
InlineWithUnnecessaryBlocks.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
ShortCircuitEvaluationsCannotInlineRightHandSide.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
SwitchWithCastCanBeInlined.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
SwitchWithoutReturnInsideCanBeInlined.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
SwitchWithReturnInsideCannotBeInlined.glsl Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00
SwizzleCanBeInlinedDirectly.glsl Allow more types of expressions to be directly inlined. 2020-09-30 00:36:40 +00:00
TernaryResultsCannotBeInlined.glsl Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00
TernaryTestCanBeInlined.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
TrivialArgumentsInlineDirectly.glsl Inline trivial single-argument constructors directly. 2020-09-30 17:06:14 +00:00
WhileBodyMustBeInlinedIntoAScope.glsl Revert "Remove inliner from IR generation stage." 2020-09-19 12:47:25 +00:00
WhileTestCannotBeInlined.glsl Align default values of GrShaderCaps with StandaloneShaderCaps. 2020-09-16 15:16:37 +00:00