1int factorial(int x) {
2    return (x <= 1) ? 1 : x * factorial(x - 1);
3}
4
5half4 main() {
6    return half4(factorial(7));
7}
8