Files
metal2vulkan/crates
Anees Iqbal 03db73b32c Count a block texture's CPU copies on a staging-queue device as that queue makes them
`block_cpu_copies_stage_their_writes_and_read_where_the_device_copies_on_the_host` had arms for
a device that copies blocks on the host and for one that serves reads from a host shadow, and
none for a device with a staging queue, whose block textures take neither: it failed on the
RTX 5080 Laptop GPU before the staging queue's copies were queued (4bbafa667d: writes 0/4/0,
reads 0/4/0, three runs of three) and after (writes 0/0/0, reads 0/4/0). The new arm holds what
the queued copies give there: no write makes a submission, and each read makes one on the
staging queue, which carries the write queued before it. Also rewraps two doc paragraphs of the
staging copies' past 100 columns.

Verified: on the RTX 5080 Laptop GPU the test passes 3 of 3 runs (writes 0/0/0, reads 0/4/0);
on the M3 Max (no staging queue, the shadow arm) it passes among 64 runtime tests
(posted_frees, freed_memory, teardown_threads, cpu_copy_layouts, event).

(cherry picked from commit 7649ad0d7d4a60987b1783354023aee629cf7505)
2026-11-04 18:50:29 -08:00
..