Sign in
skia
/
skia
/
9f39daff8fd5e924afa750c2daf25fd16f107c2d
/
.
/
tests
/
sksl
/
inliner
/
IfElseBodyMustBeInlinedIntoAScope.glsl
blob: 6a53909bc0078f70ca56bce13d9961f1ec7fb356 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 colorGreen
;
uniform vec4 colorRed
;
vec4 main
()
{
vec4 c
=
colorRed
;
if
(
colorGreen
.
y
==
0.0
)
;
else
{
vec4 _0_x
=
colorGreen
;
c
=
_0_x
;
}
return
c
;
}