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

@@ -244,6 +244,7 @@ static void svc_body(Cpu *c, uint32_t imm, uint64_t pc) {
char at[160];
rt_log("guest ExitProcess at %s; exiting", ldr_describe(pc, at, sizeof at));
fs_save_flush();
vk_pipeline_prewarm_marker_clear(); // as the window's close (gfx_present.c gfx_window_closed)
vk_pipeline_save();
prof_write();
rtss_limit_restore();