Files
metal2vulkan/docs
Anees Iqbal 1f41d7b75e player: the old backend plays a one-copy stream's Managed buffers as Shared
A stream recorded with one copy (its identity record's hasUnifiedMemory, or
--managed one-copy) keeps every Managed buffer's CPU writes visible to the
GPU with no didModifyRange:. The new runtime's backend plays such buffers
as Shared (docs/REPLAY-STREAM.md, Managed buffers); the old backend took
the trait's no-op and played them as the old runtime's Managed buffers,
which on a device without unified memory keep a GPU copy that m2v.write
never reaches. On the RX 550, syncview f355's quad index buffer (#49287, a
no-copy descriptor-form Managed buffer written once by m2v.write) read
[0, 0, 0, 0] on old's GPU copy against [1, 0, 2, 3] on rt's, so old's
draws were degenerate strips that drew nothing: old timed less work than
the program asks for on every discrete card for such streams.

The old backend now takes recorded_unified_memory and --managed, makes a
Managed buffer or block Shared under one copy, and says so in its report's
managed line. Device test: a one-copy stream's Managed buffer written with
no didModifyRange reaches a blit's read (replay_streams.rs), which fails
without the fix on a device that keeps two copies.
2026-11-19 11:53:33 -08:00
..