Docs: the runtime binds through no stage table; the validation executor sets its buffer ranges

docs/API.md section 5 said of StageTable::buffer_ranges "The runtime sets it on every table it
reads." The runtime builds no StageTable and reads no BindState: crates/metal2vulkan-runtime
names no StageTable, BindState, BufferRanges or buffer_ranges, and of the binder it takes only
alpha_test_code, SamplerDescriptor and AstcDecode. The tables that set it are the validation
executor's: every table its candidate engine builds for a compute, render or mesh case passes
through candidate::engine::lengths_classed with BufferRanges::of its profile's limits. The
sentence now says so.

Verified: grep over crates/metal2vulkan-runtime/src for those four names (no hit) and for
metal2vulkan::bind (the three items above); the validation builders read at
candidate/engine.rs, engine/graphics.rs and engine/mesh.rs, the one other StageTable there
(engine/variants.rs) inside a #[test]. Docs only.
This commit is contained in:
Anees Iqbal committed 2026-11-22 02:05:42 -08:00
1 parent 9df6908e36
commit 46a9a57522
1 file changed
+2 -1
+2 -1
View File
@@ -1199,7 +1199,8 @@ for dependency in &pipeline.dependencies {
apart only the classes that limit tells apart (`BufferRanges::length_class`: a class rounded up
to the greatest one that fits the same limit), so commands over buffers of many sizes keep one
shape and one plan: on a device whose limit is 4 GiB, every buffer below 4 GiB. The default
tells every class apart. The runtime sets it on every table it reads.
tells every class apart. The runtime binds through no stage table; the validation executor sets
it on every table it builds, from its profile's limits.
- A two-plane YCbCr texture whose planes a function may read in place states them in its facts
(`TextureFacts::ycbcr_in_place`, a `YCbCrInPlace` of its planes). A slot whose function only samples it (nearest or linear, no comparison,
anisotropy or `min_lod_clamp`), gathers it or reads its size (`RuntimeFact::YCbCrInPlace`) takes the