blob: 0495cd3a648a1ceba1119c066c43fb74804057ed [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread half* t;
};
half3 m(tint_module_vars_struct tint_module_vars) {
(*tint_module_vars.t) = 1.0h;
return half3((*tint_module_vars.t));
}
void f(tint_module_vars_struct tint_module_vars) {
float3 v = float3(m(tint_module_vars));
}