mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 14:58:37 +00:00
19 lines
1.4 KiB
JSON
19 lines
1.4 KiB
JSON
{
|
|
"piece": "Descriptor hash table",
|
|
"status": "cpu_only",
|
|
"rank": 20,
|
|
"sentences": [
|
|
"`uint mask; entries[mask+1] of 10 uints: key[0..7], index, pad`.",
|
|
"The key is a T# or a padded S#.",
|
|
"FNV-1a over the eight key words selects the first slot.",
|
|
"The shared SPIR-V lookup probes up to eight slots and returns index 0 on a miss.",
|
|
"The runtime supplies a fallback at index 0 and maps live descriptor keys to bindless indices.",
|
|
"Outside the wave64 emulation, the lookup's result goes through `OpGroupNonUniformBroadcastFirst` before it indexes the image or sampler array.",
|
|
"The lookup key words come from SGPRs, so every invocation in a subgroup has the same index; the broadcast is an identity on all drivers and marks the value uniform for the compiler.",
|
|
"It declares `GroupNonUniform` and `GroupNonUniformBallot`, without a shuffle capability or subgroup-lane input.",
|
|
"The shader index records the capabilities; its `features` field lists optional Vulkan device features.",
|
|
"Mesa ANV 26.2.7 on an Intel Alder Lake-S UHD (Xe-LP, Linux) segfaults in `vkCreate*Pipelines` on a sampler index taken straight from the probe loop when that sampler serves both a float and an integer image (`cs_sample_lz_int_d16`, `ps_ssharp`); with the broadcast both pass.",
|
|
"Checked by `tests/test_desc_cache.py` (`test_lookup_result_is_broadcast_before_use`)."
|
|
]
|
|
}
|