From 35fcaa9de4f19ff805f550887d56291bc705ea5a Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 24 Nov 2026 00:54:42 -0800 Subject: [PATCH] Runtime README: the stencil-export known gap names the WebGL operation that reaches it On a device without VK_EXT_shader_stencil_export (NVIDIA's 615 and 620 drivers on the cards run), a fragment function's [[stencil]] output is refused at creation. A read of the public GL-on-Metal layer's Metal back end shows a WebGL 2 page reaches that refusal: the layer copies stencil for blitFramebuffer with STENCIL_BUFFER_BIT by a draw whose fragment function writes [[stencil]], and it takes that path on a Metal device it does not take for an Intel or NVIDIA GPU. The known gap now says so, where a user reads it. No behaviour changes; the refusal stays a known gap (a second form chosen by that extension's query is not built). Verified: cargo fmt; the docs check follows on development. --- crates/metal2vulkan-runtime/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index db94e5240..496d6dd17 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -3998,6 +3998,9 @@ cache is answered compile-required on both. on the RTX 2080, RTX 3090 and RTX 5080 Laptop list none (`vulkaninfo`, jobs m3-max-48727, 48729 and 48731); RADV on the RX 7900 XTX, the 780Ms and the RX 550, ANV on the Iris Xe, lavapipe, KosmicKrisp and the UHD 630's Windows driver list it (48727 to 48731, 48736, 48737 and 61508). + A WebGL 2 page reaches it: a browser's GL-on-Metal layer copies stencil for `blitFramebuffer` + with `STENCIL_BUFFER_BIT` by a draw whose fragment function writes `[[stencil]]`, on a Metal + device that it does not take for an Intel or NVIDIA GPU. - On a device without `shaderQuadControl` (Quad control, under Floor), a fragment function whose group operations read, combine or count other lanes (every SIMD-group and quad group function, and the SIMD-group matrix functions) is refused at creation, an `Error::Translation` naming