this enables the screen destructor to be used on failure cases
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25663>
return NULL;
}
+ glsl_type_singleton_init_or_ref();
zink_debug = debug_get_option_zink_debug();
if (zink_descriptor_mode == ZINK_DESCRIPTOR_MODE_AUTO)
zink_descriptor_mode = debug_get_option_zink_descriptor_mode();
zink_create_vertex_state, zink_vertex_state_destroy);
screen->base.create_vertex_state = zink_cache_create_vertex_state;
screen->base.vertex_state_destroy = zink_cache_vertex_state_destroy;
- glsl_type_singleton_init_or_ref();
zink_synchronization_init(screen);