mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
D3D12CBufTag should refer to reflection-based index, not root sig index
This commit is contained in:
@@ -1178,7 +1178,7 @@ void D3D12PipelineStateViewer::setShaderState(
|
||||
{
|
||||
bind = &bm;
|
||||
shaderCBuf = &res;
|
||||
D3D12CBufTag cbufTag((uint32_t)i);
|
||||
D3D12CBufTag cbufTag((uint32_t)k);
|
||||
cbufTag.arrayIdx = b.bind - bm.bind;
|
||||
tag = QVariant::fromValue(cbufTag);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user