Hello.
There is an extension:
https://www.khronos.org/registry/OpenGL/extensions/AMD/AMD_shader_ballot.txt
I am using the latest driver on Windows 10 + RX 580 GPU:
WARNING: 0:8: warning(#62) enable/warn/disable extension is not found. Extension "GL_AMD_shader_ballot" is not supported
ERROR: 0:81: error(#143) Undeclared identifier: swizzleInvocationsAMD
According to this topic:
How to use swizzleInvocationsAMD extension for Vulkan
This extension is supported on Vulkan, but what about OpenGL?