#include <metal_stdlib> | |
using namespace metal; | |
int f(int a, int b, int c) { | |
return as_type<int>((as_type<uint>(as_type<int>((as_type<uint>(a) * as_type<uint>(b)))) + as_type<uint>(c))); | |
} | |
kernel void tint_symbol() { | |
int const v = f(1, 2, 3); | |
int const v_1 = f(4, 5, 6); | |
as_type<int>((as_type<uint>(v) + as_type<uint>(as_type<int>((as_type<uint>(v_1) * as_type<uint>(f(7, f(8, 9, 10), 11))))))); | |
} |