vk: Unstub VkSemaphore implementation
There really is nothing to do for us here, at least with the current kernel interface.
This commit is contained in:
parent
5fab35d090
commit
a00524a216
|
@ -1429,8 +1429,13 @@ VkResult anv_CreateSemaphore(
|
||||||
const VkAllocationCallbacks* pAllocator,
|
const VkAllocationCallbacks* pAllocator,
|
||||||
VkSemaphore* pSemaphore)
|
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;
|
*pSemaphore = (VkSemaphore)1;
|
||||||
stub_return(VK_SUCCESS);
|
|
||||||
|
return VK_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
void anv_DestroySemaphore(
|
void anv_DestroySemaphore(
|
||||||
|
@ -1438,7 +1443,6 @@ void anv_DestroySemaphore(
|
||||||
VkSemaphore semaphore,
|
VkSemaphore semaphore,
|
||||||
const VkAllocationCallbacks* pAllocator)
|
const VkAllocationCallbacks* pAllocator)
|
||||||
{
|
{
|
||||||
stub();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Event functions
|
// Event functions
|
||||||
|
|
Loading…
Reference in New Issue