zink: fix debug utils init
this was moved to a different struct without being updated
Fixes: fe669ff4a0 ("zink: replace old code with generated zink_instance")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8220>
This commit is contained in:
committed by
Marge Bot
parent
0ce7c4a7c9
commit
2f8237754b
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user