mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-29 07:59:17 +00:00
Fixed bug in VmaBlockMetadata_Generic::IsBufferImageGranularityConflictPossible. Another minor fix.
This commit is contained in:
parent
0eeed59309
commit
2af57d7f47
2 changed files with 2 additions and 2 deletions
|
@ -1158,7 +1158,7 @@ static void RecreateAllocationResource(AllocInfo& allocation)
|
|||
// Just to silence validation layer warnings.
|
||||
VkMemoryRequirements vkMemReq;
|
||||
vkGetBufferMemoryRequirements(g_hDevice, allocation.m_Buffer, &vkMemReq);
|
||||
TEST(vkMemReq.size == allocation.m_BufferInfo.size);
|
||||
TEST(vkMemReq.size >= allocation.m_BufferInfo.size);
|
||||
|
||||
res = vkBindBufferMemory(g_hDevice, allocation.m_Buffer, allocInfo.deviceMemory, allocInfo.offset);
|
||||
TEST(res == VK_SUCCESS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue