skia2/tests/sksl/blend/BlendPlusStandaloneSettings.glsl

8 lines
116 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform vec4 src;
uniform vec4 dst;
void main() {
sk_FragColor = min(src + dst, 1.0);
}