Allow two images worth of alignment slop in protected heap
authorChris Forbes <chrisforbes@google.com>
Mon, 11 Jun 2018 22:50:16 +0000 (15:50 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 13 Jul 2018 10:41:42 +0000 (06:41 -0400)
commit7814c48ef7d3382e4fcf685dbba35e17cfb38b3a
tree9f271423be2bdd8d56a9693b12539ba1cd06234f
parent56b71160b6edfb1f0729ce6f4e863a6b8092edb8
Allow two images worth of alignment slop in protected heap

We previously backed off by one image worth, but it's not enough in some
cases.

Components: Vulkan
VK-GL-CTS: 1262
Bug: b/109757443
Test: dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create#min_image_count
Change-Id: I01b3a72986e9f35b4ec15a146e4dc576758c02ce
(cherry picked from Android commit 0fd6d1afa4d00ffd3da1d2d1898f32d4e879209d)
external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemWsiSwapchainTests.cpp