mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Identify arrays of cbuffer registers properly to rename them
This commit is contained in:
@@ -159,7 +159,7 @@ namespace renderdocui.Windows
|
||||
}
|
||||
else if (v.type.descriptor.rows > 0 && v.type.descriptor.cols > 0)
|
||||
{
|
||||
uint numRegs = v.type.descriptor.rows;
|
||||
uint numRegs = v.type.descriptor.rows * Math.Max(1, v.type.descriptor.elements);
|
||||
|
||||
for (uint r = 0; r < numRegs; r++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user