RWByteAddressBuffer prevent_dce : register(u0);

int subgroupElect_3943d6() {
  bool res = WaveIsFirstLane();
  return (all((res == false)) ? 1 : 0);
}

void fragment_main() {
  prevent_dce.Store(0u, asuint(subgroupElect_3943d6()));
  return;
}

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