blob: 9f9594deebd6df6ff29bffeb6d715fc438f0de60 [file] [log] [blame]
RWByteAddressBuffer s : register(u0);
[numthreads(1, 1, 1)]
void main() {
float3 v = float3(1.0f, 2.0f, 3.0f);
float scalar = v[1u];
float2 swizzle2 = v.xz;
float3 swizzle3 = v.xzy;
float3 v_1 = float3((scalar).xxx);
s.Store3(0u, asuint(((v_1 + float3(swizzle2, 1.0f)) + swizzle3)));
}