mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Fix friendly naming of registers for proper cbuffer bindpoint handling
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user