Skip to content

radv: Implement VK_MESA_image_alignment_control

New extension in 1.3.285.

This implements VK_MESA_image_alignment_control, which lets us avoid allocation bloat in D3D12 placed resources, especially on RDNA3, which likes to use 256 KiB alignment. D3D12 requires 64 KiB for placed resources, and to work around this, we had to pad allocations needlessly. Similarly, there are rules for when 4 KiB alignment is guaranteed.

Added Co-authored-by lines for Samuel and Bas since this code is mostly an amalgamation and adaptation of their previous draft code when experimenting with this feature.

Merge request reports