The host-deallocator-delayed kind announces the wait for a buffer bound inside the import

RUNTIME_VERSION 2083 made a buffer bound inside its pages' import hold the import, so a no-copy
buffer's deallocator given no keep-alive waits for that buffer to go, and docs/API.md's catalogue
entry said so in its cost. The kind's announced cost (Degradation::HostDeallocatorDelayed's) did
not, and tests::degradation_catalogue::a_runtime_kind_s_entry_states_the_cost_it_announces failed
on every device that runs it (pin 44: Iris, m3-max-19132, and the 780M).

The announced cost now carries the same clause, worded 'every buffer bound inside their import
goes' in both, and the kind's own docs list the case beside the others it waits for.

Verified: the degradation_catalogue tests on lavapipe (see the landing report).
This commit is contained in:
Anees Iqbal committed 2026-11-11 22:28:41 -08:00
1 parent 9bf361c113
commit 3b986605e3
2 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -3353,7 +3353,7 @@ bound.
deallocator runs at the release, as Metal's, and the import keeps the keep-alive, which keeps the
pages mapped, until it is freed: not announced (section 10). Cost: the deallocator runs once every
command buffer that may still reach the pages (through a texture over them, or a table of the live
buffers it holds) lets go of them, every buffer bound inside their import went, or the batches
buffers it holds) lets go of them, every buffer bound inside their import goes, or the batches
submitted before the import's memory went complete, where Metal's runs at the release; the pages
stay mapped until then.
- `metal2vulkan-degrade-copied-host-pages` (precision). `CopiedHostPages`: A no-copy buffer, a