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.
This commit is contained in:
Anees Iqbal committed 2026-11-22 22:32:46 -08:00
1 parent 0cc88f6dd7
commit 375e4770bf
1 file changed
+7 -6
+7 -6
View File
@@ -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