WIP: refactor(vk): the renderer's, UI's and host's names no longer name the upstream port's game #3080

Draft
siantm wants to merge 3 commits from siantm/Longshot:refactor/neutral-runtime-names into main
Contributor

Summary

The renderer, the host and the game side still carried the upstream port's game in their names: mkwvk_*, MkwVk*,
MKWVK_*, MkwUi*/MKW_UI_*, mkw_vk* (functions and thread names), host/mkw_glue.c, hos_game_is_mkw, the
HOS_MKW_INTERVAL switch, the Vulkan application name "mkw-recomp", the #rules-from-mkw anchor, and about 140
comments naming that game. This renames them to the Ls prefix the newer ABI already uses, and the comments say "the
upstream port" and "the upstream game". Nothing a player sees changes.

mkw-recomp Longshot
MKWVK, MkwVk, mkwvk (_ZN5mkwvk mangled) LSVK, LsVk, lsvk (_ZN4lsvk)
MKW_UI, MkwUi, mkw_ui LS_UI, LsUi, ls_ui
MKW_VK, mkw_vk (threads, functions) LS_VK, ls_vk
host/mkw_glue.c host/hos_glue.c
hos_game_is_mkw, hos_mkw_pacer, HOS_MKW_INTERVAL hos_game_is_upstream, hos_upstream_pacer, HOS_UPSTREAM_INTERVAL
Vulkan pApplicationName "mkw-recomp" "Longshot"
architecture.md#rules-from-mkw architecture.md#replay-rules

Kept: mkw-recomp's credit (README, the architecture lineage, both PROVENANCE.md), the pipeline cache's old file names
in layout.rs (it moves them on players' disks), and third_party/. gpu/PROVENANCE.md now holds the table above, and
docs/dev/standards.md says an upstream sync applies once its names are mapped. The upstream game's own code paths
(its pacer, its idle loop) stay, renamed.

tests/test_no_upstream_game_name.py, after tests/test_no_game_title.py, keeps the names out.

Read first: gpu/PROVENANCE.md, gpu/vk/vk_api.h, host/rx_backend.c (the lsvk_init load), tests/test_no_upstream_game_name.py.

Testing

Tested: Windows 11 Pro (build 26300), NVIDIA GeForce RTX 4060, driver 621.40: dev.py rt over the shared base
(the shaders prepared through the renamed renderer: 38,809 programs, 0 failed), then dev.py smoke: PASS, in play from
kokiri-start, 900 frames, the Insert menu opened, no FATAL in the log.

Checks: cargo fmt --check clean; cargo test of every crate the change touches passes (ffi-gen's check made me
regenerate game/game.h). tests/run_all.py on the branch: everything passes but the three that fail on main here
too (test_i18n_complete: untranslated rows; test_helpers_extract; test_longshot_builder's Linux case). The checks
needing spirv-val or llvm-mc were skipped (not installed on this PC). The checks pinned to --cxx g++ were run with
llvm-mingw's clang++ (this PC's g++ cannot start its compiler).

Still to test:

  • Linux: build and dev.py smoke, expecting a PASS as on Windows (@Beanstalk build and smoke this branch on Linux)

Measurements

Nothing to measure: names, comments and docs only; the code generated is the same.

Risks

  • Open pull requests: most that touch gpu/vk/ or host/ will conflict on the renamed names. Rebasing one is the
    same replacement, in the table's order (a sed of the table works).
  • HOS_MKW_INTERVAL is now HOS_UPSTREAM_INTERVAL, and a GONE row tells a run that still sets the old name. It acts only when the lifted game is the upstream one, so
    setting the old name changed nothing for this game before either.
  • The Vulkan application name is "Longshot". Drivers key their profiles on the executable, not on this name, as far
    as I know; nothing in the tree reads it.
  • Thread names are ls_vk ... now, for profilers and Tracy. Both all-thread samplers take them by
    HOS_IS_RENDERER_THREAD (host/hos.h), and scripts/profiling/ reads the old prefix too, so captures made before
    this change still show their renderer threads.
  • A renderer and a host from different sides of this change won't load each other (lsvk_init vs mkwvk_init), as
    with any API version change; a build makes both.
  • After updating: nothing (saves, settings and caches keep their names). A revert is enough.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named). Named above; the two modtool example tests
    (every_example_passes_its_tests: sparkline's timing and seven-rupee; the_typescript_system_mods_pass_their_tests:
    a 6.33 ms vs 6.19 ms timing) failed in one run on a loaded PC and are not yet run on main for comparison.
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A check under tests/ that reads changed source is updated, not weakened.
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. Windows built and ran; Linux not built here.
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.
## Summary The renderer, the host and the game side still carried the upstream port's game in their names: `mkwvk_*`, `MkwVk*`, `MKWVK_*`, `MkwUi*`/`MKW_UI_*`, `mkw_vk*` (functions and thread names), `host/mkw_glue.c`, `hos_game_is_mkw`, the `HOS_MKW_INTERVAL` switch, the Vulkan application name `"mkw-recomp"`, the `#rules-from-mkw` anchor, and about 140 comments naming that game. This renames them to the `Ls` prefix the newer ABI already uses, and the comments say "the upstream port" and "the upstream game". Nothing a player sees changes. | mkw-recomp | Longshot | |---|---| | `MKWVK`, `MkwVk`, `mkwvk` (`_ZN5mkwvk` mangled) | `LSVK`, `LsVk`, `lsvk` (`_ZN4lsvk`) | | `MKW_UI`, `MkwUi`, `mkw_ui` | `LS_UI`, `LsUi`, `ls_ui` | | `MKW_VK`, `mkw_vk` (threads, functions) | `LS_VK`, `ls_vk` | | `host/mkw_glue.c` | `host/hos_glue.c` | | `hos_game_is_mkw`, `hos_mkw_pacer`, `HOS_MKW_INTERVAL` | `hos_game_is_upstream`, `hos_upstream_pacer`, `HOS_UPSTREAM_INTERVAL` | | Vulkan `pApplicationName` `"mkw-recomp"` | `"Longshot"` | | `architecture.md#rules-from-mkw` | `architecture.md#replay-rules` | Kept: mkw-recomp's credit (README, the architecture lineage, both `PROVENANCE.md`), the pipeline cache's old file names in `layout.rs` (it moves them on players' disks), and `third_party/`. `gpu/PROVENANCE.md` now holds the table above, and `docs/dev/standards.md` says an upstream sync applies once its names are mapped. The upstream game's own code paths (its pacer, its idle loop) stay, renamed. `tests/test_no_upstream_game_name.py`, after `tests/test_no_game_title.py`, keeps the names out. Read first: `gpu/PROVENANCE.md`, `gpu/vk/vk_api.h`, `host/rx_backend.c` (the `lsvk_init` load), `tests/test_no_upstream_game_name.py`. ## Testing **Tested:** Windows 11 Pro (build 26300), NVIDIA GeForce RTX 4060, driver 621.40: `dev.py rt` over the shared base (the shaders prepared through the renamed renderer: 38,809 programs, 0 failed), then `dev.py smoke`: PASS, in play from kokiri-start, 900 frames, the Insert menu opened, no FATAL in the log. Checks: `cargo fmt --check` clean; `cargo test` of every crate the change touches passes (ffi-gen's check made me regenerate `game/game.h`). `tests/run_all.py` on the branch: everything passes but the three that fail on `main` here too (`test_i18n_complete`: untranslated rows; `test_helpers_extract`; `test_longshot_builder`'s Linux case). The checks needing `spirv-val` or `llvm-mc` were skipped (not installed on this PC). The checks pinned to `--cxx g++` were run with llvm-mingw's clang++ (this PC's g++ cannot start its compiler). **Still to test:** - Linux: build and `dev.py smoke`, expecting a PASS as on Windows (@Beanstalk build and smoke this branch on Linux) ## Measurements Nothing to measure: names, comments and docs only; the code generated is the same. ## Risks - **Open pull requests:** most that touch `gpu/vk/` or `host/` will conflict on the renamed names. Rebasing one is the same replacement, in the table's order (a `sed` of the table works). - **`HOS_MKW_INTERVAL`** is now `HOS_UPSTREAM_INTERVAL`, and a `GONE` row tells a run that still sets the old name. It acts only when the lifted game is the upstream one, so setting the old name changed nothing for this game before either. - **The Vulkan application name** is `"Longshot"`. Drivers key their profiles on the executable, not on this name, as far as I know; nothing in the tree reads it. - **Thread names** are `ls_vk ...` now, for profilers and Tracy. Both all-thread samplers take them by `HOS_IS_RENDERER_THREAD` (`host/hos.h`), and `scripts/profiling/` reads the old prefix too, so captures made before this change still show their renderer threads. - A renderer and a host from different sides of this change won't load each other (`lsvk_init` vs `mkwvk_init`), as with any API version change; a build makes both. - After updating: nothing (saves, settings and caches keep their names). A revert is enough. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [ ] `mise run test` passes (any failure that also fails on `main` is named). Named above; the two `modtool` example tests (`every_example_passes_its_tests`: sparkline's timing and seven-rupee; `the_typescript_system_mods_pass_their_tests`: a 6.33 ms vs 6.19 ms timing) failed in one run on a loaded PC and are not yet run on `main` for comparison. - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A check under `tests/` that reads changed source is updated, not weakened. - [ ] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. Windows built and ran; Linux not built here. - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold.
refactor(host,vk): the renderer's, UI's and host's names no longer name the upstream port's game
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
0d6e77f69a
- mkwvk/MkwVk/MKWVK -> lsvk/LsVk/LSVK, MkwUi/MKW_UI -> LsUi/LS_UI, mkw_vk/MKW_VK -> ls_vk/LS_VK (thread names too),
  host/mkw_glue.c -> host/hos_glue.c, hos_game_is_mkw/hos_mkw_pacer/HOS_MKW_INTERVAL -> *_upstream*/HOS_UPSTREAM_INTERVAL,
  the Vulkan application name "Longshot", the architecture anchor #replay-rules.
- Comments say "the upstream port" and "the upstream game"; the credits and PROVENANCE keep mkw-recomp's name, and
  gpu/PROVENANCE.md has the rename table for upstream syncs. The pipeline cache's old file names stay (layout.rs moves them).
