mock: Extend external memory functionality
authorArtem Kharytoniuk <artem@lunarg.com>
Fri, 5 May 2023 21:12:12 +0000 (23:12 +0200)
committerArtem <121836235+artem-lunarg@users.noreply.github.com>
Sat, 6 May 2023 00:23:38 +0000 (02:23 +0200)
commitfec27a3f6e3bae96a8f3e784d6d643afb41989d6
treeb1d824efe72605141ecc8ceb992f6d720997adb1
parentef785a6fca3b2549eb6001c417eca4e155c07262
mock: Extend external memory functionality

GetPhysicalDeviceExternalBufferProperties changes:
Previous implementation violated property that handle type is at
least compatible with itself. It's needed to implement testing for
VUID-VkMemoryAllocateInfo-pNext-00639

GetFenceWin32HandleKHR/GetFenceFdKHR changes:
Return not null handles to pass
VUID-VkImportFenceWin32HandleInfoKHR-handle-01462
icd/generated/mock_icd.cpp
scripts/mock_icd_generator.py