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