Some Seriously Explicit Lessons in Vulkan
summary
Samsung team profiles on Arm Streamline and finds a Mali trace with heavy pipeline bubbles, where a frame costs ~62.5 ms (≈16 FPS). Replacing a naive full top‑of‑pipe barrier with a pipeline barrier to fragment stage lets main‑pass vertex work run in parallel with shadow work, claiming a 56% improvement and a 22.5 ms execution‑time drop. Shaders use a one buffer per shader stage ring buffer to avoid per‑frame allocations and precreate descriptor pools; pipeline creation moves to load time with hierarchical, on‑demand caches to eliminate runtime stutters.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:28Samsung Galaxy GameDev
- 1:39Today's talk - lessons from Serious Engine
- 2:50Pipeline analysis with Streamline
- 4:27Pipeline Barriers - Quick overview
- 5:28Pipeline Barriers - Naive case
- 6:19Pipeline Barriers - Optimal case
- 12:27Updating Uniforms: Round Robin Buffer & Dynamic Offsets
- 14:48Shader Structure Overview: Managing
- 15:57Descriptor Sets - Fragment Shader
- 19:28Uniform Sampler descriptor sets
- 22:50Pipeline object creation
- 23:47Old system
- 28:00Pipeline cache layout
- 33:01Unexpected variations Decals can be placed on surfaces with or without bones or
- 36:39More Vulkan sessions @ Reboot
