dawn-cmake/test/tint/expressions/swizzle/read/packed_vec3/i32.wgsl.expected.fxc.hlsl

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