
RWByteAddressBuffer prevent_dce : register(u0);
float3 quadSwapX_150d6f() {
  float3 arg_0 = (1.0f).xxx;
  float3 res = QuadReadAcrossX(arg_0);
  return res;
}

void fragment_main() {
  prevent_dce.Store3(0u, asuint(quadSwapX_150d6f()));
}

[numthreads(1, 1, 1)]
void compute_main() {
  prevent_dce.Store3(0u, asuint(quadSwapX_150d6f()));
}

