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