Guard deferred texture uploads and add hitch diagnostics #15
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/ReTerryDavis--ReVIctory!15
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-15"
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?
@SovietBearz0r on GitHub · 2026-12-02 16:35 UTC · original
SovietBearz0r:belobug-texture-diagnostics→main· +172 −16 · 5 files · 1 commits · merged 2026-12-04 02:40 UTCSummary
Adapt four changes from the local VIctory-Belobug-AMD source snapshot. This PR is based directly on
mainand is independent of #14.VICTORY_PANEL_LOG=1andvictory_gpu::perf=infoin the log filter, F4 records a timestampedPLAYER_MARK, and gaps of at least 150 ms between successful presents produceSLOW_PRESENT. Both work with the HUD hidden. F4 avoids the existing F8 lighting shortcut.scripts/shader-diff.ps1finds the installed GDK and Windows SDK compilers, runs the existing differential tests serially, and saves output undertarget/diagnostics. It supports-Warp,-Filter, and-List.The local Belobug snapshot did not include Git metadata, so the exact source commit IDs and authors could not be verified.
Validation
cargo checkand staged asset policy.SLOW_PRESENTrecorded two startup hitches and a 1.31 s gap around entry into the 3D scene, where the longest late list was 1.14 s and no pipelines were being created. No physical F4 keypress was verified.No game assets, captures, or runtime logs are included.
@cloph-dsp on GitHub · 2026-12-02 17:57 UTC · original
Verified:
claim_upload's newstagedgate behaves as the commit message says, on synthetic inputs only.This is an extension of a test that already exists on the base:
texture::prelude_upload_tests::first_upload_clean_skip_and_immediate_same_frame_reuploadis present at base925ac0a3(only two-argumentclaim_uploadthen) and the PR extends it with the prepared-image flag — a level change that marks staging dirty before an image exists now claims nothing, and the frame-1/2/3 sequence still resolves toSome(true),None,None,Some(false).925ac0a32f6a05c31373a2843bc555f57afba4f7, head:e0e5d5e43a7f0eb47b1646fc9967f523dd012699git diff --check "925ac0a3..e0e5d5e4"→ exit 0cargo test --locked -p victory-gpu --lib -- texture::prelude_upload_tests::first_upload_clean_skip_and_immediate_same_frame_reupload --exact --test-threads=1 --quiet→running 1 test/test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 675 filtered outCARGO_TARGET_DIRfor the worktree; no shared targetrust-toolchain.tomlpin of 1.98.1 is not applied here)Limit worth naming: this covers the pure claim helper only.
detile/refreshordering, the pooled-staging reuse path and the actualCopyTextureRegionrecording in a submission are not exercised by the test.e0e5d5e43ato9c332a1a7c