blob: 79d2663bd8aefa5670a6f2e3812f33536523c2d7 [file] [log] [blame]
SKIP: Wave ops not supported before SM 6.0
RWByteAddressBuffer prevent_dce : register(u0);
float16_t subgroupShuffleUp_bbf7f4() {
float16_t arg_0 = float16_t(1.0h);
uint arg_1 = 1u;
float16_t v = arg_0;
uint v_1 = arg_1;
float16_t res = WaveReadLaneAt(v, (WaveGetLaneIndex() - v_1));
return res;
}
void fragment_main() {
prevent_dce.Store<float16_t>(0u, subgroupShuffleUp_bbf7f4());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<float16_t>(0u, subgroupShuffleUp_bbf7f4());
}