llvmpipe: Don't call util_init_math().

Nothing in llvmpipe uses util_fast_log2().

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11173>
This commit is contained in:
Emma Anholt 2021-06-03 12:05:50 -07:00 committed by Marge Bot
parent 9cd4b8b73c
commit 842c514303
1 changed files with 0 additions and 2 deletions

View File

@ -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);