dawn-cmake/test/expressions/swizzle/read/packed_vec3/u32.wgsl.expected.hlsl

133 lines
3.6 KiB
HLSL
Raw Normal View History

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