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