- tests/test_no_upstream_game_name.py keeps the names out.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Tested in game: Windows 11 Pro (26300), NVIDIA GeForce RTX 4060, driver 621.40: dev.py rt over the shared base (38,809 shader programs prepared through the renamed renderer, 0 failed), then dev.py smoke PASS: in play from kokiri-start, 900 frames, the Insert menu opened, no FATAL in the log.

Tested in game: Windows 11 Pro (26300), NVIDIA GeForce RTX 4060, driver 621.40: dev.py rt over the shared base (38,809 shader programs prepared through the renamed renderer, 0 failed), then dev.py smoke PASS: in play from kokiri-start, 900 frames, the Insert menu opened, no FATAL in the log.
Member

Possibly related, for context:

  • PR #2805 WIP: feat(vk): the shader translator behind a C interface (lsr.h) — Renderer API naming changes may overlap
  • issue #1493 Renderer rewrite — Renderer rewrite context; not direct duplicate
  • PR #1321 fix(profiling): a Windows profile names its C++ code, counts its waits as waits, and gives a thread one row — Merged profiling work has old thread-name identifiers
Possibly related, for context: - PR #2805 WIP: feat(vk): the shader translator behind a C interface (lsr.h) — Renderer API naming changes may overlap - issue #1493 Renderer rewrite — Renderer rewrite context; not direct duplicate - PR #1321 fix(profiling): a Windows profile names its C++ code, counts its waits as waits, and gives a thread one row — Merged profiling work has old thread-name identifiers
Member
@review
BeanBot requested changes 2026-12-03 13:32:56 +00:00
Dismissed
BeanBot left a comment

Recommendation: Request changes. The renamed thread prefix causes both platform samplers to omit every renderer thread, breaking profiling reports. The removed switch also lacks the repository-required retirement entry.

The change gives renderer, host and UI identifiers neutral names and updates their callers and documentation. It preserves the intended runtime interfaces within a matched build, but breaks renderer profiling and compatibility with existing profiling captures.

Blocking (2): must change before merging.

  1. L1 host/hos_glue.c:903: The sampler compares six bytes against a five-character prefix, so it excludes the renamed renderer threads. (more on the line) Do: Compare the five-character prefix in both samplers, preferably using sizeof the literal minus one, and add a behavioral check using an actual renderer thread name.
  2. L2 gpu/vk/switches.def:222: The old switch is removed without a GONE entry, contrary to the switch-table rule. (more on the line) Do: Add a GONE entry for the old name explaining its replacement, and allow that historical name in the naming check.

Should fix (1): not blocking, but worth doing before merging.

  • L3 scripts/profiling/analyses.py:154: The profiling tools no longer recognize renderer thread names in captures made before this rename. (more on the line) Do: Recognize both historical and current prefixes when reading captures, and cover an old-format capture in the profiling tests.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L4 gpu/vk/vk_main.cpp:292: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. (more on the line) Do: Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result.

@fix can do L1, L2 and L3.

Questions (2) (not confirmed from the code; they don't hold the recommendation)

  • Does changing the Vulkan application name affect a driver profile on any supported configuration?
  • Are there overlapping pull requests beyond the general renderer and host conflicts noted in the description?

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Not a perf change. The author reports a Windows RTX 4060 smoke pass over 900 frames and successful preparation of 38,809 shader programs; Linux gameplay remains untested.

Other systems: The host and renderer are loaded together through renamed exports; the author reports that mixed old and new builds cannot load each other. Both Windows and Linux profiling samplers are affected by the prefix-length error. The Vulkan application name also changes, so driver-dependent behavior needs the pending platform coverage.

Switches: HOS_MKW_INTERVAL is removed and HOS_UPSTREAM_INTERVAL replaces it, defaulting to 1. It only affects the upstream game's pacer, so the default does not affect the supported game. The removed name needs a GONE entry.

Reviewed: 0d6e77f69a against b4d56f5264: Read AGENTS.md, CONTRIBUTING.md, the pull request template, relevant standards, the commit message, the new naming test and provenance document, and selected diffs and callers for the renderer interface, build plan, switches and profiling. Skimmed the change list and targeted portions of the remaining diff; the 644 changed files and their surrounding code were not all read in full. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review).

Checked and fine:

  • The commit records AI assistance with a Co-Authored-By trailer.
  • The host's renamed renderer export lookups match the renamed declarations.
  • The author reports a Windows game run and shader preparation on this head.

Testing: Read-only review; no builds, tests or project scripts were run. The supplied CI checks are still running.

Overlaps and merge order: Not determined; the network is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.

