Files
metal2vulkan/crates
Anees Iqbal 4b4e19937a Exported-memory texture tests follow the in-place check's verdict
On an RX 550 under RADV (POLARIS12) the device makes no image over a
dma-buf, so the in-place check leaves the runtime's memory exported as
dma-bufs Unchecked (a cause that lasts), and textures over such memory
are the shadows their verdict decides. The two tests asserted in place
there: an_nv12_picture_s_planes_over_exported_memory_go_in_place_naming
_its_handle_type now expects in place where the placement query answers
NotHostPages after the check, else a shadow of TextureShadowReason
Unchecked or CheckFailed (any other answer fails), moves only the
planes the check passed for, and counts a shadow made after the check
only where it did not pass; a_frame_a_second_device_writes_through_its
_dma_buf_reads_in_the_runtime_s_textures expects the plain frame's
aliasing where the check's reads over exported dma-bufs passed for both
row ends, and a shadow where neither passed.

Seen: m3-max-10151 on the RX 550 (the run meant for the 780M, its
device not pinned): OpaqueFd planes in place (alignment 256, row pitch
3840, offset 0), DmaBuf planes Shadow(Unchecked { Reads, OnLines }),
both tests failing on their in-place assertion. The re-runs follow.

(cherry picked from commit 03f36709eefb7b649975900aa7b6430c380d023d)
2026-11-08 17:00:48 -08:00
..