mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 06:00:10 +01:00
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:
parent
276b65dbca
commit
2c455c2d81
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue