Mesa (main): zink: remove ANV depth clip control workaround

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 6 00:35:25 UTC 2022


Module: Mesa
Branch: main
Commit: 9683de9bc41f960198ee238f087199f25dbbea34
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9683de9bc41f960198ee238f087199f25dbbea34

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Jun  3 16:39:07 2022 -0400

zink: remove ANV depth clip control workaround

this was fixed a while ago and I forgot

Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16861>

---

 src/gallium/drivers/zink/zink_screen.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index 0805ad5d7df..b89c0ab99a1 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -2070,10 +2070,6 @@ 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;
-   if (screen->info.driver_props.driverID == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA) {
-      /* #6186 */
-      screen->driver_workarounds.depth_clip_control_missing = true;
-   }
 }
 
 static struct zink_screen *



More information about the mesa-commit mailing list