Limit maximum allocation size in memory mapping tests
authorPyry Haulos <phaulos@google.com>
Fri, 19 Aug 2016 12:20:38 +0000 (13:20 +0100)
committerChris Forbes <chrisforbes@google.com>
Tue, 5 Dec 2017 20:43:56 +0000 (20:43 +0000)
commitadff582b509ac5e941721b040f575dbc9319b0ed
tree8aa8a935a395f537ef56af33161d590c6e9dd097
parent3a8ec35d52d041f3165de149c42aefc9fcf1c688
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
Bug: b/69677943

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