zink: Set workarounds.can_do_invalid_linear_modifier for NVK

This fixes most of the egl_image_dma_buf* piglit tests.  The remaining
fails are YCbCr tests which are likely unrelated to core dma-buf
import/export.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795>
This commit is contained in:
Faith Ekstrand 2024-05-08 20:17:00 -05:00 committed by Marge Bot
parent e6f77defec
commit 8bc694223e

View file

@ -3031,6 +3031,7 @@ init_driver_workarounds(struct zink_screen *screen)
switch (screen->info.driver_props.driverID) {
case VK_DRIVER_ID_MESA_TURNIP:
case VK_DRIVER_ID_MESA_VENUS:
case VK_DRIVER_ID_MESA_NVK:
screen->driver_workarounds.can_do_invalid_linear_modifier = true;
break;
default: