GLSL 4.6: Implement shader group vote.
This commit is contained in:
@@ -10,4 +10,8 @@ in S s;
|
||||
void main()
|
||||
{
|
||||
interpolateAtCentroid(s.v);
|
||||
bool b1;
|
||||
b1 = anyInvocation(b1);
|
||||
b1 = allInvocations(b1);
|
||||
b1 = allInvocationsEqual(b1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user