blob: cc4622ab2ca5bd178be0a5ffcd5c11f74dea4d0c [file] [log] [blame]
#version 400
out vec4 sk_FragColor;
in vec4 src;
in vec4 dst;
void main() {
vec4 _0_result = src + (1.0 - src.w) * dst;
_0_result.xyz = min(_0_result.xyz, (1.0 - dst.w) * src.xyz + dst.xyz);
sk_FragColor = _0_result;
}