mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 23:10:54 +00:00
Use the correct type list for calculating number of types to abbreviate
This commit is contained in:
@@ -455,7 +455,7 @@ bytebuf ProgramEditor::EncodeProgram()
|
||||
|
||||
cfg.hasNamedMeta = !m_NamedMeta.empty();
|
||||
|
||||
cfg.numTypes = m_Types.size();
|
||||
cfg.numTypes = accum.types.size();
|
||||
cfg.numSections = m_Sections.size();
|
||||
cfg.numGlobalValues = values.size();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user