anv: Stop checking for HAS_EXEC_FENCE
Starting with 3b363d5b55
("anv: Assume syncobj support"), we assume
syncobj support and no longer use the execbuf sync_file API directly so
there's no point in checking for it. For the one physical device check
this deletes, we can assume has_exec_fence is always true because every
kernel with syncobj support also has sync_file.
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13610>
This commit is contained in:

committed by
Marge Bot

parent
2eb9057de0
commit
2a75855049
@@ -2261,8 +2261,6 @@ void anv_GetPhysicalDeviceExternalSemaphoreProperties(
|
||||
case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT:
|
||||
if (sem_type == VK_SEMAPHORE_TYPE_TIMELINE_KHR)
|
||||
break;
|
||||
if (!device->has_exec_fence)
|
||||
break;
|
||||
pExternalSemaphoreProperties->exportFromImportedHandleTypes =
|
||||
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT;
|
||||
pExternalSemaphoreProperties->compatibleHandleTypes =
|
||||
|
Reference in New Issue
Block a user