Sign in
skia
/
skia
/
be82005209c06840f0d5b13156d160a3e0efe702
/
.
/
tests
/
sksl
/
blend
/
BlendExclusion.glsl
blob: 583cb40852cc677ecab56ed8b603d131aa786520 [
file
] [
log
] [
blame
]
#version 400
out
vec4 sk_FragColor
;
uniform vec4 src
;
uniform vec4 dst
;
void
main
()
{
sk_FragColor
=
vec4
((
dst
.
xyz
+
src
.
xyz
)
-
(
2.0
*
dst
.
xyz
)
*
src
.
xyz
,
src
.
w
+
(
1.0
-
src
.
w
)
*
dst
.
w
);
}