venus: avoid false assert for MESA_VK_WSI_DEBUG=sw,linear

Forcing linear cpu image is supported via venus.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35079>
This commit is contained in:
Yiwei Zhang 2025-05-20 12:44:16 -07:00 committed by Marge Bot
parent e6481d3f42
commit 47b207726c

View file

@ -682,6 +682,7 @@ vn_CreateImage(VkDevice device,
*/
if (wsi_info) {
assert(wsi_info->blit_src ||
pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR ||
external_info->handleTypes == renderer_handle_type);
result = vn_wsi_create_image(dev, pCreateInfo, wsi_info, alloc, &img);
} else if (anb_info) {