[Mesa-dev] [PATCH] anv: allow exporting an imported SYNC_FD semaphore type
Jason Ekstrand
jason at jlekstrand.net
Thu Nov 22 14:40:49 UTC 2018
Should work.
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Thu, Nov 22, 2018 at 1:41 AM Tapani Pälli <tapani.palli at intel.com> wrote:
> Fixes issues with following SkQP tests:
>
> unitTest_VulkanHardwareBuffer_Vulkan_EGL_Syncs
> unitTest_VulkanHardwareBuffer_Vulkan_Vulkan_Syncs
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
> src/intel/vulkan/anv_queue.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_queue.c b/src/intel/vulkan/anv_queue.c
> index 2a8ed2eb4ed..7887fbcb937 100644
> --- a/src/intel/vulkan/anv_queue.c
> +++ b/src/intel/vulkan/anv_queue.c
> @@ -1056,7 +1056,8 @@ void
> anv_GetPhysicalDeviceExternalSemaphoreProperties(
>
> case VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT:
> if (device->has_exec_fence) {
> - pExternalSemaphoreProperties->exportFromImportedHandleTypes = 0;
> + pExternalSemaphoreProperties->exportFromImportedHandleTypes =
> + VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT;
> pExternalSemaphoreProperties->compatibleHandleTypes =
> VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT;
> pExternalSemaphoreProperties->externalSemaphoreFeatures =
> --
> 2.17.2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181122/015b8062/attachment.html>
More information about the mesa-dev
mailing list