Don't copy instructionLines map when processing shader printfs

This commit is contained in:
baldurk
2025-02-05 16:28:04 +00:00
parent b0e8d8e988
commit ac27c60b05
@@ -2245,7 +2245,7 @@ bool VulkanReplay::FetchShaderFeedback(uint32_t eventId)
mod.GetReflection(stage, sh.entryPoint, pipe.pipeline);
modrefl.PopulateDisassembly(mod.spirv);
const std::map<size_t, uint32_t> instructionLines = modrefl.instructionLines;
const std::map<size_t, uint32_t> &instructionLines = modrefl.instructionLines;
auto instit = instructionLines.find(printfID);
if(instit != instructionLines.end())