Sign in
skia
/
skia
/
9f39daff8fd5e924afa750c2daf25fd16f107c2d
/
.
/
tests
/
sksl
/
workarounds
/
BlendModesAllZeroVec.glsl
blob: 4f78df63f0cd14fac90937a2026f2e6cc4815325 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
in
vec4 src
;
in
vec4 dst
;
void
main
()
{
sk_FragColor
=
src
==
vec4
(
0.0
)
?
vec4
(
0.0
)
:
src
*
dst
.
w
;
sk_FragColor
=
dst
==
vec4
(
0.0
)
?
vec4
(
0.0
)
:
dst
*
src
.
w
;
}