News: 0001572170

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

RADV Vulkan Driver Lands Untyped Pointers Support

([Radeon] 4 Hours Ago RADV + VK_KHR_shader_untyped_pointers)


Introduced earlier this month with the Vulkan API 1.4.325 spec update was [1]the introduction of the untyped pointers extension with VK_KHR_shader_untyped_pointers and SPIR-V's underlying SPV_KHR_untyped_pointers for providing an alternative option to strongly-typed pointers. As of yesterday the Mesa Radeon Vulkan driver "RADV" is now supporting this untyped pointers extension.

The Vulkan untyped pointers functionality is described in the VK_KHR_shader_untyped_pointers extension spec as:

"It provides an alternative to strongly-typed pointers. Untyped pointers allow shader authors to reinterpret data accessed through memory and atomic instructions versus the data type declared in the variable without extra conversion instructions. Untyped pointers also provide an efficient translation from templated load/store operations in high-level languages and simplify shaders that support operations, but not storage, on smaller data types (e.g. 16-bit floating-point types)."

This untyped pointers support can provide greater flexibility and allow for better higher-level language support

When Vulkan 1.4.325 was published there was immediate support ready for the Intel ANV and NVIDIA NVK drivers while the RADV merge request was pending.

As of yesterday [2]that merge request has landed in Mesa 25.3 for implementing VK_KHR_shader_untyped_pointers across all AMD Radeon GPUs supported by this open-source driver.



[1] https://www.phoronix.com/news/Vulkan-1.4.325-Released

[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36677



microcode

Include me out.