Microsoft's DirectX Shader Compiler Sees Improved Linux Build Support
This is their LLVM/Clang-based shader compiler for compiling HLSL programs into the DirectX Intermediate Language (DXIL) that can then be fed to DirectX GPU drivers from the different vendors. While Microsoft Windows is obviously the main focus, today's update does improve the Linux build support.
The DirectX Shader Compiler on Linux can be useful for leveraging this LLVM-based compiler in taking HLSL over to SPIR-V for consumption by Vulkan drivers, WSL2 usage, continuous integration or build farms that are Linux-based and still assembling DXIL, and similarly for other (Linux) cloud-based shader compiler scenarios. Linux support has come about over time since Microsoft open-sourced their DirectX Shader Compiler in 2017 and since 2018 has been enjoying the Linux support.
With today's DirectXShaderCompiler v1.8.2403 "March 2024" update there is now full support for Shader Model 6.8, improved compile-time validation, stability improvements, and various diagnostic improvements. Plus "further improvements to the Linux build quality."
The Linux updates include build system improvements benefiting Linux use as well as enhanced test coverage on Linux.
Those wanting to download this open-source DirectX Shader Compiler or learn more about the new release can do so via GitHub.
The DirectX Shader Compiler on Linux can be useful for leveraging this LLVM-based compiler in taking HLSL over to SPIR-V for consumption by Vulkan drivers, WSL2 usage, continuous integration or build farms that are Linux-based and still assembling DXIL, and similarly for other (Linux) cloud-based shader compiler scenarios. Linux support has come about over time since Microsoft open-sourced their DirectX Shader Compiler in 2017 and since 2018 has been enjoying the Linux support.
With today's DirectXShaderCompiler v1.8.2403 "March 2024" update there is now full support for Shader Model 6.8, improved compile-time validation, stability improvements, and various diagnostic improvements. Plus "further improvements to the Linux build quality."
The Linux updates include build system improvements benefiting Linux use as well as enhanced test coverage on Linux.
Those wanting to download this open-source DirectX Shader Compiler or learn more about the new release can do so via GitHub.
1 Comment