Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/tags/2019-06-21
/
.
/
shaders-msl
/
comp
/
struct-nested.comp
blob: d9645cbc4c9e0ce627bba67ee3d97335790fe6c1 [
file
] [
log
] [
blame
]
#version 450
struct
s1
{
int
a
;
};
struct
s2
{
s1 b
;
};
layout
(
std430
,
binding
=
1
)
buffer dstbuffer
{
s2 test
[];
};
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
s2 testVal
;
testVal
.
b
.
a
=
0
;
test
[
0
]
=
testVal
;
}