mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 02:10:24 +01:00
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:
parent
9e27390d68
commit
90ad5fc6e2
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue