Vulkan Synchronization | "Understand Fences, Semaphores, Barriers,..." | Vulkan Lecture Series Ep. 7
Channel: Computer Graphics at TU Wien
Date: 2022-05-13

Learn about one of the hardest, but also most important and powerful parts of the Vulkan API: Synchronization! All available synchronization methods and primitives are described in this episode: Wait idle operations, fences, binary semaphores, timeline semaphores, execution barriers, memory barriers, render pass subpass dependencies, and events.
00:00 Introduction
11:32 Wait Idle Operations
13:41 Fences
15:12 First and Second Synchronization Scopes
17:34 Binary Semaphores
19:31 Binary Semaphores Swap Chain Example
24:50 Timeline Semaphores
34:06 Pipeline Execution Barriers
41:55 Memory Availability and Visibility
44:18 Pipeline Memory Barriers
47:37 Render Pass Subpass Dependencies
50:55 Events
53:11 Further Resources

This lecture has been recorded as part of the 186.192 Algorithms for Real-Time Rendering course at TU Wien, summer term 2022.
Brought to you by Johannes Unterguggenberger, Research Unit of Computer Graphics, Rendering and Modeling Group, Institute of Visual Computing & Human-Centered Technology, TU Wien, Austria.

Slides can be downloaded here: https://www.cg.tuwien.ac.at/courses/ARTR/slides/VulkanLectureSeries/ARTR2022_VK07_Synchronization.pdf