skia2/tests/sksl/blend/BlendScreen.glsl

9 lines
123 B
Plaintext
Raw Normal View History

#version 400
out vec4 sk_FragColor;
in vec4 src;
in vec4 dst;
void main() {
sk_FragColor = src + (1.0 - src) * dst;
}