wgpu/wgpu-hal/examples
Connor Fitzgerald c7458638d1
[hal/vk] Rework Submission and Surface Synchronization (#5681)
Fix two major synchronization issues in `wgpu_val::vulkan`:

- Properly order queue command buffer submissions. Due to Mesa bugs, two semaphores are required even though the Vulkan spec says that only one should be necessary.

- Properly manage surface texture acquisition and presentation:

    - Acquiring a surface texture can return while the presentation engine is still displaying the texture. Applications must wait for a semaphore to be signaled before using the acquired texture.

    - Presenting a surface texture requires a semaphore to ensure that drawing is complete before presentation occurs.

Co-authored-by: Jim Blandy <jimb@red-bean.com>
2024-05-30 13:53:34 -07:00
..
halmark [hal/vk] Rework Submission and Surface Synchronization (#5681) 2024-05-30 13:53:34 -07:00
ray-traced-triangle [hal/vk] Rework Submission and Surface Synchronization (#5681) 2024-05-30 13:53:34 -07:00
raw-gles.em.html feature: emscripten 2022-01-27 14:14:29 -05:00
raw-gles.rs [hal/vk] Rework Submission and Surface Synchronization (#5681) 2024-05-30 13:53:34 -07:00