libcl: Add more UINT_MAX variants

Needed by panvk's minmax CL code.

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35639>
This commit is contained in:
Mary Guillemard 2025-06-09 17:58:27 +02:00 committed by Marge Bot
parent 276b65dbca
commit 2c455c2d81

View file

@ -39,7 +39,10 @@ typedef uint64_t uintmax_t;
#define INT32_MIN (-2147483648)
#define INT64_MIN (-9223372036854775807l - 1)
#define UINT8_MAX 255
#define INT8_MAX 127
#define UINT16_MAX 65535
#define INT16_MAX 32767
#define UINT32_MAX 4294967295U
#define INT32_MAX 2147483647
#define INT64_MAX 9223372036854775807l