Add new sample for timeline semaphores (#1145)

* Started work on a timeline semaphore sample

* Properly increas timeline semaphore value

* Added timeline semaphore sample to readm

* Code cleanup, comments

* Removed toto

* Added android build files for timeline semaphore sample
This commit is contained in:
Sascha Willems 2024-07-21 09:31:42 +02:00 committed by GitHub
parent 8b4ee59033
commit 8cb518ba54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 867 additions and 0 deletions

View file

@ -478,6 +478,10 @@ Shows how to do host image copies, which heavily simplify the host to device ima
Demonstrates the use of virtual GPU addresses to directly access buffer data in shader. Instead of e.g. using descriptors to access uniforms, with this extension you simply provide an address to the memory you want to read from in the shader and that address can be arbitrarily changed e.g. via a push constant.
#### [Timeline semaphores (VK_KHR_timeline_semaphore)](./examples/timelinesemaphore/)<br/>
Shows how to use a new semaphore type that has a way of setting and identifying a given point on a timeline. Compared to the core binary semaphores, this simplifies synchronization as a single timeline semaphore can replace multiple binary semaphores.
### Misc
#### [Vulkan Gears](examples/gears/)