mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-22 15:29:16 +01:00
Wait for pipeline compilation to finish before loading the guest
The excessive blocking caused by initial compilation happening async to the guest caused issues in some cases, now we have a Vulkan pipeline cache to speed it up we can wait for a full compile before launch without too many issues.
This commit is contained in:
parent
be6f08cd97
commit
3e971d4043
@ -933,8 +933,11 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
||||
#endif
|
||||
}
|
||||
|
||||
gpu.graphicsPipelineAssembler->WaitIdle();
|
||||
Logger::Info("Loaded {} graphics pipelines in {}ms", map.size(), (util::GetTimeNs() - startTime) / constant::NsInMillisecond);
|
||||
|
||||
gpu.graphicsPipelineAssembler->SavePipelineCache();
|
||||
|
||||
#ifdef PIPELINE_STATS
|
||||
for (auto &[key, list] : sharedPipelines) {
|
||||
sortedSharedPipelines.push_back(&list);
|
||||
|
Loading…
Reference in New Issue
Block a user