diff options
author | Marek Olšák <[email protected]> | 2017-12-28 15:59:19 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-01-04 00:07:45 +0100 |
commit | 4f19cc82f9a6113a76a3bc7a848c98d0eb693991 (patch) | |
tree | 3da6ce6e80f22784eec7f29d26a0f333a70a03aa /src/amd/vulkan/radv_device.c | |
parent | 81567d01c137bdb41fce6d75d41c63d8183a3f89 (diff) |
ac: rename has_syncobj_wait -> has_syncobj_wait_for_submit
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ed46692cefb..cbf8f5cf49c 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -3818,8 +3818,8 @@ void radv_GetPhysicalDeviceExternalSemaphorePropertiesKHR( { RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice); - /* Require has_syncobj_wait for the syncobj signal ioctl introduced at virtually the same time */ - if (pdevice->rad_info.has_syncobj_wait && + /* Require has_syncobj_wait_for_submit for the syncobj signal ioctl introduced at virtually the same time */ + if (pdevice->rad_info.has_syncobj_wait_for_submit && (pExternalSemaphoreInfo->handleType == VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR || pExternalSemaphoreInfo->handleType == VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR)) { pExternalSemaphoreProperties->exportFromImportedHandleTypes = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR | VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR; @@ -3899,7 +3899,7 @@ void radv_GetPhysicalDeviceExternalFencePropertiesKHR( { RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice); - if (pdevice->rad_info.has_syncobj_wait && + if (pdevice->rad_info.has_syncobj_wait_for_submit && (pExternalFenceInfo->handleType == VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR || pExternalFenceInfo->handleType == VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT_KHR)) { pExternalFenceProperties->exportFromImportedHandleTypes = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR | VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT_KHR; |