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

17 lines
255 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
in vec4 src;
in vec4 dst;
vec4 blend_plus(vec4 src, vec4 dst) {
return min(src + dst, 1.0);
}
void main() {
vec4 _0_blend_plus;
{
_0_blend_plus = min(src + dst, 1.0);
}
sk_FragColor = _0_blend_plus;
}