mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-27 00:44:35 +00:00
Remove unused freeSpaceBlockSize variable.
This commit is contained in:
parent
e9ae4199c6
commit
65f096555d
@ -12978,7 +12978,6 @@ VkResult VmaDefragmentationAlgorithm_Fast::Defragment(
|
|||||||
size_t freeSpaceOrigBlockIndex = m_BlockInfos[freeSpaceInfoIndex].origBlockIndex;
|
size_t freeSpaceOrigBlockIndex = m_BlockInfos[freeSpaceInfoIndex].origBlockIndex;
|
||||||
VmaDeviceMemoryBlock* pFreeSpaceBlock = m_pBlockVector->GetBlock(freeSpaceOrigBlockIndex);
|
VmaDeviceMemoryBlock* pFreeSpaceBlock = m_pBlockVector->GetBlock(freeSpaceOrigBlockIndex);
|
||||||
VmaBlockMetadata_Generic* pFreeSpaceMetadata = (VmaBlockMetadata_Generic*)pFreeSpaceBlock->m_pMetadata;
|
VmaBlockMetadata_Generic* pFreeSpaceMetadata = (VmaBlockMetadata_Generic*)pFreeSpaceBlock->m_pMetadata;
|
||||||
VkDeviceSize freeSpaceBlockSize = pFreeSpaceMetadata->GetSize();
|
|
||||||
|
|
||||||
// Same block
|
// Same block
|
||||||
if(freeSpaceInfoIndex == srcBlockInfoIndex)
|
if(freeSpaceInfoIndex == srcBlockInfoIndex)
|
||||||
|
Loading…
Reference in New Issue
Block a user