zink: don't warn about missing scalarBlockLayout on v3dv

technically v3dv doesn't support the "full" feature, but it does support
enough of it to run zink without any issues

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25201>
This commit is contained in:
Mike Blumenkrantz 2023-09-13 06:21:06 -04:00 committed by Marge Bot
parent ced3ee7898
commit 2978b85789

View file

@ -2798,6 +2798,14 @@ init_driver_workarounds(struct zink_screen *screen)
abort();
}
if (screen->info.driver_props.driverID == VK_DRIVER_ID_MESA_V3DV) {
/* v3dv doesn't support straddling i/o, but zink doesn't do that so this is effectively supported:
* don't spam errors in this case
*/
screen->info.feats12.scalarBlockLayout = true;
screen->info.have_EXT_scalar_block_layout = true;
}
/* these drivers benefit from renderpass optimization */
switch (screen->info.driver_props.driverID) {
case VK_DRIVER_ID_MESA_LLVMPIPE: