dawn-cmake/test/intrinsics/gen/atomicCompareExchangeWeak/89ea3b.wgsl.expected.wgsl

11 lines
226 B
WebGPU Shading Language

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