Warm-up: the run's log names the view heap's null slot, the number VICTORY_VIEW_LIMIT wants #1416
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/fxceless--victory-fork!1416
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1416"
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?
@Granite900 on GitHub · 2026-11-27 00:17 UTC · original
Granite900:fix/warm-view-limit→main· +9 −4 · 2 files · 1 commits · opentranslate --warm's help says to setVICTORY_VIEW_LIMITto "what the run's log says of the host". The log linehost view heaps hold N viewsprints the heap's size, but the run gives the translatorviews - 1(the null slot), and that number is part of the shader cache key (translation_fingerprint). A warm-up done as the help says writes entries the game never finds.What happened here (RX 9070 XT, 2,097,152 views, base
4c60466):VICTORY_VIEW_LIMIT=2097152, as the log printed: 25,743 shaders translated, 0 found in the cache, although a game run had just cached about 3,100 of them.VICTORY_VIEW_LIMIT=2097151: 3,097 found (that run's entries), 22,646 translated. The game then took 3,099 shaders from the cache and translated 2.Change: the log line also names the null slot (
null_slot=2097151), and--warm's help says to use that value, notviews. The value the translator gets is unchanged.Checks:
cargo clippy -p victory-gpu -p victory --all-targets --locked -- -D warningsis clean;cargo test -p victory-gpu -- --test-threads=1gives 233 passed with one test skipped (below);cargo test -p victorypasses. I have not seen the new log line in a game run yet.Failing on
mainas ofb1d777a, without this change (for whoever looks at CI):-D warnings: 6 errors incrates/victory-shader/src/emit/valu_tests.rs(lines 608–617: negated comparisons on floats, two simplifiable expressions).tiles::tests::card_wrote_failure_does_not_poison_card_maskends thevictory-gputest process with an access violation (0xc0000005) on this machine.xtaskrepository_passes_policy:host.rs(549,040 bytes) andlower.rs(544,889 bytes) are over the 512 KiB limit, so the pre-commit hook also refuses any commit that touches them.AI-assisted (Claude Code); no game data.
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.