Vulkan Case Study
summary
Samsung ports Vulkan to Galaxy S7 Adreno, ships a ProtoStar demo for Galaxy S7 Unpacked, and ports Need for Speed, HIT and Vainglory for E3. Real fixes: prefer triple buffering and FIFO unless latency matters, resolve sync bugs with fences and vkQueueWaitIdle before destroy, and correct image layouts and tiling (use staging for optimal). Found a std140 mismatch broke matrices when GLSL → SPIR‑V changed packing, solved with explicit layouts or separate UBOs. Use pipeline cache cut load time from 13.2s to 4.187s and compress textures (ASTC) to halve memory. Detect Vulkan and require driver >= 1.0.11 for stability.
AI-written summary · about
chapters (21)
- 0:00Start
- 0:32Before the start
- 1:45What we did
- 2:26Triangles to the better triangles...
- 5:46Swapchain - Android
- 7:43Swapchain - Presentation Mode
- 11:52Swapchain - SwapBuffer Comparison (Android)
- 14:10Swapchain - Synchronization failed case
- 16:07Image Layout - Swapchain
- 18:07Image Layout - Texture
- 24:07Image Layout - Framebuffer (OnlyForColor)
- 25:42Swapchain - SurfaceFormat
- 27:22Swapchain - Create / Recreation example rely on android activity events
- 30:36Swapchain - Crash at onSurface Destroyed (Pause)
- 31:51Similar problem - Vulkan Object Release
- 35:11UniformBuffer - Shader Memory Alignment
- 43:06UniformBuffer - Memory Alignment
- 47:59UniformBuffer - Tile Artifacts
- 51:48GPU Driver - Type of shader input
- 53:49GPU Driver - API Comparison
- 57:41Rendering - Quality
