include: drop c99_math.h
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 1 Jun 2022 12:46:46 +0000 (14:46 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 2 Jun 2022 13:09:16 +0000 (13:09 +0000)
commit18246ed06a1e5d826fae45c5f005926207b6ed3a
treef7befa54e8724055790195662f5a6b9d7eb33c3b
parent6ed10a99bdacdcf31020e803746cf219fdea1d7a
include: drop c99_math.h

Since we now depend on C11, we know that we have support for the C99
math functionality. So let's drop the c99_math.h compatibility wrapper,
and just include <math.h> directly.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16812>
12 files changed:
include/c99_math.h [deleted file]
src/compiler/glsl/lower_instructions.cpp
src/compiler/nir/nir_lower_double_ops.c
src/mesa/main/light.c
src/mesa/main/pixel.c
src/mesa/main/querymatrix.c
src/mesa/math/m_debug_norm.c
src/mesa/math/m_debug_util.h
src/mesa/math/m_matrix.c
src/util/format_rgb9e5.h
src/util/rounding.h
src/util/u_math.h