blob: 736c4f539e55dc0c9f0af5c86b4d5d274717e021 [file] [log] [blame]
RWByteAddressBuffer sb_rw : register(u0, space0);
void atomicExchange_d59712() {
uint atomic_result = 0u;
sb_rw.InterlockedExchange(0u, 0u, atomic_result);
uint res = atomic_result;
}
void fragment_main() {
atomicExchange_d59712();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
atomicExchange_d59712();
return;
}