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