Sign in
dawn
/
dawn
/
65fa98d50f6db634e6ed0bf52056bded862a3955
/
.
/
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
;
}