Sign in
skia
/
skia
/
b3aadd56d187b0f037ca99f981024feda7bdab69
/
.
/
resources
/
sksl
/
workarounds
/
BlendGuardedDivide.sksl
blob: 78d68eaf6154ac389042b6f51ec57d6ff49efc43 [
file
] [
log
] [
blame
]
/*#pragma settings MustGuardDivisionEvenAfterExplicitZeroCheck*/
in
half4 src
,
dst
;
void
main
()
{
sk_FragColor
=
blend_color_dodge
(
src
,
dst
);
sk_FragColor
=
blend_color_burn
(
src
,
dst
);
sk_FragColor
=
blend_soft_light
(
src
,
dst
);
}