A visible-function table read by its resource id had two forms, chosen by four descriptor-indexing
features (runtimeDescriptorArray, descriptorBindingPartiallyBound,
shaderStorageBufferArrayNonUniformIndexing and descriptorBindingStorageBufferUpdateAfterBind):
- a set-1 runtime array of storage buffers, one table per element;
- the stage's function-table snapshot.
No runtime enables descriptorBindingStorageBufferUpdateAfterBind, so the array ran on no guest's
device. It goes (rule 2: a second form chosen by a query outside the named list; rule 4).
What changes:
- A table read by its resource id takes its words from the stage's snapshot on every device. Under
addressed_function_tables it reads the address its directory entry holds, as before.
- Deleted (lower/access/function_table.rs): TableWords::Heap, DeclaredWords::Heap,
TableWord.checked, heap_symbol and has_array.
- Deleted (bind): the binder's function-table array write and its arm in the homes check, the
directory entry that named an array element, the template's snapshot flag (now the same as "not
addressed"), and the heap elements of listed tables.
- Deleted (pipeline/link.rs): the storage-buffer heap kind of the heap layout and limits.
- Deleted public item: WriteSource::FunctionTable.
- Under HeapPlacement::ResourceId, a listed function table no longer takes a heap element, so its
resource id is no longer checked against the heap's capacity.
Kept:
- HandleClass::FunctionTable: the class provenance gives a table's handle.
- The builder's generic rule that a non-uniform element of a storage-buffer descriptor array needs
ShaderStorageBufferArrayNonUniformIndexing.
- DescriptorCaps.update_after_bind_storage_buffer and .non_uniform_storage_buffer, with their rt
README Not-enabled rows. A later commit of this batch deletes them wherever only deleted tests
read them.
Tests:
- engine_argument_tables: the snapshot tests run on every committed profile. The array form's
tests and helpers are removed.
- engine_recursion: binds the directory and the snapshot on every committed profile.
Lines: product sources (crates/metal2vulkan src, tests excluded) +107 -302; tests and the
signature table +53 -251.
Consumer search (reims-vgpu at bd9d6ae85a, git grep -w over *.rs, *.toml and *.md):
- WriteSource::FunctionTable: 0 hits.
- function_table_snapshot: 0 hits.
- WriteSource: 0 hits, so no match on it and no glob import of it.
- FunctionTable: 21 hits, all the consumer's own testkit models.
Verified: cargo fmt; signatures blessed (one removal); refusal surface regenerated (unchanged).
The compile job and the host suites follow on the branch.