Sign in
skia
/
skia.git
/
ec9db71e002d3205e2dd7c63d6f3b139d43108eb
/
.
/
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
));
}