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