mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
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:
parent
e6481d3f42
commit
47b207726c
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue