Optimizing Vulkan for tile-based GPUs? The Vulkan Guide's TBR best practices pag...
Vulkan @vulkan@fosstodon.org
Optimizing Vulkan for tile-based GPUs? The Vulkan Guide's TBR best practices page is a great resource.
The core idea: keep data on-chip.
Quick wins:
- Set loadOp/storeOp correctly on render pass attachments
- Mark depth/stencil as DONT_CARE if you don't need them after the pass
- Use compact pixel formats to fit more data per tile
- Separate vertex positions from other attributes to speed up the binning pass
Full guide: https://docs.vulkan.org/guide/latest/tile_based_rendering_best_practices.html
#Vulkan #GPU #Programming #GameDev