Keep cached texture mip uploads retryable until submission #105
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#105
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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:33 UTC · original
The opt-in
VICTORY_TEXTURE_STOREpath consumes a cache hit while recording and updatesHostTexture::prefilledbefore submission. If the open list is reset, those recorded copies are discarded. The next upload has no cache hit to retry, and views can still expose the missing mips. Upload recording · Prefill publication · View creationSynthetic regression
Use a texture with a cached upper mip and distinct data in a lower mip. Record the first upload, reset that list without submitting, and record again. The upper mip should stay hidden during the abandoned recording and become available with the retry that actually uploads it. Compare the upper-mip readback with the original bytes.
Found during review of #37. Verified in the source at
cc9ed86.@TaynanGT on GitHub · 2026-11-27 01:36 UTC · original
Draft #113 uses the same cancellation pattern as the on-demand mip code. The cache claim survives recording, returns to the texture when the list is reset, and publishes on submission. The draft also schedules existing descriptor slots to be rebuilt after the fence. Its synthetic test resets the D3D12 list and reads the mip back after resubmission. Windows CI is running.