llvmpipe/tests: include math.h for INFINITY

This might be the cause of #12557, but we should do this regardless.

Fixes: d366520e85 ("gallivm: fix rsqrt failures")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33424>
(cherry picked from commit e4551ac69e)
This commit is contained in:
Eric Engestrom 2025-02-06 12:41:49 +01:00 committed by Eric Engestrom
parent 3d18ce09de
commit be81537a63
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -27,6 +27,7 @@
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>