Files
metal2vulkan/crates
Anees Iqbal e79864f16f Runtime README: the fenced span's measured length on the M3 Max, the 780M and the Iris Xe
What: the known gap of memory blocks (a texture in place over host memory's import) states how long
a RestoreFence holds its span: from before returning to after being called. In microseconds, the
median of 16 fenced makes and then the largest, without the validation layer:
- 1920x1080 BGRA8Unorm: Apple M3 Max (KosmicKrisp 26.3.1) 455 and 645; Radeon 780M (RADV PHOENIX,
  Mesa 26.2.6) 603 and 877; Iris Xe (ANV, Mesa 26.2.6) 3267 and 3504.
- 16x4 RGBA8Unorm: 328 and 396; 120 and 169; 507 and 934.
It also says the span holds the whole submission that carries the restore.

Why: the consumer picks its fence from these numbers.

Verified: printed by the new test (host_in_place's
each_device_fences_a_host_writer_around_the_restore_alone) at 7bc3d18e4e, with
METAL2VULKAN_TEST_UNVALIDATED=1, in jobs m3-max-82721 (M3 Max), m3-max-82720 (780M Phoenix) and
m3-max-82734 (Iris Xe). Under the validation layer, in the same jobs, the 1080p numbers were 478
and 591, 1240 and 1972, and 3731 and 3993; the 16x4 numbers were 350 and 444, 209 and 825, and
793 and 1411. Docs only.
2026-12-03 01:06:30 -08:00
..