Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
62db68aad1a09b292d96b33e60c9d07cc9f8d02d
/
.
/
tests
/
sksl
/
blend
/
golden
/
BlendExclusionStandaloneSettings.glsl
blob: f34b27978cd884d1139286d94b22173076ebb740 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
in
vec4 src
;
in
vec4 dst
;
void
main
()
{
vec4 _0_blend_exclusion
;
_0_blend_exclusion
=
vec4
((
dst
.
xyz
+
src
.
xyz
)
-
(
2.0
*
dst
.
xyz
)
*
src
.
xyz
,
src
.
w
+
(
1.0
-
src
.
w
)
*
dst
.
w
);
sk_FragColor
=
_0_blend_exclusion
;
}