02fc0c7e6a
Rework it to use the existing VkImageDrmFormatModifierExplicitCreateInfoEXT logic to set the image's explicit layout. The code turned out to be generic enough so it could be integrated into vk_image.c in the future and removed from the v3dv code. Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14195>