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