RWByteAddressBuffer prevent_dce : register(u0); | |
float subgroupExclusiveAdd_967e38() { | |
float arg_0 = 1.0f; | |
float res = WavePrefixSum(arg_0); | |
return res; | |
} | |
void fragment_main() { | |
prevent_dce.Store(0u, asuint(subgroupExclusiveAdd_967e38())); | |
} | |
[numthreads(1, 1, 1)] | |
void compute_main() { | |
prevent_dce.Store(0u, asuint(subgroupExclusiveAdd_967e38())); | |
} | |