Frames shown as soon as presented, underwater shader back, warm-up restart only with frame generation

- Swap chain: DXGI's tearing support where the system has it, so a focused
  window (independent flip) no longer waits for each refresh, about 2 fps
  more in front. VICTORY_TEARING=0 turns it off; a refused present of that
  kind falls back to presenting at the next refresh for the rest of the run,
  and is logged.
- Shaders: a program that has no wave32 lowering with the loop step on
  (VICTORY_LOOPS_WAVE) is translated again without it, so the water compute
  shader 926c46bab3b86bd6 runs again (black or missing water underwater,
  #539, #570).
- The first start of a new exe restarts by itself only when DLSS frame
  generation is ready or on; without it a first run plays at full speed.
- F1: turning frame generation on in a run started without it says
  "RESTART REQUIRED TO ENABLE FRAME GENERATION".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
trustno1-coderandClaude Opus 5.5 committed 2026-11-27 18:44:17 -08:00
1 parent b4e1b08245
commit 8fc22547c8
4 files changed
+127 -4

No files matched your search

+3
View File
@@ -868,7 +868,10 @@ pub(crate) fn prepare(o: &Play) -> Result<Ready> {
// The first start of this victory.exe (no mark for its bytes yet): the game plays a little
// and starts again by itself (crates\victory-gpu\src\host\menu.rs, `warmup`), since a new
// exe's first run stays at about 14 fps. `--set VICTORY_WARMUP_RESTART=0`: not done.
// Only with DLSS Frame Generation ready or on: its swap chain (Streamline's) is what held
// a first run at 14 fps (#515, #574); without it a first run plays at full speed.
if !s.contains_key("VICTORY_WARMUP_RESTART")
&& s.get("VICTORY_FRAMEGEN").is_some_and(|v| v == "1")
&& let Some(mark) = warmup_mark(&home, &program)
&& !mark.exists()
{