14 #define GTE_I64(v) v##LL 15 #define GTE_U64(v) v##ULL 16 #define GTE_GET_LO_I64(v) (int32_t)((v) & 0x00000000ffffffffLL) 17 #define GTE_GET_HI_I64(v) (int32_t)(((v) >> 32) & 0x00000000ffffffffLL) 18 #define GTE_GET_LO_U64(v) (uint32_t)((v) & 0x00000000ffffffffULL) 19 #define GTE_GET_HI_U64(v) (uint32_t)(((v) >> 32) & 0x00000000ffffffffULL) 20 #define GTE_SET_LO_I64(v,lo) (((v) & 0xffffffff00000000LL) | (int64_t)(lo)) 21 #define GTE_SET_HI_I64(v,hi) (((v) & 0x00000000ffffffffLL) | ((int64_t)(hi) << 32)) 22 #define GTE_MAKE_I64(hi,lo) ((int64_t)(lo) | ((int64_t)(hi) << 32)) 23 #define GTE_SET_LO_U64(v,lo) (((v) & 0xffffffff00000000ULL) | (uint64_t)(lo)) 24 #define GTE_SET_HI_U64(v,hi) (((v) & 0x00000000ffffffffULL) | ((uint64_t)(hi) << 32)) 25 #define GTE_MAKE_U64(hi,lo) ((uint64_t)(lo) | ((uint64_t)(hi) << 32)) GTE_IMPEXP int32_t GetTrailingBit(uint32_t value)
GTE_IMPEXP uint32_t RoundDownToPowerOfTwo(uint32_t value)
GTE_IMPEXP int32_t GetLeadingBit(uint32_t value)
GLsizei const GLfloat * value
GTE_IMPEXP bool IsPowerOfTwo(uint32_t value)
GTE_IMPEXP uint64_t RoundUpToPowerOfTwo(uint32_t value)
GTE_IMPEXP uint32_t Log2OfPowerOfTwo(uint32_t powerOfTwo)