mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 13:30:44 +00:00
Reserve locals space of average of one source var per instruction
This commit is contained in:
@@ -6709,6 +6709,7 @@ void Debugger::ParseDebugData()
|
||||
const FunctionInfo &info = m_FunctionInfos[f];
|
||||
uint32_t countInstructions = (uint32_t)f->instructions.size();
|
||||
|
||||
program->m_Locals.reserve(countInstructions);
|
||||
for(uint32_t i = 0; i < countInstructions; ++i)
|
||||
{
|
||||
if(f->instructions[i]->debugLoc == ~0U)
|
||||
|
||||
Reference in New Issue
Block a user