Keep cached texture mip uploads retryable until submission #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?
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T01:33:08Z.
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.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T01:36:09Z.
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.