blob: 0c16b2336cf1214c54f7ba676cd332477a659ecc [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, asuint(subgroupExclusiveAdd_48acea()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(subgroupExclusiveAdd_48acea()));
return;
}