mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
Fixed usage of VMA_FALLTHROUGH
This commit is contained in:
parent
4c58c1fefe
commit
dd09767ff6
@ -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…
Reference in New Issue
Block a user