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