Sign in
dawn
/
dawn
/
4c8379a4ab2ad42a02eb8528ad01c15c879da803
/
.
/
test
/
tint
/
var
/
initialization
/
private
/
nested_structs.wgsl.expected.wgsl
blob: afc3d4951ded51ff0fa007002f4d475af25d4878 [
file
] [
log
] [
blame
]
struct
S1
{
i
:
i32
,
}
struct
S2
{
s1
:
S1
,
}
struct
S3
{
s2
:
S2
,
}
const
C
=
42
;
var
<private>
P
=
S3
(
S2
(
S1
(
C
)));
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
out
:
i32
;
@compute
@workgroup_size
(
1
)
fn main
()
{
out
=
P
.
s2
.
s1
.
i
;
}