Files
metal2vulkan/docs
Anees Iqbal acda405b30 Player: a dump holds each colour attachment its command buffer's render passes stored
A play asked to dump command buffers (--dump-command-buffers) wrote only
the buffers their encoders named, so a draw's output reached no dump. It
now writes, once a listed command buffer completed, each colour
attachment its render passes stored, as cbC-objT.bin beside the buffers'
dumps, with a cover of "-", so compare-dumps reads them unchanged: a
texture an attachment names under MTLStoreActionStore or
StoreAndMultisampleResolve, a resolve texture under MultisampleResolve or
that one, and an Unknown store action as the encoder's
setColorStoreAction:atIndex: decides it. The dump holds the parts the
passes stored (level, slice and depth plane, or the resolve's), one after
another, each laid out as a check reads a texture's first level and
slice; a part the backend cannot read (a multisample texture stored
without its resolve) is an .unread file.

Colour only: a texture of a combined depth and stencil format reads back
one aspect at a time, through a copy with that aspect's blit option,
which this read does not make. The stream doc and the command's help say
so.

The backend gains Backend::read_texture_part; the runtime's backend reads
a part as its check reads level 0 (the CPU's read, or a blit's copy of a
Private texture), the check's read unchanged.

Verified: by the jobs named in the landing report.
2026-11-23 10:20:31 -08:00
..