From 5ed66db74f6d5c634a105f65f7803e61455f2db9 Mon Sep 17 00:00:00 2001 From: Yorivel <197960446+Yorivel@users.noreply.github.com> Date: Fri, 27 Nov 2026 19:51:06 +0200 Subject: [PATCH] victory warm: pipelines left out or refused are not written down as done A pipeline that gets no host pipeline in the warm's child (left out by the run's switches, like the ~1,000 CS_RaytracingResolve without VICTORY_BVH_BUILDER=1, or refused) was still written to warm-done.txt. A later warm with the structure builder on then skipped them for good, and every ray-traced run compiled them in play: ~670 pipelines "being made" in the first minutes, and NVIDIA's background compile kept frames waiting for seconds (RTX 4090: frames of 3-10 s while the D3D background threads compiled). Only those with a host pipeline are done now; the others are asked again by the next warm (refusals cost no compile). Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 4f2be389a4da33ae7d5e384389c7b428a2a75db6) --- apps/victory/src/warm.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/victory/src/warm.rs b/apps/victory/src/warm.rs index 32031ca..1314dc0 100644 --- a/apps/victory/src/warm.rs +++ b/apps/victory/src/warm.rs @@ -109,7 +109,14 @@ pub fn run(jobs: Option, limit: Option, again: bool, used: bool, t println!("{count} of {}, {:.0} s", all.len(), began.elapsed().as_secs_f64()); } drop(state); - let _ = writeln!(lock(&done_out), "{fingerprint} {}", keys[n]); + // One with no host pipeline was left out (a + // pipeline the run's switches leave out, such as + // `CS_RaytracingResolve` without the structure + // builder) or refused: not done, so that a warm + // with other switches still makes it. + if there { + let _ = writeln!(lock(&done_out), "{fingerprint} {}", keys[n]); + } }); rest = &rest[made.min(rest.len())..]; match (ended, rest.split_first()) {