From fb6924d23bd03206f01b9c37eee28661fc98b1d1 Mon Sep 17 00:00:00 2001 From: danginsburg Date: Wed, 2 May 2018 16:42:22 -0400 Subject: [PATCH] Fix issue #1367 - change the I/O remapper to ignore push constants so it does not apply a binding/descriptor set to them. --- glslang/MachineIndependent/iomapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/MachineIndependent/iomapper.cpp b/glslang/MachineIndependent/iomapper.cpp index ad22353b..fd40329e 100644 --- a/glslang/MachineIndependent/iomapper.cpp +++ b/glslang/MachineIndependent/iomapper.cpp @@ -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) {