Don't mark vertex buffers used if the input layout slot isn't used

This commit is contained in:
baldurk
2015-10-25 23:33:34 +01:00
parent 57ba6e0806
commit dda2160225
@@ -717,7 +717,8 @@ namespace renderdocui.Windows.PipelineState
i, l.SemanticName, l.SemanticIndex.ToString(), l.Format, l.InputSlot.ToString(), byteOffs,
l.PerInstance ? "PER_INSTANCE" : "PER_VERTEX", l.InstanceDataStepRate.ToString() });
usedVBuffers[l.InputSlot] = true;
if (iaUsed)
usedVBuffers[l.InputSlot] = true;
node.Image = global::renderdocui.Properties.Resources.action;
node.HoverImage = global::renderdocui.Properties.Resources.action_hover;