Sign in
skia
/
skia
/
0f46450775492febbf2c6ab9d7a6740d870d16ac
/
.
/
tests
/
sksl
/
inliner
/
golden
/
IfTestCanBeInlined.glsl
blob: 39821134677f4baebe92d113c3e00390be869f51 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 color
;
void
main
()
{
bool
_0_ifTest
;
{
_0_ifTest
=
color
.
x
>=
0.5
;
}
if
(
_0_ifTest
)
sk_FragColor
=
vec4
(
1.0
);
else
sk_FragColor
=
vec4
(
0.5
);
}