blob: bf45b7e39348347170e01a2af6d3dd77111b1239 [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
float16_t subgroupMax_5611a5() {
float16_t res = WaveActiveMax(float16_t(1.0h));
return res;
}
void fragment_main() {
prevent_dce.Store<float16_t>(0u, subgroupMax_5611a5());
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<float16_t>(0u, subgroupMax_5611a5());
return;
}