Limit maximum allocation size in memory mapping tests
authorPyry Haulos <phaulos@google.com>
Fri, 19 Aug 2016 12:20:38 +0000 (13:20 +0100)
committerPyry Haulos <phaulos@google.com>
Mon, 22 Aug 2016 19:46:28 +0000 (12:46 -0700)
commita39a3d226f5b096be43f0b60ed7bb79f72efc04d
tree739ef3f9953e87d348142353a09032d69119e2c9
parent4a53ca17eb611a3fddf1c9efc25685939e2f6a5e
Limit maximum allocation size in memory mapping tests

Fixes also ReferenceMemory::m_flushed memory usage counting when
estimating reference memory usage (size should be divided by atomSize).

Fixes #468

Change-Id: Iad754e211e8070b09254d2451e03418fc2be541b
external/vulkancts/modules/vulkan/memory/vktMemoryMappingTests.cpp