Files
metal2vulkan/crates
Anees Iqbal 2d53475150 copied_device: a rebind under tight rows takes fresh pages where their check passed
A 16 x 16 RGBA8Unorm texture of tight rows (64 bytes apart; RADV lays a linear image of its own
256 bytes a row) in place over a no-copy buffer, rebound to pages the gate refuses: where the
device's check passed fresh pages for reads, the copy lies in fresh pages (one fresh-page buffer
made), its image made over it at the texels' pitch, and the texture follows the copy; elsewhere
the copy lies in device memory, and the rebind is refused where the driver's linear image lies
at another pitch, which the test accepts and prints. The helpers rows, texture_over and
texture_follows_the_copy gain pitch-taking forms; the unchecked-fresh-pages test's docs no
longer say RADV's check finds no fresh pages to try.

Verified: cargo fmt only here; the runs are potluck jobs.
(cherry picked from commit 79bd247cc888d619735676c6a8499d3467e11ce8)
2026-11-07 16:25:24 -08:00
..