zink: delete redundant HIC usage check
this is the whole point of suboptimal_check_ici() Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31413>
This commit is contained in:
committed by
Marge Bot
parent
8ca6549500
commit
77ba1ad9f2
@@ -506,12 +506,6 @@ double_check_ici(struct zink_screen *screen, VkImageCreateInfo *ici, VkImageUsag
|
||||
usage_fail fail = check_ici(screen, ici, *mod);
|
||||
if (!fail)
|
||||
return true;
|
||||
if (fail == USAGE_FAIL_SUBOPTIMAL) {
|
||||
ici->usage &= ~VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT;
|
||||
fail = check_ici(screen, ici, *mod);
|
||||
if (!fail)
|
||||
return true;
|
||||
}
|
||||
const void *pNext = ici->pNext;
|
||||
if (pNext) {
|
||||
VkBaseOutStructure *prev = NULL;
|
||||
|
||||
Reference in New Issue
Block a user