1#version 450 2#extension GL_AMD_shader_ballot : require 3layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; 4 5void main() 6{ 7 float addInvocations = addInvocationsNonUniformAMD(0.0); 8 int minInvocations = minInvocationsNonUniformAMD(1); 9 uint maxInvocations = uint(maxInvocationsNonUniformAMD(4)); 10} 11 12