skia2/tests/sksl/blend/golden
Brian Osman 0006ad01ce Stop cloning builtin functions
Previously, any builtin functions would be optimized as a side-effect of
optimizing programs that used them. Now that shared elements aren't
being optimized in that way, we explicitly optimize any shared modules
when they are first created. We don't remove dead elements, but we
we do substitute settings, simplify, and inline.

Bug: skia:10905
Change-Id: I701b5e9f52fb880ef3e6f4c67694d08602f47e95
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/336440
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-11-20 15:02:54 +00:00
..
BlendClear.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendClear.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendClearStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendColor.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendColor.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendColorBurn.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendColorBurn.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendColorBurnStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendColorDodge.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendColorDodge.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendColorDodgeStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendColorStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendDarken.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendDarken.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendDarkenStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendDifference.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDifference.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDifferenceStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDst.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDst.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstAtop.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstAtop.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstAtopStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstIn.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendDstIn.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendDstInStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendDstOut.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstOut.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstOutStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstOver.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstOver.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstOverStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendDstStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendExclusion.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendExclusion.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendExclusionStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendHardLight.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendHardLight.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendHardLightStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendHue.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendHue.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendHueStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendLighten.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendLighten.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendLightenStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendLuminosity.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendLuminosity.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendLuminosityStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendModulate.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendModulate.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendModulateStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendMultiply.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendMultiply.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendMultiplyStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendOverlay.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendOverlay.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendOverlayStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendPlus.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendPlus.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendPlusStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSaturation.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendSaturation.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendSaturationStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendScreen.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendScreen.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendScreenStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSoftLight.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendSoftLight.metal Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendSoftLightStandaloneSettings.glsl Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
BlendSrc.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrc.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcAtop.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcAtop.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcAtopStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcIn.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcIn.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcInStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcOut.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcOut.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcOutStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcOver.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcOver.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcOverStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendSrcStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendXor.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendXor.metal Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
BlendXorStandaloneSettings.glsl Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00