Files
metal2vulkan/docs
Anees Iqbal f958409811 FAST-PATHS known gaps: RADV's 256-byte linear rows, and the short last row's documented basis
RADV lays a linear image's rows at multiples of 256 bytes and refuses a
DRM_FORMAT_MOD_LINEAR image with an explicit plane at any other pitch
(VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT), so an IOSurface
plane of RGBA16Float 18x28 at 192-byte rows and dma-buf planes at rows
384 or 1920 bytes apart (offsets 0, 256, 32) are shadows there. The
surface or dma-buf sets the pitch; no image of the device lays rows
there. The short-last-row row now names the Vulkan rules that keep it
a shadow (VUID-vkBindImageMemory-None-10737,
VUID-VkImportMemoryHostPointerInfoEXT-handleType-01750).

Verified (device probe tests::shadow_causes_device at 282341f5bb):
Radeon 780M m3-max-21292 (rowPitch 256/512/2048, explicit planes
refused at 192/384/1920, made at 256, minimum alignment 256); RTX 3090
m3-max-21293 (short last row Refused(Placement), a page longer
InPlace); lavapipe m3-max-21290 (explicit planes made at 192/384/1920).
2026-11-12 08:57:12 -08:00
..