Front-end: allow max size built-in arrays like gl_ClipDistance

Fixed off-by-one error with gl_MaxClipDistances and similar limits.
This commit is contained in:
Maciej Jesionowski
2016-06-27 12:44:15 +02:00
parent a4a4d5e22c
commit bbbcb5b2eb
6 changed files with 36 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
#version 130
out float gl_ClipDistance[8]; // OK, 8 is gl_MaxClipDistances
void main()
{
}