Claude's work on the fork: upstream lints, wave-wide groups, descriptor sync, live switches, #6 diagnostics #11
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay--gone-20261126!11
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/11/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TaynanGT on GitHub · 2026-11-25 19:21 UTC · original
TaynanGT:claude/vice-tay→local/fxceless-render· +1514 −214 · 31 files · 26 commits · closed without mergingOne branch for Claude's work on the fork. It replaces #5, #7, #9 and #10, and includes #6 (the diagnostics #9 fixes). Each part has its own commits and, where it adds or changes behaviour, a note under
docs/, listed in the README's new "Performance notes".1. Upstream's Clippy lints
Upstream (Marvisak/VIctory) keeps
clippy::allandundocumented_unsafe_blocksat warn and its CI denies warnings; this fork let nine lints through, one of the reasons the maintainer gave for not taking the fork-wide Marvisak/VIctory#2257. The lint table is upstream's again and the code passes it, with no change in what it does:// SAFETY:comment (most repeat a group comment Clippy did not count).ByteRanges,SharedRanges,Totals,HandleKey,LdsMeet,Layouts, local aliases in tests).saturating_sub,as_chunks, iterator loops andfill, byte slicing of a string, a match arm that reads the same with and withoutdiagnostics, a test value that was always 1.main, as upstream's does.2. Wave-wide form for groups of several console waves
Console compute programs built for 64-lane waves are refused by the NVIDIA driver when their cross-lane code spans the console wave. The wave-wide form ran them as two 32-lane host waves only in groups of one console wave. In larger groups the two host waves of each console wave now meet only each other, through an LDS counter (a spin with a limit), instead of at group barriers. Offline, 8 of the 9 such programs of the first room translate, validate and create pipelines (new:
02384a60,6b82bc7d,f133e35e, the cascade shadows of alpha-tested casters). Live: refused pipelines 3 → 1, about 8% slower because three more programs run, no device loss. Gated byVICTORY_WAVE_WIDE_ONLY. Details:docs/wave64-on-wave32.md.3. Raw descriptor sync: a page's records under one lock
The sync mirrors 35,000 to 41,000 changed records a frame in the first room, 30 to 50 ms on the submitting thread. It now compares a written page's records under one lock instead of locking two tables per record: 38 → 29 ms a frame on
2146f54(6.5 → 7.1 FPS), 5 to 9 ms cheaper in every pair on77e1ac7. The whole sync costs 27 ms a frame (6.7 against 8.2 FPS with it off, measured in one session); it has not been shown to fix the missing walls it was written for, so its default is left open. Details:docs/descriptor-sync.md.4. Live switches
VICTORY_LIVE=<file>turnsVICTORY_HEAP_SYNCandVICTORY_WIDE_REFRESHon and off while the game runs, andVICTORY_METER_MS=1000logs a frame line every second, so two settings are compared in one session and the same stretch of the scene (about five minutes, against about eight for two separate runs). WithoutVICTORY_LIVEnothing changes.VICTORY_WIDE_REFRESH=1measured slower (6.1 against 7.0 FPS) and stays off. Details:docs/live-switches.md.5. #6 and the fixes for its review
The diagnostics of #6 (drops and null views by reason, the unknown pipeline methods' dump, wave64 refusals), with the 15 review findings fixed: the dump reads guessed pointers only from committed memory with no guard page (a read of a guard page through the in-process copy disarmed the title's guard; test
a_guessed_read_leaves_a_guard_page_armed), standard pipelines are counted only when made, drops and null views are counted under the right reasons, and the dump costs nothing after its first 256 calls per slot.Tests
cargo clippy --workspace --all-targets --locked -- -D warningsand with--all-features: clean.cargo test --workspace --release --locked: all passed (victory-gpu 256, victory-shader 297, the other crates, the asset policy: 195 files ok).two_console_waves_take_a_wave_wide_branch_apart(ran on the RTX 4090),a_guessed_read_leaves_a_guard_page_armed,live::tests.teste-ao-vivo's scripts outside the repository; numbers above.🤖 Generated with Claude Code
@TaynanGT on GitHub · 2026-11-25 19:32 UTC · original · edited 2026-11-25 20:01 UTC
Everything here is in
mainas of1c41ea2(commits reapplied on top of the upstream snapshot). The fork now keeps a single branch,main.Pull request closed