mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-26 04:55:12 +00:00
* Update release number to 124. Github Issues: * Fix Makefile SPECREMARK macro to work when not building in a git tree (public issue 992). * Ignore pname:aspectMask for unused attachments in slink:VkSubpassDescription2KHR valid usage statements (public pull request 1028). * Minor markup / spelling fixes (public pull requests 1035, 1045). Internal Issues: * Fix markup in Valid Usage statement for slink:VkCreateFramebuffer (internal issue 1823). * Add a new <<synchronization-signal-operation-order, _signal operation order_>> section to the synchronization chapter which describes in detail the ordering guarantees provided by the API between fence and semaphore signal operations (internal merge request 3368). * Move generated `appendix/meta/` files into the Makefile GENERATED directory (internal merge request 3381). New Extensions * `<<VK_KHR_shader_clock>>` * `<<VK_KHR_timeline_semaphore>>`
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
// Copyright (c) 2016-2019 Khronos Group. This work is licensed under a
|
|
// Creative Commons Attribution 4.0 International License; see
|
|
// http://creativecommons.org/licenses/by/4.0/
|
|
|
|
include::{generated}/meta/VK_KHR_external_semaphore_fd.txt[]
|
|
|
|
*Last Modified Date*::
|
|
2016-10-21
|
|
*IP Status*::
|
|
No known IP claims.
|
|
*Contributors*::
|
|
- Jesse Hall, Google
|
|
- James Jones, NVIDIA
|
|
- Jeff Juliano, NVIDIA
|
|
- Carsten Rohde, NVIDIA
|
|
|
|
An application using external memory may wish to synchronize access to that
|
|
memory using semaphores.
|
|
This extension enables an application to export semaphore payload to and
|
|
import semaphore payload from POSIX file descriptors.
|
|
|
|
=== New Object Types
|
|
|
|
None.
|
|
|
|
=== New Enum Constants
|
|
|
|
* ename:VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR
|
|
* ename:VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR
|
|
|
|
=== New Enums
|
|
|
|
None.
|
|
|
|
=== New Structs
|
|
|
|
* slink:VkImportSemaphoreFdInfoKHR
|
|
* slink:VkSemaphoreGetFdInfoKHR
|
|
|
|
=== New Functions
|
|
|
|
* flink:vkImportSemaphoreFdKHR
|
|
* flink:vkGetSemaphoreFdKHR
|
|
|
|
=== Issues
|
|
|
|
1) Does the application need to close the file descriptor returned by
|
|
flink:vkGetSemaphoreFdKHR?
|
|
|
|
*RESOLVED*: Yes, unless it is passed back in to a driver instance to import
|
|
the semaphore.
|
|
A successful get call transfers ownership of the file descriptor to the
|
|
application, and a successful import transfers it back to the driver.
|
|
Destroying the original semaphore object will not close the file descriptor
|
|
or remove its reference to the underlying semaphore resource associated with
|
|
it.
|
|
|
|
=== Version History
|
|
|
|
* Revision 1, 2016-10-21 (Jesse Hall)
|
|
- Initial revision
|