zink: disable HIC without resizable BAR

this otherwise ooms the system

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24775>
This commit is contained in:
Mike Blumenkrantz 2023-08-25 12:55:43 -04:00 committed by Marge Bot
parent f95134468a
commit 9ff5026100

View file

@ -2835,6 +2835,8 @@ init_driver_workarounds(struct zink_screen *screen)
screen->driver_workarounds.disable_optimized_compile = true;
break;
}
if (!screen->resizable_bar)
screen->info.have_EXT_host_image_copy = false;
}
static void