zink: add a turnip driver workaround for EXT_depth_clip_enable

this is broken

ref #6732

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17237>
This commit is contained in:
Mike Blumenkrantz 2022-06-24 12:02:21 -04:00 committed by Marge Bot
parent 8f57818ce5
commit f904b95ef0
1 changed files with 5 additions and 2 deletions

View 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 *