Mesa (main): llvmpipe: assume c99

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 14 15:50:07 UTC 2022


Module: Mesa
Branch: main
Commit: ffd26b1c3bfac5b5df00c4621fce7c4799d871a2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffd26b1c3bfac5b5df00c4621fce7c4799d871a2

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Jun  7 16:37:08 2022 +0200

llvmpipe: assume c99

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16908>

---

 src/gallium/drivers/llvmpipe/lp_test_arit.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_test_arit.c b/src/gallium/drivers/llvmpipe/lp_test_arit.c
index 504d3c3aa96..dc172f73fbe 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_arit.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_arit.c
@@ -194,9 +194,7 @@ const float rcp_values[] = {
    -1e+035, -100000,
    100000, 1e+035,
    5.88e-39f, // denormal
-#if (__STDC_VERSION__ >= 199901L)
    INFINITY, -INFINITY,
-#endif
 };
 
 
@@ -213,9 +211,7 @@ const float rsqrt_values[] = {
    1e-007, 4.0,
    100000, 1e+035,
    5.88e-39f, // denormal
-#if (__STDC_VERSION__ >= 199901L)
    INFINITY,
-#endif
 };
 
 



More information about the mesa-commit mailing list