dawn-cmake/test/tint/expressions/swizzle/read/vec3/u32.wgsl.expected.fxc.hlsl

135 lines
3.0 KiB
HLSL
Raw Normal View History

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