mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-12-01 18:34:34 +00:00
parent
a4d39851fd
commit
5bd5975873
@ -3133,7 +3133,7 @@ static inline uint8_t VmaBitScanMSB(uint64_t mask)
|
|||||||
return static_cast<uint8_t>(__builtin_clzll(mask));
|
return static_cast<uint8_t>(__builtin_clzll(mask));
|
||||||
#else
|
#else
|
||||||
uint8_t pos = 63;
|
uint8_t pos = 63;
|
||||||
uint64_t bit = 1 << 63;
|
uint64_t bit = 1u << 63;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (mask & bit)
|
if (mask & bit)
|
||||||
|
Loading…
Reference in New Issue
Block a user