dawn-cmake/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.wgsl

11 lines
194 B
WebGPU Shading Language
Raw Normal View History

var<workgroup> arg_0 : atomic<i32>;
fn atomicExchange_e114ba() {
var res : i32 = atomicExchange(&(arg_0), 1i);
}
@compute @workgroup_size(1)
fn compute_main() {
atomicExchange_e114ba();
}