From bb7caaa32a895e952406802c0def8acd7ed43bbb Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 22 Nov 2026 04:17:59 -0800 Subject: [PATCH] rt README: a fetch from a 2D array attachment, of one slice too, is the FetchedAttachment gap The known gap listed what a framebuffer fetch cannot read through as "no 2D texture at its first level and slice", which covers an array texture without naming it. A layered pass renders into one-slice 2D array attachments, and a fragment function that fetches one is refused with Gap::Draw of FetchedAttachment; the wording now names that case. Verified: the layered case aa52a3e9 drawn through the runtime ends in that refusal on lavapipe, the Radeon 780M, Iris Xe and the RTX 3090 (m3-max-67271, 67270, 67267, 67269). --- crates/metal2vulkan-runtime/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index 71b0c6200..88f35bc66 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -3866,8 +3866,9 @@ cache is answered compile-required on both. cannot read through is `Gap::Draw` of `FetchedAttachment`: a drawable's texture (its image has no feedback usage and no second element; no boot or replay stream fetched one), a texture made with no index, one that is - no 2D texture at its first level and slice, a texture of an image another attachment of the pass - shares (two planes of one surface), and every attachment on a device without the attachment reads. + no 2D texture at its first level and slice (a 2D array texture among them, of one slice too, as a + layered pass renders into), a texture of an image another attachment of the pass shares (two + planes of one surface), and every attachment on a device without the attachment reads. - A pass over a surface plane that renders as a linear colour attachment alone (Exported surfaces: an opaque handle's plane in place through `VK_FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV`, every plane format measured on the RTX 3090