mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-21 20:00:11 +00:00
Fix in TestMappingHysteresis
This commit is contained in:
parent
eaf8fc27ee
commit
7d082cb2d1
@ -8346,7 +8346,7 @@ static void TestMappingHysteresis()
|
||||
|
||||
// It makes sense to test only if this buffer ended up in a non-HOST_VISIBLE memory,
|
||||
// which may not be the case on some integrated graphics.
|
||||
if((memProps & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0)
|
||||
if((memProps & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0)
|
||||
{
|
||||
void* ptr;
|
||||
for (size_t i = 0; i < 10; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user