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