mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix fetching the right base name for array elements. Refs #93
This commit is contained in:
@@ -261,6 +261,8 @@ void D3D11DebugManager::FillCBufferVariables(const string &prefix, size_t &offse
|
||||
uint32_t registers = rows;
|
||||
uint32_t regLen = cols;
|
||||
const char *regName = "row";
|
||||
|
||||
string base = outvars[outIdx].name.elems;
|
||||
|
||||
if(!flatten)
|
||||
{
|
||||
@@ -283,8 +285,6 @@ void D3D11DebugManager::FillCBufferVariables(const string &prefix, size_t &offse
|
||||
}
|
||||
}
|
||||
|
||||
string base = outvars[outIdx].name.elems;
|
||||
|
||||
for(size_t r=0; r < registers*elems; r++)
|
||||
{
|
||||
if(isArray && registers > 1)
|
||||
|
||||
Reference in New Issue
Block a user