News for hackers. Stuff that matters.
Re:C Compiler to SPIR-V by kimixa on Saturday November 16, 2024 @09:51PM (#42161602)
The Microsoft HLSL compiler for dx12+ is based on LLVM and supports spir-v output https://github.com/microsoft/DirectXShaderCompiler

Though my understanding is that it's a complete hackjob stuck on an old version of LLVM, and not in a remotely upstream-able state and breaks other parts of the LLVM toolchain completely. I think there was talk about trying to clean that up at the same time as bringing the baseline version forward, but I have no idea about it's progress.

Re:C Compiler to SPIR-V by pjmlp on Sunday November 17, 2024 @02:20AM (#42162525)
The progress is that DirectX will also support SPIR-V, going forward.

https://devblogs.microsoft.com/directx/directx-adopting-spir...