Files
metal2vulkan/crates
Anees Iqbal bf09f350a4 rt README: the reserve may hold several 16 MiB allocations; a long one is never the reserve
What: the README said each class's reserve is one 16 MiB allocation at most. It now states the
bound today's pool keeps:
- the reserve is the newest idle unit allocations with free bytes, taken until the class's free
  bytes reach 8 MiB;
- an allocation that holds kept blocks counts only its bytes outside them, so the reserve may hold
  several;
- a long allocation is never the reserve (42ddd3f966).

Why: "one at most" is false today. u3, played on the 780M to frame 1178 with the reserve fix
(m3-max-49187), held 64 MiB of Private reserve on 2 frames. The player before the fix held at most
16 MiB, and both ended with 16 MiB of Private reserve and none of Shared. Which allocations made up
the 64 MiB is not confirmed. The pool build, where an idle allocation's bytes are all free,
restores the one-allocation bound, and its commit restates it with plays as evidence.

Verified: docs only (the README is not compiled into the crate).
2026-11-18 18:22:44 -08:00
..