Files
metal2vulkan/crates
Anees Iqbal 33c128c2d3 composite_costs: a joined form, passes while a second buffer joins the chunk
reims' Iris lanes spend 1.3% of their samples in HostAliases::augment_into,
with 18k lookups a second under the aliases' lock (WorkCounts at its busiest
second: host_alias_lookups 18274, render_encoders_ended 3722), and no lane of
ours reached it: the composite's one no-copy chunk joins nothing, so every
command's augment returns at its first check.

The joined shape draws passes as passes does, while a second no-copy buffer
over the chunk's very bytes lives, as a guest's two textures over one
surface's pages: it joins the chunk's memory, so each command's uses of the
chunk carry the memory's key, through the encoder's Quiet keys or a lookup.
The second buffer is made for the shape's frames alone and goes after them,
so the other shapes run as before (HostAliases::release recomputes any). Its
COMPOSITE-COUNTS line gives host_alias_lookups a frame. The chunk's pages field
loses its underscore: the joined buffer reads them.

Not yet run; a measurement, ignored by default as the lane is.

(cherry picked from commit 393eb8f7c9f2c418b35ca0428729d6aebdb1d18e)
2026-11-08 22:58:52 -08:00
..