**Recommendation: Request changes.** The renamed thread prefix causes both platform samplers to omit every renderer thread, breaking profiling reports. The removed switch also lacks the repository-required retirement entry. The change gives renderer, host and UI identifiers neutral names and updates their callers and documentation. It preserves the intended runtime interfaces within a matched build, but breaks renderer profiling and compatibility with existing profiling captures. **Blocking (2)**: must change before merging. 1. **L1** `host/hos_glue.c:903`: The sampler compares six bytes against a five-character prefix, so it excludes the renamed renderer threads. (more on the line) **Do:** Compare the five-character prefix in both samplers, preferably using sizeof the literal minus one, and add a behavioral check using an actual renderer thread name. 2. **L2** `gpu/vk/switches.def:222`: The old switch is removed without a GONE entry, contrary to the switch-table rule. (more on the line) **Do:** Add a GONE entry for the old name explaining its replacement, and allow that historical name in the naming check. **Should fix (1)**: not blocking, but worth doing before merging. - **L3** `scripts/profiling/analyses.py:154`: The profiling tools no longer recognize renderer thread names in captures made before this rename. (more on the line) **Do:** Recognize both historical and current prefixes when reading captures, and cover an old-format capture in the profiling tests. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L4** `gpu/vk/vk_main.cpp:292`: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. (more on the line) **Do:** Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result. `@fix` can do L1, L2 and L3. **Questions (2)** (not confirmed from the code; they don't hold the recommendation) - Does changing the Vulkan application name affect a driver profile on any supported configuration? - Are there overlapping pull requests beyond the general renderer and host conflicts noted in the description? **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a perf change. The author reports a Windows RTX 4060 smoke pass over 900 frames and successful preparation of 38,809 shader programs; Linux gameplay remains untested. **Other systems:** The host and renderer are loaded together through renamed exports; the author reports that mixed old and new builds cannot load each other. Both Windows and Linux profiling samplers are affected by the prefix-length error. The Vulkan application name also changes, so driver-dependent behavior needs the pending platform coverage. **Switches:** HOS_MKW_INTERVAL is removed and HOS_UPSTREAM_INTERVAL replaces it, defaulting to 1. It only affects the upstream game's pacer, so the default does not affect the supported game. The removed name needs a GONE entry. **Reviewed:** 0d6e77f69a53 against b4d56f526449: Read AGENTS.md, CONTRIBUTING.md, the pull request template, relevant standards, the commit message, the new naming test and provenance document, and selected diffs and callers for the renderer interface, build plan, switches and profiling. Skimmed the change list and targeted portions of the remaining diff; the 644 changed files and their surrounding code were not all read in full. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review). **Checked and fine:** - The commit records AI assistance with a Co-Authored-By trailer. - The host's renamed renderer export lookups match the renamed declarations. - The author reports a Windows game run and shader preparation on this head. **Testing:** Read-only review; no builds, tests or project scripts were run. The supplied CI checks are still running. **Overlaps and merge order:** Not determined; the network is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
@ -220,6 +219,7 @@ SW(HOS_TICK_CONVERT_192, kill, bool, "tick conversions use the counter's own 31.
SW(HOS_TICK_LOG, diag, bool, "off", "Logs who reads the clock, by caller, every 5 s.")
SW(HOS_TLS_TRACE, diag, bool, "off", "Logs thread-local storage setup, as HOS_TRACE does, without the rest of the trace.")
SW(HOS_TRACE, diag, bool, "off", "Logs every HLE call that uses HOS_TRACE_CALL.")
SW(HOS_UPSTREAM_INTERVAL, kill, enum, "1: the upstream game's pacer held at a steady 60 fps", "The interval the upstream game's pacer is held at: 1 is 60, 2 is 30, 0 the game's own choice.")
Member

L2 (blocking): The old switch is removed without a GONE entry, contrary to the switch-table rule.

When: A run that still sets HOS_MKW_INTERVAL receives no retired-switch notice because the name no longer appears in the switch table.

Do: Add a GONE entry for the old name explaining its replacement, and allow that historical name in the naming check.

**L2** (blocking): The old switch is removed without a GONE entry, contrary to the switch-table rule. *When:* A run that still sets HOS_MKW_INTERVAL receives no retired-switch notice because the name no longer appears in the switch table. **Do:** Add a GONE entry for the old name explaining its replacement, and allow that historical name in the naming check.
@ -290,3 +290,3 @@
VkApplicationInfo app{VK_STRUCTURE_TYPE_APPLICATION_INFO};
app.pApplicationName = "mkw-recomp";
app.pApplicationName = "Longshot";
app.apiVersion = VK_API_VERSION_1_3;
Member

L4 (should fix): The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run.

When: The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only.

Do: Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result.

**L4** (should fix): The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. *When:* The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. **Do:** Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result.
host/hos_glue.c Outdated
@ -0,0 +900,4 @@
char desc[64] = "";
if (SUCCEEDED(GetThreadDescription(h, &d)) && d) WideCharToMultiByte(CP_UTF8, 0, d, -1, desc, sizeof desc, NULL, NULL);
if (d) LocalFree(d);
if (!strncmp(desc, "ls_vk", 6)) snprintf(name, sizeof name, "%s", desc);
Member

L1 (blocking): The sampler compares six bytes against a five-character prefix, so it excludes the renamed renderer threads. The Linux sampler has the same error in host/posix/prof.c.

When: A renderer thread named "ls_vk replay" differs from "ls_vk" at byte six: the thread has a space and the literal has its terminating zero. HOS_SAMPLE_ALL therefore omits it on both Windows and Linux, leaving renderer reports without renderer samples.

Do: Compare the five-character prefix in both samplers, preferably using sizeof the literal minus one, and add a behavioral check using an actual renderer thread name.

**L1** (blocking): The sampler compares six bytes against a five-character prefix, so it excludes the renamed renderer threads. The Linux sampler has the same error in host/posix/prof.c. *When:* A renderer thread named "ls_vk replay" differs from "ls_vk" at byte six: the thread has a space and the literal has its terminating zero. HOS_SAMPLE_ALL therefore omits it on both Windows and Linux, leaving renderer reports without renderer samples. **Do:** Compare the five-character prefix in both samplers, preferably using sizeof the literal minus one, and add a behavioral check using an actual renderer thread name.
@ -152,3 +152,3 @@
nrun = 0
for _, th, st in samples.records(path):
if not th.startswith("mkw_vk"):
if not th.startswith("ls_vk"):
Member

L3 (should fix): The profiling tools no longer recognize renderer thread names in captures made before this rename.

When: Running the renderer analysis on an existing all-thread capture whose renderer thread starts with the old prefix skips that thread and produces an empty or incomplete renderer report; the thread analysis also counts it as a game thread.

Do: Recognize both historical and current prefixes when reading captures, and cover an old-format capture in the profiling tests.

**L3** (should fix): The profiling tools no longer recognize renderer thread names in captures made before this rename. *When:* Running the renderer analysis on an existing all-thread capture whose renderer thread starts with the old prefix skips that thread and produces an empty or incomplete renderer report; the thread analysis also counts it as a game thread. **Do:** Recognize both historical and current prefixes when reading captures, and cover an old-format capture in the profiling tests.
fix(vk): the samplers take the renamed renderer threads again; HOS_MKW_INTERVAL is GONE; old captures read
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
9c58115eca
- hos.h HOS_IS_RENDERER_THREAD: the prefix compared by its own length (the rename left strncmp(..., 6) for a 5-letter
  prefix, so HOS_SAMPLE_ALL took no renderer thread); hos_glue.c and posix/prof.c use it.
  tests/test_renderer_thread_names.py compiles it with every thread name gpu/vk gives.
- switches.def: GONE(HOS_MKW_INTERVAL) names HOS_UPSTREAM_INTERVAL.
- scripts/profiling: samples.RENDERER takes both prefixes, so captures made before the rename keep their renderer
  threads; tests/test_profile_renderer_drivers.py covers one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Thanks: L1 was a real bug, fixed in 9c58115ec.

L1 (fixed): the rename left strncmp(desc, "ls_vk", 6) in both samplers, so HOS_SAMPLE_ALL took no renderer thread. host/hos.h now has HOS_RENDERER_THREAD and HOS_IS_RENDERER_THREAD(name), which compares sizeof HOS_RENDERER_THREAD - 1 bytes; host/hos_glue.c and host/posix/prof.c use it. tests/test_renderer_thread_names.py compiles the macro with every thread name gpu/vk gives (SetThreadDescription / HT_THREAD_NAME) and with near misses. With the old 6-byte compare put back it fails ("the renderer's "ls_vk capture copy" is left out", …). The mod system's lsmod-texdec stays out, as before.

L2 (fixed): GONE(HOS_MKW_INTERVAL, "2026-12-03", "nothing: HOS_UPSTREAM_INTERVAL is its name now …"). The naming check allows that one historical span, as test_no_game_title.py does for its gone switches.

L3 (fixed): scripts/profiling/samples.RENDERER holds both prefixes and analyses.py / report.py use it. tests/test_profile_renderer_drivers.py has a capture with an old-prefix renderer thread (100% running, 1 sample).

L4 (still to test): Linux has not run. The Windows run on the head before this commit is in the first comment. This commit changes only the samplers' compare, a switch row, the profiling scripts and tests, so I haven't run the game again. The Linux build and smoke are in Still to test, for the Test Farm.

Questions

  • Driver profiles and pApplicationName: the Windows drivers key their profiles on the executable. Mesa's drirc can match applicationName, but no drirc entry names mkw-recomp, so no profile applied before this change and none applies after. The Linux farm run would show it if I'm wrong.
  • Overlaps: no open PR renames these names (forge.py search for the old names finds only PRs that use them). Any open PR touching gpu/vk/ or host/ will conflict. The table in gpu/PROVENANCE.md is the replacement to apply when rebasing one.

Checks (Windows 11, llvm-mingw clang): tests/run_all.py --changed HEAD (92 checks) passed apart from the new test's first version, which counted lsmod-texdec as a renderer thread. The fixed version passes, with test_no_upstream_game_name, test_switch_table, test_profile_renderer_drivers, test_profile_report_names, test_no_game_title and test_env_on.

Thanks: L1 was a real bug, fixed in `9c58115ec`. **L1** (fixed): the rename left `strncmp(desc, "ls_vk", 6)` in both samplers, so `HOS_SAMPLE_ALL` took no renderer thread. `host/hos.h` now has `HOS_RENDERER_THREAD` and `HOS_IS_RENDERER_THREAD(name)`, which compares `sizeof HOS_RENDERER_THREAD - 1` bytes; `host/hos_glue.c` and `host/posix/prof.c` use it. `tests/test_renderer_thread_names.py` compiles the macro with every thread name `gpu/vk` gives (`SetThreadDescription` / `HT_THREAD_NAME`) and with near misses. With the old 6-byte compare put back it fails ("the renderer's "ls_vk capture copy" is left out", …). The mod system's `lsmod-texdec` stays out, as before. **L2** (fixed): `GONE(HOS_MKW_INTERVAL, "2026-12-03", "nothing: HOS_UPSTREAM_INTERVAL is its name now …")`. The naming check allows that one historical span, as `test_no_game_title.py` does for its gone switches. **L3** (fixed): `scripts/profiling/samples.RENDERER` holds both prefixes and `analyses.py` / `report.py` use it. `tests/test_profile_renderer_drivers.py` has a capture with an old-prefix renderer thread (100% running, 1 sample). **L4** (still to test): Linux has not run. The Windows run on the head before this commit is in the first comment. This commit changes only the samplers' compare, a switch row, the profiling scripts and tests, so I haven't run the game again. The Linux build and smoke are in Still to test, for the Test Farm. **Questions** - Driver profiles and `pApplicationName`: the Windows drivers key their profiles on the executable. Mesa's drirc can match `applicationName`, but no drirc entry names `mkw-recomp`, so no profile applied before this change and none applies after. The Linux farm run would show it if I'm wrong. - Overlaps: no open PR renames these names (`forge.py search` for the old names finds only PRs that use them). Any open PR touching `gpu/vk/` or `host/` will conflict. The table in `gpu/PROVENANCE.md` is the replacement to apply when rebasing one. **Checks** (Windows 11, llvm-mingw clang): `tests/run_all.py --changed HEAD` (92 checks) passed apart from the new test's first version, which counted `lsmod-texdec` as a renderer thread. The fixed version passes, with `test_no_upstream_game_name`, `test_switch_table`, `test_profile_renderer_drivers`, `test_profile_report_names`, `test_no_game_title` and `test_env_on`.
Owner
@rebase
Member

I rebased this pull request onto main (67e4ca8ef3): the new head is 6963464a4a.

Conflicts resolved

  • gpu/vk/vk_dlss.cpp: Kept the base branch’s deferred GPU-safe shutdown.
  • gpu/vk/vk_dlss.h: Kept the updated shutdown documentation and renamed the close callback.
  • gpu/vk/vk_dlssg.cpp: Kept the base branch’s shutdown logic and renamed the renderer namespace.

Nothing was built or run: read the resolution before merging.


Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

I rebased this pull request onto `main` (67e4ca8ef31f): the new head is 6963464a4a57. **Conflicts resolved** - gpu/vk/vk_dlss.cpp: Kept the base branch’s deferred GPU-safe shutdown. - gpu/vk/vk_dlss.h: Kept the updated shutdown documentation and renamed the close callback. - gpu/vk/vk_dlssg.cpp: Kept the base branch’s shutdown logic and renamed the renderer namespace. Nothing was built or run: read the resolution before merging. --- <sub>Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
BeanBot force-pushed refactor/neutral-runtime-names from 9c58115eca
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 6963464a4a
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-03 15:04:36 +00:00
Compare
BeanBot requested changes 2026-12-03 15:05:07 +00:00
Dismissed
BeanBot left a comment

Recommendation: Request changes. It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first). (L5) The sampler, switch-table and old-capture fixes address the reported defects. A Linux build and game smoke run are still needed for the renamed renderer and Vulkan application name.

The change removes upstream game names from renderer, host and UI identifiers while preserving old profiling captures and warning about the retired switch. It makes the naming more consistent, at the cost of broad source churn and conflicts with other renderer and host work.

Blocking (1): must change before merging.

  1. L5: It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first). (for the author)

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L4 gpu/vk/vk_main.cpp:292: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. When: The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. Do: Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result.

Since the last review (on 0d6e77f69a)
Resolved: L1 (The sampler compares six bytes against a five-character prefix, so it excludes the renamed…); L2 (The old switch is removed without a GONE entry, contrary to the switch-table rule.); L3 (The profiling tools no longer recognize renderer thread names in captures made before this…)
Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…)
New: L5 (It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first).)

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Not a perf change. The author reports a Windows smoke pass for 900 frames on an RTX 4060; Linux startup and play remain untested.

Other systems: The rename affects both Windows and Linux host samplers, renderer loading, profiling tools and Vulkan application identification. Windows was exercised as reported; Linux and its driver behavior still need a game run.

Switches: HOS_MKW_INTERVAL is retired with a GONE row; HOS_UPSTREAM_INTERVAL replaces it, defaulting to 1 for the upstream game's pacer. It does not affect the supported Longshot game.

Reviewed: 6963464a4a against 67e4ca8ef3: Read AGENTS.md, CONTRIBUTING.md, the pull request template and the diff since the ledger for the sampler, switch and profiling fixes. Searched their callers and switch use; the full pull request diff and all changed code files were not read in full. The listed review checklist does not exist.; nothing run (a code review).

Checked and fine:

  • The sampler predicate covers the renamed renderer prefix on both platform branches.
  • The profiling tools recognize both old and new renderer thread prefixes.

Testing: No commands from the project or tests were run. The author reports Windows smoke and game-free checks; CI is still running, and the Linux build and smoke run remain outstanding.

Overlaps and merge order: The author reports that other open pull requests touching gpu/vk or host may conflict; no specific overlapping rename was identified.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.

