Mesa (main): llvmpipe: Don't call util_init_math().
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jun 4 17:56:09 UTC 2021
Module: Mesa
Branch: main
Commit: 842c5143033e80aecb93886ac436710003ba89da
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=842c5143033e80aecb93886ac436710003ba89da
Author: Emma Anholt <emma at anholt.net>
Date: Thu Jun 3 12:05:50 2021 -0700
llvmpipe: Don't call util_init_math().
Nothing in llvmpipe uses util_fast_log2().
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11173>
---
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);
More information about the mesa-commit
mailing list