diff options
-rw-r--r-- | src/gallium/drivers/zink/zink_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index e834d76f8d5..db0a4ac05e4 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -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(); |