skia2/tests/sksl/blend
John Stiles 511c500ad4 Avoid generating unused variables in the Inliner.
These variables were later being eliminated by the dead-code-elimination
pass, so you can't see them directly in the final output, but removing
them affects the name mangling off all future symbols, so it causes an
enormous ripple effect in the diff. And of course, it's a waste of time
and memory to synthesize IRNodes just to destroy them later.

If we disable control-flow analysis, we lose the dead-code-elimination
pass entirely; this change is also beneficial for emitting better code
when optimizations are turned off.

Change-Id: I882b3be4f3fd99b77d99b6abe128f26bb9252c89
Bug: skia:11319
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/375776
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-02-25 19:18:19 +00:00
..
BlendClear.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendClear.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendClear.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendClearStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendColor.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColor.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColor.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorBurn.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorBurn.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorBurn.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorBurnStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorDodge.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorDodge.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorDodge.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorDodgeStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendColorStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendDarken.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendDarken.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendDarken.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendDarkenStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendDifference.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDifference.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDifference.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDifferenceStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDst.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDst.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDst.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstAtop.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstAtop.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstAtop.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstAtopStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstIn.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstIn.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstIn.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstInStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstOut.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstOut.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstOut.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstOutStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstOver.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstOver.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstOver.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstOverStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendDstStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendEnum.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendEnum.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendEnum.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendEnumStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendExclusion.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendExclusion.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendExclusion.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendExclusionStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendHardLight.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendHardLight.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendHardLight.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendHardLightStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendHue.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendHue.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendHue.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendHueStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendLighten.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendLighten.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendLighten.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendLightenStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendLuminosity.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendLuminosity.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendLuminosity.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendLuminosityStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendModulate.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendModulate.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendModulate.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendModulateStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendMultiply.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendMultiply.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendMultiply.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendMultiplyStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendOverlay.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendOverlay.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendOverlay.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendOverlayStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendPlus.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendPlus.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendPlus.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendPlusStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSaturation.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendSaturation.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendSaturation.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendSaturationStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendScreen.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendScreen.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendScreen.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendScreenStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSoftLight.asm.frag Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendSoftLight.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendSoftLight.metal Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendSoftLightStandaloneSettings.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
BlendSrc.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrc.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrc.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcAtop.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcAtop.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcAtop.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcAtopStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcIn.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcIn.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcIn.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcInStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcOut.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcOut.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcOut.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcOutStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcOver.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcOver.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcOver.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcOverStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendSrcStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendXor.asm.frag Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendXor.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendXor.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
BlendXorStandaloneSettings.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00