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