Fix friendly naming of registers for proper cbuffer bindpoint handling

This commit is contained in:
baldurk
2016-11-02 15:05:43 +01:00
parent 975b67d2ce
commit 175cda5f36
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -485,10 +485,10 @@ namespace renderdocui.Windows
{
for (int i = 0; i < m_ShaderDetails.ConstantBlocks.Length; i++)
{
var stem = string.Format("cb{0}", i);
var cbuf = m_ShaderDetails.ConstantBlocks[i];
var stem = string.Format("cb{0}", cbuf.bindPoint);
if (cbuf.variables.Length == 0)
continue;