| #include <metal_stdlib> |
| using namespace metal; |
| |
| struct S { |
| int3 v; |
| }; |
| |
| struct tint_module_vars_struct { |
| thread S* P; |
| }; |
| |
| void f(tint_module_vars_struct tint_module_vars) { |
| int3 v = (*tint_module_vars.P).v; |
| int x = (*tint_module_vars.P).v.x; |
| int y = (*tint_module_vars.P).v.y; |
| int z = (*tint_module_vars.P).v.z; |
| int2 xx = (*tint_module_vars.P).v.xx; |
| int2 xy = (*tint_module_vars.P).v.xy; |
| int2 xz = (*tint_module_vars.P).v.xz; |
| int2 yx = (*tint_module_vars.P).v.yx; |
| int2 yy = (*tint_module_vars.P).v.yy; |
| int2 yz = (*tint_module_vars.P).v.yz; |
| int2 zx = (*tint_module_vars.P).v.zx; |
| int2 zy = (*tint_module_vars.P).v.zy; |
| int2 zz = (*tint_module_vars.P).v.zz; |
| int3 xxx = (*tint_module_vars.P).v.xxx; |
| int3 xxy = (*tint_module_vars.P).v.xxy; |
| int3 xxz = (*tint_module_vars.P).v.xxz; |
| int3 xyx = (*tint_module_vars.P).v.xyx; |
| int3 xyy = (*tint_module_vars.P).v.xyy; |
| int3 xyz = (*tint_module_vars.P).v.xyz; |
| int3 xzx = (*tint_module_vars.P).v.xzx; |
| int3 xzy = (*tint_module_vars.P).v.xzy; |
| int3 xzz = (*tint_module_vars.P).v.xzz; |
| int3 yxx = (*tint_module_vars.P).v.yxx; |
| int3 yxy = (*tint_module_vars.P).v.yxy; |
| int3 yxz = (*tint_module_vars.P).v.yxz; |
| int3 yyx = (*tint_module_vars.P).v.yyx; |
| int3 yyy = (*tint_module_vars.P).v.yyy; |
| int3 yyz = (*tint_module_vars.P).v.yyz; |
| int3 yzx = (*tint_module_vars.P).v.yzx; |
| int3 yzy = (*tint_module_vars.P).v.yzy; |
| int3 yzz = (*tint_module_vars.P).v.yzz; |
| int3 zxx = (*tint_module_vars.P).v.zxx; |
| int3 zxy = (*tint_module_vars.P).v.zxy; |
| int3 zxz = (*tint_module_vars.P).v.zxz; |
| int3 zyx = (*tint_module_vars.P).v.zyx; |
| int3 zyy = (*tint_module_vars.P).v.zyy; |
| int3 zyz = (*tint_module_vars.P).v.zyz; |
| int3 zzx = (*tint_module_vars.P).v.zzx; |
| int3 zzy = (*tint_module_vars.P).v.zzy; |
| int3 zzz = (*tint_module_vars.P).v.zzz; |
| int4 xxxx = (*tint_module_vars.P).v.xxxx; |
| int4 xxxy = (*tint_module_vars.P).v.xxxy; |
| int4 xxxz = (*tint_module_vars.P).v.xxxz; |
| int4 xxyx = (*tint_module_vars.P).v.xxyx; |
| int4 xxyy = (*tint_module_vars.P).v.xxyy; |
| int4 xxyz = (*tint_module_vars.P).v.xxyz; |
| int4 xxzx = (*tint_module_vars.P).v.xxzx; |
| int4 xxzy = (*tint_module_vars.P).v.xxzy; |
| int4 xxzz = (*tint_module_vars.P).v.xxzz; |
| int4 xyxx = (*tint_module_vars.P).v.xyxx; |
| int4 xyxy = (*tint_module_vars.P).v.xyxy; |
| int4 xyxz = (*tint_module_vars.P).v.xyxz; |
| int4 xyyx = (*tint_module_vars.P).v.xyyx; |
| int4 xyyy = (*tint_module_vars.P).v.xyyy; |
| int4 xyyz = (*tint_module_vars.P).v.xyyz; |
| int4 xyzx = (*tint_module_vars.P).v.xyzx; |
| int4 xyzy = (*tint_module_vars.P).v.xyzy; |
| int4 xyzz = (*tint_module_vars.P).v.xyzz; |
| int4 xzxx = (*tint_module_vars.P).v.xzxx; |
| int4 xzxy = (*tint_module_vars.P).v.xzxy; |
| int4 xzxz = (*tint_module_vars.P).v.xzxz; |
| int4 xzyx = (*tint_module_vars.P).v.xzyx; |
| int4 xzyy = (*tint_module_vars.P).v.xzyy; |
| int4 xzyz = (*tint_module_vars.P).v.xzyz; |
| int4 xzzx = (*tint_module_vars.P).v.xzzx; |
| int4 xzzy = (*tint_module_vars.P).v.xzzy; |
| int4 xzzz = (*tint_module_vars.P).v.xzzz; |
| int4 yxxx = (*tint_module_vars.P).v.yxxx; |
| int4 yxxy = (*tint_module_vars.P).v.yxxy; |
| int4 yxxz = (*tint_module_vars.P).v.yxxz; |
| int4 yxyx = (*tint_module_vars.P).v.yxyx; |
| int4 yxyy = (*tint_module_vars.P).v.yxyy; |
| int4 yxyz = (*tint_module_vars.P).v.yxyz; |
| int4 yxzx = (*tint_module_vars.P).v.yxzx; |
| int4 yxzy = (*tint_module_vars.P).v.yxzy; |
| int4 yxzz = (*tint_module_vars.P).v.yxzz; |
| int4 yyxx = (*tint_module_vars.P).v.yyxx; |
| int4 yyxy = (*tint_module_vars.P).v.yyxy; |
| int4 yyxz = (*tint_module_vars.P).v.yyxz; |
| int4 yyyx = (*tint_module_vars.P).v.yyyx; |
| int4 yyyy = (*tint_module_vars.P).v.yyyy; |
| int4 yyyz = (*tint_module_vars.P).v.yyyz; |
| int4 yyzx = (*tint_module_vars.P).v.yyzx; |
| int4 yyzy = (*tint_module_vars.P).v.yyzy; |
| int4 yyzz = (*tint_module_vars.P).v.yyzz; |
| int4 yzxx = (*tint_module_vars.P).v.yzxx; |
| int4 yzxy = (*tint_module_vars.P).v.yzxy; |
| int4 yzxz = (*tint_module_vars.P).v.yzxz; |
| int4 yzyx = (*tint_module_vars.P).v.yzyx; |
| int4 yzyy = (*tint_module_vars.P).v.yzyy; |
| int4 yzyz = (*tint_module_vars.P).v.yzyz; |
| int4 yzzx = (*tint_module_vars.P).v.yzzx; |
| int4 yzzy = (*tint_module_vars.P).v.yzzy; |
| int4 yzzz = (*tint_module_vars.P).v.yzzz; |
| int4 zxxx = (*tint_module_vars.P).v.zxxx; |
| int4 zxxy = (*tint_module_vars.P).v.zxxy; |
| int4 zxxz = (*tint_module_vars.P).v.zxxz; |
| int4 zxyx = (*tint_module_vars.P).v.zxyx; |
| int4 zxyy = (*tint_module_vars.P).v.zxyy; |
| int4 zxyz = (*tint_module_vars.P).v.zxyz; |
| int4 zxzx = (*tint_module_vars.P).v.zxzx; |
| int4 zxzy = (*tint_module_vars.P).v.zxzy; |
| int4 zxzz = (*tint_module_vars.P).v.zxzz; |
| int4 zyxx = (*tint_module_vars.P).v.zyxx; |
| int4 zyxy = (*tint_module_vars.P).v.zyxy; |
| int4 zyxz = (*tint_module_vars.P).v.zyxz; |
| int4 zyyx = (*tint_module_vars.P).v.zyyx; |
| int4 zyyy = (*tint_module_vars.P).v.zyyy; |
| int4 zyyz = (*tint_module_vars.P).v.zyyz; |
| int4 zyzx = (*tint_module_vars.P).v.zyzx; |
| int4 zyzy = (*tint_module_vars.P).v.zyzy; |
| int4 zyzz = (*tint_module_vars.P).v.zyzz; |
| int4 zzxx = (*tint_module_vars.P).v.zzxx; |
| int4 zzxy = (*tint_module_vars.P).v.zzxy; |
| int4 zzxz = (*tint_module_vars.P).v.zzxz; |
| int4 zzyx = (*tint_module_vars.P).v.zzyx; |
| int4 zzyy = (*tint_module_vars.P).v.zzyy; |
| int4 zzyz = (*tint_module_vars.P).v.zzyz; |
| int4 zzzx = (*tint_module_vars.P).v.zzzx; |
| int4 zzzy = (*tint_module_vars.P).v.zzzy; |
| int4 zzzz = (*tint_module_vars.P).v.zzzz; |
| } |