Fix regressions in synchronization tests for dedicated allocations
authorSlawomir Cygan <slawomir.cygan@intel.com>
Mon, 31 Jul 2017 12:22:50 +0000 (14:22 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 11 Aug 2017 14:01:18 +0000 (10:01 -0400)
commit063b1fdc446489cd65ecc26ad34057a91ba942f4
treedd5c5d0ce0db5211f148c4e49db67d49cbc7433f
parent6509717152cf0d7081f57d1836a26551698ed55a
Fix regressions in synchronization tests for dedicated allocations

Pass image memory requirements to allocation routine in allocateAndBindMemory.

VK_KHR_get_memory_requirements2 is a device extension (not instance).

Throw NotSupported when external handle requires dedicated allocation,
but 'suballocated' variant of test is being run.

Affects:
dEQP-VK.synchronization.cross_instance.*

Components: Vulkan

VK-GL-CTS issue: 604

Change-Id: I3636779459300f5dee2e22b0a2e04762eb7b0601
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationCrossInstanceSharingTests.cpp