Sign in
skia
/
skia
/
7b92897d62ee7d1930907038be769e54690cd5f9
/
.
/
resources
/
sksl
/
shared
/
ConstantIf.sksl
blob: b62c60944a1ea91052f5dfad164c19f9ae594835 [
file
] [
log
] [
blame
]
void
main
()
{
int
x
;
if
(
true
)
x
=
1
;
if
(
2
>
1
)
x
=
2
;
else
x
=
3
;
if
(
1
>
2
)
x
=
4
;
else
x
=
5
;
if
(
false
)
x
=
6
;
sk_FragColor
.
r
=
half
(
x
);
}