#include <metal_stdlib> | |
using namespace metal; | |
struct tint_module_vars_struct { | |
thread float* t; | |
}; | |
float4 m(tint_module_vars_struct tint_module_vars) { | |
(*tint_module_vars.t) = 1.0f; | |
return float4((*tint_module_vars.t)); | |
} | |
void f(tint_module_vars_struct tint_module_vars) { | |
bool4 v = bool4(m(tint_module_vars)); | |
} |