☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
shaders
/
comp
/
scalar-std450-distance-length-normalize.comp
☽
☼
third_party/spirv-cross/shaders/comp/scalar-std450-distance-length-normalize.comp
code
plain
raw
Apache-2.0
2012-2021, The Android Open Source Project; 2015-2021, Google LLC; 2017, Romain Guy
debian/copyright
1
#version 450
2
layout(local_size_x = 1) in;
3
4
layout(std430, set = 0, binding = 0) buffer SSBO
5
{
6
float a;
7
float b;
8
float c;
9
float d;
10
float e;
11
};
12
13
void main()
14
{
15
c = distance(a, b);
16
d = length(a);
17
e = normalize(a);
18
}