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