DirectX Raytracing 1.2 und Neural Rendering (Image © Microsoft)
The most significant technical innovation is the LinAlg Matrix API, a cross-vendor interface for linear algebra. By providing specialized matrix acceleration hardware through a common High-Level Shader Language (HLSL) interface, Microsoft enables developers to implement machine learning tasks directly within rendering pipelines. This eliminates the need to maintain separate, vendor-specific codebases for different GPU architectures. This API enables several advanced rendering techniques, including:
- Neural texture compression and neural materials.
- AI-driven upscaling and frame generation.
- Advanced noise reduction in ray tracing.
- Neural Radiance Caching (NRC).
The impact of this standardization is clearly evident in the Evolve GPU benchmark developed by Traverse Research. By utilizing the new matrix functions, the benchmark demonstrates a 4- to 10-fold speedup in neural network inference for NRC. This specific technique uses neural networks to approximate indirect lighting, thereby reducing the computational effort normally required to trace multiple light paths.
Compatibility
The implementation of the LinAlg matrix API varies by hardware manufacturer, with some leveraging existing hardware and others requiring new architectures:
- NVIDIA: Support is available across the entire GeForce RTX product line via a newly released developer driver.
- AMD: Compatibility is limited to Radeon RX 9000 series GPUs.
- Intel: Support is provided for Arc B-series graphics cards as well as certain Core and Core Ultra processors with the latest integrated graphics.
- Qualcomm: Implementation is expected in a future driver update.
GPU Programming and Ray Tracing
Beyond the Matrix API, Shader Model 6.10 and the Agility SDK 1.621 introduce several technical refinements to improve GPU resource utilization and debugging:
- Variable GroupShared Memory: This replaces static limits for shared memory with limits based on specific hardware capabilities, enabling more complex GPU workloads.
- Group Wave Index: This feature simplifies workload distribution and improves collaboration between shader waves.
- TriangleObjectPositions: This allows developers to retrieve triangle vertex positions directly from ray-tracing acceleration structures.
- UAVs of Depth: The update introduces programmable writes to the depth buffer, making it easier to create custom rendering techniques.
- Default Explicit PSDB: This optimizes the integration of precompiled shader databases into applications.
- DebugBreak: New configurable breakpoints at the shader level have been added to aid in debugging.
Microsoft has also implemented shader-side support for clustered geometry in this update. While shader support is now available, the corresponding DirectX Raytracing (DXRT) functionality remains in the preview phase. A full production release of the ray tracing features for clustered geometry is expected in 2027.
