Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/tags/2020-05-19
/
.
/
shaders-msl
/
comp
/
scalar-std450-distance-length-normalize.comp
blob: 37414737fd2ab6a256c14127b9b36ea75e472758 [
file
] [
log
] [
blame
]
#version 450
layout
(
local_size_x
=
1
)
in
;
layout
(
std430
,
set
=
0
,
binding
=
0
)
buffer SSBO
{
float
a
;
float
b
;
float
c
;
float
d
;
float
e
;
};
void
main
()
{
c
=
distance
(
a
,
b
);
d
=
length
(
a
);
e
=
normalize
(
a
);
}