Merge pull request #1368 from danginsburg/issue_1367

Fix issue #1367 - change the I/O remapper to ignore push constants so…
This commit is contained in:
John Kessenich 2018-05-03 01:16:40 -06:00 committed by GitHub
commit 115cf8ea2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ public:
target = &inputList;
else if (base->getQualifier().storage == EvqVaryingOut)
target = &outputList;
else if (base->getQualifier().isUniformOrBuffer())
else if (base->getQualifier().isUniformOrBuffer() && !base->getQualifier().layoutPushConstant)
target = &uniformList;
if (target) {