Save completed pipeline cache data during NVIDIA background builds

This commit is contained in:
automata.
2026-11-11 17:43:01 -05:00
committed by tangerineturtle1
parent 60ac5f5982
commit 27f93a314a
6 changed files with 241 additions and 22 deletions

View File

@@ -86,7 +86,7 @@ void gfx_window_closed(void) {
// The window closed while the boot still built its pipelines: not the driver crash the marker is there to catch.
// Left in place, the next start took it for one and every later start skipped the prebuild (vk_pipeline.c pm_skipped).
vk_pipeline_prewarm_marker_clear();
vk_pipeline_save();
vk_pipeline_save_exit();
prof_write(); // plat_exit runs no atexit handlers
rtss_limit_restore(); // RivaTuner Statistics Server's profile as it was
coop_shutdown(); // LEAVE and BYE to the room, before the process ends