skia2/tests/sksl/blend
John Stiles 74ebd7e6ce Add support for inlining switches with returns inside.
Because we use `continue` for flow control handling now, we can escape
from the middle of a switch statement. This wasn't possible when we used
`break`.

This unlocks some pretty stellar optimization opportunities if the
switch value can be determined at compile time; see BlendEnum for an
example.

Change-Id: Id29be92c343c10fd604683a80c5d5bd2bd070cb0
Bug: skia:11097
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/345419
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2020-12-18 00:14:48 +00:00
..
golden Add support for inlining switches with returns inside. 2020-12-18 00:14:48 +00:00
BlendClear.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendColor.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendColorBurn.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendColorDodge.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendDarken.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendDifference.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendDst.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendDstAtop.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendDstIn.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendDstOut.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendDstOver.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendEnum.sksl Fix SPIR-V and Metal support for enum types. 2020-11-30 18:05:48 +00:00
BlendExclusion.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendHardLight.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendHue.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendLighten.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendLuminosity.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendModulate.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendMultiply.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendOverlay.sksl Rename BlendOverlap to BlendOverlay. 2020-10-02 22:26:15 +00:00
BlendPlus.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendSaturation.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendScreen.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendSoftLight.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendSrc.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendSrcAtop.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendSrcIn.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendSrcOut.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendSrcOver.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
BlendXor.sksl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00