Import dedicated allocs w/ importDedicatedMemory
authorcrohde <crohde@nvidia.com>
Wed, 17 Oct 2018 10:33:35 +0000 (12:33 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 25 Oct 2018 10:12:10 +0000 (06:12 -0400)
commit73ecbc80a19e396e685093f8e3157a640bda907e
treefeb1d6006b0b5f72c7588744dccf56d59c5fd877
parent298c3323cdde62b01dc1fff7b8c6d61094f0d808
Import dedicated allocs w/ importDedicatedMemory

When exported memory was a dedicated allocation,
the memory must be imported also as dedicated allocation.
This was already implemented for images,
this change does it for buffers, too.

Affects:
dEQP-VK.api.external.memory.opaque_fd.dedicated.device_only.import_twice
dEQP-VK.api.external.memory.opaque_fd.dedicated.device_only.import_multiple_times
dEQP-VK.api.external.memory.opaque_fd.dedicated.device_only.dup
dEQP-VK.api.external.memory.opaque_fd.dedicated.device_only.dup2
dEQP-VK.api.external.memory.opaque_fd.dedicated.device_only.dup3
dEQP-VK.api.external.memory.opaque_fd.dedicated.device_only.send_over_socket
dEQP-VK.api.external.memory.opaque_fd.dedicated.buffer.bind_export_import_bind
dEQP-VK.api.external.memory.opaque_fd.dedicated.buffer.export_bind_import_bind
dEQP-VK.api.external.memory.opaque_fd.dedicated.buffer.export_import_bind_bind

Components: Vulkan

VK-GL-CTS issue: 1422
Change-Id: I782aeb256151dd98cc6a91b8a6942cd916d3f7b7
external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp [changed mode: 0644->0755]