Runtime docs: the identity domains' known gaps name a tile memory fragment function, a sparse status on a plain texture, an extended-range bicubic repeat offset and a 4.1 sampler read of an argument buffer's texture

The README's list of the forms the identity domains do not lower named none of four structures the
golden table refuses with Unsupported{IdentityDomains} on every profile, so a reader of the known
gaps could not tell they are refused. Each now has its entry, beside the form it is nearest:

- a fragment function over its tile's threadgroup memory (`engine/cfit_fragment_tile_memory`, four
  entries). Its entry says no guest of the consumer's can ask for one: Metal's feature set tables
  give tile shaders and imageblocks from the Apple4 family, and the consumer's guest device answers
  no Apple family on both its guests (reims-vgpu's graphics/device_info.rs at bb8738f7eb:
  `cap_apple_families`, "today no for every one", and `supportsTileShaders` and
  `supportsImageBlocks` answered no);
- the residency of a sparse operation on a texture that is not sparse (`engine/a2_sparse_status`);
- a bicubic sample of an extended-range texture through repeat with a constant texel offset
  (`engine/xr_bicubic`'s `xrb_repeat_offset`, the only refused entry of that fixture);
- Metal 4.1's read(sampler, coord) of an argument buffer's texture (`engine/kernel_read_through`'s
  `rt_heap_zero`, `rt_heap_ow` and `rt_heap_arg`).

The refusals are the golden table's cells at this commit's parent (15 of 15 profiles for each
entry). Which form each one's symbol names is not asserted here, so each entry cites the golden
table and quotes no symbol.

Verified on the CPU with no device, job m3-max-84445 at this commit's tree: cargo fmt --check 0
and the workspace's rustdoc with -D warnings 0. The golden cells are read from
crates/metal2vulkan/tests/golden_hashes.tsv at the parent; the consumer's answers from its
development branch, read-only.
This commit is contained in:
Anees Iqbal committed 2026-12-03 09:11:46 -08:00
1 parent ed55748644
commit c708eaa754
1 file changed
+13
+13
View File
@@ -4443,6 +4443,11 @@ cache is answered compile-required on both.
implemented, whose symbol names the first form it holds. By form:
- an object or mesh function ("a function of a stage other than a kernel, vertex or fragment
function"): no test yet;
- a fragment function over its tile's threadgroup memory (a `[[threadgroup(n)]]` argument of a
fragment function): the golden table holds the refusal (`engine/cfit_fragment_tile_memory`). No
guest of the consumer's can ask for one: Metal's feature set tables give tile shaders and
imageblocks from the Apple4 family, and both its guests, x86-64 and arm64, answer no Apple
family;
- a value from the encoder that the function reads and the identity domains do not source ("an
encoder value the function reads as F", `F` the `PushField`: a texture buffer's bind offset,
`SlotBindOffset`; the draw's `InstanceCount` or `BaseVertexInstance`; a stage-in stride,
@@ -4469,6 +4474,9 @@ cache is answered compile-required on both.
`under_the_identity_domains_a_runtime_samplers_query_reads_its_pushed_word`;
- other state of a bound texture or sampler beyond its resource ID ("state of a bound texture
or sampler beyond its resource ID (F)", `F` the `RuntimeFact`): no test yet;
- the residency of a sparse operation on a texture that is not sparse (the `sparse_color` of
`sparse_sample`, `sparse_gather` or `sparse_read`): the golden table holds the refusal
(`engine/a2_sparse_status`);
- program-scope constant data past 64 KiB read through memory ("constant data of N bytes read
through memory"): `tests::engine_identity`'s
`a_constant_blob_past_the_modules_bound_is_refused_naming_its_size` asserts the text;
@@ -4481,12 +4489,17 @@ cache is answered compile-required on both.
not take and the formats' own bits do not grant: no test yet;
- a bicubic sample of a 1D texture ("a bicubic filter of a 1D texture"): the translator test
`a_bicubic_kernel_reads_each_slots_format_treatment_from_its_pushed_field` asserts the text;
- a bicubic sample of an extended-range texture through `address::repeat` with a constant texel
offset: the golden table holds the refusal (`engine/xr_bicubic`'s `xrb_repeat_offset`);
- an argument buffer's texture of a type the identity arrays hold no element of (a texture
buffer's parts, a cube read as an array, level views, a two-plane, extended-range, RGBX or
`ulong` form, or a storage texture with a format), one read through another numeric type than its
own or as the raw texels of an extended-range member, a read of one that decodes an
extended-range member, and a handle that reads its table entry beyond its element: no test
yet;
- Metal 4.1's `read(sampler, coord)` of an argument buffer's texture, through a constexpr sampler
or a sampler argument: the golden table holds the refusal (`engine/kernel_read_through`'s
`rt_heap_zero`, `rt_heap_ow` and `rt_heap_arg`);
- a sequentially consistent fence (`atomic_thread_fence` of `memory_order_seq_cst` beyond the
thread, or a `seq_cst` barrier whose memory scope is the device), which the translator
orders through a word the identity domains do not reach ("a sequentially consistent