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)
committerMika Isojärvi <misojarvi@google.com>
Fri, 8 Sep 2017 20:45:04 +0000 (13:45 -0700)
commit0e4f9f242d31d55807ae6d3665e53e1a0abeafdc
treea02156594b251e6a1db283440ddc0e149cad5130
parent311129dc01f5cc512372dd3dae7b5afbe27f81ec
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
Bug: 65490152
Bug: 65202260
Test: Ran tests on couple of Google devices
Change-Id: I3636779459300f5dee2e22b0a2e04762eb7b0601
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationCrossInstanceSharingTests.cpp