mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-26 05:50:05 +00:00
Remove unused variables from VmaBlockVector::ApplyDefragmentationMovesGpu Fixes #58
This commit is contained in:
parent
496f7ac254
commit
4a84207d7c
@ -12285,9 +12285,6 @@ void VmaBlockVector::ApplyDefragmentationMovesGpu(
|
||||
// Go over all moves. Post data transfer commands to command buffer.
|
||||
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)
|
||||
{
|
||||
const VmaDefragmentationMove& move = moves[moveIndex];
|
||||
|
Loading…
Reference in New Issue
Block a user