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

11 lines
196 B
Plaintext
Raw Normal View History

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