
RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 2> subgroupInclusiveAdd_a7c60f() {
  vector<float16_t, 2> res = (WavePrefixSum((float16_t(1.0h)).xx) + (float16_t(1.0h)).xx);
  return res;
}

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

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

