Tile pipeline docs: name the translator's DescriptorError::ColorAttachment, which the nil-label check reads apart from a runtime Invalid refusal; the runtime-sources pin

tests::error_kinds::no_refusal_documented_invalid_is_metal_s_nil failed at 814dea4a7e on every venue
(Linux core, lavapipe, Iris, M3 gpucfg): pipeline/tile.rs's module doc named
`InvalidDescriptor(ColorAttachment)` (from 83e5e06789, MetalAnswer) in a clause that says Metal answers
nil, which the check reads as a runtime `Invalid` refusal of a Metal nil. The clause now names the
translator's `DescriptorError::ColorAttachment` answering `MetalAnswer::NilWithError`, which it is; the
runtime refuses it as `Compile`. Doc only; the pin follows (hash-only, no behaviour change).
Verified: the check's clause rule replayed over the edited module doc finds nothing; the venues rerun.
This commit is contained in:
Anees Iqbal committed 2026-11-10 05:56:21 -08:00
1 parent 95f7b8831d
commit ef7af82fe4
2 files changed
+6 -6

No files matched your search

@@ -6,11 +6,11 @@
//! ([`Kernel::Tile`]): the function compiles under the descriptor's color attachment formats,
//! as `compile_tile_pipeline` compiles it, with a compute state's variants, stand-ins, memo,
//! archives and disk cache. What the compile refuses is refused (`Compile`, `Unsupported`):
//! among it a function that reaches an attachment without a format in the descriptor
//! (`InvalidDescriptor(ColorAttachment)` answering `MetalAnswer::NilWithError`), where Metal's
//! creation answers nil and "Invalid pixel format for render target 0", and a member whose
//! type the attachment's format does not hold, which Metal's API validation stops (an M3 Max
//! and an M4).
//! among it a function that reaches an attachment without a format in the descriptor (the
//! translator's `DescriptorError::ColorAttachment`, answering `MetalAnswer::NilWithError`),
//! where Metal's creation answers nil and "Invalid pixel format for render target 0", and a
//! member whose type the attachment's format does not hold, which Metal's API validation stops
//! (an M3 Max and an M4).
//! - **Answers.** A tile pipeline's state answers its descriptor's
//! `threadgroup_size_matches_tile_size`, no indirect command buffers, and a
//! `max_total_threads_per_threadgroup`. That is the threads of the descriptor's
@@ -1 +1 @@
9e69563d30217bb663785fa95d5c5b1a6210a6c70b827c589f814f22490bff33
3ed762ab0df2da48d1ceec1288baf5a28eb5b223c25a4a0a57242547e52d2c4a