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:
parent
a4a4d5e22c
commit
bbbcb5b2eb
6 changed files with 36 additions and 5 deletions
7
Test/maxClipDistances.vert
Normal file
7
Test/maxClipDistances.vert
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#version 130
|
||||
|
||||
out float gl_ClipDistance[8]; // OK, 8 is gl_MaxClipDistances
|
||||
|
||||
void main()
|
||||
{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue