Fixes WSI protected swapchain allocation tests
authorMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 7 Sep 2018 17:44:55 +0000 (13:44 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 19 Sep 2018 07:12:23 +0000 (03:12 -0400)
commitf679b545b3b5f06bfb84069a4c712e3988204326
treeea4efe9c71daed54339927938c6c310dece91a00
parentd158d51e8eda307d9e2b13cfb85a635d2a16cf3f
Fixes WSI protected swapchain allocation tests

Will now throw not supported if swapchain config
cannot fit in the available heap space.

Changes available heap space to fixed 25% of total
reported heap size instead of the current
"total - 2 * imageSize"

Components: Vulkan
VK-GL-CTS issue: 1345

Affects:
dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.*

Change-Id: I6854ae29b4394d450e47cc78bfb905362a964ec4
external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemWsiSwapchainTests.cpp