anv/device: Make the CreateSemaphore stub return success
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 21:34:07 +0000 (14:34 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 21:34:07 +0000 (14:34 -0700)
src/vulkan/anv_device.c

index cc9ead86e73ee49cd3fa04355487e4e027243530..bd1c0f2908da1de185765b77bbb9c17925d1d2f3 100644 (file)
@@ -1266,7 +1266,8 @@ VkResult anv_CreateSemaphore(
     const VkSemaphoreCreateInfo*                pCreateInfo,
     VkSemaphore*                                pSemaphore)
 {
-   stub_return(VK_UNSUPPORTED);
+   pSemaphore->handle = 1;
+   stub_return(VK_SUCCESS);
 }
 
 void anv_DestroySemaphore(