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