dawn-cmake/test/expressions/swizzle/read/vec3/i32.wgsl.expected.hlsl

135 lines
2.8 KiB
HLSL

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