skia2/tests/sksl/blend/golden/BlendSrcOverStandaloneSettings.glsl
John Stiles 371fde549e Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'.
I realized that "DefaultSettings" as a name suffix was unclear, because
"Default" is a different settings mode from skslc running with
--nosettings.
In --nosettings mode, skslc uses "standalone" settings.

Change-Id: I1f5d80df0a21cec55948c4ad146169bcb34f4999
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/318210
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2020-09-21 22:15:51 +00:00

15 lines
249 B
GLSL

uniform vec4 src, dst;
vec4 blend_src_over(vec4 src, vec4 dst) {
return src + (1.0 - src.w) * dst;
}
vec4 main() {
vec4 _0_blend_src_over;
{
_0_blend_src_over = src + (1.0 - src.w) * dst;
}
return _0_blend_src_over;
}