skia2/tests/sksl/blend
John Stiles e8b5a73b56 Remove extraneous line-breaks in generated GLSL/Metal code.
I ran into an issue in an upcoming CL which generated a particularly
ugly switch statement:

    switch (x) {
        default:
             discard;}

So I cleaned this up, and while resolving this issue, managed to improve
a bunch of existing codegen as well. The formatting change has been
split out to a separate CL since it impacts so many golden outputs.

Change-Id: I7a6be29903c47560dcc7f6acd3ef15fd0c5c3c50
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/384179
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-03-12 18:39:57 +00:00
..
BlendClear.asm.frag Update SPIR-V test outputs with latest SPIRV tools 2021-03-11 21:46:01 +00:00
BlendClear.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendClear.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendClearStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColor.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendColor.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColor.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColorBurn.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendColorBurn.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColorBurn.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColorBurnStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColorDodge.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendColorDodge.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColorDodge.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColorDodgeStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendColorStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDarken.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendDarken.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDarken.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDarkenStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDifference.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendDifference.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDifference.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDifferenceStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDst.asm.frag Update SPIR-V test outputs with latest SPIRV tools 2021-03-11 21:46:01 +00:00
BlendDst.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDst.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstAtop.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendDstAtop.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstAtop.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstAtopStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstIn.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendDstIn.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstIn.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstInStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstOut.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendDstOut.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstOut.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstOutStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstOver.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendDstOver.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstOver.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstOverStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendDstStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendEnum.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendEnum.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendEnum.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendEnumStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendExclusion.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendExclusion.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendExclusion.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendExclusionStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendHardLight.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendHardLight.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendHardLight.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendHardLightStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendHue.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendHue.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendHue.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendHueStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendLighten.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendLighten.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendLighten.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendLightenStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendLuminosity.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendLuminosity.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendLuminosity.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendLuminosityStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendModulate.asm.frag Update SPIR-V test outputs with latest SPIRV tools 2021-03-11 21:46:01 +00:00
BlendModulate.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendModulate.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendModulateStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendMultiply.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendMultiply.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendMultiply.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendMultiplyStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendOverlay.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendOverlay.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendOverlay.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendOverlayStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendPlus.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendPlus.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendPlus.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendPlusStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSaturation.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendSaturation.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSaturation.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSaturationStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendScreen.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendScreen.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendScreen.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendScreenStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSoftLight.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendSoftLight.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSoftLight.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSoftLightStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrc.asm.frag Update SPIR-V test outputs with latest SPIRV tools 2021-03-11 21:46:01 +00:00
BlendSrc.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrc.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcAtop.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendSrcAtop.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcAtop.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcAtopStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcIn.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendSrcIn.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcIn.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcInStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcOut.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendSrcOut.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcOut.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcOutStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcOver.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendSrcOver.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcOver.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcOverStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendSrcStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendXor.asm.frag Fixed a number of spots where we should have been using RelaxedPrecision 2021-03-12 18:00:56 +00:00
BlendXor.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendXor.metal Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
BlendXorStandaloneSettings.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00