skia2/tests/sksl/workarounds
John Stiles 049f0dfaba Reduce unnecessary scratch variables in Inliner.
Arguments without side-effects that aren't read from more than once can
be moved directly into the inlined function, and don't need a scratch
variable. This can allow functions like `guarded_divide` to inline
completely in more cases.

Change-Id: I0bfce35635cf9779f4af1bc0790da966ccfe4230
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/386678
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-03-19 14:10:29 +00:00
..
AbsInt.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
AbsIntStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendGuardedDivide.glsl Reduce unnecessary scratch variables in Inliner. 2021-03-19 14:10:29 +00:00
BlendGuardedDivideStandaloneSettings.glsl Reduce unnecessary scratch variables in Inliner. 2021-03-19 14:10:29 +00:00
BlendModesAllZeroVec.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendModesAllZeroVecStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
FractNegative.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
FractNegativeStandaloneSettings.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
FragCoords.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
FragCoordsStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
LoopCondition.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
LoopConditionStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
MinAndAbsTogether.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
MinAndAbsTogetherStandaloneSettings.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
NegatedAtan.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NegatedAtanStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
PowWithConstantExponent.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
PowWithConstantExponentStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
RewriteDoWhileLoops.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
RewriteDoWhileLoopsStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TernaryShortCircuit.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TernaryShortCircuitStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00