diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.c b/src/gallium/auxiliary/pipe-loader/pipe_loader.c index 10638a39ed7..4b6ac054fcc 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.c @@ -27,6 +27,7 @@ #include "pipe_loader_priv.h" +#include "util/u_cpu_detect.h" #include "util/u_inlines.h" #include "util/u_memory.h" #include "util/u_string.h" @@ -151,6 +152,7 @@ pipe_loader_create_screen(struct pipe_loader_device *dev) { struct pipe_screen_config config; + util_cpu_detect(); pipe_loader_load_options(dev); config.options = &dev->option_cache;