mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-13 23:50:08 +00:00
13 lines
157 B
Plaintext
13 lines
157 B
Plaintext
#version 450
|
|
layout(local_size_x = 1) in;
|
|
layout(set = 0, binding = 1, std140) buffer SSBO
|
|
{
|
|
uint size;
|
|
float v[];
|
|
};
|
|
|
|
void main()
|
|
{
|
|
size = v.length();
|
|
}
|