mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 03:18:08 +02:00
venus: fix properties of unsupported external fences/semaphores
compatibleHandleTypes should be cleared. Fixed dEQP-VK.api.external.semaphore.sync_fd.info_timeline. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15266>
This commit is contained in:
parent
63d399b3fb
commit
c795ae8b88
1 changed files with 2 additions and 4 deletions
|
|
@ -2457,8 +2457,7 @@ vn_GetPhysicalDeviceExternalFenceProperties(
|
|||
VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT |
|
||||
VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT;
|
||||
} else {
|
||||
pExternalFenceProperties->compatibleHandleTypes =
|
||||
pExternalFenceInfo->handleType;
|
||||
pExternalFenceProperties->compatibleHandleTypes = 0;
|
||||
pExternalFenceProperties->exportFromImportedHandleTypes = 0;
|
||||
pExternalFenceProperties->externalFenceFeatures = 0;
|
||||
}
|
||||
|
|
@ -2489,8 +2488,7 @@ vn_GetPhysicalDeviceExternalSemaphoreProperties(
|
|||
VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT |
|
||||
VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT;
|
||||
} else {
|
||||
pExternalSemaphoreProperties->compatibleHandleTypes =
|
||||
pExternalSemaphoreInfo->handleType;
|
||||
pExternalSemaphoreProperties->compatibleHandleTypes = 0;
|
||||
pExternalSemaphoreProperties->exportFromImportedHandleTypes = 0;
|
||||
pExternalSemaphoreProperties->externalSemaphoreFeatures = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue