blob: 29a9748b12e0c82f9df1f3220db6bb52697ac58a [file] [log] [blame]
Daniel Koch83170e32019-03-26 13:45:33 -04001#version 320 es
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}