Sign in
skia
/
skia
/
af8b7cb5ec9d92d4082a9e40a98069e8d49b87d9
/
.
/
tests
/
sksl
/
glsl
/
ConstantIf.sksl
blob: d5fe0ec20552a8029201c58e935db985ca0e2a21 [
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
=
x
;
}