Fix off-by-1 bug in gl_MaxCombinedTextureImageUnits check
authorGreg Fischer <greg@lunarg.com>
Fri, 26 Feb 2021 23:59:51 +0000 (16:59 -0700)
committerGreg Fischer <greg@lunarg.com>
Sat, 27 Feb 2021 00:07:52 +0000 (17:07 -0700)
commit051fbbb69c790105213de320d2fe9fc769907e0b
treea28430b45a075abcda6d1fc17d670a26416a81e0
parent3839066ee47afcf5acc15390dbcc2b9813906feb
Fix off-by-1 bug in gl_MaxCombinedTextureImageUnits check

The problem was only with arrays of samplers.

Fixed #2552
Test/420.vert
Test/baseResults/420.vert.out
glslang/MachineIndependent/ParseHelper.cpp