Microsoft DirectX Will Now Transition Into SPIR-V As The Interchange Format, Marking A New Era of Development 1

Microsoft DirectX Embraces SPIR-V: Pioneering a New Epoch in Open-Source and Open Standards

In a sweeping move, Microsoft has announced that DirectX will now integrate the open-standard SPIR-V as the primary format for representing shader programs.

This significant shift signals Microsoft’s alignment with global industry standards by adopting Khronos’s SPIR-V Intermediate Representation. Previously, DirectX relied on DXIL (DirectX Intermediate Language) to bridge shader code across various devices and compilers.

Why the switch, you ask? Industry giants like Intel, AMD, and Qualcomm are already leveraging SPIR-V for their programs, making it a logical step for Microsoft to enhance compatibility and streamline workflows across a broader array of hardware platforms.

The transition is no small feat. Microsoft’s HLSL (High-Level Shader Language) teams are collaborating with SPIR-V’s creators, The Khronos Group, to kickstart this extensive multi-year project. Kenny Trevett, Khronos Group President, highlights the importance of this collaboration:

“Khronos warmly welcomes Microsoft’s participation and embrace of the SPIR-V open standard, which will benefit HLSL, Direct3D, and the entire graphics ecosystem. We will work to ensure that SPIR-V continues to evolve and remains responsive to the needs of all its client APIs and languages, now including DX12 and HLSL.”

For the curious minds wondering how this change will unfold, Microsoft is set to take a phased approach. The company plans to release initial SPIR-V extensions to support both current and future shader programming features in Direct3D. Furthermore, translation tools will be developed to facilitate cross-usage between DXIL and SPIR-V formats, working towards an ultimate vision of achieving a unified Immediate Representation (IR).

This development is a game-changer. Major industry developers will soon be able to operate on a unified platform, leading to faster innovation and enhanced GPU capabilities. This transition is not merely a technical tweak but a strategic investment that promises to elevate DirectX to new heights, driving forward a new era of development.

Microsoft firmly believes that adopting SPIR-V is the “investment of the future” for the DirectX platform. By embracing this open standard, Microsoft is poised to unlock unprecedented potential in the graphics ecosystem.