2021-06-18 18:56:13 +00:00
|
|
|
var<workgroup> arg_0 : atomic<i32>;
|
2021-06-18 18:56:13 +00:00
|
|
|
|
2021-06-18 18:56:13 +00:00
|
|
|
fn atomicMax_a89cc3() {
|
2022-10-25 13:08:45 +00:00
|
|
|
var res : i32 = atomicMax(&(arg_0), 1i);
|
2021-06-18 18:56:13 +00:00
|
|
|
}
|
2021-06-18 18:56:13 +00:00
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@compute @workgroup_size(1)
|
2021-06-18 18:56:13 +00:00
|
|
|
fn compute_main() {
|
|
|
|
atomicMax_a89cc3();
|
|
|
|
}
|