Presentation GS-4112, Mantle: Empowering 3D Graphics Innovation, by Guennadi Riguer and Brian Bennett, at the AMD Developer Summit (APU13) November 11-13, 2013.
A Journey Into the Emotions of Software Developers
GS-4112, Mantle: Empowering 3D Graphics Innovation, by Guennadi Riguer and Brian Bennett
1. MANTLE: EMPOWERING 3D GRAPHICS
INNOVATION
GUENNADI RIGUER – MANTLE CHIEF ARCHITECT
BRIAN BENNETT – MANTLE ARCHITECT
2. What Is Mantle?
Mantle is innovation
Just the right abstraction level
Feature set for modern GPUs
2 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
3. Why Mantle?
Developers want it
Performance and control
Excitement and innovation
3 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
4. Mantle isn’t for Everyone
Do you care about performance?
Do you want control?
Do you care about bridging multiple platforms?
4 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
5. Solutions for Performance
Designed for GPU efficiency
Unlocking new performance features
“Small batch” problem is history
5 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
6. “Small batch” Today
3-5K
6 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
9. Current Issues
API overhead
Lack of proper threading
Memory management
Lack of direct GPU control
9 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
11. API Design Fundamentals
Pre-build and reuse data
Control memory management
Control command generation and execution
Application controls rendering
11 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
12. Putting Developer in the Driver Seat
12 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
13. Image courtesy of Brian Bennett
… or in the Driver Developer Seat
13 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
18. Decoupled GPU Memory
Other APIs
Mantle
Memory
Memory
State
State
API object
API object
18 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
19. Memory Management
Application controls memory
… both GPU and CPU
Leverages GPU Memory Virtualization
Much more general than other APIs
19 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
20. GPU Page Table Remapping
GPU Virtual Address space
Page N
“Virtual”
allocation
“Real”
allocation
Page 1
Page 0
20 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
Remapping table
26. … and Much More
Pipeline
serialization
Advanced MSAA
features
26 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
Advanced
control flow
31. Debugging & Tools
Tools are very important
Built-in debugging and validation
Extensive multi-level checking
Controls to stress-test application
31 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
32. Summary of Benefits
Empowering lower spec systems
More predictable performance and behavior
Sharing PC optimizations with next gen consoles
Opportunity for novel techniques
32 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
33. Want to Know More?
Beta program starts soon
Talk to AMD ISV Team
See more cool presentations today
33 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
34. Big thanks to
Mantle dev team!
34 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL