1#version 450
2#extension GL_KHR_shader_subgroup_basic: enable
3layout(set = 0, binding = 0, std430) buffer Output
4{
5 uvec4 result[];
6};
7
8void main (void)
9{
10 result[gl_VertexIndex] = uvec4(gl_SubgroupSize, gl_SubgroupInvocationID, 0, 0);
11}
12