mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-15 01:08:31 +00:00
Fixed syntax errors
This commit is contained in:
parent
cad2acc080
commit
a4d39851fd
1 changed files with 2 additions and 2 deletions
|
@ -3086,7 +3086,7 @@ static inline uint8_t VmaBitScanLSB(uint64_t mask)
|
||||||
return static_cast<uint8_t>(pos);
|
return static_cast<uint8_t>(pos);
|
||||||
return UINT8_MAX;
|
return UINT8_MAX;
|
||||||
#elif defined __GNUC__ || defined __clang__
|
#elif defined __GNUC__ || defined __clang__
|
||||||
return static_cast<uint8_t>__builtin_ffsll(mask)) - 1U;
|
return static_cast<uint8_t>(__builtin_ffsll(mask)) - 1U;
|
||||||
#else
|
#else
|
||||||
uint8_t pos = 0;
|
uint8_t pos = 0;
|
||||||
uint64_t bit = 1;
|
uint64_t bit = 1;
|
||||||
|
@ -3108,7 +3108,7 @@ static inline uint8_t VmaBitScanLSB(uint32_t mask)
|
||||||
return static_cast<uint8_t>(pos);
|
return static_cast<uint8_t>(pos);
|
||||||
return UINT8_MAX;
|
return UINT8_MAX;
|
||||||
#elif defined __GNUC__ || defined __clang__
|
#elif defined __GNUC__ || defined __clang__
|
||||||
return static_cast<uint8_t>__builtin_ffsl(mask)) - 1U;
|
return static_cast<uint8_t>(__builtin_ffsl(mask)) - 1U;
|
||||||
#else
|
#else
|
||||||
uint8_t pos = 0;
|
uint8_t pos = 0;
|
||||||
uint32_t bit = 1;
|
uint32_t bit = 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue