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