dawn-cmake/test/intrinsics/gen/atomicExchange/e114ba.wgsl.expected.wgsl

11 lines
184 B
WebGPU Shading Language

var<workgroup> arg_0 : atomic<i32>;
fn atomicExchange_e114ba() {
var res : i32 = atomicExchange(&(arg_0), 1);
}
[[stage(compute)]]
fn compute_main() {
atomicExchange_e114ba();
}