mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Support typedefs in SPDB type decoding
This commit is contained in:
@@ -358,6 +358,16 @@ SPDBChunk::SPDBChunk(DXBCFile *dxbc, void *chunk)
|
||||
hlsl->subtype);
|
||||
break;
|
||||
}
|
||||
case LF_ALIAS:
|
||||
{
|
||||
lfAlias *alias = (lfAlias *)leaf;
|
||||
SPDBLOG("Type %x is an alias for %x", id, alias->utype);
|
||||
|
||||
typeInfo[id] = typeInfo[alias->utype];
|
||||
typeInfo[id].name = (char *)alias->Name;
|
||||
|
||||
break;
|
||||
}
|
||||
case LF_MODIFIER_EX:
|
||||
{
|
||||
lfModifierEx *modifier = (lfModifierEx *)leaf;
|
||||
|
||||
Reference in New Issue
Block a user