Files
metal2vulkan/crates
Anees Iqbal ec101631cf Carry tests: the lost generation's blocks, not bytes allocated; the lane test lets go of its raw handles
The rest probe (m3-max-11599, a print of the rest check's inputs, never
landed) showed every lost generation coming to rest in both failing tests,
and releasing its carried parts. Both failures were in the tests.

- WorkCounts::device_memory_allocated counts bytes allocated so far, freed
  since or not, so it never falls. The carry test now checks the lost
  generation's live blocks (with a placement, or kept empty). The probe
  showed 2 before the loss and 1 at rest. The test also requires that the
  rest freed some (memory_frees.teardown).
- The lane test's device was made through creation_checked, whose
  creation_kinds reads the driver's pipeline cache through Device::raw. Those
  handles keep the first generation's VkDevice until a later raw() call, as
  the neighbouring test there says. The test now makes that call before it
  waits for one live VkDevice.

(cherry picked from commit 44a5fc55c935bf8c000884487f3561c5551e6734)
2026-11-09 04:26:06 -08:00
..