blob: 7520bf6ce6751fec34277d1f8449420bd9003e6b [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
float16_t subgroupExclusiveAdd_4a1568() {
float16_t res = WavePrefixSum(float16_t(1.0h));
return res;
}
void fragment_main() {
prevent_dce.Store<float16_t>(0u, subgroupExclusiveAdd_4a1568());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<float16_t>(0u, subgroupExclusiveAdd_4a1568());
}