skia2/tests/sksl/blend/BlendSrcAtopStandaloneSettings.glsl

9 lines
121 B
Plaintext
Raw Normal View History

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