Sign in
dawn
/
dawn
/
cdc7991b9192dd604dd224cbb582d8cb312de17d
/
.
/
test
/
tint
/
bug
/
tint
/
366314931.wgsl.expected.wgsl
blob: 971caad0463f87f865f0b1a31edb9c82a7c8df51 [
file
] [
log
] [
blame
]
struct
S
{
v
:
vec3u
,
u
:
atomic
<u32>
,
}
var
<workgroup>
wgvar
:
S
;
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
output
:
S
;
@compute
@workgroup_size
(
1
,
1
,
1
)
fn main
()
{
let
x
=
atomicLoad
(&(
wgvar
.
u
));
atomicStore
(&(
output
.
u
),
x
);
}