blob: d45ffaf33842d06220d3674d21d7591653fd7360 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread int* t;
};
int3 m(tint_module_vars_struct tint_module_vars) {
(*tint_module_vars.t) = 1;
return int3((*tint_module_vars.t));
}
void f(tint_module_vars_struct tint_module_vars) {
float3 v = float3(m(tint_module_vars));
}