From d421fee0b00a7bca3e66c7c7b9b290168ea038d3 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 23 Nov 2026 16:08:38 -0800 Subject: [PATCH] Conformance ledger: quad-helpers is refused where the device lacks shaderQuadControl KosmicKrisp on the Apple M3 Max and the UHD Graphics 630's Windows driver report no shaderQuadControl. A fragment function with a quad or simdgroup operation that reads, combines or counts other lanes needs it, so quad-helpers' first state, qh_any's, is refused there, as discard-quad-sum-placement's first state is. Expected from the translator's refusal; the matrix's runs on those venues have not been read yet. --- crates/metal2vulkan-conformance/known-gaps-rt.tsv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/metal2vulkan-conformance/known-gaps-rt.tsv b/crates/metal2vulkan-conformance/known-gaps-rt.tsv index f10e065ae..837d0f8df 100644 --- a/crates/metal2vulkan-conformance/known-gaps-rt.tsv +++ b/crates/metal2vulkan-conformance/known-gaps-rt.tsv @@ -8046,3 +8046,5 @@ reconvergence-handle-choices llvmpipe divergent case/rc_pick/trilinear 2240 elem reconvergence-handle-choices llvmpipe divergent case/rc_pick_cells/trilinear 490 elements differ (F16), the largest difference 0.03125 The device's own answer (rule 1): llvmpipe's trilinear sample of the R16Float mip chain at a level of detail of q + log2(1.5) answers other bits than Metal's in every sampled pixel, by at most 0.0234375 below 16 and 0.03125 at the second source's 21 + n (0.046875 in rc_grid, which sums up to three samples). The site's level-and-pair column matches Metal exactly except along rc_loop's and rc_break's diagonal (their own rows). Note `device-sampling`. Open: nothing. reconvergence-handle-choices llvmpipe divergent case/rc_select/trilinear 2240 elements differ (F16), the largest difference 0.03125 The device's own answer (rule 1): llvmpipe's trilinear sample of the R16Float mip chain at a level of detail of q + log2(1.5) answers other bits than Metal's in every sampled pixel, by at most 0.0234375 below 16 and 0.03125 at the second source's 21 + n (0.046875 in rc_grid, which sums up to three samples). The site's level-and-pair column matches Metal exactly except along rc_loop's and rc_break's diagonal (their own rows). Note `device-sampling`. Open: nothing. reconvergence-handle-choices llvmpipe divergent case/rc_select_quad/trilinear 2240 elements differ (F16), the largest difference 0.03125 The device's own answer (rule 1): llvmpipe's trilinear sample of the R16Float mip chain at a level of detail of q + log2(1.5) answers other bits than Metal's in every sampled pixel, by at most 0.0234375 below 16 and 0.03125 at the second source's 21 + n (0.046875 in rc_grid, which sums up to three samples). The site's level-and-pair column matches Metal exactly except along rc_loop's and rc_break's diagonal (their own rows). Note `device-sampling`. Open: nothing. +quad-helpers Apple M3 Max refused case/qh_any/pipeline Err(Error::Translation("the translator made no pipeline: unsupported: SubgroupOperations; needs AnyOf([[Feature(ShaderQuadControl)]])")) The device lacks shaderQuadControl (vulkaninfo: KosmicKrisp on the Apple M3 Max, m3-max-61179; the UHD Graphics 630's Windows driver 101.2145, m3-max-61190; every other venue lists VK_KHR_shader_quad_control and reports it, m3-max-61172..61175). A fragment function whose group operations read, combine or count other lanes has one form, its quads run whole under RequireFullQuadsKHR, which needs the feature (the rt README, Quad control under Floor, and the known gaps of render pipeline states); the case's first fragment function calls quad_any, so its state is refused. No stream uses it yet (fragment group census 11-19, m3-max-52530..52604: 26 streams, no fragment function calls a SIMD-group, quad or SIMD-group matrix function). +quad-helpers UHD Graphics 630 refused case/qh_any/pipeline Err(Error::Translation("the translator made no pipeline: unsupported: SubgroupOperations; needs AnyOf([[Feature(ShaderQuadControl)]])")) The device lacks shaderQuadControl (vulkaninfo: KosmicKrisp on the Apple M3 Max, m3-max-61179; the UHD Graphics 630's Windows driver 101.2145, m3-max-61190; every other venue lists VK_KHR_shader_quad_control and reports it, m3-max-61172..61175). A fragment function whose group operations read, combine or count other lanes has one form, its quads run whole under RequireFullQuadsKHR, which needs the feature (the rt README, Quad control under Floor, and the known gaps of render pipeline states); the case's first fragment function calls quad_any, so its state is refused. No stream uses it yet (fragment group census 11-19, m3-max-52530..52604: 26 streams, no fragment function calls a SIMD-group, quad or SIMD-group matrix function).