mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-22 07:04:34 +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,
|
// 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.
|
// 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;
|
void* ptr;
|
||||||
for (size_t i = 0; i < 10; ++i)
|
for (size_t i = 0; i < 10; ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user