WWDC21: Optimize high-end games for Apple GPUs | Apple
Optimize your high-end games for Apple GPUs: We’ll show you how you can use our rendering and debugging tools to eliminate performance issues and make your games great on Apple platforms. Learn from our experiences working with developers at Larian Studios and 4A Games as we help them optimize their games for Apple GPUs.
We’ll explore various techniques for improving your game’s performance, including optimizing shaders, reducing memory bandwidth utilization, and increasing the overlap of your GPU workloads. We’ll also dive into the new GPU Timeline profiling tool in Xcode 13 to identify possible performance bottlenecks in “Divinity: Original Sin 2” when running on iPad.
For this session, you should be familiar with the tile-based deferred rendering architecture in Apple GPUs, and have a working knowledge of Xcode and the Metal API.
Check out “Discover Metal debugging, profiling, and asset creation tools” or the WWDC20 session “Optimize Metal apps and games with GPU counters” to learn more about using our tools to profile graphics workloads.
Explore related documentation, sample code, and more:
Debugging the shaders within a draw command or compute dispatch: https://developer.apple.com/documentation/Xcode/Debugging-the-shaders-within-a-draw-command-or-compute-dispatch
Metal Performance Shaders: https://developer.apple.com/documentation/metalperformanceshaders
Metal: https://developer.apple.com/documentation/Metal
Metal Shading Language Specification: https://developer.apple.com/metal/metal-shading-language-specification.pdf
Enhance your app with Metal ray tracing: https://developer.apple.com/videos/play/wwdc2021/10149
Explore hybrid rendering with Metal ray tracing: https://developer.apple.com/videos/play/wwdc2021/10150
Discover Metal debugging, profiling, and asset creation tools: https://developer.apple.com/videos/play/wwdc2021/10157
Explore bindless rendering in Metal: https://developer.apple.com/videos/play/wwdc2021/10286
Harness Apple GPUs with Metal: https://developer.apple.com/videos/play/wwdc2020/10602
Optimize Metal apps and games with GPU counters: https://developer.apple.com/videos/play/wwdc2020/10603
More Apple Developer resources:
Video sessions: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp