mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 13:15:57 +00:00
Treat template types as trivial copies in debug info
This commit is contained in:
@@ -4178,6 +4178,11 @@ void Debugger::RegisterOp(Iter it)
|
||||
m_DebugInfo.types[dbg.result].vecSize = 0;
|
||||
break;
|
||||
}
|
||||
case ShaderDbg::TypeTemplate:
|
||||
{
|
||||
m_DebugInfo.types[dbg.result] = m_DebugInfo.types[dbg.arg<Id>(0)];
|
||||
break;
|
||||
}
|
||||
case ShaderDbg::TypeMember:
|
||||
{
|
||||
rdcstr name = strings[dbg.arg<Id>(0)];
|
||||
|
||||
Reference in New Issue
Block a user