Runtime README: a consumer that answers YES owns a dropped sample-position set
What: the known gap for programmable sample positions no longer says the consumer answers the
query NO until the setter is built. It says what is true: the runtime has no setter and answers
nothing, every multisample pass rasterizes at the standard locations (Metal's defaults at 1, 2
and 4 samples), and a consumer that answers YES owns counting and dropping a set that differs
from the defaults.
Why: the consumer answers YES, as the guest's Mac does; it counts a differing set under its
unbuilt render-pass items and announces it, and none has been seen in its recorded logs. The
NO clause in 375e4770bf was a ruling that has been withdrawn.
Verified: doc-only; the workspace Rustdoc line runs on development after the merge.
This commit is contained in:
1 parent
375e4770bf
commit
fc8d0ccd15
1 file changed
+7
-7
@@ -4375,13 +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`:
|
||||
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.
|
||||
`setSamplePositions:count:`, and the runtime answers no `programmableSamplePositionsSupported`.
|
||||
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. A consumer that answers the
|
||||
query YES owns counting and dropping a set that differs from the defaults. 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
|
||||
|
||||
Reference in new issue
Block a user