Files
metal2vulkan/crates
Anees Iqbal 4c125f8de2 Translator: a variant refused for its vote word names the shared-memory limit it passes
A kernel's partial-threadgroups variant whose predicated walk votes in a word its workgroup memory
cannot hold was refused as Unsupported{PartialThreadgroups, NotImplemented}, the same refusal as
every other site of that feature. It now keeps the check's need: the Limit of
maxComputeSharedMemorySize, the bytes the arena and the word require and the bytes the device has.
The runtime reads the site from it.

Test: engine_partial_threadgroups's scan kernel over 8,192 words on the moltenvk-m3 profile
(32,768 bytes) is refused needing 32,772 of 32,768; over 8,188 words its variant is made. Not yet
run.
2026-11-23 02:31:23 -08:00
..