Publish cached texture mips with submission #113
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/TaynanGT--Vice-Tay!113
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-113"
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?
@TaynanGT on GitHub · 2026-11-27 01:36 UTC · original
TaynanGT:fix/texture-prefill-on-submission→main· +170 −39 · 3 files · 1 commits · merged 2026-11-27 02:28 UTCA
VICTORY_TEXTURE_STOREcache hit now belongs to one command-list recording until submission. Resetting an unsubmitted list returns the cached levels for retry. If another recording has already uploaded the lower mips, an available cache claim still forces the upper-mip upload rather than taking the usual staging fast path.The submission step publishes the cached level count and schedules existing descriptor slots to be refreshed after the submission completes. Uncached textures keep their existing upload path.
The synthetic Windows test records a cached mip, closes and resets the unsubmitted list, then records again and submits it. It checks that the level count stays zero through the abandoned recording and reads all four rows back from the texture after the retry. Static review and
git diff --checkpassed. The Windows workflow passed Clippy and both test suites. The reset-and-readback test passed in both the default and diagnostics jobs and on the local Windows machine.Fixes #105. Follow-up to the original review.