glslang/Test/spv.subgroup.frag
2018-03-06 16:12:04 -07:00

8 lines
190 B
GLSL

#version 450
#extension GL_KHR_shader_subgroup_basic: enable
layout(location = 0) out uvec4 data;
void main (void)
{
data = uvec4(gl_SubgroupSize, gl_SubgroupInvocationID, 0, 0);
}