diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index a582b7a47..262ede962 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -1585,15 +1585,23 @@ exported block, an exported surface in either form, and a Direct3D 11 import. memory's handle a linear image of every format and usage it offers one of without a handle. So that copy stays where the linear tiling offers no image of the format and usage at all, as over a Shared block, and on the Mac driver (KosmicKrisp) for every texture with render-target usage, - since it makes no linear colour attachment with or without a handle. In a consumer's walk on the - Apple M3 Max at this form, 29 textures over host memory lay in place, and host memory's 2,327 - counted copies, 982.3 MB with the in-place textures' restore pairs among them, were at least 906 - MB (92%) of textures with render-target usage; six kinds read by shaders alone, of at most 32 KB - each, carry the rest, at most 76 MB. Those pages are the Mac and Windows hosts' imports by - address and, on Linux, pages not imported as a dma-buf (on the RTX 3090, all of them; on the - Iris Xe, those one dma-buf cannot hold, Imported blocks). Documented Metal asks for no call - before a CPU write to a Shared buffer reaches a texture over it, so the runtime has no call to - hold a copy for. + since it makes no linear colour attachment with or without a handle. On the Apple M3 Max + (KosmicKrisp, Mesa 26.3.1), the query for a linear image with the runtime's own usage, colour + attachment among it, and flags answers `VK_ERROR_FORMAT_NOT_SUPPORTED`, with host memory's + handle and without it, for the four kinds of texture with render-target usage that a consumer's + walk made over host memory: R8Unorm at 1920 by 1080 and RG8Unorm at 960 by 540, read and + rendered; RGBA8Unorm at 18, 24, 36 and 48 pixels, read, written and rendered; RGBA16Float at 16 + to 1024 pixels, read and rendered. Without colour-attachment usage it answers each of the four + formats importable, compatible and not dedicated-only, up to 16384 by 16384. So each such + texture is the counted copy at each use there, chosen by that query alone. In a consumer's walk + on the Apple M3 Max at this form, 29 textures over host memory lay in place, and host memory's + 2,327 counted copies, 982.3 MB with the in-place textures' restore pairs among them, were at + least 906 MB (92%) of textures with render-target usage; six kinds read by shaders alone, of at + most 32 KB each, carry the rest, at most 76 MB. Those pages are the Mac and Windows hosts' + imports by address and, on Linux, pages not imported as a dma-buf (on the RTX 3090, all of them; + on the Iris Xe, those one dma-buf cannot hold, Imported blocks). Documented Metal asks for no + call before a CPU write to a Shared buffer reaches a texture over it, so the runtime has no call + to hold a copy for. - A texture over a buffer in a dma-buf's one import is the counted copy too on a device that offers no linear image for a dma-buf import without a dedicated allocation (Imported blocks). On the Radeon 780M (RADV) the external image query refuses the dma-buf handle with linear