On a device that enables zeroInitializeDeviceMemory (VK_EXT_zero_initialize_device_memory), the
pooled image blocks are allocated zeroed, and a Shared or Managed host-copy texture placed past
everything its block ever held starts in VK_IMAGE_LAYOUT_ZERO_INITIALIZED_EXT, so its making
writes no zeros on the host and no longer waits for the GPU work queued before it. Reused ranges
take today's path. The allocation count is development's (no block per texture). Re-pinned.
Verified by surface:
- XTX, texture made behind about 1.5 s of queued fills: new_texture 0.16-0.52 ms on the tip,
against development waiting 0.37-1.07 s in 4 of 5 awake runs.
- Steady state awake, median per make, fresh ranges: XTX 5.3-5.9 us against 45-61 us (job 6433);
780M 5.6-8.9 us against 21-30 us (6434).
- Reused ranges are the same within noise. The first write into untouched memory moves to the
second round (about 8 us).
- 1000 Shared textures in three rounds take pooled blocks only, and read zero.
- ms01 clippy plain and gpu, rustdoc, signatures, runtime nextest 1306 passed (6382); clippy
gpu and cpu-icd at c4b61e28a1 (6419); lavapipe 16 tests, 1000 of 1000 started zeroed.
Known gap in FAST-PATHS: after runtime suspend on RADV the first CPU write still waits for the
queued GPU work (226-596 ms). NVIDIA's support for the extension is pending (5080 entry
surface-zi-nv-ext).