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