Don't mark bufferless constant buffers as empty due to stage masks

* These aren't present for push constants etc, so we ignore it
This commit is contained in:
baldurk
2021-04-16 13:55:38 +01:00
parent 47e13a30d4
commit da66701649
@@ -1533,7 +1533,7 @@ void VulkanPipelineStateViewer::addConstantBlockRow(ShaderReflection *shaderDeta
bool containsResource = filledSlot;
// if it's masked out by stage bits, act as if it's not filled, so it's marked in red
if(!stageBitsIncluded)
if(!stageBitsIncluded && (cblock == NULL || cblock->bufferBacked))
filledSlot = false;
if(showNode(usedSlot, filledSlot))