Sign in
skia
/
skia
/
be82005209c06840f0d5b13156d160a3e0efe702
/
.
/
tests
/
sksl
/
blend
/
BlendMultiplyStandaloneSettings.glsl
blob: 112a079cb79b77627e75a38cc70b0712656bdf77 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 src
;
uniform vec4 dst
;
void
main
()
{
sk_FragColor
=
vec4
(((
1.0
-
src
.
w
)
*
dst
.
xyz
+
(
1.0
-
dst
.
w
)
*
src
.
xyz
)
+
src
.
xyz
*
dst
.
xyz
,
src
.
w
+
(
1.0
-
src
.
w
)
*
dst
.
w
);
}