GLSL 4.6: Implement shader group vote.

This commit is contained in:
John Kessenich
2017-07-23 23:31:44 -06:00
parent 941f3bbd7a
commit 934d11b6db
10 changed files with 142 additions and 10 deletions

View File

@@ -10,4 +10,8 @@ in S s;
void main()
{
interpolateAtCentroid(s.v);
bool b1;
b1 = anyInvocation(b1);
b1 = allInvocations(b1);
b1 = allInvocationsEqual(b1);
}