GPU: skip CPU BLAKE3 texture hashing via xmem dirty-generation digests (VICTORY_TEXTURE_DIRTY_GEN=1) #1016
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1018"
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?
Imported from fxceless/victory-fork. Originally posted by HailLucifer666 on 2026-11-25T16:21:43Z.
Stacked on #231 -> #872: merge after #872.
Adds opt-in (VICTORY_TEXTURE_DIRTY_GEN=1, off by default) dirty-generation digest skipping in exture.rs using xmem::va_generation_digest via ictory_gpu::set_page_gen_oracle, plus VICTORY_TEXTURE_HASH_ORACLE=1 to detect any uncounted writes.
Verification
Imported from fxceless/victory-fork. Originally posted by MKmajster on 2026-11-25T18:47:16Z.
For anyone who merges this alone: with
VICTORY_TEXTURE_DIRTY_GEN=1onmainca8829f+ #1007 and without #872, the run ended while loading, before the world, with an access violation (a write to 0). As the description says, it needs #872 first. Without the switch the same build ran normally.AI-assisted (Claude Code). No game data attached.
Imported from fxceless/victory-fork. Originally posted by HailLucifer666 on 2026-11-25T20:20:20Z.
Thanks
@MKmajster— that confirms the dependency documented in the PR description:VICTORY_TEXTURE_DIRTY_GEN=1callsxmem::va_generation_digestand relies on#872's persistent high-VA alias + per-page generation counters, so this PR is stacked on#231->#872and must land after#872(not cherry-picked ontomainalone).Imported from fxceless/victory-fork. Originally posted by HailLucifer666 on 2026-11-26T13:59:34Z.
Rebased onto the new
#872head (08aa56ad); this head is now606d1e68(--onto, no conflicts). Verified:cargo checkfor victory-gpu, victory-hle and the victory app;victory-gpu texture::3 passed, 0 failed;clippy -D warningson victory-gpu and victory-hle clean. It still needs#872(and#231) to land first, as the description says.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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.