Fix argument string for buffer views in D3D12 pipeline view

This commit is contained in:
baldurk
2019-01-03 12:22:28 +00:00
parent 96075bc575
commit 6dd67d0069
@@ -638,7 +638,7 @@ void D3D12PipelineStateViewer::setViewDetails(RDTreeWidgetItem *node, const D3D1
if((res.firstElement * res.elementByteSize) > 0 ||
(res.numElements * res.elementByteSize) < buf->length)
{
text += tr("The view covers bytes %1-%2 (%3 elements).\nThe buffer is %3 bytes in length (%4 "
text += tr("The view covers bytes %1-%2 (%3 elements).\nThe buffer is %4 bytes in length (%5 "
"elements).")
.arg(res.firstElement * res.elementByteSize)
.arg((res.firstElement + res.numElements) * res.elementByteSize)