From e28e41be55f699b81735f74af0ee768faa2cb3e9 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Thu, 3 Dec 2026 05:07:45 -0800 Subject: [PATCH] rt README: which cards make the extended linear image of a texture written through a view The known gap for OverCause::ViewStorage now names what the lab's cards answered, read from every_device_lands_a_write_through_a_view_of_a_texture_over_a_buffer's own-query arm at 13c13835b0 for a 2 by 2 RGBA8Unorm_sRGB texture written through its RGBA8Unorm view, with PixelFormatView usage and without: - RTX 3090 (NVIDIA 620.70.06, job m3-max-83540) and RTX 2080 (job m3-max-83541): in place over a Shared block; HostMemory over host memory's import (discrete, so the external query is never asked); no memory type taken for a udmabuf. - RX 550 (RADV, Mesa 26.2.6, job m3-max-83542): in place over a Shared block; HostMemory over host memory; DmaBuf over a dma-buf, with the stand-in and without, so not a refusal of the extended plan. - Radeon 780M Phoenix (job m3-max-83545) and Hawk Point (job m3-max-83560): in place over a Shared block and over host memory's import; DmaBuf over a dma-buf as on the RX 550. - Iris Xe (ANV, Mesa 26.2.6, job m3-max-83544) and lavapipe (job m3-max-83537): in place over all three. So no lab card reached makes the plain linear image and refuses the extended one. The RX 7900 XTX waited behind the consumer's GPU job, the RTX 5080 Laptop was held for a pin's round legs, and the UHD 630 (Windows) was not reached; the README already records that the UHD 630's optimal query makes no extended image, so its plan is never extended and this copy cannot arise there. --- crates/metal2vulkan-runtime/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index bbe1bfa78..c1ed94cb3 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -2570,7 +2570,15 @@ made, with no lock, and never rewritten for layouts. write through the view would have no storage element and would not land; the copy's optimal image is extended, and the write lands. `Buffer::new_texture_in_place` refuses such a texture (`Refusal::TextureNotInPlace`, `ViewStorage`), and `Buffer::texture_copy_cause` answers the - same. + same. No card the runtime's tests ran on answers so for a 2 by 2 `RGBA8Unorm_sRGB` texture + written through its `RGBA8Unorm` view, of `PixelFormatView` usage or not: the RTX 3090 and the + RTX 2080 (NVIDIA 620.70.06), the RX 550 and the Radeon 780M, Phoenix and Hawk Point (RADV, Mesa + 26.2.6), the Iris Xe (ANV, Mesa 26.2.6) and lavapipe (Mesa 26.2.6) make its extended linear image + over a Shared block of the runtime's, the integrated and CPU devices over host memory's import + too, and the Iris Xe and lavapipe over a dma-buf's import too, which the RX 550 and the 780M copy + for `DmaBuf` whether or not the image is extended, and on which NVIDIA's driver takes no memory + type for a udmabuf (jobs m3-max-83540, -83541, -83542, -83545, -83560, -83544 and -83537). The + runtime's tests reach the copy through a stand-in for such a query. - A texture over a buffer whose pitch, place, memory type or format features the device's linear image does not meet is copied between the buffer and an image of its own: the copies Metal does not make, counted (`Metrics::over_copies`). A program that rounds its pitch past the