Sign in
dawn
/
dawn
/
c3cec4d9017a819a0637ace23d5b1a213313758b
/
.
/
test
/
bug
/
tint
/
492.wgsl.expected.wgsl
blob: 3b56c941285d65414a4a8059617ba89330347bb4 [
file
] [
log
] [
blame
]
struct
S
{
a
:
i32
;
};
[[
group
(
0
),
binding
(
0
)]]
var
<
storage
,
read_write
>
buf
:
S
;
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
let
p
:
ptr
<
storage
,
i32
,
read_write
>
=
&(
buf
.
a
);
*(
p
)
=
12
;
}