Sign in
dawn
/
dawn
/
7cbd8202e6715ee5d51314bd1e745a5243da82c1
/
.
/
test
/
tint
/
buffer
/
storage
/
types
/
runtime_array.wgsl
blob: 156fd6891280c6f354e57a33c7b1499aa5828051 [
file
] [
log
] [
blame
]
struct
S
{
f
:
f32
,
};
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read
>
in
:
array
<
S
>;
@group
(
0
)
@binding
(
1
)
var
<
storage
,
read_write
>
out
:
array
<
S
>;
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
out
[
0
]
=
in
[
0
];
}