Sign in
dawn
/
dawn
/
1f6851f73005a45e8cf121cfc0d48b849d993351
/
.
/
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
;
}