Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/tags/2020-05-19
/
.
/
shaders-msl-no-opt
/
comp
/
std140-array-load-composite-construct.comp
blob: af1c47b32ce390fec74a77c4bd97f5c7e2993da0 [
file
] [
log
] [
blame
]
#version 450
layout
(
local_size_x
=
1
)
in
;
layout
(
std140
,
binding
=
0
)
buffer SSBO
{
float
a
[
16
];
vec4 b
[
16
];
};
void
main
()
{
b
[
gl_GlobalInvocationID
.
x
]
=
vec4
(
a
[
gl_GlobalInvocationID
.
x
]);
}