skia2/resources/sksl/errors/GrRecursion.fp

8 lines
123 B
Plaintext
Raw Normal View History

int factorial(int x) {
return (x <= 1) ? 1 : x * factorial(x - 1);
}
half4 main() {
return half4(factorial(7));
}