Sign in
dawn
/
dawn
/
main
/
.
/
test
/
tint
/
extensions
/
atomic_vec2u_min_max
/
atomicStoreMax_function.wgsl.expected.wgsl
blob: 6379205d4762a2641c81a73fe6331e44984dcc91 [
file
] [
log
] [
blame
]
enable atomic_vec2u_min_max
;
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
a
:
atomic
<vec2u>
;
fn foo
(
p
:
ptr
<
storage
,
atomic
<vec2u>
,
read_write
>)
{
atomicStoreMax
(
p
,
vec2u
(
0
,
0
));
}
@fragment
fn main
()
{
foo
(&(
a
));
}