From 842c5143033e80aecb93886ac436710003ba89da Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Thu, 3 Jun 2021 12:05:50 -0700 Subject: [PATCH] llvmpipe: Don't call util_init_math(). Nothing in llvmpipe uses util_fast_log2(). Reviewed-by: Erik Faye-Lund Reviewed-by: Adam Jackson Reviewed-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/llvmpipe/lp_context.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index c77fd34f5eb..361634ed1bd 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -186,8 +186,6 @@ llvmpipe_create_context(struct pipe_screen *screen, void *priv, if (!llvmpipe) return NULL; - util_init_math(); - memset(llvmpipe, 0, sizeof *llvmpipe); make_empty_list(&llvmpipe->fs_variants_list);