skia2/tests/sksl/inliner
John Stiles 7bd7ea2c8e Prevent no-op statements in GLSL code generator.
This eliminates a handful of useless statements. They were harmless, but
presumably this saves optimization work for the GLSL compiler.

(Patterned after http://review.skia.org/496377 )

Change-Id: Ibe135750488a9917b982dcac67f22b3765412ee1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/496599
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-19 17:36:54 +00:00
..
DoWhileBodyMustBeInlinedIntoAScope.glsl
DoWhileTestCannotBeInlined.glsl
ExponentialGrowth.glsl Prevent no-op statements in GLSL code generator. 2022-01-19 17:36:54 +00:00
ExponentialGrowthStandaloneSettings.glsl Prevent no-op statements in GLSL code generator. 2022-01-19 17:36:54 +00:00
ForBodyMustBeInlinedIntoAScope.glsl
ForInitializerExpressionsCanBeInlined.glsl
ForWithoutReturnInsideCanBeInlined.glsl
ForWithReturnInsideCannotBeInlined.glsl
IfBodyMustBeInlinedIntoAScope.glsl
IfElseBodyMustBeInlinedIntoAScope.glsl
IfElseChainWithReturnsCanBeInlined.glsl
IfTestCanBeInlined.glsl
IfWithReturnsCanBeInlined.glsl
InlineKeywordOverridesThreshold.glsl
InlinerAvoidsVariableNameOverlap.glsl
InlinerCanBeDisabled.glsl
InlinerCanBeDisabledStandaloneSettings.glsl
InlinerElidesTempVarForReturnsInsideBlock.glsl
InlinerHonorsGLSLOutParamSemantics.glsl
InlinerManglesNames.glsl
InlinerUsesTempVarForMultipleReturns.glsl
InlinerUsesTempVarForReturnsInsideBlockWithVar.glsl
InlineThreshold.glsl
InlineWithInoutArgument.glsl Prevent no-op statements in GLSL code generator. 2022-01-19 17:36:54 +00:00
InlineWithModifiedArgument.glsl
InlineWithNestedBigCalls.glsl
InlineWithNestedCalls.glsl Prevent no-op statements in GLSL code generator. 2022-01-19 17:36:54 +00:00
InlineWithUnmodifiedArgument.glsl
InlineWithUnnecessaryBlocks.glsl
NoInline.glsl
Ossfuzz37994.glsl Prevent no-op statements in GLSL code generator. 2022-01-19 17:36:54 +00:00
ShortCircuitEvaluationsCannotInlineRightHandSide.glsl
StaticSwitch.glsl
StructsCanBeInlinedSafely.glsl
SwitchWithCastCanBeInlined.glsl
SwitchWithoutReturnInsideCanBeInlined.glsl
SwizzleCanBeInlinedDirectly.glsl
TernaryResultsCannotBeInlined.glsl
TernaryTestCanBeInlined.glsl
TrivialArgumentsInlineDirectly.glsl
WhileBodyMustBeInlinedIntoAScope.glsl
WhileTestCannotBeInlined.glsl