mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-15 01:08:31 +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));
|
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…
Add table
Add a link
Reference in a new issue