Files
metal2vulkan/crates
Anees Iqbal c813bb74fc In-place lane: the guest's 3664x2039 surface at a 256-byte pitch and at its 16-pixel one
What: runtime_lane::in_place_textures::the_guests_surface_lies_in_place_where_its_checks_passed.
A 3664x2039 BGRA8Unorm texture over a no-copy buffer of anonymous pages, at 14848-byte rows (the
next multiple of 256, at which RADV lays linear rows) and at 14656, of ShaderRead usage, with
RenderTarget, and with ShaderWrite. Each is in place only where the device's check passed for its
access and row ends; where it passed, in place or refused by the device's image (counted in
host_texture_shadows_refused_*). A blit reads the pages' texels through it, a pass clears and
stores it, or a kernel writes every texel; the pages then hold those texels, and the bytes between
the rows and past the last hold the pattern but free padding under a shader's writes. It prints
the placement query's answer, the path, the verdict and the refusals (IN-PLACE-SURFACE).

Why: reims pads the guest's pitches to 256 bytes so that RADV (780M) takes the surface in place;
this shows our side takes it the moment the padding ships, and the 14656 case shows what RADV
refuses today.

Verified: pending (the 780M run follows the dma-buf and narrow-store work).
(cherry picked from commit e7efd8b90cfc584f3e327fbd89243f235b9a8d3e)
2026-11-08 01:11:44 -08:00
..