GLSL 4.6: Implement draw parameters.

This commit is contained in:
John Kessenich 2017-07-23 23:11:41 -06:00
parent 0d0c6d38f0
commit 941f3bbd7a
6 changed files with 80 additions and 12 deletions

View file

@ -37,5 +37,7 @@ void foo()
atomicCounterXor(aui, ui); // ERROR, need 4.6
atomicCounterExchange(aui, ui); // ERROR, need 4.6
atomicCounterCompSwap(aui, ui, ui); // ERROR, need 4.6
int a = gl_BaseVertex + gl_BaseInstance + gl_DrawID; // ERROR, need 4.6
}
; // ERROR: no extraneous semicolons