Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
62db68aad1a09b292d96b33e60c9d07cc9f8d02d
/
.
/
tests
/
sksl
/
inliner
/
golden
/
IfTestCanBeInlined.glsl
blob: 450207d42adb89347558cb7baf44c768845fd4a5 [
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
);
}