skia2/tests/sksl/inliner
John Stiles e4da7b672f Migrate if-statement simplifyStatement logic to IfStatement::Make.
This performs essentially the same simplifications as before, just at
a different phase of compilation.

Change-Id: Ia88df6857d4089962505cd1281798fda74fd0b02
Bug: skia:11343, skia:11319
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/376177
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-03-03 18:12:35 +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 Fix switch optimization pass. 2021-02-23 15:38:24 +00:00
ExponentialGrowth.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ExponentialGrowthStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ForBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ForInitializerExpressionsCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ForWithoutReturnInsideCanBeInlined.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +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 Migrate if-statement simplifyStatement logic to IfStatement::Make. 2021-03-03 18:12:35 +00:00
IfElseChainWithReturnsCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IfTestCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IfWithReturnsCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineKeywordOverridesThreshold.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlinerAvoidsVariableNameOverlap.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerCanBeDisabled.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerCanBeDisabledStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerElidesTempVarForReturnsInsideBlock.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerHonorsGLSLOutParamSemantics.glsl Add test to demonstrate out-param semantics violation. 2021-02-16 14:28:49 +00:00
InlinerManglesNames.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerUsesTempVarForMultipleReturns.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlinerUsesTempVarForReturnsInsideBlockWithVar.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlinerWrapsEarlyReturnsWithForLoop.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlinerWrapsSwitchWithReturnInsideWithForLoop.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineThreshold.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineWithInoutArgument.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineWithModifiedArgument.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlineWithNestedBigCalls.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlineWithNestedCalls.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlineWithUnmodifiedArgument.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineWithUnnecessaryBlocks.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ShortCircuitEvaluationsCannotInlineRightHandSide.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitch.glsl Fix switch optimization pass. 2021-02-23 15:38:24 +00:00
StructsCanBeInlinedSafely.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
SwitchWithCastCanBeInlined.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
SwitchWithoutReturnInsideCanBeInlined.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
SwizzleCanBeInlinedDirectly.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TernaryResultsCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TernaryTestCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TrivialArgumentsInlineDirectly.glsl Support structs in runtime effects 2021-02-11 21:09:15 +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