Publish cached texture mips with submission #113
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T01:36:02Z.
A
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.