From 49b964f808f53af7a1d6152ea76272bbf8d59dbc Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 21 Nov 2026 05:28:00 -0800 Subject: [PATCH] rt README: a texture buffer is refused at both makes and in a pipeline, so a consumer that offers them hands the guest nil The known gap said only that texture buffers are not built. What a guest sees is the mismatch: the consumer answers an alignment and formats with buffer usage, and the make returns nil (Gap::TextureBuffer at texture.rs, both Device::new_texture and Buffer::new_texture), while a pipeline whose function declares a texture_buffer is refused at creation under the identity domains. The gap now says so, as the planner asked, until texture buffers are built. Docs only. --- crates/metal2vulkan-runtime/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index 1ccc23a31..248ea897b 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -1217,7 +1217,11 @@ made, with no lock, and never rewritten for layouts. - Refused as Metal refuses each descriptor (`Refusal::TextureZeroExtent`, `TextureExtentForType`, `TextureCubeNotSquare`, `TextureArrayLength`, `TextureLevelCount`, `TextureSampleCount`, `TextureSwizzleWithWrites`). Texture buffers (`Gap::TextureBuffer`) - and Memoryless storage (`Gap::MemorylessTexture`) are not built. A cube array texture's image + and Memoryless storage (`Gap::MemorylessTexture`) are not built. A texture buffer is refused at + both makes, `Device::new_texture` and `Buffer::new_texture`, and a pipeline whose function + declares a `texture_buffer` is refused at creation (`Unsupported{IdentityDomains}`): a consumer + that tells a guest texture buffers are supported (an alignment, a format's buffer usage) hands it + nil for each one it makes. A cube array texture's image is cube-compatible with six layers a cube, and its view is a cube array view (`imageCubeArray`, in the floor). - `Texture::gpu_resource_id` is its index (0 without one) and the translator's `TextureWord` of