diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 8d29074b941..3b14b086df8 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -1064,7 +1064,7 @@ zink_internal_create_screen(const struct pipe_screen_config *config) if (!load_instance_extensions(screen)) goto fail; - if (screen->have_debug_utils_ext && !create_debug(screen)) + if (screen->instance_info.have_EXT_debug_utils && !create_debug(screen)) debug_printf("ZINK: failed to setup debug utils\n"); screen->pdev = choose_pdev(screen->instance); diff --git a/src/gallium/drivers/zink/zink_screen.h b/src/gallium/drivers/zink/zink_screen.h index 45cf5c9f250..146d00073d9 100644 --- a/src/gallium/drivers/zink/zink_screen.h +++ b/src/gallium/drivers/zink/zink_screen.h @@ -74,8 +74,6 @@ struct zink_screen { uint32_t loader_version; bool have_physical_device_prop2_ext; - bool have_debug_utils_ext; - bool needs_mesa_wsi; #if defined(MVK_VERSION)