174fca5498
Whenver VK_IMAGE_LAYOUT_PRESENT_SRC_KHR is used, replace it with VK_IMAGE_LAYOUT_GENERAL as required for proper layout and ownership transfer for external memory backed swapchain images. This will be Android only until common WSI is fixed. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10335>