From 144487ebb8ab7505152318e08176885fd6475fe6 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 25 Aug 2017 11:35:27 -0700 Subject: anv/gem: Add a flags parameter to syncobj_create Reviewed-by: Lionel Landwerlin --- src/intel/vulkan/anv_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/vulkan/anv_queue.c') diff --git a/src/intel/vulkan/anv_queue.c b/src/intel/vulkan/anv_queue.c index 23f8d7d613f..df9b647b485 100644 --- a/src/intel/vulkan/anv_queue.c +++ b/src/intel/vulkan/anv_queue.c @@ -582,7 +582,7 @@ VkResult anv_CreateSemaphore( assert(handleTypes == VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR); if (device->instance->physicalDevice.has_syncobj) { semaphore->permanent.type = ANV_SEMAPHORE_TYPE_DRM_SYNCOBJ; - semaphore->permanent.syncobj = anv_gem_syncobj_create(device); + semaphore->permanent.syncobj = anv_gem_syncobj_create(device, 0); if (!semaphore->permanent.syncobj) { vk_free2(&device->alloc, pAllocator, semaphore); return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); -- cgit v1.2.3