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