have_moltenvk was moved to a different location but code being protected in platform specific guard, so was unnoticed.
Fixes:
598dc3dca41 ("zink: use cached memory for all resources when possible")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11129>
// This is a known limitation of MoltenVK.
// See https://github.com/KhronosGroup/MoltenVK/blob/master/Docs/MoltenVK_Runtime_UserGuide.md#known-moltenvk-limitations
- || screen->have_moltenvk
+ || screen->instance_info.have_MVK_moltenvk
#endif
) {
VkDeviceSize size = box->width;