Steps 1b and 2 of the in-place read-only (bit-24) no-copy buffers on Linux: a slot that only reads
such a buffer, or a texture over one, reads the pages in place through read twins instead of the
buffer's copy.
- Texture slot: takes the texture's twin (a runtime texture over the buffer's twin, made with the
program's texture where it lies in place) when every use the plan lists reads, as a sampled or
storage image; every descriptor of the slot is that image; the slot is not snapshot, narrowed or
attached; and the twin needs no usage shadow.
- Buffer slot: takes the buffer's twin when the command reaches no memory through a root table, every
use reads (storage or uniform), no descriptor of the slot is a vertex buffer, and the twin starts at
the buffer's base.
- After a command in the same command buffer may have written the buffer, both read the copy.
- The write guard also covers note_reaching, note_draw and note_moved.
- Fixed on the way: the texture slot proof refused every command binding a second texture (another
slot's image descriptor answered "not this slot's image" instead of "not this slot").
- WorkCounts: read_twin_textures_made, read_twin_textures_not_in_place, read_twin_slot_reads.
cfg(test)-only switches read_twin_unguarded / read_twin_unproven; the guard is unconditional
otherwise. No new Degradation kind.
- docs: FAST-PATHS row and API.md copied host pages, in place; api_signatures.tsv (+3).
Verified (roip): lavapipe m3-max-28746 at c2e1c21d55: read_twin_device, copied_device,
host_ram_copy_device 66/66 (kernel 64x64 texture and buffer-slot reads through twins, draw sampling,
texture and buffer negative controls fail as they should, 3648x2038 screen not in place on lavapipe
and read as before). RTX 5080 at b05d4de30e (same product code): 65/66, the one failure a wrong test
check since removed; screen texture twin in place, draw and kernel reads of 3648x2038 compare equal.
The 5080 run at the tip, clippy and the suites run after landing.