mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user