Sign in
dawn
/
dawn
/
15e3561134c450b5328ff250925bcc2933ac410e
/
.
/
test
/
intrinsics
/
gen
/
atomicCompareExchangeWeak
/
89ea3b.wgsl.expected.wgsl
blob: 152f1cd0afedfd01d37050f12d61c6d9d4f890e5 [
file
] [
log
] [
blame
]
var
<workgroup>
arg_0
:
atomic
<i32>
;
fn atomicCompareExchangeWeak_89ea3b
()
{
var
res
:
vec2
<i32>
=
atomicCompareExchangeWeak
(&(
arg_0
),
1
,
1
);
}
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn compute_main
()
{
atomicCompareExchangeWeak_89ea3b
();
}