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>
(cherry picked from commit 8bc694223e)
This commit is contained in:
Faith Ekstrand 2024-05-08 20:17:00 -05:00 committed by Eric Engestrom
parent 9e27390d68
commit 90ad5fc6e2
2 changed files with 2 additions and 1 deletions

View file

@ -1404,7 +1404,7 @@
"description": "zink: Set workarounds.can_do_invalid_linear_modifier for NVK",
"nominated": false,
"nomination_type": 3,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

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: