blob: d95efeb9d361e7f127d4d3caf311f1cf1591f32e [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
half t;
};
half m(thread tint_private_vars_struct* const tint_private_vars) {
(*(tint_private_vars)).t = 1.0h;
return half((*(tint_private_vars)).t);
}
void f(thread tint_private_vars_struct* const tint_private_vars) {
half const tint_symbol = m(tint_private_vars);
float v = float(tint_symbol);
}