mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-14 16:58:34 +00:00
Fixed usage of VMA_FALLTHROUGH
This commit is contained in:
parent
4c58c1fefe
commit
dd09767ff6
1 changed files with 2 additions and 4 deletions
|
@ -13797,11 +13797,10 @@ bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVecto
|
|||
vectorState.operation = StateExtensive::Operation::MoveBuffers;
|
||||
bufferPresent = false;
|
||||
otherPresent = false;
|
||||
|
||||
VMA_FALLTHROUGH; // Fallthrough
|
||||
}
|
||||
else
|
||||
break;
|
||||
VMA_FALLTHROUGH; // Fallthrough
|
||||
}
|
||||
case StateExtensive::Operation::MoveBuffers:
|
||||
{
|
||||
|
@ -13823,11 +13822,10 @@ bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVecto
|
|||
// No more buffers to move, check all others
|
||||
vectorState.operation = StateExtensive::Operation::MoveAll;
|
||||
otherPresent = false;
|
||||
|
||||
VMA_FALLTHROUGH; // Fallthrough
|
||||
}
|
||||
else
|
||||
break;
|
||||
VMA_FALLTHROUGH; // Fallthrough
|
||||
}
|
||||
case StateExtensive::Operation::MoveAll:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue