zink: ignore msrtss support on panvk
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39736>
This commit is contained in:
Utku Iseri 2026-02-06 15:27:31 +01:00 committed by Marge Bot
parent d5ce03fa21
commit cf48da58a7

View file

@ -3149,6 +3149,16 @@ init_driver_workarounds(struct zink_screen *screen)
if (!screen->resizable_bar)
screen->info.have_EXT_host_image_copy = false;
/* msrtss being enabled for all singlesampled images has a massive memory usage implication on this
* driver. temporary, could be removed after the driver handles shadow images better. */
switch (zink_driverid(screen)) {
case VK_DRIVER_ID_MESA_PANVK:
screen->info.have_EXT_multisampled_render_to_single_sampled = false;
break;
default:
break;
}
}
static void