From 375e4770bf4a33a4825434b9ff50d9fd48a4701d Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 22 Nov 2026 22:32:46 -0800 Subject: [PATCH] Runtime README: until the sample-position setter is built, the consumer answers its query NO What: the known gap of programmable sample positions now says what the consumer answers programmableSamplePositionsSupported until setSamplePositions:count: is built: NO. The paragraph's lines are reflowed. Why: the planner's ruling on the row (11-22): the README names the consumer's answer while the setter is unbuilt, so a guest is told it cannot set positions rather than having its set dropped. How verified: docs only; nothing built or run. --- crates/metal2vulkan-runtime/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index 7890b9709..a8f8c7498 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -4375,12 +4375,13 @@ cache is answered compile-required on both. `Depth32Float` depth attachment, each a level of a 2D texture of one sample, with `Load`, `Clear` and `DontCare` loads and `Store`, `DontCare` and `Unknown` stores. - Programmable sample positions are not built. The descriptor has no field for - `setSamplePositions:count:`, and the runtime answers no `programmableSamplePositionsSupported`, - so every multisample pass rasterizes at Vulkan's standard sample locations - (`standardSampleLocations`, under Floor), which are Metal's default positions at 1, 2 and 4 - samples. Metal rasterizes a pass at the positions the program sets; a pass whose set differs - from the defaults samples here at the defaults, with no refusal. Vulkan's form for such - positions is `VK_EXT_sample_locations`, which device creation does not enable. + `setSamplePositions:count:`, and the runtime answers no `programmableSamplePositionsSupported`: + until the setter is built, the consumer answers that query NO, and every multisample pass + rasterizes at Vulkan's standard sample locations (`standardSampleLocations`, under Floor), + which are Metal's default positions at 1, 2 and 4 samples. Metal rasterizes a pass at the + positions the program sets; a pass whose set differs from the defaults samples here at the + defaults, with no refusal. Vulkan's form for such positions is `VK_EXT_sample_locations`, which + device creation does not enable. - Layered rendering refuses: in a pass of `renderTargetArrayLength` 2 or more, an attachment or a resolve texture with fewer slices from its own `slice` than the pass's length (`Refusal::AttachmentPlace`, naming the last slice the pass would render), a 3D texture's