zink: disable EXT_extended_dynamic_state2 on AMDPRO

this is broken beyond space and time in 22.10-1395274

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15980>
This commit is contained in:
Mike Blumenkrantz 2022-04-15 13:54:59 -04:00 committed by Marge Bot
parent 12cf9a1544
commit c7122814c5

View file

@ -2111,6 +2111,9 @@ init_driver_workarounds(struct zink_screen *screen)
{
screen->driver_workarounds.color_write_missing = !screen->info.have_EXT_color_write_enable;
screen->driver_workarounds.depth_clip_control_missing = !screen->info.have_EXT_depth_clip_control;
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;