skia2/tests/sksl/inliner
John Stiles 2654187396 Eliminate unused local variables during SkSL optimization.
This can eliminate const variables which have been completely folded
away, unnecessary synthetic variables created during codegen/inlining,
or code that simply didn't need to exist at all.

Change-Id: I37a65e455e6527a6a6c2f4dde918f48d84dc2638
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/383496
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-03-16 17:22:53 +00:00
..
DoWhileBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DoWhileTestCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
EnumsCanBeInlinedSafely.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
ExponentialGrowth.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
ExponentialGrowthStandaloneSettings.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
ForBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ForInitializerExpressionsCanBeInlined.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
ForWithoutReturnInsideCanBeInlined.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
ForWithReturnInsideCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IfBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IfElseBodyMustBeInlinedIntoAScope.glsl # Enter a description of the change. 2021-03-03 22:21:36 +00:00
IfElseChainWithReturnsCanBeInlined.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
IfTestCanBeInlined.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
IfWithReturnsCanBeInlined.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlineKeywordOverridesThreshold.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerAvoidsVariableNameOverlap.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerCanBeDisabled.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
InlinerCanBeDisabledStandaloneSettings.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerElidesTempVarForReturnsInsideBlock.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerHonorsGLSLOutParamSemantics.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerManglesNames.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerUsesTempVarForMultipleReturns.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerUsesTempVarForReturnsInsideBlockWithVar.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerWrapsEarlyReturnsWithForLoop.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlinerWrapsSwitchWithReturnInsideWithForLoop.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlineThreshold.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineWithInoutArgument.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlineWithModifiedArgument.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlineWithNestedBigCalls.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
InlineWithNestedCalls.glsl Eliminate unused local variables during SkSL optimization. 2021-03-16 17:22:53 +00:00
InlineWithUnmodifiedArgument.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
InlineWithUnnecessaryBlocks.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
NoInline.glsl Add noinline keyword to SkSL. 2021-03-10 15:39:48 +00:00
ShortCircuitEvaluationsCannotInlineRightHandSide.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
StaticSwitch.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
StructsCanBeInlinedSafely.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
SwitchWithCastCanBeInlined.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
SwitchWithoutReturnInsideCanBeInlined.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
SwizzleCanBeInlinedDirectly.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
TernaryResultsCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TernaryTestCanBeInlined.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
TrivialArgumentsInlineDirectly.glsl Revert "Inline functions of the form 'return (expr)' only." 2021-03-15 22:08:48 +00:00
WhileBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
WhileTestCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00