Update README.md

Sync info
This commit is contained in:
Sascha Willems 2025-07-15 21:09:26 +02:00 committed by GitHub
parent 21204e42ac
commit 3220691068
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,8 +87,7 @@ Vulkan consumes shaders in an intermediate representation called SPIR-V. This ma
## A note on synchronization
Synchronization in the master branch currently isn't optimal und uses ```vkDeviceQueueWaitIdle``` at the end of each frame. This is a heavy operation and is suboptimal in regards to having CPU and GPU operations run in parallel. I'm currently reworking this in the [this branch](https://github.com/SaschaWillems/Vulkan/tree/sync_rework_second_attempt). While still work-in-progress, if you're interested in a more proper way of synchronization in Vulkan, please take a look at that branch. Search for `useNewSync` to find samples that have been updated.
Synchronization in the master branch currently isn't optimal und uses ```vkDeviceQueueWaitIdle``` at the end of each frame. This is a heavy operation and is suboptimal in regards to having CPU and GPU operations run in parallel. I'm currently reworking this in the [this branch](https://github.com/SaschaWillems/Vulkan/tree/sync_rework_second_attempt). While still work-in-progress, if you're interested in a more proper way of synchronization in Vulkan, please take a look at the [PR for that branch](https://github.com/SaschaWillems/Vulkan/pull/1224) to see progress.
## Examples