**Recommendation: Request changes.** It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first). (L5) The sampler, switch-table and old-capture fixes address the reported defects. A Linux build and game smoke run are still needed for the renamed renderer and Vulkan application name. The change removes upstream game names from renderer, host and UI identifiers while preserving old profiling captures and warning about the retired switch. It makes the naming more consistent, at the cost of broad source churn and conflicts with other renderer and host work. **Blocking (1)**: must change before merging. 1. **L5**: It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first). *(for the author)* **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L4** `gpu/vk/vk_main.cpp:292`: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. *When:* The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. **Do:** Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result. **Since the last review** (on 0d6e77f69a53) Resolved: L1 (The sampler compares six bytes against a five-character prefix, so it excludes the renamed…); L2 (The old switch is removed without a GONE entry, contrary to the switch-table rule.); L3 (The profiling tools no longer recognize renderer thread names in captures made before this…) Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…) New: L5 (It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first).) **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a perf change. The author reports a Windows smoke pass for 900 frames on an RTX 4060; Linux startup and play remain untested. **Other systems:** The rename affects both Windows and Linux host samplers, renderer loading, profiling tools and Vulkan application identification. Windows was exercised as reported; Linux and its driver behavior still need a game run. **Switches:** HOS_MKW_INTERVAL is retired with a GONE row; HOS_UPSTREAM_INTERVAL replaces it, defaulting to 1 for the upstream game's pacer. It does not affect the supported Longshot game. **Reviewed:** 6963464a4a57 against 67e4ca8ef31f: Read AGENTS.md, CONTRIBUTING.md, the pull request template and the diff since the ledger for the sampler, switch and profiling fixes. Searched their callers and switch use; the full pull request diff and all changed code files were not read in full. The listed review checklist does not exist.; nothing run (a code review). **Checked and fine:** - The sampler predicate covers the renamed renderer prefix on both platform branches. - The profiling tools recognize both old and new renderer thread prefixes. **Testing:** No commands from the project or tests were run. The author reports Windows smoke and game-free checks; CI is still running, and the Linux build and smoke run remain outstanding. **Overlaps and merge order:** The author reports that other open pull requests touching gpu/vk or host may conflict; no specific overlapping rename was identified. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.</sub>
Owner
@rebase
Member

I rebased this pull request onto main (8196c87e9d): the new head is 2e252e8654.

Conflicts resolved

  • gpu/vk/vk_api.h: Restored the LsVkHost typedef closure after the settings callbacks, preserving both sides.

Nothing was built or run: read the resolution before merging.


Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

I rebased this pull request onto `main` (8196c87e9d1f): the new head is 2e252e865403. **Conflicts resolved** - gpu/vk/vk_api.h: Restored the LsVkHost typedef closure after the settings callbacks, preserving both sides. Nothing was built or run: read the resolution before merging. --- <sub>Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
BeanBot force-pushed refactor/neutral-runtime-names from 6963464a4a
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 2e252e8654
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-03 15:15:03 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The rebase incorporates the supplied base, but the renamed renderer and Vulkan application name still need a Linux build and game smoke run. Recommend approval; not approved on the forge.

The change replaces upstream-specific renderer, UI and host names with Longshot names. It makes the naming more consistent at the cost of a broad source rename and conflicts for other work in those areas.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L4 gpu/vk/vk_main.cpp:292: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. When: The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. Do: Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result.

Since the last review (on 6963464a4a)
Resolved: L5 (It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first).)
Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…)

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Not a performance change. The author reports a Windows smoke pass over 900 frames and preparation of 38,809 shader programs with no failures; Linux gameplay has not been reported.

Other systems: The rename reaches the host, renderer, UI ABI, profiling tools and both Windows and Linux. The reported Windows run exercised renderer startup and the menu; the Linux path remains untested.

Switches: HOS_MKW_INTERVAL is replaced by HOS_UPSTREAM_INTERVAL, with default 1; the old name has a GONE row. It controls the upstream game's pacer rather than this game's pacing.

Reviewed: 2e252e8654 against 8196c87e9d: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the ledger and supplied comments; inspected the rebased UI and host ABI changes and their relevant callers. The 645-file diff and changed code files were not read in full; generated files and recorded checks were not independently examined in full.; nothing run (a code review).

Checked and fine:

  • The rebased UI version remains 11 in the C header, Rust definition and header test.
  • The version 89 host settings callbacks remain in the renamed host table and renderer initialization.

Testing: No commands that build or run the project were executed. The author reports a Windows game smoke pass; Linux build and smoke testing remain outstanding, and CI is still running.

Overlaps and merge order: The author reports no open PR with the same rename; other PRs touching gpu/vk or host may conflict.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The code is ready: only testing is left. The rebase incorporates the supplied base, but the renamed renderer and Vulkan application name still need a Linux build and game smoke run. Recommend approval; not approved on the forge. The change replaces upstream-specific renderer, UI and host names with Longshot names. It makes the naming more consistent at the cost of a broad source rename and conflicts for other work in those areas. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L4** `gpu/vk/vk_main.cpp:292`: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. *When:* The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. **Do:** Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result. **Since the last review** (on 6963464a4a57) Resolved: L5 (It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first).) Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…) **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a performance change. The author reports a Windows smoke pass over 900 frames and preparation of 38,809 shader programs with no failures; Linux gameplay has not been reported. **Other systems:** The rename reaches the host, renderer, UI ABI, profiling tools and both Windows and Linux. The reported Windows run exercised renderer startup and the menu; the Linux path remains untested. **Switches:** HOS_MKW_INTERVAL is replaced by HOS_UPSTREAM_INTERVAL, with default 1; the old name has a GONE row. It controls the upstream game's pacer rather than this game's pacing. **Reviewed:** 2e252e865403 against 8196c87e9d1f: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the ledger and supplied comments; inspected the rebased UI and host ABI changes and their relevant callers. The 645-file diff and changed code files were not read in full; generated files and recorded checks were not independently examined in full.; nothing run (a code review). **Checked and fine:** - The rebased UI version remains 11 in the C header, Rust definition and header test. - The version 89 host settings callbacks remain in the renamed host table and renderer initialization. **Testing:** No commands that build or run the project were executed. The author reports a Windows game smoke pass; Linux build and smoke testing remain outstanding, and CI is still running. **Overlaps and merge order:** The author reports no open PR with the same rename; other PRs touching gpu/vk or host may conflict. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.</sub>
Owner
@rebase
Member

I rebased this pull request onto main (9a1f19b462): the new head is a5b07b8aee.

Conflicts resolved

  • docs/dev/reference/architecture.md: Kept the base branch’s updated code-warming description and the pull request’s upstream-game hook rename.

Nothing was built or run: read the resolution before merging.


Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

I rebased this pull request onto `main` (9a1f19b46292): the new head is a5b07b8aeec1. **Conflicts resolved** - docs/dev/reference/architecture.md: Kept the base branch’s updated code-warming description and the pull request’s upstream-game hook rename. Nothing was built or run: read the resolution before merging. --- <sub>Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
BeanBot force-pushed refactor/neutral-runtime-names from 2e252e8654
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to a5b07b8aee
Some checks failed
PR description / Title and description (pull_request_target) Successful in 9s
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Successful in 13s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-03 15:27:36 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The renamed renderer has passed a Windows game smoke run, but its Linux build and game smoke run remain unreported. Recommend approval; not approved on the forge.

The change replaces upstream game names throughout the renderer, host, UI and documentation, making the code’s naming consistent with Longshot. It also changes the Vulkan application name and renderer symbols, so platform startup needs verification.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L4 gpu/vk/vk_main.cpp:292: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. When: The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. Do: Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result.

Since the last review (on 2e252e8654)
Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…)

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Not a perf change. The author reports 38,809 shader programs prepared with none failing and a 900-frame Windows smoke run passing; Linux remains untested.

Other systems: Windows NVIDIA startup and play were reported passing. Linux renderer loading and Vulkan startup remain unverified; other GPU and driver behavior was not reported.

Switches: HOS_MKW_INTERVAL is replaced by HOS_UPSTREAM_INTERVAL, with the old name marked GONE. The switch applies to the upstream game’s pacer; its documented default is 1.

Reviewed: a5b07b8aee against 9a1f19b462: Compared the architecture documentation diffs across the rebase; inspected the Vulkan application name, renderer entry point, host lookup and switch rows. The remaining changed files and repository rules were not read in full on this re-check.; nothing run (a code review).

Checked and fine:

  • The host looks up the renamed lsvk_init symbol exported by the renderer.
  • The rebase preserves the architecture documentation’s naming changes.

Testing: No commands from the project were run. The author reports a Windows build and smoke pass; Linux build and smoke remain outstanding. CI is still running.

Overlaps and merge order: The author reports that open pull requests touching gpu/vk or host may conflict; no overlapping rename was identified.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The code is ready: only testing is left. The renamed renderer has passed a Windows game smoke run, but its Linux build and game smoke run remain unreported. Recommend approval; not approved on the forge. The change replaces upstream game names throughout the renderer, host, UI and documentation, making the code’s naming consistent with Longshot. It also changes the Vulkan application name and renderer symbols, so platform startup needs verification. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L4** `gpu/vk/vk_main.cpp:292`: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. *When:* The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. **Do:** Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result. **Since the last review** (on 2e252e865403) Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…) **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a perf change. The author reports 38,809 shader programs prepared with none failing and a 900-frame Windows smoke run passing; Linux remains untested. **Other systems:** Windows NVIDIA startup and play were reported passing. Linux renderer loading and Vulkan startup remain unverified; other GPU and driver behavior was not reported. **Switches:** HOS_MKW_INTERVAL is replaced by HOS_UPSTREAM_INTERVAL, with the old name marked GONE. The switch applies to the upstream game’s pacer; its documented default is 1. **Reviewed:** a5b07b8aeec1 against 9a1f19b46292: Compared the architecture documentation diffs across the rebase; inspected the Vulkan application name, renderer entry point, host lookup and switch rows. The remaining changed files and repository rules were not read in full on this re-check.; nothing run (a code review). **Checked and fine:** - The host looks up the renamed lsvk_init symbol exported by the renderer. - The rebase preserves the architecture documentation’s naming changes. **Testing:** No commands from the project were run. The author reports a Windows build and smoke pass; Linux build and smoke remain outstanding. CI is still running. **Overlaps and merge order:** The author reports that open pull requests touching gpu/vk or host may conflict; no overlapping rename was identified. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.</sub>
Author
Contributor

