API.md: section 9 is the catalogue of the precision notes rt carries
Section 9 was the deleted runtime's notice catalogue: its message sink, announce_each, lowering_refuses, DegradeNotice, exactness(), degraded_objects and the METAL2VULKAN_LOG_*, DUMP, QUEUE_TIMES, PENDING_AUDIT and ENCODER_* diagnostics, none of which rt has. - The intro now states rt's model as its code has it. Each note is fixed per operation (module, pixel format, descriptor or state) and given through six accessors: ComputePipelineState and RenderPipelineState::precision_notes, Texture, SamplerState, DepthStencilState and RenderPassDescriptor::precision_note. Two constants carry notes too: BlitCommandEncoder::GENERATE_MIPMAPS_NOTE and RenderCommandEncoder::DEPTH_BIAS_NOTE. A note is never fatal, and rt prints and sends none (its non-test sources hold no eprintln, log or sink); the consumer reads them. - The 87 entries whose code a PrecisionNote variant backs stay. Their text no longer names the deleted runtime (compressed-texel-decode, bicubic-filter-arithmetic, swizzled-opaque-black-border). Their trigger is rt's where the deleted runtime's stood beside it (device-filtered-mipmaps, shared-exponent-kept, compressed-texel-decode). They no longer say when a deleted runtime announced the note, and they drop the blit, fill and clear parts that only that runtime noted (shared-exponent-kept, device-nan-encoding, device-color-conversion, device-pack-conversion). Their driver-fact text is left for the translator-switch commit. - The 165 entries no note backs go: 59 performance, 104 precision and 2 validity kinds of the deleted runtime. - Section 8's last paragraph names metal2vulkan_rt::Error, REFUSALS.md and rt's README. The guide's opening line and README's row say precision notes. tests::fast_paths reads the catalogue only for the codes of its ledger notes, all PrecisionNote codes, which stay. Section 10 still names some deleted codes; that is a follow-up.
This commit is contained in:
1 parent
bbd9475a19
commit
53f3e522e9
2 files changed
+88
-2214
No files matched your search
@@ -135,7 +135,7 @@ For the runtime, start at [its README](crates/metal2vulkan-rt/README.md).
|
||||
|
||||
| Document | Read it when |
|
||||
|---|---|
|
||||
| [docs/API.md](docs/API.md) | You use the translator's API: devices, libraries, pipelines, binding, caching, errors; and the runtime's degrade notices |
|
||||
| [docs/API.md](docs/API.md) | You use the translator's API: devices, libraries, pipelines, binding, caching, errors; and the runtime's precision notes |
|
||||
| [Runtime README](crates/metal2vulkan-rt/README.md) | You use the Metal API on Vulkan |
|
||||
| [docs/HOWTO.md](docs/HOWTO.md) | You integrate: tools, caching, failures, isolation, the runtime's shader cache |
|
||||
| [docs/RUNTIME-PORTING.md](docs/RUNTIME-PORTING.md) | You port Metal calls (Objective-C or metal-rs) to the runtime |
|
||||
|
||||
+87
-2213
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user