Sign in
skia
/
skia
/
530933006d3cb9ba1fcbfd32d5495390dc0c23d6
/
.
/
tests
/
sksl
/
errors
/
GrRecursion.fp
blob: 50214f9c1b26bb447e255185765517df53a73de1 [
file
] [
log
] [
blame
]
int
factorial
(
int
x
)
{
return
(
x
<=
1
)
?
1
:
x
*
factorial
(
x
-
1
);
}
void
main
()
{
sk_OutColor
=
half4
(
factorial
(
7
));
}