
RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 4> quadSwapY_5b2e67() {
  vector<float16_t, 4> res = QuadReadAcrossY((float16_t(1.0h)).xxxx);
  return res;
}

void fragment_main() {
  prevent_dce.Store<vector<float16_t, 4> >(0u, quadSwapY_5b2e67());
}

[numthreads(1, 1, 1)]
void compute_main() {
  prevent_dce.Store<vector<float16_t, 4> >(0u, quadSwapY_5b2e67());
}

