Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
tests
/
sksl
/
blend
/
BlendExclusionStandaloneSettings.glsl
blob: cb61c894f07ee4442951383243bfff1d6afeaec3 [
file
] [
log
] [
blame
]
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
);
}