blob: 44725a37faa5cf73cd1e6f13cf7de44b969eb844 [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);
float4 v = float4(tint_symbol);
}