zink: disable color_write_enable on ANV

this breaks the driver

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15392>
This commit is contained in:
Mike Blumenkrantz
2022-03-16 14:05:03 -04:00
parent 49a20e0981
commit ecca2564c1
+3
View File
@@ -2060,6 +2060,9 @@ static void
init_driver_workarounds(struct zink_screen *screen)
{
screen->driver_workarounds.color_write_missing = !screen->info.have_EXT_color_write_enable;
/* #6111 */
if (screen->info.driver_props.driverID == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA)
screen->driver_workarounds.color_write_missing = true;
}
static struct zink_screen *