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