Mesa NVK adds TTU instruction support to advance Vulkan ray-tracing
The NVK driver has integrated support for NVIDIA's Tree Traversal Unit instructions, a critical requirement for hardware-accelerated ray-tracing.
Summary
The Mesa NVK open-source Vulkan driver for NVIDIA hardware has reached a significant milestone with the integration of Tree Traversal Unit (TTU) instruction handling. This code was merged into the Mesa 27.0-devel branch, targeting the NAK shader compiler and the NIR intermediate representation.
This development specifically addresses the low-level hardware control required to manage NVIDIA's RT cores. By implementing these instructions and necessary intrinsics, the NVK driver moves closer to supporting essential Vulkan ray-tracing extensions for Linux users.
Technical implementation of TTU in NVK
- Hardware Control: The implementation adds support for Tree Traversal Unit (TTU) instructions, which are used to control the dedicated ray-tracing cores on NVIDIA GPUs.
- Compiler Integration: Changes include updates to the NAK shader compiler to handle these specific instructions.
- Intermediate Representation: New intrinsics have been added to the NIR (New Internal Representation) to facilitate the translation of ray-tracing operations.
- API Target: This work serves as a foundational step toward supporting the VK_KHR_ray_query and VK_KHR_ray_tracing_pipeline Vulkan extensions.
Why it matters
This progress is vital for the parity of open-source NVIDIA drivers, as it brings high-end graphical features like ray-tracing to the Linux desktop. Successful implementation will allow Linux gamers and developers to utilize modern Vulkan ray-tracing capabilities without relying on proprietary driver stacks.
What to do
- Users of the Mesa NVK driver can find initial TTU instruction support in the Mesa 27.0-devel branch.
Original reference: www.phoronix.com →