skia2/tests/sksl/blend/BlendSrcIn.glsl

8 lines
120 B
Plaintext
Raw Normal View History

#version 400
out vec4 sk_FragColor;
uniform vec4 src;
uniform vec4 dst;
void main() {
sk_FragColor = src * dst.w;
}