mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Fixed syntax errors
This commit is contained in:
parent
cad2acc080
commit
a4d39851fd
@ -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…
Reference in New Issue
Block a user