1#version 450 2 3#extension GL_ARB_shader_group_vote : enable 4 5layout(local_size_x = 4, local_size_y = 4) in; 6 7layout(std430, binding = 0) buffer Buffers 8{ 9 bool b; 10}; 11 12void main() 13{ 14 bool b1 = b; 15 16 b1 = anyInvocationARB(b1); 17 b1 = allInvocationsARB(b1); 18 b1 = allInvocationsEqualARB(b1); 19 20 b = b1; 21} 22