Check for out-of-range bindings during IO mapping.

This commit is contained in:
steve-lunarg 2016-10-05 13:40:13 -06:00
parent c056adcddd
commit 9ae34742cf
7 changed files with 72 additions and 13 deletions

View file

@ -1724,7 +1724,7 @@ bool TProgram::mapIO()
for (int s = 0; s < EShLangCount; ++s) {
if (intermediate[s]) {
if (! ioMapper->addStage((EShLanguage)s, *intermediate[s]))
if (! ioMapper->addStage((EShLanguage)s, *intermediate[s], *infoSink))
return false;
}
}