Delete the boot prebuild's running marker at every orderly exit, so closing the game during boot is not taken for a driver crash.

The marker was deleted only when the boot's builds ended. A window closed before that left it, the next start read it as a start that died in the driver's compiler, and every later start on that GPU and driver skipped the prebuild and built each pipeline at its first draw.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-10 23:22:27 -05:00
parent b933e3d996
commit e887a1d18b
4 changed files with 7 additions and 1 deletions

View File

@@ -324,6 +324,7 @@ void rt_frame_presented(const tex_t *t, uint64_t n) {
fflush(stdout);
fflush(stderr);
fs_save_flush();
vk_pipeline_prewarm_marker_clear(); // an orderly end, not a driver crash in the boot's builds (vk_pipeline.c pm_skipped)
vk_pipeline_save(); // no-op without the Vulkan back end
prof_write();
rtss_limit_restore();