blob: 64e2fae595480a12798a1ee3521b9ccef6efa5d2 [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) {
bool v = bool(m(tint_module_vars));
}