Remove unused variables from VmaBlockVector::ApplyDefragmentationMovesGpu Fixes #58

This commit is contained in:
Adam Sawicki 2019-03-25 23:42:04 +01:00
parent 496f7ac254
commit 4a84207d7c

View File

@ -12285,9 +12285,6 @@ void VmaBlockVector::ApplyDefragmentationMovesGpu(
// Go over all moves. Post data transfer commands to command buffer. // Go over all moves. Post data transfer commands to command buffer.
if(pDefragCtx->res == VK_SUCCESS) if(pDefragCtx->res == VK_SUCCESS)
{ {
const VkDeviceSize nonCoherentAtomSize = m_hAllocator->m_PhysicalDeviceProperties.limits.nonCoherentAtomSize;
VkMappedMemoryRange memRange = { VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE };
for(size_t moveIndex = 0; moveIndex < moveCount; ++moveIndex) for(size_t moveIndex = 0; moveIndex < moveCount; ++moveIndex)
{ {
const VmaDefragmentationMove& move = moves[moveIndex]; const VmaDefragmentationMove& move = moves[moveIndex];