Rebased onto main 45d1863b2 (head afeee5bc8). Main's new code since the bot's last rebase (the ReShade packs, SGSR 2, the DLSS frame-generation exit and others) had picked up old names again; they're renamed the same way (tests/test_no_upstream_game_name.py passes), and vk_api.h's lsvk_texture_decode_fn continuation line is realigned.

Checks on this head (Windows 11, llvm-mingw clang): 75 of 79 checks that read the conflicted files pass, with test_no_upstream_game_name, test_no_game_title, test_switch_table, test_doc_anchors and test_renderer_thread_names. The 4 others (test_key_press_queue, test_net_engine, test_pipeline_tour, test_input_background) fail the same way on main 45d1863b2 here: Linux-only checks, and an unused variable newer clang flags in input_background_test.c. Not from this PR, and left alone here: main's game/game.h is stale against ffi-gen (game_set_fast_forward's comment), and game/crates/game-core/src/video.rs isn't rustfmt-clean.

L4 (a Linux build and smoke) is still to test.

Rebased onto main `45d1863b2` (head `afeee5bc8`). Main's new code since the bot's last rebase (the ReShade packs, SGSR 2, the DLSS frame-generation exit and others) had picked up old names again; they're renamed the same way (`tests/test_no_upstream_game_name.py` passes), and `vk_api.h`'s `lsvk_texture_decode_fn` continuation line is realigned. Checks on this head (Windows 11, llvm-mingw clang): 75 of 79 checks that read the conflicted files pass, with `test_no_upstream_game_name`, `test_no_game_title`, `test_switch_table`, `test_doc_anchors` and `test_renderer_thread_names`. The 4 others (`test_key_press_queue`, `test_net_engine`, `test_pipeline_tour`, `test_input_background`) fail the same way on main `45d1863b2` here: Linux-only checks, and an unused variable newer clang flags in `input_background_test.c`. Not from this PR, and left alone here: main's `game/game.h` is stale against ffi-gen (`game_set_fast_forward`'s comment), and `game/crates/game-core/src/video.rs` isn't rustfmt-clean. L4 (a Linux build and smoke) is still to test.
siantm force-pushed refactor/neutral-runtime-names from a5b07b8aee
Some checks failed
PR description / Title and description (pull_request_target) Successful in 9s
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Successful in 13s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to afeee5bc8d
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-04 00:41:06 +00:00
Compare
Owner
@rebase
Member

I rebased this pull request onto main (73f12f0e8d): the new head is 80cc2af623.

Conflicts resolved

  • gpu/vk/vk_sharpen.h: Kept the Sharpness declarations and moved them to namespace lsvk.
  • gpu/vk/vk_sharpen.cpp: Kept the Sharpness implementation and moved it to namespace lsvk.
  • Also changed, beyond the conflict: gpu/vk/vk_sharpen.cpp, gpu/vk/vk_sharpen.h

Nothing was built or run: read the resolution before merging.


Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

I rebased this pull request onto `main` (73f12f0e8dfe): the new head is 80cc2af623c9. **Conflicts resolved** - gpu/vk/vk_sharpen.h: Kept the Sharpness declarations and moved them to namespace lsvk. - gpu/vk/vk_sharpen.cpp: Kept the Sharpness implementation and moved it to namespace lsvk. - Also changed, beyond the conflict: `gpu/vk/vk_sharpen.cpp`, `gpu/vk/vk_sharpen.h` Nothing was built or run: read the resolution before merging. --- <sub>Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
BeanBot force-pushed refactor/neutral-runtime-names from afeee5bc8d
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 80cc2af623
Some checks reported errors
beanstalk/approval approved by HumanBean (reviewed)
beanstalk/linux 0/1 pass, 2 error
beanstalk/windows+nvidia 0/1 pass, 2 error
PR description / Title and description (pull_request_target) Successful in 8s
CI / What the change needs (pull_request) Successful in 6s
CI / Third-party parts and guide screenshots (pull_request) Successful in 10s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Failing after 23s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m23s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 21m15s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 15m56s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 15m45s
CI / Website build and checks (pull_request) Successful in 1m17s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m5s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 53m54s
2026-12-04 03:54:48 +00:00
Compare
BeanBot requested changes 2026-12-04 03:55:27 +00:00
Dismissed
BeanBot left a comment

Recommendation: Request changes. It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first). (L6) The renamed renderer has been exercised on Windows, but its Linux build and game smoke run are still outstanding.

The change renames renderer, host and UI identifiers and updates their references and documentation. It makes the naming more consistent at the cost of conflicts with changes that touch the same code.

Blocking (1): must change before merging.

  1. L6: It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first). (for the author)

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L4 gpu/vk/vk_main.cpp:292: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. When: The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. Do: Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result.

Since the last review (on a5b07b8aee)
Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…)
New: L6 (It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first).)

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Not a performance change. The author reports a Windows smoke pass over 900 frames and 38,809 shader programs prepared with none failing; Linux remains untested.

Other systems: The host dynamically loads the renamed renderer exports on both Windows and Linux. The Vulkan application name also changes for drivers; the author reports no matching Mesa profile for the old name, but a Linux game run is still needed.

Switches: HOS_MKW_INTERVAL is removed and recorded as GONE; HOS_UPSTREAM_INTERVAL replaces it with the same stated default of 1. It affects the upstream game's pacer, not Longshot's game.

Reviewed: 80cc2af623 against 73f12f0e8d: Read AGENTS.md, CONTRIBUTING.md, the pull request template, renderer_guard.h, fx_packs.cpp, fx_packs.h, vk_sgsr2.h and vk_sharpen.h. Inspected the reported rebase diff and relevant portions of vk_main.cpp, vk_ui.cpp, vk_draw.cpp, vk_replay.cpp and rx_backend.c; the large full diff and remaining changed files were not read in full.; nothing run (a code review).

Checked and fine:

  • The rebased renderer guard includes nvn_skip_tail_wait.
  • The changed UI navigation constants retain their corresponding directions.

Testing: No commands that build or run the project were executed. The author reports a Windows game smoke pass; Linux testing and the listed CI checks remain pending.

Overlaps and merge order: The author reports no competing rename pull request; changes touching gpu/vk or host may conflict.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.

**Recommendation: Request changes.** It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first). (L6) The renamed renderer has been exercised on Windows, but its Linux build and game smoke run are still outstanding. The change renames renderer, host and UI identifiers and updates their references and documentation. It makes the naming more consistent at the cost of conflicts with changes that touch the same code. **Blocking (1)**: must change before merging. 1. **L6**: It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first). *(for the author)* **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L4** `gpu/vk/vk_main.cpp:292`: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. *When:* The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. **Do:** Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result. **Since the last review** (on a5b07b8aeec1) Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…) New: L6 (It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first).) **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a performance change. The author reports a Windows smoke pass over 900 frames and 38,809 shader programs prepared with none failing; Linux remains untested. **Other systems:** The host dynamically loads the renamed renderer exports on both Windows and Linux. The Vulkan application name also changes for drivers; the author reports no matching Mesa profile for the old name, but a Linux game run is still needed. **Switches:** HOS_MKW_INTERVAL is removed and recorded as GONE; HOS_UPSTREAM_INTERVAL replaces it with the same stated default of 1. It affects the upstream game's pacer, not Longshot's game. **Reviewed:** 80cc2af623c9 against 73f12f0e8dfe: Read AGENTS.md, CONTRIBUTING.md, the pull request template, renderer_guard.h, fx_packs.cpp, fx_packs.h, vk_sgsr2.h and vk_sharpen.h. Inspected the reported rebase diff and relevant portions of vk_main.cpp, vk_ui.cpp, vk_draw.cpp, vk_replay.cpp and rx_backend.c; the large full diff and remaining changed files were not read in full.; nothing run (a code review). **Checked and fine:** - The rebased renderer guard includes nvn_skip_tail_wait. - The changed UI navigation constants retain their corresponding directions. **Testing:** No commands that build or run the project were executed. The author reports a Windows game smoke pass; Linux testing and the listed CI checks remain pending. **Overlaps and merge order:** The author reports no competing rename pull request; changes touching gpu/vk or host may conflict. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.</sub>
Owner

@review
@beanstalk

@review @beanstalk
Member
Beanstalk test farm · an earlier run: commit 80cc2af (the newer results are in a comment below)

Commit 80cc2af · approved by HumanBean (reviewed) · dashboard

⚠️ Note: The headless steps do not open the Insert menu, so they do not verify the renamed UI's menu interaction.
⚠️ Note: The upstream game's renamed pacer and compatibility with existing player caches are not exercised by these fresh Longshot runs.

Summary, written by AI (gpt-6.1-terra) from the numbers below:

The change could not be judged on Linux or Windows NVIDIA: all four PCs encountered the same baseline build error before the game ran. Main’s tools.lock has unexpected SDL URLs on line 32, so no gameplay or performance comparisons are available.

Done (started 06:39 UTC, last report 06:39 UTC). Comment @Beanstalk to run it again.

Target Result Reports Frame time p99 (ms), main → PR VRAM peak (MB) Crashes
linux ⚠️ couldn't be judged 2 1 2 — — none
windows+nvidia ⚠️ couldn't be judged 2 1 2 — — none

Couldn't be judged: the tester's PC could not finish the test. The farm tries another PC, or the same one after a fix; it says nothing about the PR on its own.

  • linux, report 1: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • linux, report 2: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • windows+nvidia, report 1: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • windows+nvidia, report 2: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
What was tested

What will be tested · AI plan (gpt-6.1-terra)

