Do not exceed heap size when allocating memory
authorSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 19 May 2021 15:18:48 +0000 (17:18 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 16 Jun 2021 06:51:29 +0000 (06:51 +0000)
commitc2a1917147daee870c0005e2e1c730ba3fee14dd
treec0e3e9c11ccfe9c2c648dbec7d6e79fccb4f6bcb
parenta8aab826632a8c39a2a2d6ca46d30f2c37738918
Do not exceed heap size when allocating memory

It is invalid to make larger allocations than heap size.

Components: Vulkan

VK-GL-CTS Issue: 2927

Change-Id: I738356254d95a152a2bb89d711eb6b3f047b405c
Affects: dEQP-VK.memory.mapping
external/vulkancts/modules/vulkan/memory/vktMemoryMappingTests.cpp