skia2/tests/sksl/blend
John Stiles 92748af1a5 Inline functions of the form 'return (expr)' only.
This drastically reduces the number of functions which we allow to be
inlined. If this change does not hurt our performance, it will allow us
to trivially remove hundreds of LOC. All current data leads us to
believe that it may affect the Mali 400 but is highly unlikely to change
results on any other device in the tree.

More info: http://go/optimization-in-sksl-inliner

Change-Id: Ia6b706742ce5407453e0e697b6c1f9201084c0e8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/384858
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-03-15 19:46:46 +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 Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendColor.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendColor.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendColorBurn.asm.frag Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendDarken.asm.frag Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendDarken.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendDarken.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendDarkenStandaloneSettings.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendDifference.asm.frag Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendEnum.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendEnum.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendEnumStandaloneSettings.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendExclusion.asm.frag Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendHardLight.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendHardLight.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendHardLightStandaloneSettings.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendHue.asm.frag Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendHue.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendHue.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendHueStandaloneSettings.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendLighten.asm.frag Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendLighten.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendLighten.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendLightenStandaloneSettings.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendLuminosity.asm.frag Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendLuminosity.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendLuminosity.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendLuminosityStandaloneSettings.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendOverlay.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendOverlay.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendOverlayStandaloneSettings.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendPlus.asm.frag Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendSaturation.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendSaturation.metal Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendSaturationStandaloneSettings.glsl Inline functions of the form 'return (expr)' only. 2021-03-15 19:46:46 +00:00
BlendScreen.asm.frag Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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 Revert "Fixed a number of spots where we should have been using RelaxedPrecision" 2021-03-12 18:48:57 +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