mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-13 11:07:08 +00:00
Use a dense map for SPIR-V ID deaths
This commit is contained in:
@@ -426,7 +426,7 @@ private:
|
||||
rdcarray<MemberName> memberNames;
|
||||
std::map<ShaderEntryPoint, Id> entryLookup;
|
||||
|
||||
SparseIdMap<size_t> idDeathOffset;
|
||||
DenseIdMap<size_t> idDeathOffset;
|
||||
|
||||
SparseIdMap<size_t> m_Files;
|
||||
LineColumnInfo m_CurLineCol;
|
||||
|
||||
@@ -2814,6 +2814,7 @@ void Debugger::PreParse(uint32_t maxId)
|
||||
Processor::PreParse(maxId);
|
||||
|
||||
strings.resize(idTypes.size());
|
||||
idDeathOffset.resize(idTypes.size());
|
||||
}
|
||||
|
||||
void Debugger::PostParse()
|
||||
|
||||
Reference in New Issue
Block a user