RWByteAddressBuffer prevent_dce : register(u0); | |
int3 subgroupInclusiveAdd_c816b2() { | |
int3 arg_0 = (int(1)).xxx; | |
int3 v = arg_0; | |
int3 res = (WavePrefixSum(v) + v); | |
return res; | |
} | |
void fragment_main() { | |
prevent_dce.Store3(0u, asuint(subgroupInclusiveAdd_c816b2())); | |
} | |
[numthreads(1, 1, 1)] | |
void compute_main() { | |
prevent_dce.Store3(0u, asuint(subgroupInclusiveAdd_c816b2())); | |
} | |