The farm will build main and the pull request on Linux and Windows NVIDIA, then smoke-test renderer startup and gameplay from Kokiri Forest through Hyrule Field and the Market. Each side gets three starts, including a 900-frame gameplay wait and still-scene screenshot comparisons; lift and compile times are also recorded. A build failure, crash, failure to reach a destination, or screenshot difference above 0.2 fails the plan.

  • Where: linux (1-2 reports), windows+nvidia (1-2 reports).
  • renderer-smoke: from the repository's save kokiri-start (switches HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720), then teleport to Hyrule Field, take the picture field to compare with main, teleport to Market, take the picture market to compare with main; 3 runs on each side.
  • Build times: main and the PR each built 2 times, alternating, each whole in a fresh folder: the lift again (no kept lift, main's compiled objects kept); every stage timed (shader preparation is not), and the lifted code compared.
  • Measured: crashes.
  • The PR fails if: it crashes; or a picture differs from main by more than 20%.
  • Time: about 31 min of game runs per tester (6 game starts), plus the two builds and 4 timed builds (about 80 min).
Measurements on `linux`, for the PR description

Verdict: could not be judged on linux (2 reports).

Hardware: 1: linux+amd+radv+igpu AMD Radeon 890M Graphics (RADV STRIX1), 26.1.99 AMD Ryzen Z2 Extreme, 32 GB RAM; 2: linux+amd+radv+igpu AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8 AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM
Scene: renderer-smoke, from the repository's save kokiri-start (HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); renderer-smoke: 3 game starts a side; timed builds: main and this PR each built 2 times a cache, alternating, each a whole build in a fresh folder (lift; shader preparation not timed); each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Build times (each a median of the timed builds; caches: lift = the lift again (no kept lift, main's compiled objects kept))

Before: main @ 73f12f0 After: this PR @ 80cc2af
lift · lifted code main's not compared

Flags and settings

None: the plan varied no setting, switch or build option.

As Markdown for the PR description:

## Measurements

**Verdict:** could not be judged on linux (2 reports).

Hardware: 1: linux+amd+radv+igpu `AMD Radeon 890M Graphics (RADV STRIX1), 26.1.99` `AMD Ryzen Z2 Extreme, 32 GB RAM`; 2: linux+amd+radv+igpu `AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8` `AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM`  
Scene: renderer-smoke, from the repository's save kokiri-start (HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); renderer-smoke: 3 game starts a side; timed builds: main and this PR each built 2 times a cache, alternating, each a whole build in a fresh folder (lift; shader preparation not timed); each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Build times (each a median of the timed builds; caches: lift = the lift again (no kept lift, main's compiled objects kept))

| | Before: main @ 73f12f0 | After: this PR @ 80cc2af |
|---|---|---|
| lift · lifted code | main's | not compared |

**Flags and settings**

None: the plan varied no setting, switch or build option.
Measurements on `windows+nvidia`, for the PR description

Verdict: could not be judged on windows+nvidia (2 reports).

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 4090, 621.40.0 13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM; 2: windows+nvidia+nvidia-proprietary+dgpu+window+xess NVIDIA GeForce GTX 980, 582.78.0 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM
Scene: renderer-smoke, from the repository's save kokiri-start (HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); renderer-smoke: 3 game starts a side; timed builds: main and this PR each built 2 times a cache, alternating, each a whole build in a fresh folder (lift; shader preparation not timed); each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Build times (each a median of the timed builds; caches: lift = the lift again (no kept lift, main's compiled objects kept))

Before: main @ 73f12f0 After: this PR @ 80cc2af
lift · lifted code main's not compared

Flags and settings

None: the plan varied no setting, switch or build option.

As Markdown for the PR description:

## Measurements

**Verdict:** could not be judged on windows+nvidia (2 reports).

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+xess `NVIDIA GeForce GTX 980, 582.78.0` `Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM`  
Scene: renderer-smoke, from the repository's save kokiri-start (HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); renderer-smoke: 3 game starts a side; timed builds: main and this PR each built 2 times a cache, alternating, each a whole build in a fresh folder (lift; shader preparation not timed); each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Build times (each a median of the timed builds; caches: lift = the lift again (no kept lift, main's compiled objects kept))

| | Before: main @ 73f12f0 | After: this PR @ 80cc2af |
|---|---|---|
| lift · lifted code | main's | not compared |

**Flags and settings**

None: the plan varied no setting, switch or build option.
The testers' hardware
Target Report Ran on
linux 1 linux+amd+radv+igpu AMD Radeon 890M Graphics (RADV STRIX1), 26.1.99 AMD Ryzen Z2 Extreme, 32 GB RAM
linux 2 linux+amd+radv+igpu AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8 AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM
windows+nvidia 1 windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 4090, 621.40.0 13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM
windows+nvidia 2 windows+nvidia+nvidia-proprietary+dgpu+window+xess NVIDIA GeForce GTX 980, 582.78.0 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM
<!-- beanstalk:previous --> <details><summary>Beanstalk test farm · an earlier run: commit <code>80cc2af</code> (the newer results are in a comment below)</summary> Commit `80cc2af` · approved by HumanBean (reviewed) · [dashboard](https://beanstalk.magicbean.dev/prs/3080) ⚠️ **Note:** The headless steps do not open the Insert menu, so they do not verify the renamed UI's menu interaction. ⚠️ **Note:** The upstream game's renamed pacer and compatibility with existing player caches are not exercised by these fresh Longshot runs. > **Summary**, written by AI (`gpt-6.1-terra`) from the numbers below: > > The change could not be judged on Linux or Windows NVIDIA: all four PCs encountered the same baseline build error before the game ran. Main’s tools.lock has unexpected SDL URLs on line 32, so no gameplay or performance comparisons are available. Done (started 06:39 UTC, last report 06:39 UTC). Comment `@Beanstalk` to run it again. | Target | Result | Reports | Frame time p99 (ms), main → PR | VRAM peak (MB) | Crashes | | --- | --- | --- | --- | --- | --- | | `linux` | ⚠️ couldn't be judged | 2 [1](https://beanstalk.magicbean.dev/reports/rp_7f8881e15d8d16b5) [2](https://beanstalk.magicbean.dev/reports/rp_27669f0ae5a8f422) | — | — | none | | `windows+nvidia` | ⚠️ couldn't be judged | 2 [1](https://beanstalk.magicbean.dev/reports/rp_7d6c9de55134f76f) [2](https://beanstalk.magicbean.dev/reports/rp_1c01c87ea59cf759) | — | — | none | **Couldn't be judged**: the tester's PC could not finish the test. The farm tries another PC, or the same one after a fix; it says nothing about the PR on its own. - `linux`, [report 1](https://beanstalk.magicbean.dev/reports/rp_7f8881e15d8d16b5): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `linux`, [report 2](https://beanstalk.magicbean.dev/reports/rp_27669f0ae5a8f422): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `windows+nvidia`, [report 1](https://beanstalk.magicbean.dev/reports/rp_7d6c9de55134f76f): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `windows+nvidia`, [report 2](https://beanstalk.magicbean.dev/reports/rp_1c01c87ea59cf759): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` <details><summary>What was tested</summary> **What will be tested** · AI plan (`gpt-6.1-terra`) The farm will build main and the pull request on Linux and Windows NVIDIA, then smoke-test renderer startup and gameplay from Kokiri Forest through Hyrule Field and the Market. Each side gets three starts, including a 900-frame gameplay wait and still-scene screenshot comparisons; lift and compile times are also recorded. A build failure, crash, failure to reach a destination, or screenshot difference above 0.2 fails the plan. - **Where:** linux (1-2 reports), windows+nvidia (1-2 reports). - **renderer-smoke:** from the repository's save `kokiri-start` (switches `HOS_FPS_MAX=30`, `HOS_OUTPUT_RES=1280x720`), then teleport to Hyrule Field, take the picture field to compare with main, teleport to Market, take the picture market to compare with main; 3 runs on each side. - **Build times:** main and the PR each built 2 times, alternating, each whole in a fresh folder: the lift again (no kept lift, main's compiled objects kept); every stage timed (shader preparation is not), and the lifted code compared. - **Measured:** crashes. - **The PR fails if:** it crashes; or a picture differs from main by more than 20%. - **Time:** about 31 min of game runs per tester (6 game starts), plus the two builds and 4 timed builds (about 80 min). </details> <details><summary>Measurements on `linux`, for the PR description</summary> **Verdict:** could not be judged on linux (2 reports). Hardware: 1: linux+amd+radv+igpu `AMD Radeon 890M Graphics (RADV STRIX1), 26.1.99` `AMD Ryzen Z2 Extreme, 32 GB RAM`; 2: linux+amd+radv+igpu `AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8` `AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM` Scene: renderer-smoke, from the repository's save kokiri-start (HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); renderer-smoke: 3 game starts a side; timed builds: main and this PR each built 2 times a cache, alternating, each a whole build in a fresh folder (lift; shader preparation not timed); each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Build times (each a median of the timed builds; caches: lift = the lift again (no kept lift, main's compiled objects kept)) | | Before: main @ 73f12f0 | After: this PR @ 80cc2af | |---|---|---| | lift · lifted code | main's | not compared | **Flags and settings** None: the plan varied no setting, switch or build option. As Markdown for the PR description: ```markdown ## Measurements **Verdict:** could not be judged on linux (2 reports). Hardware: 1: linux+amd+radv+igpu `AMD Radeon 890M Graphics (RADV STRIX1), 26.1.99` `AMD Ryzen Z2 Extreme, 32 GB RAM`; 2: linux+amd+radv+igpu `AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8` `AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM` Scene: renderer-smoke, from the repository's save kokiri-start (HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); renderer-smoke: 3 game starts a side; timed builds: main and this PR each built 2 times a cache, alternating, each a whole build in a fresh folder (lift; shader preparation not timed); each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Build times (each a median of the timed builds; caches: lift = the lift again (no kept lift, main's compiled objects kept)) | | Before: main @ 73f12f0 | After: this PR @ 80cc2af | |---|---|---| | lift · lifted code | main's | not compared | **Flags and settings** None: the plan varied no setting, switch or build option. ``` </details> <details><summary>Measurements on `windows+nvidia`, for the PR description</summary> **Verdict:** could not be judged on windows+nvidia (2 reports). Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+xess `NVIDIA GeForce GTX 980, 582.78.0` `Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM` Scene: renderer-smoke, from the repository's save kokiri-start (HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); renderer-smoke: 3 game starts a side; timed builds: main and this PR each built 2 times a cache, alternating, each a whole build in a fresh folder (lift; shader preparation not timed); each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Build times (each a median of the timed builds; caches: lift = the lift again (no kept lift, main's compiled objects kept)) | | Before: main @ 73f12f0 | After: this PR @ 80cc2af | |---|---|---| | lift · lifted code | main's | not compared | **Flags and settings** None: the plan varied no setting, switch or build option. As Markdown for the PR description: ```markdown ## Measurements **Verdict:** could not be judged on windows+nvidia (2 reports). Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+xess `NVIDIA GeForce GTX 980, 582.78.0` `Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM` Scene: renderer-smoke, from the repository's save kokiri-start (HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); renderer-smoke: 3 game starts a side; timed builds: main and this PR each built 2 times a cache, alternating, each a whole build in a fresh folder (lift; shader preparation not timed); each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Build times (each a median of the timed builds; caches: lift = the lift again (no kept lift, main's compiled objects kept)) | | Before: main @ 73f12f0 | After: this PR @ 80cc2af | |---|---|---| | lift · lifted code | main's | not compared | **Flags and settings** None: the plan varied no setting, switch or build option. ``` </details> <details><summary>The testers' hardware</summary> | Target | Report | Ran on | | --- | --- | --- | | `linux` | [1](https://beanstalk.magicbean.dev/reports/rp_7f8881e15d8d16b5) | linux+amd+radv+igpu `AMD Radeon 890M Graphics (RADV STRIX1), 26.1.99` `AMD Ryzen Z2 Extreme, 32 GB RAM` | | `linux` | [2](https://beanstalk.magicbean.dev/reports/rp_27669f0ae5a8f422) | linux+amd+radv+igpu `AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8` `AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM` | | `windows+nvidia` | [1](https://beanstalk.magicbean.dev/reports/rp_7d6c9de55134f76f) | windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM` | | `windows+nvidia` | [2](https://beanstalk.magicbean.dev/reports/rp_1c01c87ea59cf759) | windows+nvidia+nvidia-proprietary+dgpu+window+xess `NVIDIA GeForce GTX 980, 582.78.0` `Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM` | </details> </details>
BeanBot left a comment

Recommendation: Request changes. The pull request still conflicts with its base, and the renamed renderer has not yet had a Linux build and game smoke run.

The change replaces upstream game names across the renderer, host, UI, and documentation. It makes the naming consistent, at the cost of a broad rename that conflicts with other work.

Blocking (1): must change before merging.

  1. L6: It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first). (for the author)

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L4 gpu/vk/vk_main.cpp:292: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. When: The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. Do: Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result.

