1 # From the ARB_shader_group_vote spec:
3 # "The function allInvocationsEqualARB() returns true if <value> is
4 # the same for all active invocations in the group."
9 GL_ARB_shader_group_vote
12 #extension GL_ARB_shader_group_vote: enable
15 in vec4 piglit_vertex;
20 gl_Position = piglit_vertex;
22 if (allInvocationsEqualARB(val) && allInvocationsEqualARB(!val))
23 color = vec4(0.0, 1.0, 0.0, 1.0);
25 color = vec4(1.0, 0.0, 0.0, 1.0);
40 probe all rgba 0.0 1.0 0.0 1.0