zink: just check multiview availability to advertise extensions

now that legacy renderpasses are dropped, this can be more general

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36417>
This commit is contained in:
Mike Blumenkrantz 2025-07-28 12:51:35 -04:00 committed by Marge Bot
parent c2284ae8a9
commit 7d2b36e50f

View file

@ -686,7 +686,7 @@ zink_init_screen_caps(struct zink_screen *screen)
caps->null_textures = screen->info.rb_image_feats.robustImageAccess;
/* support OVR_multiview and OVR_multiview2 */
caps->multiview = screen->info.have_vulkan13 ? 2 * screen->info.feats11.multiview : 0;
caps->multiview = screen->info.feats11.multiview;
caps->texrect = false;
caps->multi_draw_indirect_partial_stride = false;
caps->anisotropic_filter = screen->info.feats.features.samplerAnisotropy;