From be81537a63cfcc4a514ccda8c10ad60b8a3e4759 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 6 Feb 2025 12:41:49 +0100 Subject: [PATCH] llvmpipe/tests: include math.h for INFINITY This might be the cause of #12557, but we should do this regardless. Fixes: d366520e8553f4a16151 ("gallivm: fix rsqrt failures") Part-of: (cherry picked from commit e4551ac69e357df07de9f7cb5ebd88579d7363e7) --- .pick_status.json | 2 +- src/gallium/drivers/llvmpipe/lp_test_arit.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 2e69f177d11..266d32dd31a 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -964,7 +964,7 @@ "description": "llvmpipe/tests: include math.h for INFINITY", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "d366520e8553f4a16151ee946d6e8136cab3de5e", "notes": null diff --git a/src/gallium/drivers/llvmpipe/lp_test_arit.c b/src/gallium/drivers/llvmpipe/lp_test_arit.c index 44d416236dc..b446f04e842 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_arit.c +++ b/src/gallium/drivers/llvmpipe/lp_test_arit.c @@ -27,6 +27,7 @@ #include +#include #include #include