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