zink: add a turnip driver workaround for EXT_depth_clip_enable
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 24 Jun 2022 16:02:21 +0000 (12:02 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 24 Jun 2022 19:54:44 +0000 (19:54 +0000)
this is broken

ref #6732

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17237>

src/gallium/drivers/zink/zink_screen.c

index 538a831..6d47b67 100644 (file)
@@ -2085,9 +2085,12 @@ init_driver_workarounds(struct zink_screen *screen)
    if (screen->info.driver_props.driverID == VK_DRIVER_ID_AMD_PROPRIETARY)
       /* this completely breaks xfb somehow */
       screen->info.have_EXT_extended_dynamic_state2 = false;
-   /* #6602 */
-   if (screen->info.driver_props.driverID == VK_DRIVER_ID_MESA_TURNIP)
+   if (screen->info.driver_props.driverID == VK_DRIVER_ID_MESA_TURNIP) {
+      /* #6602 */
       screen->info.have_EXT_primitives_generated_query = false;
+      /* #6732 */
+      screen->info.have_EXT_depth_clip_enable = false;
+   }
 }
 
 static struct zink_screen *