Since the last review (on 80cc2af623)
Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…); L6 (It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first).)

Checks: Still running: 11 checks.

Also noticed (1; not asked for, not blocking)
  • The requested Test Farm run could not be submitted: no Test Farm tool is available and the network is closed.
More: does it help, other systems, switches, what was read

Does it help: Not a performance change. The author reports a Windows smoke pass over 900 frames and 38,809 shader programs prepared with no failures; Linux remains untested.

Other systems: The rename affects host-renderer linkage, profiling thread names, and the Vulkan application name on Windows and Linux. The reported Windows run passed; no Linux game run is reported.

Switches: HOS_MKW_INTERVAL is replaced by HOS_UPSTREAM_INTERVAL, with a GONE entry for the old name. The PR says the switch applies only to the upstream game, so the old name had no effect on Longshot.

Reviewed: 80cc2af623 against 73f12f0e8d: Read AGENTS.md, CONTRIBUTING.md and the pull request template; inspected the Vulkan instance creation around gpu/vk/vk_main.cpp:291, the commit log and the diff summary. The review checklist is absent. The full 649-file diff and changed files were not read in full.; nothing run (a code review).

Checked and fine:

  • The reported Windows game smoke run opened the Insert menu and reported no FATAL log entries.
  • No checks are reported as failing only on this head.

Testing: No commands that build, test, or run project code were executed. The author reports Windows testing; Linux build and smoke remain outstanding, and CI is still running.

Overlaps and merge order: The author reports no open PR with the same rename; changes touching gpu/vk or host may conflict.


Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

**Recommendation: Request changes.** The pull request still conflicts with its base, and the renamed renderer has not yet had a Linux build and game smoke run. The change replaces upstream game names across the renderer, host, UI, and documentation. It makes the naming consistent, at the cost of a broad rename that conflicts with other work. **Blocking (1)**: must change before merging. 1. **L6**: It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first). *(for the author)* **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L4** `gpu/vk/vk_main.cpp:292`: The renamed renderer and changed Vulkan application name have not yet been exercised in a Linux game run. *When:* The change reaches Vulkan instance creation and renderer loading on Linux; the supplied run covers Windows on NVIDIA only. **Do:** Run a Linux build and game smoke test, including renderer startup and the menu, and record the hardware, driver and result. **Since the last review** (on 80cc2af623c9) Still open: L4 (The renamed renderer and changed Vulkan application name have not yet been exercised in a…); L6 (It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first).) **Checks:** Still running: 11 checks. <details> <summary>Also noticed (1; not asked for, not blocking)</summary> - The requested Test Farm run could not be submitted: no Test Farm tool is available and the network is closed. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a performance change. The author reports a Windows smoke pass over 900 frames and 38,809 shader programs prepared with no failures; Linux remains untested. **Other systems:** The rename affects host-renderer linkage, profiling thread names, and the Vulkan application name on Windows and Linux. The reported Windows run passed; no Linux game run is reported. **Switches:** HOS_MKW_INTERVAL is replaced by HOS_UPSTREAM_INTERVAL, with a GONE entry for the old name. The PR says the switch applies only to the upstream game, so the old name had no effect on Longshot. **Reviewed:** 80cc2af623c9 against 73f12f0e8dfe: Read AGENTS.md, CONTRIBUTING.md and the pull request template; inspected the Vulkan instance creation around gpu/vk/vk_main.cpp:291, the commit log and the diff summary. The review checklist is absent. The full 649-file diff and changed files were not read in full.; nothing run (a code review). **Checked and fine:** - The reported Windows game smoke run opened the Insert menu and reported no FATAL log entries. - No checks are reported as failing only on this head. **Testing:** No commands that build, test, or run project code were executed. The author reports Windows testing; Linux build and smoke remain outstanding, and CI is still running. **Overlaps and merge order:** The author reports no open PR with the same rename; changes touching gpu/vk or host may conflict. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
siantm force-pushed refactor/neutral-runtime-names from 80cc2af623
Some checks reported errors
beanstalk/approval approved by HumanBean (reviewed)
beanstalk/linux 0/1 pass, 2 error
beanstalk/windows+nvidia 0/1 pass, 2 error
PR description / Title and description (pull_request_target) Successful in 8s
CI / What the change needs (pull_request) Successful in 6s
CI / Third-party parts and guide screenshots (pull_request) Successful in 10s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Failing after 23s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m23s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 21m15s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 15m56s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 15m45s
CI / Website build and checks (pull_request) Successful in 1m17s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m5s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 53m54s
to b1c87871b0
Some checks are pending
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
beanstalk/approval not approved yet
PR description / Title and description (pull_request_target) Successful in 9s
2026-12-05 10:05:18 +00:00
Compare
Member

Beanstalk test farm

Commit b1c8787 · approved by nobody yet · dashboard

A member of BigBeans can review this commit and comment @Beanstalk to test it.

<!-- beanstalk:sticky --> ### Beanstalk test farm Commit `b1c8787` · approved by nobody yet · [dashboard](https://beanstalk.magicbean.dev/prs/3080) A member of `BigBeans` can review this commit and comment `@Beanstalk` to test it.
Author
Contributor

Rebased onto main 7bc53f84; the head is now b1c87871.

L6 (fixed): the branch is now on main's head. Its commits are 79607227 (the rename), c39f5c99 (the samplers, GONE(HOS_MKW_INTERVAL), old captures; same as before) and a new one, b1c87871.

  • 21 files conflicted. In each conflicted hunk, the branch's side was exactly the base with the rename table applied (I checked each hunk against the base). So each resolution is main's side with the same table applied. gpu/vk/menu/reshade.h was deleted on main by #3158 (Compare ReShade Preset removed), and it stays deleted.
  • b1c87871: main's new code had brought the old names back. It covers the pop-out windows' types (MkwUiPopoutIn/Ask, MkwVkPopout, MKW_VK_POPOUT_*), the namespaces of draw_overhead_lean, fog, fog_settings, pcie_link, present_pace and rt_pin, MKWVK_FX_STAGE_*, the replay thread's name ("ls_vk replay", which HOS_IS_RENDERER_THREAD takes), and the tests that read them. All are renamed by gpu/PROVENANCE.md's table. Some of these were already on 80cc2af6 from main 73f12f0e (tests/test_gfx_effects.py, tests/test_keyboard_menu_option.py, gpu/vk/vk_internal.h). So test_no_upstream_game_name would have failed on that head.
  • game/game.h: not regenerated. cargo run -p ffi-gen -- --check says game/game.h and host-sys/src/ffi.rs are current.

BeanBot's vk_sharpen resolution (on 80cc2af6): it is right. Against main, the only change in gpu/vk/vk_sharpen.h and .cpp is namespace mkwvk becoming namespace lsvk, in the opening and closing lines. Every other renderer file uses that namespace. The Sharpness code is main's, unchanged. It is carried as is in 79607227.

