Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
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
;
}