dawn-cmake/test/tint/builtins/gen/atomicMin/278235.wgsl.expected.wgsl

11 lines
185 B
WebGPU Shading Language

var<workgroup> arg_0 : atomic<i32>;
fn atomicMin_278235() {
var res : i32 = atomicMin(&(arg_0), 1);
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
atomicMin_278235();
}