blob: 6cb6edbf510fe681ad294eb3aef817ba1ccf38c7 [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);
float3 v = float3(tint_symbol);
}