zink: add HIC back if suboptimal check fails
this should be checked again at every fallback Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31413>
This commit is contained in:
committed by
Marge Bot
parent
77ba1ad9f2
commit
d754425644
@@ -486,6 +486,7 @@ suboptimal_check_ici(struct zink_screen *screen, VkImageCreateInfo *ici, uint64_
|
||||
fail = check_ici(screen, ici, *mod);
|
||||
if (!fail)
|
||||
return true;
|
||||
ici->usage |= VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user