mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 07:56:33 +00:00
Display bind array index in register name on D3D12 pipeline state
This commit is contained in:
@@ -707,6 +707,9 @@ void D3D12PipelineStateViewer::addResourceRow(const D3D12ViewTag &view,
|
||||
if(shaderInput && !shaderInput->name.empty())
|
||||
regname += lit(": ") + shaderInput->name;
|
||||
|
||||
if(bind && bind->arraySize > 1)
|
||||
regname += QFormatStr("[%1]").arg(view.res.bind - bind->bind);
|
||||
|
||||
if(view.type == D3D12ViewTag::OMDepth)
|
||||
regname = tr("Depth");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user