blob: f796a96e4e7bf912d1361afd1269d89efbb84126 [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 2> subgroupAdd_cae1ed() {
vector<float16_t, 2> res = WaveActiveSum((float16_t(1.0h)).xx);
return res;
}
void fragment_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupAdd_cae1ed());
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupAdd_cae1ed());
return;
}