mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Add support for VK_KHR_maintenance5
This commit is contained in:
committed by
Baldur Karlsson
parent
2b01465c79
commit
2eade4650b
@@ -1919,7 +1919,7 @@ void VulkanPipelineStateViewer::setState()
|
||||
BufferDescription *buf = m_Ctx.GetBuffer(state.inputAssembly.indexBuffer.resourceId);
|
||||
|
||||
if(buf)
|
||||
length = buf->length;
|
||||
length = qMin(state.inputAssembly.indexBuffer.byteSize, buf->length);
|
||||
|
||||
RDTreeWidgetItem *node = new RDTreeWidgetItem(
|
||||
{tr("Index"), state.inputAssembly.indexBuffer.resourceId, tr("Index"), lit("-"),
|
||||
@@ -3503,7 +3503,7 @@ void VulkanPipelineStateViewer::exportHTML(QXmlStreamWriter &xml, const VKPipe::
|
||||
if(ib)
|
||||
{
|
||||
name = m_Ctx.GetResourceName(ia.indexBuffer.resourceId);
|
||||
length = ib->length;
|
||||
length = qMin(ib->length, ia.indexBuffer.byteSize);
|
||||
}
|
||||
|
||||
QString ifmt = lit("UNKNOWN");
|
||||
|
||||
Reference in New Issue
Block a user