Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
tests
/
sksl
/
blend
/
BlendDarkenStandaloneSettings.glsl
blob: c7ea71ba5c4261d54e8f82684f4a47b3e3a09299 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 src
;
uniform vec4 dst
;
void
main
()
{
vec4 _0_a
=
src
+
(
1.0
-
src
.
w
)
*
dst
;
vec3 _1_b
=
(
1.0
-
dst
.
w
)
*
src
.
xyz
+
dst
.
xyz
;
_0_a
.
xyz
=
min
(
_0_a
.
xyz
,
_1_b
);
sk_FragColor
=
_0_a
;
}