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