blob: d9c6d9bd0383fc5f63d1920dbf7e27009d3c3b31 [file] [log] [blame]
RWByteAddressBuffer sb_rw : register(u0, space0);
int sb_rwatomicXor(uint offset, int value) {
int original_value = 0;
sb_rw.InterlockedXor(offset, value, original_value);
return original_value;
}
void atomicXor_c1b78c() {
int res = 0;
const int x_9 = sb_rwatomicXor(0u, 1);
res = x_9;
return;
}
void fragment_main_1() {
atomicXor_c1b78c();
return;
}
void fragment_main() {
fragment_main_1();
return;
}
void compute_main_1() {
atomicXor_c1b78c();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
compute_main_1();
return;
}