~/talk

Bringing Vainglory to Vulkan

Talkat Vulkanised! 2017 · on Thursday, 2017-05-25· [game-development]
links:none on file
slides:none on file

Port of Vainglory to Vulkan targets Galaxy S7 (Adreno and Exynos) and keeps 60 fps while reducing power and memory: 5% power drop overall and up to 30% in worst scenes. Key fixes include matching Java surface format to Vulkan surface, obeying std140 buffer layout to avoid padding bugs, avoiding premature destruction of Vulkan objects (pipelines/shaders) while GPU may still use them, choosing FIFO present mode over mailbox to prevent wasted GPU work, and using RenderDoc, ARM DS‑5, Snapdragon profilers, systrace and validation layers from day one.

AI-written summary · about

  1. 0:00Intro
  2. 0:14Bringing Vainglory to Vulkan - Introduction Tips & lessons learned • Performance optimization tips
  3. 0:35Bringing games to Vulkan • We support game companies & major engine developers • Port games to Vulkan such as HIT, Vainglory, NFS etc...
  4. 0:59Our team
  5. 1:13What is Vainglory? * 3-vs-3 multiplayer online arena battles (MOBA) • World's largest mobile eSport
  6. 2:08OpenGL ES fallback • Check for Vulkan available in onCreate() Activity callback • Fallback to GLES if Vulkan isn't present or version is 1.0.11
  7. 3:12Swapchain Triple Buffer - Google Project Butter (since Android 4.1 Jelly Bean)
  8. 3:50Swapchain: FIFO VK_PRESENT_MODE_FIFO_KHR
  9. 4:27Swapchain: MAILBOX vs. FIFO
  10. 4:52Swapchain: FIFO vs MAILBOX
  11. 5:27Swapchain Surface format
  12. 5:55Swapchain: Surface format • Java to native
  13. 6:43Pipeline: Crash on destroy
  14. 7:26Pipeline: Safe destruction
  15. 8:18Shaders: Memory alignment
  16. 11:09Uniform buffer: Tiling artefacts N
  17. 11:58Uniform buffer: Tiling artefacts • Option #1: Uniform buffer per-swapchain index Option #2: Swapchain index based offset in a single uniform buffer
  18. 12:47OpenGL ES vs. Vulkan: Type conversions
  19. 13:52Image layouts: Swapchain . Swapchain layouts
  20. 14:31Image layouts: Textures - VK_TILING_LINEAR vs. VK_TILING_OPTIMAL
  21. 15:26Image layout: Staging buffer
  22. 16:03OpenGL ES vs. Vulkan: Geometry sorting - Geometry sorting (vertex & index buffers) • Improves cache read/write efficiency . Can affect how work is submitted to the GPU . Some OpenGL ES drivers do this automatically
  23. 17:24Rendering quality: Blend precision - Blend precision
  24. 19:32Rendering quality: Texture compression
  25. 21:33VG: Vulkan Beta
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.