Files
metal2vulkan/crates/metal2vulkan-runtime/src/two_planes
Anees Iqbal 54e08fc34c Owned sets of storage buffers are written from fixed arrays, each set's infos and writes on the stack
OwnedSets::write takes each set's (buffer, offset, range) as an array of the kernel's N storage
buffers and writes each set from two stack arrays (its N buffer infos and N writes), one
vkUpdateDescriptorSets a set: no list of infos or of writes. Its callers pass their arrays as they
are, where each built a Vec a set (`vec![..]`, `.to_vec()`). A kernel whose storage buffers are
not N is refused (internal), as before a set of another length was.

On a tiled heap texture (heap_texture_256 on the Radeon 780M) this drops the two lists left per
making; the before/after per-call counts are in the branch's report.
2026-11-11 08:49:28 -08:00
..