diff options
| author | Claude <noreply@anthropic.com> | 2026-11-25 22:10:37 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-25 22:10:37 +0000 |
| commit | aab7653566e4ecf80a8026cfbd48e74966a4d04c (patch) | |
| tree | ca519f26361ce9034393b9e9ab669d47bb01f59f /runtime/src/bcpack.cpp | |
| parent | c3b8520683b1ed19c1af9f0061b48ceb57bad928 (diff) | |
d3d12: retry a failed heavy cache write and never publish a VK_INCOMPLETE snapshot
Review of RT-HEAVY-PIPELINE-CACHE:
- The writer thread marked a generation written even when the save failed, so the
cache stayed unsaved until teardown. A failed save now keeps the cache dirty and
is retried after a bounded backoff (5 s, doubling, capped at 2 min), so a write
that keeps failing does not spin. WriteSchedule::failed() holds that decision and
heavy_pipeline_cache_test checks it.
- save_heavy_pipeline_cache accepted VK_INCOMPLETE and published the truncated blob
over a complete file. It now requires VK_SUCCESS, like the session cache, and
keeps the previous file; the next try queries a fresh size.
Changes made by Claude Code (AI-assisted).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JPqXc6svM4pbBagTsVEYA3
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions