Fix arrays of UBOs not displaying properly in vulkan pipeline state

This commit is contained in:
baldurk
2020-09-11 16:26:09 +01:00
parent 0d70327b21
commit 8ca96aa83a
@@ -1533,9 +1533,11 @@ void VulkanPipelineStateViewer::addConstantBlockRow(ShaderReflection *shaderDeta
if(!usedSlot)
setInactiveRow(node);
parentNode = node;
ubos->addTopLevelItem(node);
// show the tree column
ubos->showColumn(0);
parentNode = node;
}
for(int32_t idx = firstUsedBind; idx <= lastUsedBind && idx < arrayLength; idx++)