Checks on b1c87871 (Windows 11, llvm-mingw clang, through the PC's job queue). run_all.py --changed origin/main would pick 861 checks (nearly all of them, for a rename this wide), so I ran the ones that read what the rebase touched:

  • tests/run_all.py --exact: 39 checks. These were the rename guards (test_no_upstream_game_name, test_no_game_title), test_switch_table, test_doc_anchors, test_renderer_thread_names and test_profile_renderer_drivers. Then every test whose file or compiled source changed in the conflict resolution or in b1c87871: test_rt_pin, test_sync_watch_event, test_ui_renderer, test_ui_stale_keys, test_vk_draw_overhead_lean, test_dlssg_hudless, test_dummy_views, test_gfx_effects, test_hos_ab, test_keyboard_menu_option, test_pcie_link, test_reserved_core_mask, test_menu_hit, test_reshade_hot_reload, test_texture_pack, test_ui_debug_key, test_fog_settings, test_present_pace. Then the compile checks of the touched headers: test_gpu_wait_stats, test_monitor_friendly_names, test_sampler_stack_walk, test_settings_atomic, test_invalidate_vcore, test_mesh_conv, test_program_cache_cleanup, test_recorder_parts, test_renderer_new_handler, test_texture_staging_publication, test_upscale_independent, test_sharpen, test_upscale_fallback, test_fsr3fi_hud_capture. Last, byte_compile_tracked.
    • Result: 36 passed, 3 failed, 1 skipped (test_nonuniform_image_arrays: no spirv-val here). The rename guards pass.
    • The 3 failures fail the same way on main 7bc53f84 (I ran them on a checkout of main):
      • test_no_game_title: main's tests/test_lower_cs2r_depbar.py:3 names the game.
      • test_sync_watch_event: its extracted code doesn't compile, because settings_start is undeclared.
      • test_ui_renderer: the vk_paint.cpp pop-out check.
  • cargo test --locked -p ffi-gen -p crash -p build-compile (the crates whose code, not only comments, the branch changes): all pass.
  • cargo run -p ffi-gen -- --check: current.
  • cargo fmt --check for every crate the branch touches: clean.

L4 (still to test): there has been no Linux build or smoke run yet, and I can't do one: this PC is Windows only. It needs a Linux tester or the Test Farm. The Windows game run in the description was on an earlier head. The rebase changes names only, so I haven't run the game again.

Test Farm (2026-12-04, 80cc2af6): it couldn't judge linux or windows+nvidia. All four reports stopped while setting up main's side, on main's tools.lock line 32 (the SDL URLs aren't the store's), before anything was built. They say nothing about this PR. main's tools.lock hasn't changed since #3120, so a new farm run on this head needs a BigBeans member to ask for it, once main's tools.lock works for the testers.

Forgejo shows mergeable=False for a work-in-progress PR whatever its base. The branch's merge base is main's head 7bc53f84.

Rebased onto main `7bc53f84`; the head is now `b1c87871`. **L6** (fixed): the branch is now on main's head. Its commits are `79607227` (the rename), `c39f5c99` (the samplers, `GONE(HOS_MKW_INTERVAL)`, old captures; same as before) and a new one, `b1c87871`. - 21 files conflicted. In each conflicted hunk, the branch's side was exactly the base with the rename table applied (I checked each hunk against the base). So each resolution is main's side with the same table applied. `gpu/vk/menu/reshade.h` was deleted on main by #3158 (Compare ReShade Preset removed), and it stays deleted. - `b1c87871`: main's new code had brought the old names back. It covers the pop-out windows' types (`MkwUiPopoutIn/Ask`, `MkwVkPopout`, `MKW_VK_POPOUT_*`), the namespaces of `draw_overhead_lean`, `fog`, `fog_settings`, `pcie_link`, `present_pace` and `rt_pin`, `MKWVK_FX_STAGE_*`, the replay thread's name (`"ls_vk replay"`, which `HOS_IS_RENDERER_THREAD` takes), and the tests that read them. All are renamed by `gpu/PROVENANCE.md`'s table. Some of these were already on `80cc2af6` from main `73f12f0e` (`tests/test_gfx_effects.py`, `tests/test_keyboard_menu_option.py`, `gpu/vk/vk_internal.h`). So `test_no_upstream_game_name` would have failed on that head. - `game/game.h`: not regenerated. `cargo run -p ffi-gen -- --check` says `game/game.h` and `host-sys/src/ffi.rs` are current. **BeanBot's `vk_sharpen` resolution** (on `80cc2af6`): it is right. Against main, the only change in `gpu/vk/vk_sharpen.h` and `.cpp` is `namespace mkwvk` becoming `namespace lsvk`, in the opening and closing lines. Every other renderer file uses that namespace. The Sharpness code is main's, unchanged. It is carried as is in `79607227`. **Checks on `b1c87871`** (Windows 11, llvm-mingw clang, through the PC's job queue). `run_all.py --changed origin/main` would pick 861 checks (nearly all of them, for a rename this wide), so I ran the ones that read what the rebase touched: - `tests/run_all.py --exact`: 39 checks. These were the rename guards (`test_no_upstream_game_name`, `test_no_game_title`), `test_switch_table`, `test_doc_anchors`, `test_renderer_thread_names` and `test_profile_renderer_drivers`. Then every test whose file or compiled source changed in the conflict resolution or in `b1c87871`: `test_rt_pin`, `test_sync_watch_event`, `test_ui_renderer`, `test_ui_stale_keys`, `test_vk_draw_overhead_lean`, `test_dlssg_hudless`, `test_dummy_views`, `test_gfx_effects`, `test_hos_ab`, `test_keyboard_menu_option`, `test_pcie_link`, `test_reserved_core_mask`, `test_menu_hit`, `test_reshade_hot_reload`, `test_texture_pack`, `test_ui_debug_key`, `test_fog_settings`, `test_present_pace`. Then the compile checks of the touched headers: `test_gpu_wait_stats`, `test_monitor_friendly_names`, `test_sampler_stack_walk`, `test_settings_atomic`, `test_invalidate_vcore`, `test_mesh_conv`, `test_program_cache_cleanup`, `test_recorder_parts`, `test_renderer_new_handler`, `test_texture_staging_publication`, `test_upscale_independent`, `test_sharpen`, `test_upscale_fallback`, `test_fsr3fi_hud_capture`. Last, `byte_compile_tracked`. - Result: 36 passed, 3 failed, 1 skipped (`test_nonuniform_image_arrays`: no spirv-val here). The rename guards pass. - The 3 failures fail the same way on main `7bc53f84` (I ran them on a checkout of main): - `test_no_game_title`: main's `tests/test_lower_cs2r_depbar.py:3` names the game. - `test_sync_watch_event`: its extracted code doesn't compile, because `settings_start` is undeclared. - `test_ui_renderer`: the `vk_paint.cpp` pop-out check. - `cargo test --locked -p ffi-gen -p crash -p build-compile` (the crates whose code, not only comments, the branch changes): all pass. - `cargo run -p ffi-gen -- --check`: current. - `cargo fmt --check` for every crate the branch touches: clean. **L4** (still to test): there has been no Linux build or smoke run yet, and I can't do one: this PC is Windows only. It needs a Linux tester or the Test Farm. The Windows game run in the description was on an earlier head. The rebase changes names only, so I haven't run the game again. **Test Farm** (2026-12-04, `80cc2af6`): it couldn't judge `linux` or `windows+nvidia`. All four reports stopped while setting up main's side, on main's `tools.lock` line 32 (the SDL URLs aren't the store's), before anything was built. They say nothing about this PR. main's `tools.lock` hasn't changed since #3120, so a new farm run on this head needs a BigBeans member to ask for it, once main's `tools.lock` works for the testers. Forgejo shows `mergeable=False` for a work-in-progress PR whatever its base. The branch's merge base is main's head `7bc53f84`.
Some checks are pending
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
beanstalk/approval not approved yet
PR description / Title and description (pull_request_target) Successful in 9s
This pull request has changes conflicting with the target branch.
  • docs/dev/reference/architecture.md
  • docs/dev/reference/fullscreen.md
  • docs/dev/reference/sandbox.md
  • docs/dev/reference/settings-declarations.md
  • docs/dev/reference/threads.md
  • docs/dev/reference/ui-draw-list.md
  • game/crates/longshot-game/src/builder_link.rs
  • game/crates/ui/src/draw.rs
  • game/crates/ui/src/input.rs
  • game/game.h
  • game/settings_caps.h
  • gpu/vk/display_modes.h
  • gpu/vk/menu/audio.cpp
  • gpu/vk/menu/audio.h
  • gpu/vk/menu/bug_report.cpp
  • gpu/vk/menu/controller.cpp
  • gpu/vk/menu/controller.h
  • gpu/vk/menu/display.cpp
  • gpu/vk/menu/display.h
  • gpu/vk/menu/fmt_text.h
  • gpu/vk/menu/input_recording.cpp
  • gpu/vk/menu/language.cpp
  • gpu/vk/menu/nfc.cpp
  • gpu/vk/menu/nfc.h
  • gpu/vk/menu/output.cpp
  • gpu/vk/menu/output.h
  • gpu/vk/menu/pipeline_list.cpp
  • gpu/vk/menu/pipeline_list.h
  • gpu/vk/menu/preset.h
  • gpu/vk/menu/session.cpp
  • gpu/vk/menu/settings_apply.h
  • gpu/vk/menu/upscaler.cpp
  • gpu/vk/menu_module.h
  • gpu/vk/monitor_choice.h
  • gpu/vk/pipeline_share.h
  • gpu/vk/renderer_guard.h
  • gpu/vk/settings/fog.h
  • gpu/vk/settings/options.h
  • gpu/vk/ui_draw.h
  • gpu/vk/vk_api.h
  • gpu/vk/vk_draw.cpp
  • gpu/vk/vk_lang.h
  • gpu/vk/vk_memory.cpp
  • gpu/vk/vk_menu.cpp
  • gpu/vk/vk_menu_hit.h
  • gpu/vk/vk_menu_keys.h
  • gpu/vk/vk_replay.cpp
  • gpu/vk/vk_ui.cpp
  • gpu/vk/vk_ui.h
  • gpu/vk/vk_ui_theme.h
  • gpu/vk/vk_work.h
  • host/control.h
  • host/control_menu_key.h
  • host/fullscreen_monitor.c
  • host/fullscreen_monitor.h
  • host/hos_sdl.c
  • host/nn_nfp.c
  • host/rx_backend.c
  • tests/settings_stand_in.h
  • tests/test_audio_output_devices.py
  • tests/test_cxx_escape.py
  • tests/test_display_modes.py
  • tests/test_display_pointer.py
  • tests/test_fullscreen_monitor_menu.py
  • tests/test_game_language.py
  • tests/test_hos_ab.py
  • tests/test_hos_ab_table.py
  • tests/test_keyboard_menu_option.py
  • tests/test_menu_hit.cpp
  • tests/test_menu_hit.py
  • tests/test_menu_keys.py
  • tests/test_menu_text_field.py
  • tests/test_microphone_test_gain.py
  • tests/test_net_engine.py
  • tests/test_output_resolution.py
  • tests/test_pass_barrier.py
  • tests/test_pipeline_share.py
  • tests/test_recorder_sync.py
  • tests/test_sdl_desktop_size.py
  • tests/test_settings_link.py
  • tests/test_text_keyboard_policy.py
  • tests/test_threaded_rendering.py
  • tests/test_ui_debug_key.py
  • tests/test_ui_renderer.py
  • tests/test_ui_stale_keys.py
Some workflows are waiting to be reviewed.
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'refactor/neutral-runtime-names:siantm-refactor/neutral-runtime-names'
git switch 'siantm-refactor/neutral-runtime-names'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
5 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!3080
No description provided.