blob: e9c1579473e1bf5b2d3f79db4be9a510d2112b54 [file] [edit]
RWByteAddressBuffer sb_rw : register(u0);
int sb_rwatomicMax(uint offset, int value) {
int original_value = 0;
sb_rw.InterlockedMax(offset, value, original_value);
return original_value;
}
void atomicMax_92aa72() {
int arg_1 = 0;
int res = 0;
arg_1 = 1;
const int x_20 = arg_1;
const int x_13 = sb_rwatomicMax(0u, x_20);
res = x_13;
return;
}
void fragment_main_1() {
atomicMax_92aa72();
return;
}
void fragment_main() {
fragment_main_1();
return;
}
void compute_main_1() {
atomicMax_92aa72();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
compute_main_1();
return;
}