11 lines
232 B
WebGPU Shading Language
11 lines
232 B
WebGPU Shading Language
|
var<workgroup> arg_0 : atomic<u32>;
|
||
|
|
||
|
fn atomicCompareExchangeWeak_83580d() {
|
||
|
var res = atomicCompareExchangeWeak(&(arg_0), 1u, 1u);
|
||
|
}
|
||
|
|
||
|
@stage(compute) @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
atomicCompareExchangeWeak_83580d();
|
||
|
}
|