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

@@ -39,5 +39,10 @@ void foo()
atomicCounterCompSwap(aui, ui, ui); // ERROR, need 4.6
int a = gl_BaseVertex + gl_BaseInstance + gl_DrawID; // ERROR, need 4.6
bool b1;
anyInvocation(b1); // ERROR, need 4.6
allInvocations(b1); // ERROR, need 4.6
allInvocationsEqual(b1); // ERROR, need 4.6
}
; // ERROR: no extraneous semicolons