mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 19:00:13 +01:00
zink: manually invoke cpu detection during screen init
ensure this gets populated before using it Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9885>
This commit is contained in:
parent
0731861748
commit
c452c82b98
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,8 @@
|
|||
#include "util/u_transfer_helper.h"
|
||||
#include "util/xmlconfig.h"
|
||||
|
||||
#include "util/u_cpu_detect.h"
|
||||
|
||||
#include "frontend/sw_winsys.h"
|
||||
|
||||
static const struct debug_named_value
|
||||
|
|
@ -1373,6 +1375,8 @@ zink_internal_create_screen(const struct pipe_screen_config *config)
|
|||
if (!screen)
|
||||
return NULL;
|
||||
|
||||
util_cpu_detect();
|
||||
|
||||
zink_debug = debug_get_option_zink_debug();
|
||||
|
||||
screen->instance_info.loader_version = zink_get_loader_version();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue