mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-14 16:58:34 +00:00
parent
a4d39851fd
commit
5bd5975873
1 changed files with 1 additions and 1 deletions
|
@ -3133,7 +3133,7 @@ static inline uint8_t VmaBitScanMSB(uint64_t mask)
|
|||
return static_cast<uint8_t>(__builtin_clzll(mask));
|
||||
#else
|
||||
uint8_t pos = 63;
|
||||
uint64_t bit = 1 << 63;
|
||||
uint64_t bit = 1u << 63;
|
||||
do
|
||||
{
|
||||
if (mask & bit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue