Vulkan 1.3.285 Released With New Extension From Valve VKD3D-Proton Developer

Written by Michael Larabel in Vulkan on 10 May 2024 at 06:40 AM EDT. Add A Comment
VULKAN
The Vulkan API 1.3.285 spec revision is out today with a handful of fixes/clarifications and another new extension developed by Valve engineering.

Hans-Kristian Arntzen of Valve's Linux graphics team who is known for his work on VKD3D-Proton for Direct3D 12 over Vulkan is the one responsible for this new extension: VK_MESA_image_alignment_control. The VK_MESA_image_alignment_control extension is for letting applications/games request a narrower alignment for images than the implementation would otherwise require.

The extension text does confirm the VK_MESA_image_alignment_control motivation is indeed around API layering like with VKD3D-Proton:
"In some API layering use cases such as D3D12, it is beneficial to be able to control the alignment, since certain alignments for placed resources are guaranteed to be supported, and emulating that expectation requires unnecessary padding of allocations."

This new VK_MESA_image_alignment_control extension is the main new feature of today's Vulkan 1.3.285 release.

In the past hour following the API spec update, Hans-Kristian Arntzen already opened a merge request implementing VK_MESA_image_alignment_control for the Radeon RADV driver. Arntzen added there:
"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."

This should be landing soon in Mesa and there is also now a pull request for making use of this extension within VKD3D-Proton.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week