skia2/tests/sksl/blend/golden/BlendSrcOverStandaloneSettings.glsl

11 lines
184 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
in vec4 src;
in vec4 dst;
void main() {
vec4 _0_blend_src_over;
_0_blend_src_over = src + (1.0 - src.w) * dst;
sk_FragColor = _0_blend_src_over;
}