☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
reference
/
opt
/
shaders
/
comp
/
ssbo-array-length.comp
☽
☼
third_party/spirv-cross/reference/opt/shaders/comp/ssbo-array-length.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, local_size_y = 1, local_size_z = 1) in;
3
4
layout(binding = 1, std140) buffer SSBO
5
{
6
uint size;
7
float v[];
8
} _11;
9
10
void main()
11
{
12
_11.size = uint(int(uint(_11.v.length())));
13
}
14