glslang/Test/spv.subgroup.frag

8 lines
190 B
GLSL
Raw Permalink Normal View History

#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);
}