diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2015-12-20 22:58:38 -0800 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2015-12-28 21:57:56 -0800 |
commit | a00524a216fc5b22d4ec67583b5e9a352f700321 (patch) | |
tree | 3f18d7deef17bc02ffed7395f23c78e33dac0e4a /src/vulkan/anv_device.c | |
parent | 5fab35d0903565d8c5862870a920febb60417497 (diff) |
vk: Unstub VkSemaphore implementation
There really is nothing to do for us here, at least with the current
kernel interface.
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r-- | src/vulkan/anv_device.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 90a0061dbf8..88515c353ee 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -1429,8 +1429,13 @@ VkResult anv_CreateSemaphore( const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore) { + /* The DRM execbuffer ioctl always execute in-oder, even between different + * rings. As such, there's nothing to do for the user space semaphore. + */ + *pSemaphore = (VkSemaphore)1; - stub_return(VK_SUCCESS); + + return VK_SUCCESS; } void anv_DestroySemaphore( @@ -1438,7 +1443,6 @@ void anv_DestroySemaphore( VkSemaphore semaphore, const VkAllocationCallbacks* pAllocator) { - stub(); } // Event functions |