GPU: reduce work in texture refresh and readback #401
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!401
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/401/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?
@cat4blep on GitHub · 2026-11-24 02:56 UTC · original
cat4blep:victory-d2a4bae1→main· +228 −76 · 6 files · 1 commits · closed without mergingChanges
Runtime context
An earlier local Windows run on an RTX 3060 Ti processed 12.7 MB of movie-texture data per frame. With the hash bypass, about 5.1 MB was hashed and 7.6 MB was detiled without hashing. That run also carried independent pacing and rendering changes, so these figures describe the hash workload in that build. Verification of this branch uses the tests below.
Verification
cargo test --locked --workspace --profile diag --features victory/diagnosticscargo check --locked --workspace --profile diagcargo xtask policy --stagedgit diff --check@jeremygold02 on GitHub · 2026-11-24 04:30 UTC · original
Thanks @cat4blep for the GPU refresh/readback changes. I tested head
0b5838d4d2711021beca723254075f67a248d4c2with:Result: 49 passed, 0 failed, 1 ignored. The suite includes the bounded texture-refresh burst and interrupted-streak cases, copyback merge behavior, guarded-view checks, and the affected GPU unit modules. The ignored per-submission benchmark was not run, so this verifies correctness tests but provides no performance measurement; no title workload was run.
@Marvisak on GitHub · 2026-11-25 00:02 UTC · original
Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current).
Four unrelated micro-optimisations (skipping hashes in bursts, a reused probe buffer, a reused copy-back buffer, a tweak to watch::writes), each against code main replaced today.
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed