Vulkan-Docs/doc/specs/vulkan/validity/protos/vkDestroySemaphore.txt

35 lines
1.8 KiB
Plaintext
Raw Normal View History

2016-02-16 09:53:44 +00:00
// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
ifndef::doctype-manpage[]
.Valid Usage
********************************************************************************
endif::doctype-manpage[]
ifdef::doctype-manpage[]
Valid Usage
-----------
endif::doctype-manpage[]
* pname:device must: be a valid sname:VkDevice handle
* If pname:semaphore is not dlink:VK_NULL_HANDLE, pname:semaphore must: be a valid sname:VkSemaphore handle
2016-02-16 09:53:44 +00:00
* If pname:pAllocator is not `NULL`, pname:pAllocator must: be a pointer to a valid sname:VkAllocationCallbacks structure
* If pname:semaphore is a valid handle, it must: have been created, allocated or retrieved from pname:device
* Each of pname:device and pname:semaphore that are valid handles must: have been created, allocated or retrieved from the same sname:VkPhysicalDevice
* pname:semaphore mustnot: be associated with any queue command that has not yet completed execution on that queue
* If sname:VkAllocationCallbacks were provided when pname:semaphore was created, a compatible set of callbacks must: be provided here
* If no sname:VkAllocationCallbacks were provided when pname:semaphore was created, pname:pAllocator must: be `NULL`
ifndef::doctype-manpage[]
********************************************************************************
endif::doctype-manpage[]
ifndef::doctype-manpage[]
.Host Synchronization
********************************************************************************
endif::doctype-manpage[]
ifdef::doctype-manpage[]
Host Synchronization
--------------------
endif::doctype-manpage[]
* Host access to pname:semaphore must: be externally synchronized
ifndef::doctype-manpage[]
********************************************************************************
endif::doctype-manpage[]