mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
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:
parent
ced3ee7898
commit
2978b85789
1 changed files with 8 additions and 0 deletions
|
|
@ -2798,6 +2798,14 @@ init_driver_workarounds(struct zink_screen *screen)
|
||||||
abort();
|
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 */
|
/* these drivers benefit from renderpass optimization */
|
||||||
switch (screen->info.driver_props.driverID) {
|
switch (screen->info.driver_props.driverID) {
|
||||||
case VK_DRIVER_ID_MESA_LLVMPIPE:
|
case VK_DRIVER_ID_MESA_LLVMPIPE:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue