#include <metal_stdlib> | |
using namespace metal; | |
struct tint_private_vars_struct { | |
int t; | |
}; | |
int4 m(thread tint_private_vars_struct* const tint_private_vars) { | |
(*(tint_private_vars)).t = 1; | |
return int4((*(tint_private_vars)).t); | |
} | |
void f(thread tint_private_vars_struct* const tint_private_vars) { | |
int4 const tint_symbol = m(tint_private_vars); | |
float4 v = float4(tint_symbol); | |
} | |