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:
committed by
Marge Bot
parent
276b65dbca
commit
2c455c2d81
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user