#include <metal_stdlib> | |
using namespace metal; | |
struct tint_module_vars_struct { | |
thread bool* t; | |
}; | |
bool2 m(tint_module_vars_struct tint_module_vars) { | |
(*tint_module_vars.t) = true; | |
return bool2((*tint_module_vars.t)); | |
} | |
void f(tint_module_vars_struct tint_module_vars) { | |
float2 v = float2(m(tint_module_vars)); | |
} |