blob: a50e53c4498571e7123632354bc10b39f078bd93 [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
uint2 subgroupExclusiveAdd_48acea() {
uint2 res = WavePrefixSum((1u).xx);
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, subgroupExclusiveAdd_48acea());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, subgroupExclusiveAdd_48acea());
}