mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-30 02:04:35 +00:00
Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
This commit is contained in:
commit
33976ab0ad
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user