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