
RWByteAddressBuffer prevent_dce : register(u0);
uint subgroupAdd_b61df7() {
  uint res = WaveActiveSum(1u);
  return res;
}

void fragment_main() {
  prevent_dce.Store(0u, subgroupAdd_b61df7());
}

[numthreads(1, 1, 1)]
void compute_main() {
  prevent_dce.Store(0u, subgroupAdd_b61df7());
}

