RWByteAddressBuffer prevent_dce : register(u0); | |
float16_t subgroupInclusiveAdd_dde86f() { | |
float16_t arg_0 = float16_t(1.0h); | |
float16_t v = arg_0; | |
float16_t res = (WavePrefixSum(v) + v); | |
return res; | |
} | |
void fragment_main() { | |
prevent_dce.Store<float16_t>(0u, subgroupInclusiveAdd_dde86f()); | |
} | |
[numthreads(1, 1, 1)] | |
void compute_main() { | |
prevent_dce.Store<float16_t>(0u, subgroupInclusiveAdd_dde86f()); | |
} | |