blob: b0ac7e6e1c58722449c1a282c260a868df640211 [file] [log] [blame]
RWByteAddressBuffer sb_rw : register(u0, space0);
uint tint_atomicOr(RWByteAddressBuffer buffer, uint offset, uint value) {
uint original_value = 0;
buffer.InterlockedOr(offset, value, original_value);
return original_value;
}
void atomicOr_5e95d4() {
uint res = 0u;
const uint x_9 = tint_atomicOr(sb_rw, 0u, 1u);
res = x_9;
return;
}
void fragment_main_1() {
atomicOr_5e95d4();
return;
}
void fragment_main() {
fragment_main_1();
return;
}
void compute_main_1() {
atomicOr_5e95d4();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
compute_main_1();
return;
}