
RWByteAddressBuffer prevent_dce : register(u0);
int3 subgroupExclusiveAdd_c08160() {
  int3 arg_0 = (int(1)).xxx;
  int3 res = WavePrefixSum(arg_0);
  return res;
}

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

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

