anv: Implement VK_KHX_external_semaphore_capabilities
This just stubs things out. Real external semaphore support will come with VK_KHX_external_semaphore_fd. Reviewed-by: Chad Versace <chadversary@chromium.org>
This commit is contained in:
@@ -533,3 +533,16 @@ void anv_DestroySemaphore(
|
||||
|
||||
vk_free2(&device->alloc, pAllocator, semaphore);
|
||||
}
|
||||
|
||||
void anv_GetPhysicalDeviceExternalSemaphorePropertiesKHX(
|
||||
VkPhysicalDevice physicalDevice,
|
||||
const VkPhysicalDeviceExternalSemaphoreInfoKHX* pExternalSemaphoreInfo,
|
||||
VkExternalSemaphorePropertiesKHX* pExternalSemaphoreProperties)
|
||||
{
|
||||
switch (pExternalSemaphoreInfo->handleType) {
|
||||
default:
|
||||
pExternalSemaphoreProperties->exportFromImportedHandleTypes = 0;
|
||||
pExternalSemaphoreProperties->compatibleHandleTypes = 0;
|
||||
pExternalSemaphoreProperties->externalSemaphoreFeatures = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user