Keep partial texture digests paired with staged pixels #4031
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4031
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4031"
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?
@masteraapjes on GitHub · 2026-11-30 14:58 UTC · original
masteraapjes:codex/submit-partial-texture-refresh→main· +97 −13 · 1 files · 1 commits · openWhat it changes
A partly mapped texture can yield zeros from readable texels or from wholly unreadable memory. Recording the zero digest before skipping detiling pairs old staged pixels with the wrong digest. Count readable bytes for changed all-zero partial reads, stage readable zeros, retain both pixels and digest when nothing is readable, and recompute the digest from the bytes actually staged.
Rebuilt independently on upstream main
5fabb46eaf6ed8771321787f8871051abde69b9bto resolve the conflict after upstream history changed. Obsolete shared CI commits have been removed from the PR diff. Current upstream changes are retained.How it was tested
Windows, pinned Rust 1.98.1. Tested head:
02e0fdcf58faef0f92643c3ae7f570bd14ba0abd.cargo test --locked -p victory-gpu --lib texture::title_memory_tests::a_partial_refresh_distinguishes_readable_zeros_from_unmapped_memory -- --exact --test-threads=1: 1 passed.cargo clippy --locked -p victory-gpu --all-targets -- -D warningscargo clippy --locked -p victory-gpu --all-targets --all-features -- -D warningscargo run --locked --package xtask -- policy: 464 files passed.git diff --checkpassed.Current upstream CI blocker, independently reproduced on unmodified main
5fabb46e: bothcargo clippy --workspace --all-targets --locked -- -D warningsandcargo clippy --workspace --all-targets --all-features --locked -- -D warningsexit 101 with five errors inhost/font.rs:213/260,host/menu.rs:667andhost/panel.rs:602/668. Existing #4680 addresses these. No unrelated fixes or lint suppressions are carried here. This is not a claim that the latest CIcheckjob passed.The authored private-page regression uses no game data or GPU. In-game visual impact has not been established; the full workspace suite was not rerun. The full workspace test suite was not rerun for this conflict-resolution update. No game data is included.
Checked for overlap
github-bot referenced this pull request2026-11-30 15:41:26 +00:00
github-bot referenced this pull request2026-11-30 15:41:30 +00:00
github-bot referenced this pull request2026-11-30 15:41:31 +00:00
289b2d68a7to02e0fdcf58View 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.