Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
tests
/
sksl
/
blend
/
BlendLightenStandaloneSettings.glsl
blob: 08651702760c0cfc959a2839a53d1728fa3ea4fe [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 src
;
uniform vec4 dst
;
void
main
()
{
vec4 _0_result
=
src
+
(
1.0
-
src
.
w
)
*
dst
;
_0_result
.
xyz
=
max
(
_0_result
.
xyz
,
(
1.0
-
dst
.
w
)
*
src
.
xyz
+
dst
.
xyz
);
sk_FragColor
=
_0_result
;
}