loader: delete the pool-empty assert patches #212

Manually merged
github merged 1 commit from github-bot/gh-212 into gh-pr/212/base 2026-12-02 16:40:21 +00:00 AGit
Owner

@⁠TheRifai on GitHub · 2026-12-02 13:46 UTC · original
TheRifai:poolassert-cleanup → main · +0 −111 · 2 files · 1 commits · merged 2026-12-02 16:16 UTC

What

TASKS item "Pool-empty asserts patched away", step 1 (docs/TASKS.md:437). Removes the whole VICTORY_POOL_NO_ASSERT path: the two named int3→NOP patches, the VICTORY_POOL_SITES file reader, the env switch and the call in windows.rs. No other hook is touched; disarm_watchdog and Patch::apply stay.

The switch was already off in our run setups, so this does not change how runs behave today. A pool that does fill now stops the title on its own int3, as on the console, rather than silently returning null.

Evidence

VICTORY_POOL_NO_ASSERT was unset (default) in two 90 s warm-store runs on main 963df8e, RX 9070 XT / RADV 26.3.1, GE-Proton11-16, Series X 3840x2160:

Save Result pool-assert hooks lines int3/pool empty lines
rt3 (house) reached timeout 0 0
boatsave-profile (boat with cutscenes) reached timeout 0 0

Both scenes the task names showed no pool fill, so the original reason for the patches (the INSTANCE_LIST pool at 45000/45000 around frame 950) is not present in this renderer. Evidence: /home/shlong/Documents/VKtory-capture/poolassert-{rt3,boatsave-profile}/.

Checklist (docs/AGENTS.md)

  • One topic; docs/TASKS.md not edited (rules 29/31)
  • No fallback, constant, switch, queue, unsafe or translator output left behind (rules 2/9b/33/35/36/27) — removes a switch and its unsafe patches
  • Comments say what is true now (rule 3)
  • No game content as evidence; only log counts
  • tools/build.sh exit 0 (PE side compiles)
**@⁠TheRifai** on GitHub · 2026-12-02 13:46 UTC · [original](https://github.com/vktory6/VKtory/pull/212) `TheRifai:poolassert-cleanup` → `main` · +0 −111 · 2 files · 1 commits · merged 2026-12-02 16:16 UTC ## What TASKS item "Pool-empty asserts patched away", step 1 (`docs/TASKS.md:437`). Removes the whole `VICTORY_POOL_NO_ASSERT` path: the two named `int3`→NOP patches, the `VICTORY_POOL_SITES` file reader, the env switch and the call in `windows.rs`. No other hook is touched; `disarm_watchdog` and `Patch::apply` stay. The switch was already off in our run setups, so this does not change how runs behave today. A pool that *does* fill now stops the title on its own `int3`, as on the console, rather than silently returning null. ## Evidence `VICTORY_POOL_NO_ASSERT` was unset (default) in two 90 s warm-store runs on main `963df8e`, RX 9070 XT / RADV 26.3.1, GE-Proton11-16, Series X 3840x2160: | Save | Result | `pool-assert hooks` lines | `int3`/`pool empty` lines | |---|---|---:|---:| | `rt3` (house) | reached timeout | 0 | 0 | | `boatsave-profile` (boat with cutscenes) | reached timeout | 0 | 0 | Both scenes the task names showed no pool fill, so the original reason for the patches (the `INSTANCE_LIST` pool at 45000/45000 around frame 950) is not present in this renderer. Evidence: `/home/shlong/Documents/VKtory-capture/poolassert-{rt3,boatsave-profile}/`. ## Checklist (docs/AGENTS.md) - [x] One topic; `docs/TASKS.md` not edited (rules 29/31) - [x] No fallback, constant, switch, queue, `unsafe` or translator output left behind (rules 2/9b/33/35/36/27) — removes a switch and its `unsafe` patches - [x] Comments say what is true now (rule 3) - [x] No game content as evidence; only log counts - [x] `tools/build.sh` exit 0 (PE side compiles)
TASKS "Pool-empty asserts patched away", step 1: count sites hit instead of
patching. VICTORY_POOL_NO_ASSERT was already off in every local run setup, and
two 90 s runs on main 963df8e (house rt3 and boatsave-profile) had zero
"pool-assert hooks" lines and no int3/pool-empty lines; both reached their
timeout normally. The old INSTANCE_LIST fill came from the D3D12 host's
dropped culling work, which this renderer no longer has.

Delete the two named patches, the VICTORY_POOL_SITES reader, the
VICTORY_POOL_NO_ASSERT switch and the call in windows.rs. A pool that fills now
stops the title loudly, as it does on the console, instead of returning null
silently. One topic; no TASKS edit; tools/build.sh exit 0. Evidence:
/home/shlong/Documents/VKtory-capture/poolassert-{rt3,boatsave-profile}/.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 13:47:57 +00:00
github-bot changed target branch from main to gh-pr/212/base 2026-12-02 16:40:17 +00:00
github manually merged commit 37857d4b51 into gh-pr/212/base 2026-12-02 16:40:21 +00:00
Author
Owner

@⁠vktory6 on GitHub · 2026-12-02 16:35 UTC · original

Merged, thanks. You showed no pool fills in either scene, so the patch goes as the task's step 1 asked. On our side it also took a private copy along: the private tree compiled an untracked, title-derived table of the 2,622 sites (instead of reading the file the public tree read), and our check script copied it into every check worktree. All of that is gone now, and the TASKS item is closed.

**@⁠vktory6** on GitHub · 2026-12-02 16:35 UTC · [original](https://github.com/vktory6/VKtory/pull/212#issuecomment-7352165150) Merged, thanks. You showed no pool fills in either scene, so the patch goes as the task's step 1 asked. On our side it also took a private copy along: the private tree compiled an untracked, title-derived table of the 2,622 sites (instead of reading the file the public tree read), and our check script copied it into every check worktree. All of that is gone now, and the TASKS item is closed.
This discussion has been locked. Commenting is limited to contributors.
No description provided.