skia2/tests/sksl/blend/BlendDstOverStandaloneSettings.glsl

8 lines
112 B
Plaintext
Raw Normal View History

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