mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Strip new kind of dxil type mangling from typenames
This commit is contained in:
@@ -415,6 +415,10 @@ static DXBC::CBufferVariableType MakeCBufferVariableType(const TypeInfo &typeInf
|
||||
if(ret.name.beginsWith(alignmentPrefix))
|
||||
ret.name.erase(0, sizeof(alignmentPrefix) - 1);
|
||||
|
||||
char hostlayoutPrefix[] = "hostlayout.";
|
||||
if(ret.name.beginsWith(hostlayoutPrefix))
|
||||
ret.name.erase(0, sizeof(hostlayoutPrefix) - 1);
|
||||
|
||||
char structPrefix[] = "struct.";
|
||||
if(ret.name.beginsWith(structPrefix))
|
||||
ret.name.erase(0, sizeof(structPrefix) - 1);
|
||||
|
||||
Reference in New Issue
Block a user