• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 320 es
2#extension GL_KHR_shader_subgroup_basic: enable
3layout(vertices=1) out;
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